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 'lazr.restfulclient.authorize.oauth'
* 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_lazr$restfulclient$authorize$oauth" 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_lazr$restfulclient$authorize$oauth;
PyDictObject *moduledict_lazr$restfulclient$authorize$oauth;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[157];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[157];
#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("lazr.restfulclient.authorize.oauth"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 157; 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_lazr$restfulclient$authorize$oauth(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 157; 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_14733c8afd2efc451063e11ab28a143b;
static PyCodeObject *codeobj_640d98aff67cf4a89e0ab3da55048f0a;
static PyCodeObject *codeobj_9a52e5bd4f97a959dcdcde560b448aed;
static PyCodeObject *codeobj_25e241709fcfdd1d416fcf6cc71edbca;
static PyCodeObject *codeobj_8d7cdb3d32591710be62df6524399a0f;
static PyCodeObject *codeobj_85ef4df92ca69cc8ea76da9702dbd030;
static PyCodeObject *codeobj_c770cc1fed96f63f686fc8ef6473f430;
static PyCodeObject *codeobj_3ed5b0e15c1c23e73ab4c146243d0f6e;
static PyCodeObject *codeobj_aa97deb5d6c8250557b064a81d7259e0;
static PyCodeObject *codeobj_4687cf3469d36af90cd19c541ab87fc7;
static PyCodeObject *codeobj_8ac23b038e5b19180d3853d7af34dd36;
static PyCodeObject *codeobj_6a35f34b723272c87cce9a2d662908b3;
static PyCodeObject *codeobj_9e11a55d08fbae9e47c73e33fdf0c174;
static PyCodeObject *codeobj_6b39ba3d6a1d25f1aa610c87acd7f5ab;
static PyCodeObject *codeobj_eef1cf0f2d5aebe1caa22262f29d1010;
static PyCodeObject *codeobj_f5842d8b6599a0405b4952b33e482147;
static PyCodeObject *codeobj_7f3f0f66b9a3d5a4dc5c51f596b78da0;
static PyCodeObject *codeobj_ea7bf98c295460dff4deeaa8c2577b41;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[78]; CHECK_OBJECT(module_filename_obj);
codeobj_14733c8afd2efc451063e11ab28a143b = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[143], mod_consts[143], NULL, NULL, 0, 0, 0);
codeobj_640d98aff67cf4a89e0ab3da55048f0a = MAKE_CODE_OBJECT(module_filename_obj, 70, CO_NOFREE, mod_consts[36], mod_consts[36], mod_consts[144], NULL, 0, 0, 0);
codeobj_9a52e5bd4f97a959dcdcde560b448aed = MAKE_CODE_OBJECT(module_filename_obj, 52, CO_NOFREE, mod_consts[20], mod_consts[20], mod_consts[144], NULL, 0, 0, 0);
codeobj_25e241709fcfdd1d416fcf6cc71edbca = MAKE_CODE_OBJECT(module_filename_obj, 127, CO_NOFREE, mod_consts[128], mod_consts[128], mod_consts[144], NULL, 0, 0, 0);
codeobj_8d7cdb3d32591710be62df6524399a0f = MAKE_CODE_OBJECT(module_filename_obj, 88, CO_NOFREE, mod_consts[5], mod_consts[5], mod_consts[144], NULL, 0, 0, 0);
codeobj_85ef4df92ca69cc8ea76da9702dbd030 = MAKE_CODE_OBJECT(module_filename_obj, 79, CO_NOFREE, mod_consts[62], mod_consts[62], mod_consts[144], NULL, 0, 0, 0);
codeobj_c770cc1fed96f63f686fc8ef6473f430 = MAKE_CODE_OBJECT(module_filename_obj, 82, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[118], mod_consts[118], mod_consts[145], NULL, 1, 0, 0);
codeobj_3ed5b0e15c1c23e73ab4c146243d0f6e = MAKE_CODE_OBJECT(module_filename_obj, 97, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[6], mod_consts[6], mod_consts[146], NULL, 3, 0, 0);
codeobj_aa97deb5d6c8250557b064a81d7259e0 = MAKE_CODE_OBJECT(module_filename_obj, 130, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[6], mod_consts[6], mod_consts[147], NULL, 6, 0, 0);
codeobj_4687cf3469d36af90cd19c541ab87fc7 = MAKE_CODE_OBJECT(module_filename_obj, 55, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[6], mod_consts[6], mod_consts[148], NULL, 4, 0, 0);
codeobj_8ac23b038e5b19180d3853d7af34dd36 = MAKE_CODE_OBJECT(module_filename_obj, 73, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[6], mod_consts[6], mod_consts[149], NULL, 4, 0, 0);
codeobj_6a35f34b723272c87cce9a2d662908b3 = MAKE_CODE_OBJECT(module_filename_obj, 245, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[141], mod_consts[141], mod_consts[150], NULL, 5, 0, 0);
codeobj_9e11a55d08fbae9e47c73e33fdf0c174 = MAKE_CODE_OBJECT(module_filename_obj, 109, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[7], mod_consts[7], mod_consts[151], NULL, 1, 0, 0);
codeobj_6b39ba3d6a1d25f1aa610c87acd7f5ab = MAKE_CODE_OBJECT(module_filename_obj, 154, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[39], mod_consts[39], mod_consts[152], NULL, 2, 0, 0);
codeobj_eef1cf0f2d5aebe1caa22262f29d1010 = MAKE_CODE_OBJECT(module_filename_obj, 185, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[136], mod_consts[136], mod_consts[153], NULL, 2, 0, 0);
codeobj_f5842d8b6599a0405b4952b33e482147 = MAKE_CODE_OBJECT(module_filename_obj, 203, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[58], mod_consts[58], mod_consts[154], NULL, 2, 0, 0);
codeobj_7f3f0f66b9a3d5a4dc5c51f596b78da0 = MAKE_CODE_OBJECT(module_filename_obj, 229, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[139], mod_consts[139], mod_consts[155], NULL, 2, 0, 0);
codeobj_ea7bf98c295460dff4deeaa8c2577b41 = MAKE_CODE_OBJECT(module_filename_obj, 141, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[132], mod_consts[132], mod_consts[156], NULL, 1, 0, 0);
}
// The module function declarations.
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__1__mro_entries_conversion(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__10_save();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__11_save_to_path();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__12_authorizeRequest();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__1___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__2___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__3___bool__();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__4___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__5_consumer_key();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__6___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__7_user_agent_params();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__8_load();
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__9_load_from_path();
// The module function definitions.
static PyObject *impl_lazr$restfulclient$authorize$oauth$$$function__1___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_key = python_pars[1];
PyObject *par_secret = python_pars[2];
PyObject *par_application_name = python_pars[3];
struct Nuitka_FrameObject *frame_4687cf3469d36af90cd19c541ab87fc7;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_4687cf3469d36af90cd19c541ab87fc7 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_4687cf3469d36af90cd19c541ab87fc7)) {
Py_XDECREF(cache_frame_4687cf3469d36af90cd19c541ab87fc7);
#if _DEBUG_REFCOUNTS
if (cache_frame_4687cf3469d36af90cd19c541ab87fc7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4687cf3469d36af90cd19c541ab87fc7 = MAKE_FUNCTION_FRAME(codeobj_4687cf3469d36af90cd19c541ab87fc7, module_lazr$restfulclient$authorize$oauth, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4687cf3469d36af90cd19c541ab87fc7->m_type_description == NULL);
frame_4687cf3469d36af90cd19c541ab87fc7 = cache_frame_4687cf3469d36af90cd19c541ab87fc7;
// Push the new frame as the currently active one.
pushFrameStack(frame_4687cf3469d36af90cd19c541ab87fc7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4687cf3469d36af90cd19c541ab87fc7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_key);
tmp_assattr_value_1 = par_key;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[0], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 65;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_secret);
tmp_assattr_value_2 = par_secret;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[1], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 66;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_application_name);
tmp_assattr_value_3 = par_application_name;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[2], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 67;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4687cf3469d36af90cd19c541ab87fc7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4687cf3469d36af90cd19c541ab87fc7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4687cf3469d36af90cd19c541ab87fc7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4687cf3469d36af90cd19c541ab87fc7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4687cf3469d36af90cd19c541ab87fc7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4687cf3469d36af90cd19c541ab87fc7,
type_description_1,
par_self,
par_key,
par_secret,
par_application_name
);
// Release cached frame if used for exception.
if (frame_4687cf3469d36af90cd19c541ab87fc7 == cache_frame_4687cf3469d36af90cd19c541ab87fc7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4687cf3469d36af90cd19c541ab87fc7);
cache_frame_4687cf3469d36af90cd19c541ab87fc7 = NULL;
}
assertFrameObject(frame_4687cf3469d36af90cd19c541ab87fc7);
// 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
CHECK_OBJECT(par_secret);
Py_DECREF(par_secret);
CHECK_OBJECT(par_application_name);
Py_DECREF(par_application_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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
CHECK_OBJECT(par_secret);
Py_DECREF(par_secret);
CHECK_OBJECT(par_application_name);
Py_DECREF(par_application_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_lazr$restfulclient$authorize$oauth$$$function__2___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_key = python_pars[1];
PyObject *par_secret = python_pars[2];
PyObject *par_context = python_pars[3];
struct Nuitka_FrameObject *frame_8ac23b038e5b19180d3853d7af34dd36;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_8ac23b038e5b19180d3853d7af34dd36 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_8ac23b038e5b19180d3853d7af34dd36)) {
Py_XDECREF(cache_frame_8ac23b038e5b19180d3853d7af34dd36);
#if _DEBUG_REFCOUNTS
if (cache_frame_8ac23b038e5b19180d3853d7af34dd36 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8ac23b038e5b19180d3853d7af34dd36 = MAKE_FUNCTION_FRAME(codeobj_8ac23b038e5b19180d3853d7af34dd36, module_lazr$restfulclient$authorize$oauth, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8ac23b038e5b19180d3853d7af34dd36->m_type_description == NULL);
frame_8ac23b038e5b19180d3853d7af34dd36 = cache_frame_8ac23b038e5b19180d3853d7af34dd36;
// Push the new frame as the currently active one.
pushFrameStack(frame_8ac23b038e5b19180d3853d7af34dd36);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8ac23b038e5b19180d3853d7af34dd36) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_key);
tmp_assattr_value_1 = par_key;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[0], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 74;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_secret);
tmp_assattr_value_2 = par_secret;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[1], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_context);
tmp_assattr_value_3 = par_context;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[4], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 76;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8ac23b038e5b19180d3853d7af34dd36);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8ac23b038e5b19180d3853d7af34dd36);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8ac23b038e5b19180d3853d7af34dd36, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8ac23b038e5b19180d3853d7af34dd36->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8ac23b038e5b19180d3853d7af34dd36, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8ac23b038e5b19180d3853d7af34dd36,
type_description_1,
par_self,
par_key,
par_secret,
par_context
);
// Release cached frame if used for exception.
if (frame_8ac23b038e5b19180d3853d7af34dd36 == cache_frame_8ac23b038e5b19180d3853d7af34dd36) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8ac23b038e5b19180d3853d7af34dd36);
cache_frame_8ac23b038e5b19180d3853d7af34dd36 = NULL;
}
assertFrameObject(frame_8ac23b038e5b19180d3853d7af34dd36);
// 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
CHECK_OBJECT(par_secret);
Py_DECREF(par_secret);
CHECK_OBJECT(par_context);
Py_DECREF(par_context);
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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_key);
Py_DECREF(par_key);
CHECK_OBJECT(par_secret);
Py_DECREF(par_secret);
CHECK_OBJECT(par_context);
Py_DECREF(par_context);
// 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_lazr$restfulclient$authorize$oauth$$$function__4___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_application_name = python_pars[1];
PyObject *par_secret = python_pars[2];
struct Nuitka_FrameObject *frame_3ed5b0e15c1c23e73ab4c146243d0f6e;
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_3ed5b0e15c1c23e73ab4c146243d0f6e = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_3ed5b0e15c1c23e73ab4c146243d0f6e)) {
Py_XDECREF(cache_frame_3ed5b0e15c1c23e73ab4c146243d0f6e);
#if _DEBUG_REFCOUNTS
if (cache_frame_3ed5b0e15c1c23e73ab4c146243d0f6e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3ed5b0e15c1c23e73ab4c146243d0f6e = MAKE_FUNCTION_FRAME(codeobj_3ed5b0e15c1c23e73ab4c146243d0f6e, module_lazr$restfulclient$authorize$oauth, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3ed5b0e15c1c23e73ab4c146243d0f6e->m_type_description == NULL);
frame_3ed5b0e15c1c23e73ab4c146243d0f6e = cache_frame_3ed5b0e15c1c23e73ab4c146243d0f6e;
// Push the new frame as the currently active one.
pushFrameStack(frame_3ed5b0e15c1c23e73ab4c146243d0f6e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3ed5b0e15c1c23e73ab4c146243d0f6e) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[5]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 105;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_expression_value_1 = BUILTIN_SUPER2(moduledict_lazr$restfulclient$authorize$oauth, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 105;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[6]);
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 = 105;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, 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 = 106;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_secret);
tmp_args_element_value_2 = par_secret;
CHECK_OBJECT(par_application_name);
tmp_args_element_value_3 = par_application_name;
frame_3ed5b0e15c1c23e73ab4c146243d0f6e->m_frame.f_lineno = 105;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(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 = 105;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3ed5b0e15c1c23e73ab4c146243d0f6e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3ed5b0e15c1c23e73ab4c146243d0f6e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3ed5b0e15c1c23e73ab4c146243d0f6e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3ed5b0e15c1c23e73ab4c146243d0f6e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3ed5b0e15c1c23e73ab4c146243d0f6e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3ed5b0e15c1c23e73ab4c146243d0f6e,
type_description_1,
par_self,
par_application_name,
par_secret,
NULL
);
// Release cached frame if used for exception.
if (frame_3ed5b0e15c1c23e73ab4c146243d0f6e == cache_frame_3ed5b0e15c1c23e73ab4c146243d0f6e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3ed5b0e15c1c23e73ab4c146243d0f6e);
cache_frame_3ed5b0e15c1c23e73ab4c146243d0f6e = NULL;
}
assertFrameObject(frame_3ed5b0e15c1c23e73ab4c146243d0f6e);
// 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_application_name);
Py_DECREF(par_application_name);
CHECK_OBJECT(par_secret);
Py_DECREF(par_secret);
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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_application_name);
Py_DECREF(par_application_name);
CHECK_OBJECT(par_secret);
Py_DECREF(par_secret);
// 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_lazr$restfulclient$authorize$oauth$$$function__5_consumer_key(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *var_distro = NULL;
PyObject *var_distname = NULL;
struct Nuitka_FrameObject *frame_9e11a55d08fbae9e47c73e33fdf0c174;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_9e11a55d08fbae9e47c73e33fdf0c174 = 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_9e11a55d08fbae9e47c73e33fdf0c174)) {
Py_XDECREF(cache_frame_9e11a55d08fbae9e47c73e33fdf0c174);
#if _DEBUG_REFCOUNTS
if (cache_frame_9e11a55d08fbae9e47c73e33fdf0c174 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9e11a55d08fbae9e47c73e33fdf0c174 = MAKE_FUNCTION_FRAME(codeobj_9e11a55d08fbae9e47c73e33fdf0c174, module_lazr$restfulclient$authorize$oauth, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9e11a55d08fbae9e47c73e33fdf0c174->m_type_description == NULL);
frame_9e11a55d08fbae9e47c73e33fdf0c174 = cache_frame_9e11a55d08fbae9e47c73e33fdf0c174;
// Push the new frame as the currently active one.
pushFrameStack(frame_9e11a55d08fbae9e47c73e33fdf0c174);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9e11a55d08fbae9e47c73e33fdf0c174) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_name_value_1;
PyObject *tmp_globals_arg_value_1;
PyObject *tmp_locals_arg_value_1;
PyObject *tmp_fromlist_value_1;
PyObject *tmp_level_value_1;
tmp_name_value_1 = mod_consts[9];
tmp_globals_arg_value_1 = (PyObject *)moduledict_lazr$restfulclient$authorize$oauth;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[10];
frame_9e11a55d08fbae9e47c73e33fdf0c174->m_frame.f_lineno = 116;
tmp_assign_source_1 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(var_distro == NULL);
var_distro = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(var_distro);
tmp_called_instance_1 = var_distro;
frame_9e11a55d08fbae9e47c73e33fdf0c174->m_frame.f_lineno = 117;
tmp_assign_source_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[11]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 117;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(var_distname == NULL);
var_distname = tmp_assign_source_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_9e11a55d08fbae9e47c73e33fdf0c174, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_9e11a55d08fbae9e47c73e33fdf0c174, 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_Exception;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = mod_consts[12];
assert(var_distname == NULL);
Py_INCREF(tmp_assign_source_3);
var_distname = tmp_assign_source_3;
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 115;
}
if (exception_tb && exception_tb->tb_frame == &frame_9e11a55d08fbae9e47c73e33fdf0c174->m_frame) frame_9e11a55d08fbae9e47c73e33fdf0c174->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_3;
branch_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_distname);
tmp_cmp_expr_left_2 = var_distname;
tmp_cmp_expr_right_2 = mod_consts[12];
tmp_condition_result_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 122;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_instance_2;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[13]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_9e11a55d08fbae9e47c73e33fdf0c174->m_frame.f_lineno = 123;
tmp_assign_source_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[14]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_distname;
assert(old != NULL);
var_distname = tmp_assign_source_4;
Py_DECREF(old);
}
}
branch_no_2:;
{
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_tuple_element_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_mod_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[15]);
if (tmp_mod_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 124;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_distname);
tmp_tuple_element_1 = var_distname;
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_called_instance_3;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 124;
type_description_1 = "ooo";
goto tuple_build_exception_1;
}
frame_9e11a55d08fbae9e47c73e33fdf0c174->m_frame.f_lineno = 124;
tmp_tuple_element_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[17]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 124;
type_description_1 = "ooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_left_1);
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_OBJECT_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_left_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 124;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9e11a55d08fbae9e47c73e33fdf0c174);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9e11a55d08fbae9e47c73e33fdf0c174);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9e11a55d08fbae9e47c73e33fdf0c174);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9e11a55d08fbae9e47c73e33fdf0c174, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9e11a55d08fbae9e47c73e33fdf0c174->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9e11a55d08fbae9e47c73e33fdf0c174, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9e11a55d08fbae9e47c73e33fdf0c174,
type_description_1,
par_self,
var_distro,
var_distname
);
// Release cached frame if used for exception.
if (frame_9e11a55d08fbae9e47c73e33fdf0c174 == cache_frame_9e11a55d08fbae9e47c73e33fdf0c174) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9e11a55d08fbae9e47c73e33fdf0c174);
cache_frame_9e11a55d08fbae9e47c73e33fdf0c174 = NULL;
}
assertFrameObject(frame_9e11a55d08fbae9e47c73e33fdf0c174);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_distro);
var_distro = NULL;
CHECK_OBJECT(var_distname);
Py_DECREF(var_distname);
var_distname = 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_distro);
var_distro = NULL;
Py_XDECREF(var_distname);
var_distname = 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_self);
Py_DECREF(par_self);
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_self);
Py_DECREF(par_self);
// 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_lazr$restfulclient$authorize$oauth$$$function__6___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_consumer_name = python_pars[1];
PyObject *par_consumer_secret = python_pars[2];
PyObject *par_access_token = python_pars[3];
PyObject *par_oauth_realm = python_pars[4];
PyObject *par_application_name = python_pars[5];
struct Nuitka_FrameObject *frame_aa97deb5d6c8250557b064a81d7259e0;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_aa97deb5d6c8250557b064a81d7259e0 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_aa97deb5d6c8250557b064a81d7259e0)) {
Py_XDECREF(cache_frame_aa97deb5d6c8250557b064a81d7259e0);
#if _DEBUG_REFCOUNTS
if (cache_frame_aa97deb5d6c8250557b064a81d7259e0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_aa97deb5d6c8250557b064a81d7259e0 = MAKE_FUNCTION_FRAME(codeobj_aa97deb5d6c8250557b064a81d7259e0, module_lazr$restfulclient$authorize$oauth, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_aa97deb5d6c8250557b064a81d7259e0->m_type_description == NULL);
frame_aa97deb5d6c8250557b064a81d7259e0 = cache_frame_aa97deb5d6c8250557b064a81d7259e0;
// Push the new frame as the currently active one.
pushFrameStack(frame_aa97deb5d6c8250557b064a81d7259e0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_aa97deb5d6c8250557b064a81d7259e0) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[19], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_consumer_name);
tmp_cmp_expr_left_1 = par_consumer_name;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_assattr_target_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_consumer_name);
tmp_args_element_value_1 = par_consumer_name;
CHECK_OBJECT(par_consumer_secret);
tmp_args_element_value_2 = par_consumer_secret;
CHECK_OBJECT(par_application_name);
tmp_args_element_value_3 = par_application_name;
frame_aa97deb5d6c8250557b064a81d7259e0->m_frame.f_lineno = 135;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_assattr_value_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[19], tmp_assattr_value_2);
Py_DECREF(tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
branch_no_1:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_access_token);
tmp_assattr_value_3 = par_access_token;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[21], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_oauth_realm);
tmp_assattr_value_4 = par_oauth_realm;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[22], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_aa97deb5d6c8250557b064a81d7259e0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_aa97deb5d6c8250557b064a81d7259e0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_aa97deb5d6c8250557b064a81d7259e0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_aa97deb5d6c8250557b064a81d7259e0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_aa97deb5d6c8250557b064a81d7259e0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_aa97deb5d6c8250557b064a81d7259e0,
type_description_1,
par_self,
par_consumer_name,
par_consumer_secret,
par_access_token,
par_oauth_realm,
par_application_name
);
// Release cached frame if used for exception.
if (frame_aa97deb5d6c8250557b064a81d7259e0 == cache_frame_aa97deb5d6c8250557b064a81d7259e0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_aa97deb5d6c8250557b064a81d7259e0);
cache_frame_aa97deb5d6c8250557b064a81d7259e0 = NULL;
}
assertFrameObject(frame_aa97deb5d6c8250557b064a81d7259e0);
// 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_consumer_name);
Py_DECREF(par_consumer_name);
CHECK_OBJECT(par_consumer_secret);
Py_DECREF(par_consumer_secret);
CHECK_OBJECT(par_access_token);
Py_DECREF(par_access_token);
CHECK_OBJECT(par_oauth_realm);
Py_DECREF(par_oauth_realm);
CHECK_OBJECT(par_application_name);
Py_DECREF(par_application_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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_consumer_name);
Py_DECREF(par_consumer_name);
CHECK_OBJECT(par_consumer_secret);
Py_DECREF(par_consumer_secret);
CHECK_OBJECT(par_access_token);
Py_DECREF(par_access_token);
CHECK_OBJECT(par_oauth_realm);
Py_DECREF(par_oauth_realm);
CHECK_OBJECT(par_application_name);
Py_DECREF(par_application_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_lazr$restfulclient$authorize$oauth$$$function__7_user_agent_params(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *var_params = NULL;
struct Nuitka_FrameObject *frame_ea7bf98c295460dff4deeaa8c2577b41;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
PyObject *tmp_dictset_value;
PyObject *tmp_dictset_dict;
PyObject *tmp_dictset_key;
int tmp_res;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_ea7bf98c295460dff4deeaa8c2577b41 = 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.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_DICT_EMPTY();
assert(var_params == NULL);
var_params = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_ea7bf98c295460dff4deeaa8c2577b41)) {
Py_XDECREF(cache_frame_ea7bf98c295460dff4deeaa8c2577b41);
#if _DEBUG_REFCOUNTS
if (cache_frame_ea7bf98c295460dff4deeaa8c2577b41 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ea7bf98c295460dff4deeaa8c2577b41 = MAKE_FUNCTION_FRAME(codeobj_ea7bf98c295460dff4deeaa8c2577b41, module_lazr$restfulclient$authorize$oauth, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ea7bf98c295460dff4deeaa8c2577b41->m_type_description == NULL);
frame_ea7bf98c295460dff4deeaa8c2577b41 = cache_frame_ea7bf98c295460dff4deeaa8c2577b41;
// Push the new frame as the currently active one.
pushFrameStack(frame_ea7bf98c295460dff4deeaa8c2577b41);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ea7bf98c295460dff4deeaa8c2577b41) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[19]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
CHECK_OBJECT(var_params);
tmp_return_value = var_params;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[19]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_dictset_value = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[0]);
Py_DECREF(tmp_expression_value_2);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_params);
tmp_dictset_dict = var_params;
tmp_dictset_key = mod_consts[23];
assert(PyDict_CheckExact(tmp_dictset_dict));
tmp_res = PyDict_SetItem(tmp_dictset_dict, tmp_dictset_key, tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
assert(!(tmp_res != 0));
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[19]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[2]);
Py_DECREF(tmp_expression_value_4);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[19]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_ass_subvalue_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[2]);
Py_DECREF(tmp_expression_value_6);
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_params);
tmp_ass_subscribed_1 = var_params;
tmp_ass_subscript_1 = mod_consts[24];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
branch_no_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ea7bf98c295460dff4deeaa8c2577b41);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ea7bf98c295460dff4deeaa8c2577b41);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ea7bf98c295460dff4deeaa8c2577b41);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ea7bf98c295460dff4deeaa8c2577b41, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ea7bf98c295460dff4deeaa8c2577b41->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ea7bf98c295460dff4deeaa8c2577b41, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ea7bf98c295460dff4deeaa8c2577b41,
type_description_1,
par_self,
var_params
);
// Release cached frame if used for exception.
if (frame_ea7bf98c295460dff4deeaa8c2577b41 == cache_frame_ea7bf98c295460dff4deeaa8c2577b41) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ea7bf98c295460dff4deeaa8c2577b41);
cache_frame_ea7bf98c295460dff4deeaa8c2577b41 = NULL;
}
assertFrameObject(frame_ea7bf98c295460dff4deeaa8c2577b41);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_params);
tmp_return_value = var_params;
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_params);
var_params = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(var_params);
Py_DECREF(var_params);
var_params = 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_self);
Py_DECREF(par_self);
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_self);
Py_DECREF(par_self);
// 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_lazr$restfulclient$authorize$oauth$$$function__8_load(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_readable_file = python_pars[1];
PyObject *var_parser = NULL;
PyObject *var_reader = NULL;
PyObject *var_consumer_key = NULL;
PyObject *var_consumer_secret = NULL;
PyObject *var_access_token = NULL;
PyObject *var_access_secret = NULL;
struct Nuitka_FrameObject *frame_6b39ba3d6a1d25f1aa610c87acd7f5ab;
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;
int tmp_res;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_6b39ba3d6a1d25f1aa610c87acd7f5ab = 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_6b39ba3d6a1d25f1aa610c87acd7f5ab)) {
Py_XDECREF(cache_frame_6b39ba3d6a1d25f1aa610c87acd7f5ab);
#if _DEBUG_REFCOUNTS
if (cache_frame_6b39ba3d6a1d25f1aa610c87acd7f5ab == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6b39ba3d6a1d25f1aa610c87acd7f5ab = MAKE_FUNCTION_FRAME(codeobj_6b39ba3d6a1d25f1aa610c87acd7f5ab, module_lazr$restfulclient$authorize$oauth, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6b39ba3d6a1d25f1aa610c87acd7f5ab->m_type_description == NULL);
frame_6b39ba3d6a1d25f1aa610c87acd7f5ab = cache_frame_6b39ba3d6a1d25f1aa610c87acd7f5ab;
// Push the new frame as the currently active one.
pushFrameStack(frame_6b39ba3d6a1d25f1aa610c87acd7f5ab);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6b39ba3d6a1d25f1aa610c87acd7f5ab) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_6b39ba3d6a1d25f1aa610c87acd7f5ab->m_frame.f_lineno = 165;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_parser == NULL);
var_parser = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_parser);
tmp_getattr_target_1 = var_parser;
tmp_getattr_attr_1 = mod_consts[27];
CHECK_OBJECT(var_parser);
tmp_expression_value_1 = var_parser;
tmp_getattr_default_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[28]);
if (tmp_getattr_default_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
Py_DECREF(tmp_getattr_default_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_reader == NULL);
var_reader = tmp_assign_source_2;
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(var_reader);
tmp_called_value_2 = var_reader;
CHECK_OBJECT(par_readable_file);
tmp_args_element_value_1 = par_readable_file;
frame_6b39ba3d6a1d25f1aa610c87acd7f5ab->m_frame.f_lineno = 167;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, 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 = 167;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(var_parser);
tmp_expression_value_2 = var_parser;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[29]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 170;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_args_element_value_2 == NULL)) {
tmp_args_element_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 170;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_6b39ba3d6a1d25f1aa610c87acd7f5ab->m_frame.f_lineno = 170;
tmp_operand_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_3);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 170;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 170;
type_description_1 = "oooooooo";
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_called_value_4;
PyObject *tmp_args_element_value_3;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[31]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[31]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 171;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[32];
tmp_mod_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_mod_expr_right_1 == NULL)) {
tmp_mod_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_6b39ba3d6a1d25f1aa610c87acd7f5ab->m_frame.f_lineno = 171;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_3);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 171;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 171;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(var_parser);
tmp_expression_value_3 = var_parser;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[33]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_args_element_value_4 == NULL)) {
tmp_args_element_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 174;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = mod_consts[7];
frame_6b39ba3d6a1d25f1aa610c87acd7f5ab->m_frame.f_lineno = 173;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 173;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_consumer_key == NULL);
var_consumer_key = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
CHECK_OBJECT(var_parser);
tmp_expression_value_4 = var_parser;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[33]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 175;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_args_element_value_6 == NULL)) {
tmp_args_element_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 176;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = mod_consts[34];
frame_6b39ba3d6a1d25f1aa610c87acd7f5ab->m_frame.f_lineno = 175;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7};
tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_6, call_args);
}
Py_DECREF(tmp_called_value_6);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 175;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_consumer_secret == NULL);
var_consumer_secret = tmp_assign_source_4;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
PyObject *tmp_assattr_target_1;
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 177;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_consumer_key);
tmp_args_element_value_8 = var_consumer_key;
CHECK_OBJECT(var_consumer_secret);
tmp_args_element_value_9 = var_consumer_secret;
frame_6b39ba3d6a1d25f1aa610c87acd7f5ab->m_frame.f_lineno = 177;
{
PyObject *call_args[] = {tmp_args_element_value_8, tmp_args_element_value_9};
tmp_assattr_value_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_7, call_args);
}
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 177;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[19], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 177;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_10;
PyObject *tmp_args_element_value_11;
CHECK_OBJECT(var_parser);
tmp_expression_value_5 = var_parser;
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[33]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_10 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_args_element_value_10 == NULL)) {
tmp_args_element_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_args_element_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 179;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_11 = mod_consts[21];
frame_6b39ba3d6a1d25f1aa610c87acd7f5ab->m_frame.f_lineno = 178;
{
PyObject *call_args[] = {tmp_args_element_value_10, tmp_args_element_value_11};
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_8, call_args);
}
Py_DECREF(tmp_called_value_8);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_access_token == NULL);
var_access_token = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_12;
PyObject *tmp_args_element_value_13;
CHECK_OBJECT(var_parser);
tmp_expression_value_6 = var_parser;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[33]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 180;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_12 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_args_element_value_12 == NULL)) {
tmp_args_element_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_args_element_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_9);
exception_lineno = 181;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_13 = mod_consts[35];
frame_6b39ba3d6a1d25f1aa610c87acd7f5ab->m_frame.f_lineno = 180;
{
PyObject *call_args[] = {tmp_args_element_value_12, tmp_args_element_value_13};
tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_9, call_args);
}
Py_DECREF(tmp_called_value_9);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 180;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_access_secret == NULL);
var_access_secret = tmp_assign_source_6;
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_value_10;
PyObject *tmp_args_element_value_14;
PyObject *tmp_args_element_value_15;
PyObject *tmp_assattr_target_2;
tmp_called_value_10 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_called_value_10 == NULL)) {
tmp_called_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_access_token);
tmp_args_element_value_14 = var_access_token;
CHECK_OBJECT(var_access_secret);
tmp_args_element_value_15 = var_access_secret;
frame_6b39ba3d6a1d25f1aa610c87acd7f5ab->m_frame.f_lineno = 182;
{
PyObject *call_args[] = {tmp_args_element_value_14, tmp_args_element_value_15};
tmp_assattr_value_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_10, call_args);
}
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[21], tmp_assattr_value_2);
Py_DECREF(tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6b39ba3d6a1d25f1aa610c87acd7f5ab);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6b39ba3d6a1d25f1aa610c87acd7f5ab);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6b39ba3d6a1d25f1aa610c87acd7f5ab, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6b39ba3d6a1d25f1aa610c87acd7f5ab->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6b39ba3d6a1d25f1aa610c87acd7f5ab, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6b39ba3d6a1d25f1aa610c87acd7f5ab,
type_description_1,
par_self,
par_readable_file,
var_parser,
var_reader,
var_consumer_key,
var_consumer_secret,
var_access_token,
var_access_secret
);
// Release cached frame if used for exception.
if (frame_6b39ba3d6a1d25f1aa610c87acd7f5ab == cache_frame_6b39ba3d6a1d25f1aa610c87acd7f5ab) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6b39ba3d6a1d25f1aa610c87acd7f5ab);
cache_frame_6b39ba3d6a1d25f1aa610c87acd7f5ab = NULL;
}
assertFrameObject(frame_6b39ba3d6a1d25f1aa610c87acd7f5ab);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_parser);
Py_DECREF(var_parser);
var_parser = NULL;
CHECK_OBJECT(var_reader);
Py_DECREF(var_reader);
var_reader = NULL;
CHECK_OBJECT(var_consumer_key);
Py_DECREF(var_consumer_key);
var_consumer_key = NULL;
CHECK_OBJECT(var_consumer_secret);
Py_DECREF(var_consumer_secret);
var_consumer_secret = NULL;
CHECK_OBJECT(var_access_token);
Py_DECREF(var_access_token);
var_access_token = NULL;
CHECK_OBJECT(var_access_secret);
Py_DECREF(var_access_secret);
var_access_secret = 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_parser);
var_parser = NULL;
Py_XDECREF(var_reader);
var_reader = NULL;
Py_XDECREF(var_consumer_key);
var_consumer_key = NULL;
Py_XDECREF(var_consumer_secret);
var_consumer_secret = NULL;
Py_XDECREF(var_access_token);
var_access_token = NULL;
Py_XDECREF(var_access_secret);
var_access_secret = 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_readable_file);
Py_DECREF(par_readable_file);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_readable_file);
Py_DECREF(par_readable_file);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$authorize$oauth$$$function__9_load_from_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_cls = python_pars[0];
PyObject *par_path = python_pars[1];
PyObject *var_credentials = NULL;
PyObject *var_credentials_file = NULL;
struct Nuitka_FrameObject *frame_eef1cf0f2d5aebe1caa22262f29d1010;
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;
static struct Nuitka_FrameObject *cache_frame_eef1cf0f2d5aebe1caa22262f29d1010 = 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_eef1cf0f2d5aebe1caa22262f29d1010)) {
Py_XDECREF(cache_frame_eef1cf0f2d5aebe1caa22262f29d1010);
#if _DEBUG_REFCOUNTS
if (cache_frame_eef1cf0f2d5aebe1caa22262f29d1010 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_eef1cf0f2d5aebe1caa22262f29d1010 = MAKE_FUNCTION_FRAME(codeobj_eef1cf0f2d5aebe1caa22262f29d1010, module_lazr$restfulclient$authorize$oauth, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_eef1cf0f2d5aebe1caa22262f29d1010->m_type_description == NULL);
frame_eef1cf0f2d5aebe1caa22262f29d1010 = cache_frame_eef1cf0f2d5aebe1caa22262f29d1010;
// Push the new frame as the currently active one.
pushFrameStack(frame_eef1cf0f2d5aebe1caa22262f29d1010);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_eef1cf0f2d5aebe1caa22262f29d1010) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
CHECK_OBJECT(par_cls);
tmp_called_value_1 = par_cls;
frame_eef1cf0f2d5aebe1caa22262f29d1010->m_frame.f_lineno = 197;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 197;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_credentials == NULL);
var_credentials = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_open_filename_1;
PyObject *tmp_open_mode_1;
CHECK_OBJECT(par_path);
tmp_open_filename_1 = par_path;
tmp_open_mode_1 = mod_consts[38];
tmp_assign_source_2 = BUILTIN_OPEN(tmp_open_filename_1, tmp_open_mode_1, NULL, NULL, NULL, NULL, NULL, NULL);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_credentials_file == NULL);
var_credentials_file = tmp_assign_source_2;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(var_credentials);
tmp_called_instance_1 = var_credentials;
CHECK_OBJECT(var_credentials_file);
tmp_args_element_value_1 = var_credentials_file;
frame_eef1cf0f2d5aebe1caa22262f29d1010->m_frame.f_lineno = 199;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[39], 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 = 199;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
CHECK_OBJECT(var_credentials_file);
tmp_called_instance_2 = var_credentials_file;
frame_eef1cf0f2d5aebe1caa22262f29d1010->m_frame.f_lineno = 200;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[40]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 200;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_eef1cf0f2d5aebe1caa22262f29d1010);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_eef1cf0f2d5aebe1caa22262f29d1010);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_eef1cf0f2d5aebe1caa22262f29d1010, exception_lineno);
} else if (exception_tb->tb_frame != &frame_eef1cf0f2d5aebe1caa22262f29d1010->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_eef1cf0f2d5aebe1caa22262f29d1010, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_eef1cf0f2d5aebe1caa22262f29d1010,
type_description_1,
par_cls,
par_path,
var_credentials,
var_credentials_file
);
// Release cached frame if used for exception.
if (frame_eef1cf0f2d5aebe1caa22262f29d1010 == cache_frame_eef1cf0f2d5aebe1caa22262f29d1010) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_eef1cf0f2d5aebe1caa22262f29d1010);
cache_frame_eef1cf0f2d5aebe1caa22262f29d1010 = NULL;
}
assertFrameObject(frame_eef1cf0f2d5aebe1caa22262f29d1010);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_credentials);
tmp_return_value = var_credentials;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_credentials);
Py_DECREF(var_credentials);
var_credentials = NULL;
CHECK_OBJECT(var_credentials_file);
Py_DECREF(var_credentials_file);
var_credentials_file = 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_credentials);
var_credentials = NULL;
Py_XDECREF(var_credentials_file);
var_credentials_file = 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_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_path);
Py_DECREF(par_path);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_path);
Py_DECREF(par_path);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$authorize$oauth$$$function__10_save(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_writable_file = python_pars[1];
PyObject *var_parser = NULL;
struct Nuitka_FrameObject *frame_f5842d8b6599a0405b4952b33e482147;
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;
static struct Nuitka_FrameObject *cache_frame_f5842d8b6599a0405b4952b33e482147 = 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_f5842d8b6599a0405b4952b33e482147)) {
Py_XDECREF(cache_frame_f5842d8b6599a0405b4952b33e482147);
#if _DEBUG_REFCOUNTS
if (cache_frame_f5842d8b6599a0405b4952b33e482147 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f5842d8b6599a0405b4952b33e482147 = MAKE_FUNCTION_FRAME(codeobj_f5842d8b6599a0405b4952b33e482147, module_lazr$restfulclient$authorize$oauth, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f5842d8b6599a0405b4952b33e482147->m_type_description == NULL);
frame_f5842d8b6599a0405b4952b33e482147 = cache_frame_f5842d8b6599a0405b4952b33e482147;
// Push the new frame as the currently active one.
pushFrameStack(frame_f5842d8b6599a0405b4952b33e482147);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f5842d8b6599a0405b4952b33e482147) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[19]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 212;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[31]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[31]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_f5842d8b6599a0405b4952b33e482147->m_frame.f_lineno = 213;
tmp_raise_type_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[42]);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 213;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[21]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_called_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[31]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[31]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 215;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_f5842d8b6599a0405b4952b33e482147->m_frame.f_lineno = 215;
tmp_raise_type_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[43]);
if (tmp_raise_type_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 215;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_2;
exception_lineno = 215;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 217;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_f5842d8b6599a0405b4952b33e482147->m_frame.f_lineno = 217;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 217;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_parser == NULL);
var_parser = tmp_assign_source_1;
}
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(var_parser);
tmp_expression_value_3 = var_parser;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[44]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_args_element_value_1 == NULL)) {
tmp_args_element_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 218;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_f5842d8b6599a0405b4952b33e482147->m_frame.f_lineno = 218;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_4);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(var_parser);
tmp_expression_value_4 = var_parser;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[45]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 219;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_args_element_value_2 == NULL)) {
tmp_args_element_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 219;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = mod_consts[7];
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[19]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 220;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[0]);
Py_DECREF(tmp_expression_value_5);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 220;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_f5842d8b6599a0405b4952b33e482147->m_frame.f_lineno = 219;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
Py_DECREF(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 = 219;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(var_parser);
tmp_expression_value_7 = var_parser;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[45]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_args_element_value_5 == NULL)) {
tmp_args_element_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 221;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = mod_consts[34];
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[19]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 222;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[1]);
Py_DECREF(tmp_expression_value_8);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 222;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_f5842d8b6599a0405b4952b33e482147->m_frame.f_lineno = 221;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6, tmp_args_element_value_7};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_6, call_args);
}
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_7);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
PyObject *tmp_expression_value_11;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(var_parser);
tmp_expression_value_10 = var_parser;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[45]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 223;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_8 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_args_element_value_8 == NULL)) {
tmp_args_element_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_args_element_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 223;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_9 = mod_consts[21];
CHECK_OBJECT(par_self);
tmp_expression_value_12 = par_self;
tmp_expression_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[21]);
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 224;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[0]);
Py_DECREF(tmp_expression_value_11);
if (tmp_args_element_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 224;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_f5842d8b6599a0405b4952b33e482147->m_frame.f_lineno = 223;
{
PyObject *call_args[] = {tmp_args_element_value_8, tmp_args_element_value_9, tmp_args_element_value_10};
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_7, call_args);
}
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_10);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 223;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
{
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_13;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_11;
PyObject *tmp_args_element_value_12;
PyObject *tmp_args_element_value_13;
PyObject *tmp_expression_value_14;
PyObject *tmp_expression_value_15;
CHECK_OBJECT(var_parser);
tmp_expression_value_13 = var_parser;
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[45]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_11 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[30]);
if (unlikely(tmp_args_element_value_11 == NULL)) {
tmp_args_element_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[30]);
}
if (tmp_args_element_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 225;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_12 = mod_consts[35];
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_expression_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[21]);
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 226;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[1]);
Py_DECREF(tmp_expression_value_14);
if (tmp_args_element_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 226;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_f5842d8b6599a0405b4952b33e482147->m_frame.f_lineno = 225;
{
PyObject *call_args[] = {tmp_args_element_value_11, tmp_args_element_value_12, tmp_args_element_value_13};
tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_8, call_args);
}
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_13);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_6;
PyObject *tmp_args_element_value_14;
CHECK_OBJECT(var_parser);
tmp_called_instance_1 = var_parser;
CHECK_OBJECT(par_writable_file);
tmp_args_element_value_14 = par_writable_file;
frame_f5842d8b6599a0405b4952b33e482147->m_frame.f_lineno = 227;
tmp_call_result_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[46], tmp_args_element_value_14);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 227;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_6);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f5842d8b6599a0405b4952b33e482147);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f5842d8b6599a0405b4952b33e482147);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f5842d8b6599a0405b4952b33e482147, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f5842d8b6599a0405b4952b33e482147->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f5842d8b6599a0405b4952b33e482147, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f5842d8b6599a0405b4952b33e482147,
type_description_1,
par_self,
par_writable_file,
var_parser
);
// Release cached frame if used for exception.
if (frame_f5842d8b6599a0405b4952b33e482147 == cache_frame_f5842d8b6599a0405b4952b33e482147) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f5842d8b6599a0405b4952b33e482147);
cache_frame_f5842d8b6599a0405b4952b33e482147 = NULL;
}
assertFrameObject(frame_f5842d8b6599a0405b4952b33e482147);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_parser);
Py_DECREF(var_parser);
var_parser = 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_parser);
var_parser = 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_writable_file);
Py_DECREF(par_writable_file);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_writable_file);
Py_DECREF(par_writable_file);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$authorize$oauth$$$function__11_save_to_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_self = python_pars[0];
PyObject *par_path = python_pars[1];
PyObject *var_credentials_file = NULL;
struct Nuitka_FrameObject *frame_7f3f0f66b9a3d5a4dc5c51f596b78da0;
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;
static struct Nuitka_FrameObject *cache_frame_7f3f0f66b9a3d5a4dc5c51f596b78da0 = 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_7f3f0f66b9a3d5a4dc5c51f596b78da0)) {
Py_XDECREF(cache_frame_7f3f0f66b9a3d5a4dc5c51f596b78da0);
#if _DEBUG_REFCOUNTS
if (cache_frame_7f3f0f66b9a3d5a4dc5c51f596b78da0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7f3f0f66b9a3d5a4dc5c51f596b78da0 = MAKE_FUNCTION_FRAME(codeobj_7f3f0f66b9a3d5a4dc5c51f596b78da0, module_lazr$restfulclient$authorize$oauth, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7f3f0f66b9a3d5a4dc5c51f596b78da0->m_type_description == NULL);
frame_7f3f0f66b9a3d5a4dc5c51f596b78da0 = cache_frame_7f3f0f66b9a3d5a4dc5c51f596b78da0;
// Push the new frame as the currently active one.
pushFrameStack(frame_7f3f0f66b9a3d5a4dc5c51f596b78da0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7f3f0f66b9a3d5a4dc5c51f596b78da0) == 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_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_bitor_expr_left_1;
PyObject *tmp_bitor_expr_right_1;
PyObject *tmp_bitor_expr_left_2;
PyObject *tmp_bitor_expr_right_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_4;
PyObject *tmp_bitor_expr_left_3;
PyObject *tmp_bitor_expr_right_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_5;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
assert(!(tmp_expression_value_1 == NULL));
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[49]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
assert(!(tmp_expression_value_2 == NULL));
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[50]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 240;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_path);
tmp_args_element_value_2 = par_path;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
assert(!(tmp_expression_value_3 == NULL));
tmp_bitor_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[51]);
if (tmp_bitor_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
exception_lineno = 240;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
assert(!(tmp_expression_value_4 == NULL));
tmp_bitor_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[52]);
if (tmp_bitor_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_bitor_expr_left_2);
exception_lineno = 240;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_bitor_expr_left_1 = BINARY_OPERATION_BITOR_OBJECT_OBJECT_OBJECT(tmp_bitor_expr_left_2, tmp_bitor_expr_right_2);
Py_DECREF(tmp_bitor_expr_left_2);
Py_DECREF(tmp_bitor_expr_right_2);
if (tmp_bitor_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
exception_lineno = 240;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_bitor_expr_left_1);
exception_lineno = 240;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_bitor_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[53]);
if (tmp_bitor_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_bitor_expr_left_1);
exception_lineno = 240;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = BINARY_OPERATION_BITOR_OBJECT_OBJECT_OBJECT(tmp_bitor_expr_left_1, tmp_bitor_expr_right_1);
Py_DECREF(tmp_bitor_expr_left_1);
Py_DECREF(tmp_bitor_expr_right_1);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
exception_lineno = 240;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[54]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[54]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
exception_lineno = 241;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_bitor_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[55]);
if (tmp_bitor_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
exception_lineno = 241;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[54]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[54]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_bitor_expr_left_3);
exception_lineno = 241;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_bitor_expr_right_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[56]);
if (tmp_bitor_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_bitor_expr_left_3);
exception_lineno = 241;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = BINARY_OPERATION_BITOR_OBJECT_OBJECT_OBJECT(tmp_bitor_expr_left_3, tmp_bitor_expr_right_3);
Py_DECREF(tmp_bitor_expr_left_3);
Py_DECREF(tmp_bitor_expr_right_3);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
exception_lineno = 241;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_7f3f0f66b9a3d5a4dc5c51f596b78da0->m_frame.f_lineno = 240;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_args_element_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_4);
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 = 240;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = mod_consts[57];
frame_7f3f0f66b9a3d5a4dc5c51f596b78da0->m_frame.f_lineno = 239;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_5};
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 = 239;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_credentials_file == NULL);
var_credentials_file = tmp_assign_source_1;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_6;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(var_credentials_file);
tmp_args_element_value_6 = var_credentials_file;
frame_7f3f0f66b9a3d5a4dc5c51f596b78da0->m_frame.f_lineno = 242;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[58], tmp_args_element_value_6);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 242;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
CHECK_OBJECT(var_credentials_file);
tmp_called_instance_2 = var_credentials_file;
frame_7f3f0f66b9a3d5a4dc5c51f596b78da0->m_frame.f_lineno = 243;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[40]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7f3f0f66b9a3d5a4dc5c51f596b78da0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7f3f0f66b9a3d5a4dc5c51f596b78da0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7f3f0f66b9a3d5a4dc5c51f596b78da0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7f3f0f66b9a3d5a4dc5c51f596b78da0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7f3f0f66b9a3d5a4dc5c51f596b78da0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7f3f0f66b9a3d5a4dc5c51f596b78da0,
type_description_1,
par_self,
par_path,
var_credentials_file
);
// Release cached frame if used for exception.
if (frame_7f3f0f66b9a3d5a4dc5c51f596b78da0 == cache_frame_7f3f0f66b9a3d5a4dc5c51f596b78da0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7f3f0f66b9a3d5a4dc5c51f596b78da0);
cache_frame_7f3f0f66b9a3d5a4dc5c51f596b78da0 = NULL;
}
assertFrameObject(frame_7f3f0f66b9a3d5a4dc5c51f596b78da0);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_credentials_file);
Py_DECREF(var_credentials_file);
var_credentials_file = 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_credentials_file);
var_credentials_file = 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_path);
Py_DECREF(par_path);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_path);
Py_DECREF(par_path);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_lazr$restfulclient$authorize$oauth$$$function__12_authorizeRequest(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_absolute_uri = python_pars[1];
PyObject *par_method = python_pars[2];
PyObject *par_body = python_pars[3];
PyObject *par_headers = python_pars[4];
PyObject *var_client = NULL;
PyObject *var__ = NULL;
PyObject *var_signed_headers = NULL;
PyObject *var_key = NULL;
PyObject *var_value = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__element_3 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
PyObject *tmp_tuple_unpack_2__element_1 = NULL;
PyObject *tmp_tuple_unpack_2__element_2 = NULL;
PyObject *tmp_tuple_unpack_2__source_iter = NULL;
struct Nuitka_FrameObject *frame_6a35f34b723272c87cce9a2d662908b3;
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;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
static struct Nuitka_FrameObject *cache_frame_6a35f34b723272c87cce9a2d662908b3 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_6a35f34b723272c87cce9a2d662908b3)) {
Py_XDECREF(cache_frame_6a35f34b723272c87cce9a2d662908b3);
#if _DEBUG_REFCOUNTS
if (cache_frame_6a35f34b723272c87cce9a2d662908b3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6a35f34b723272c87cce9a2d662908b3 = MAKE_FUNCTION_FRAME(codeobj_6a35f34b723272c87cce9a2d662908b3, module_lazr$restfulclient$authorize$oauth, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6a35f34b723272c87cce9a2d662908b3->m_type_description == NULL);
frame_6a35f34b723272c87cce9a2d662908b3 = cache_frame_6a35f34b723272c87cce9a2d662908b3;
// Push the new frame as the currently active one.
pushFrameStack(frame_6a35f34b723272c87cce9a2d662908b3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6a35f34b723272c87cce9a2d662908b3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_kw_call_dict_value_1_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_kw_call_dict_value_2_1;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_kw_call_dict_value_3_1;
PyObject *tmp_expression_value_10;
PyObject *tmp_kw_call_dict_value_4_1;
PyObject *tmp_expression_value_11;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[60]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[60]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[61]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[19]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 248;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_arg_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[0]);
Py_DECREF(tmp_expression_value_2);
if (tmp_kw_call_arg_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 248;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[19]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
exception_lineno = 249;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[1]);
Py_DECREF(tmp_expression_value_4);
if (tmp_kw_call_dict_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
exception_lineno = 249;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (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);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
exception_lineno = 250;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[21]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
exception_lineno = 250;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[0]);
Py_DECREF(tmp_expression_value_6);
if (tmp_or_left_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
exception_lineno = 250;
type_description_1 = "oooooooooo";
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_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
Py_DECREF(tmp_or_left_value_1);
exception_lineno = 250;
type_description_1 = "oooooooooo";
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_or_right_value_1 = mod_consts[12];
Py_INCREF(tmp_or_right_value_1);
tmp_args_element_value_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_args_element_value_1 = tmp_or_left_value_1;
or_end_1:;
frame_6a35f34b723272c87cce9a2d662908b3->m_frame.f_lineno = 250;
tmp_kw_call_dict_value_1_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_kw_call_dict_value_1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
exception_lineno = 250;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[21]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_1_1);
exception_lineno = 251;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_2_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[1]);
Py_DECREF(tmp_expression_value_8);
if (tmp_kw_call_dict_value_2_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_1_1);
exception_lineno = 251;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[60]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[60]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_1_1);
Py_DECREF(tmp_kw_call_dict_value_2_1);
exception_lineno = 252;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_3_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[63]);
if (tmp_kw_call_dict_value_3_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_1_1);
Py_DECREF(tmp_kw_call_dict_value_2_1);
exception_lineno = 252;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_11 = par_self;
tmp_kw_call_dict_value_4_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[22]);
if (tmp_kw_call_dict_value_4_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_1_1);
Py_DECREF(tmp_kw_call_dict_value_2_1);
Py_DECREF(tmp_kw_call_dict_value_3_1);
exception_lineno = 253;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_6a35f34b723272c87cce9a2d662908b3->m_frame.f_lineno = 247;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[5] = {tmp_kw_call_dict_value_0_1, tmp_kw_call_dict_value_1_1, tmp_kw_call_dict_value_2_1, tmp_kw_call_dict_value_3_1, tmp_kw_call_dict_value_4_1};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[64]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_1_1);
Py_DECREF(tmp_kw_call_dict_value_2_1);
Py_DECREF(tmp_kw_call_dict_value_3_1);
Py_DECREF(tmp_kw_call_dict_value_4_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_client == NULL);
var_client = tmp_assign_source_1;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_12;
PyObject *tmp_assattr_target_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[62]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[62]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_client);
tmp_expression_value_12 = var_client;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[65]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_6a35f34b723272c87cce9a2d662908b3->m_frame.f_lineno = 258;
tmp_assattr_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_client);
tmp_assattr_target_1 = var_client;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[65], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(var_client);
tmp_called_instance_1 = var_client;
CHECK_OBJECT(par_absolute_uri);
tmp_args_element_value_3 = par_absolute_uri;
frame_6a35f34b723272c87cce9a2d662908b3->m_frame.f_lineno = 259;
tmp_iter_arg_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[66], tmp_args_element_value_3);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_1 = "oooooooooo";
goto try_except_handler_2;
}
tmp_assign_source_2 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_1 = "oooooooooo";
goto try_except_handler_2;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_2;
}
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_1, 0, 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 = "oooooooooo";
exception_lineno = 259;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_2, 1, 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 = "oooooooooo";
exception_lineno = 259;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_3, 2, 3);
if (tmp_assign_source_5 == 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 = "oooooooooo";
exception_lineno = 259;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_3 == NULL);
tmp_tuple_unpack_1__element_3 = tmp_assign_source_5;
}
{
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 = "oooooooooo";
exception_lineno = 259;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[67];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooo";
exception_lineno = 259;
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_6;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_6 = tmp_tuple_unpack_1__element_1;
assert(var__ == NULL);
Py_INCREF(tmp_assign_source_6);
var__ = tmp_assign_source_6;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_2;
assert(var_signed_headers == NULL);
Py_INCREF(tmp_assign_source_7);
var_signed_headers = tmp_assign_source_7;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_3);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_3;
{
PyObject *old = var__;
assert(old != NULL);
var__ = tmp_assign_source_8;
Py_INCREF(var__);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_13;
CHECK_OBJECT(var_signed_headers);
tmp_expression_value_13 = var_signed_headers;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[68]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 260;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_6a35f34b723272c87cce9a2d662908b3->m_frame.f_lineno = 260;
tmp_iter_arg_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
Py_DECREF(tmp_called_value_4);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 260;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_9 = MAKE_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 260;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_9;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_10;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_10 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_10 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooo";
exception_lineno = 260;
goto try_except_handler_4;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_10;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_11;
PyObject *tmp_iter_arg_3;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_iter_arg_3 = tmp_for_loop_1__iter_value;
tmp_assign_source_11 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_3);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 260;
type_description_1 = "oooooooooo";
goto try_except_handler_5;
}
{
PyObject *old = tmp_tuple_unpack_2__source_iter;
tmp_tuple_unpack_2__source_iter = tmp_assign_source_11;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_12;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_4 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_12 = UNPACK_NEXT(tmp_unpack_4, 0, 2);
if (tmp_assign_source_12 == 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 = "oooooooooo";
exception_lineno = 260;
goto try_except_handler_6;
}
{
PyObject *old = tmp_tuple_unpack_2__element_1;
tmp_tuple_unpack_2__element_1 = tmp_assign_source_12;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_unpack_5;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_5 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_13 = UNPACK_NEXT(tmp_unpack_5, 1, 2);
if (tmp_assign_source_13 == 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 = "oooooooooo";
exception_lineno = 260;
goto try_except_handler_6;
}
{
PyObject *old = tmp_tuple_unpack_2__element_2;
tmp_tuple_unpack_2__element_2 = tmp_assign_source_13;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_2;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_2); assert(HAS_ITERNEXT(tmp_iterator_name_2));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_2)->tp_iternext)(tmp_iterator_name_2);
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 = "oooooooooo";
exception_lineno = 260;
goto try_except_handler_6;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[69];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooo";
exception_lineno = 260;
goto try_except_handler_6;
}
}
goto try_end_3;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
Py_DECREF(tmp_tuple_unpack_2__source_iter);
tmp_tuple_unpack_2__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_5;
// End of try:
try_end_3:;
goto try_end_4;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_4;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
Py_DECREF(tmp_tuple_unpack_2__source_iter);
tmp_tuple_unpack_2__source_iter = NULL;
{
PyObject *tmp_assign_source_14;
CHECK_OBJECT(tmp_tuple_unpack_2__element_1);
tmp_assign_source_14 = tmp_tuple_unpack_2__element_1;
{
PyObject *old = var_key;
var_key = tmp_assign_source_14;
Py_INCREF(var_key);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
{
PyObject *tmp_assign_source_15;
CHECK_OBJECT(tmp_tuple_unpack_2__element_2);
tmp_assign_source_15 = tmp_tuple_unpack_2__element_2;
{
PyObject *old = var_value;
var_value = tmp_assign_source_15;
Py_INCREF(var_value);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_14;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
tmp_expression_value_14 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[70]);
if (unlikely(tmp_expression_value_14 == NULL)) {
tmp_expression_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[70]);
}
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 263;
type_description_1 = "oooooooooo";
goto try_except_handler_4;
}
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[71]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 263;
type_description_1 = "oooooooooo";
goto try_except_handler_4;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 263;
type_description_1 = "oooooooooo";
goto try_except_handler_4;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_16;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_15;
CHECK_OBJECT(var_key);
tmp_expression_value_15 = var_key;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[72]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 264;
type_description_1 = "oooooooooo";
goto try_except_handler_4;
}
frame_6a35f34b723272c87cce9a2d662908b3->m_frame.f_lineno = 264;
tmp_assign_source_16 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_5, mod_consts[73]);
Py_DECREF(tmp_called_value_5);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 264;
type_description_1 = "oooooooooo";
goto try_except_handler_4;
}
{
PyObject *old = var_key;
assert(old != NULL);
var_key = tmp_assign_source_16;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_16;
CHECK_OBJECT(var_value);
tmp_expression_value_16 = var_value;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[72]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "oooooooooo";
goto try_except_handler_4;
}
frame_6a35f34b723272c87cce9a2d662908b3->m_frame.f_lineno = 265;
tmp_assign_source_17 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_6, mod_consts[73]);
Py_DECREF(tmp_called_value_6);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "oooooooooo";
goto try_except_handler_4;
}
{
PyObject *old = var_value;
assert(old != NULL);
var_value = tmp_assign_source_17;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(var_value);
tmp_ass_subvalue_1 = var_value;
if (par_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[74]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 266;
type_description_1 = "oooooooooo";
goto try_except_handler_4;
}
tmp_ass_subscribed_1 = par_headers;
CHECK_OBJECT(var_key);
tmp_ass_subscript_1 = var_key;
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_1 = "oooooooooo";
goto try_except_handler_4;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 260;
type_description_1 = "oooooooooo";
goto try_except_handler_4;
}
goto loop_start_1;
loop_end_1:;
goto try_end_5;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6a35f34b723272c87cce9a2d662908b3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6a35f34b723272c87cce9a2d662908b3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6a35f34b723272c87cce9a2d662908b3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6a35f34b723272c87cce9a2d662908b3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6a35f34b723272c87cce9a2d662908b3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6a35f34b723272c87cce9a2d662908b3,
type_description_1,
par_self,
par_absolute_uri,
par_method,
par_body,
par_headers,
var_client,
var__,
var_signed_headers,
var_key,
var_value
);
// Release cached frame if used for exception.
if (frame_6a35f34b723272c87cce9a2d662908b3 == cache_frame_6a35f34b723272c87cce9a2d662908b3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6a35f34b723272c87cce9a2d662908b3);
cache_frame_6a35f34b723272c87cce9a2d662908b3 = NULL;
}
assertFrameObject(frame_6a35f34b723272c87cce9a2d662908b3);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_client);
Py_DECREF(var_client);
var_client = NULL;
CHECK_OBJECT(var__);
Py_DECREF(var__);
var__ = NULL;
CHECK_OBJECT(var_signed_headers);
Py_DECREF(var_signed_headers);
var_signed_headers = NULL;
Py_XDECREF(var_key);
var_key = NULL;
Py_XDECREF(var_value);
var_value = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_client);
var_client = NULL;
Py_XDECREF(var__);
var__ = NULL;
Py_XDECREF(var_signed_headers);
var_signed_headers = NULL;
Py_XDECREF(var_key);
var_key = NULL;
Py_XDECREF(var_value);
var_value = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_absolute_uri);
Py_DECREF(par_absolute_uri);
CHECK_OBJECT(par_method);
Py_DECREF(par_method);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_absolute_uri);
Py_DECREF(par_absolute_uri);
CHECK_OBJECT(par_method);
Py_DECREF(par_method);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
// 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_lazr$restfulclient$authorize$oauth$$$function__10_save() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$authorize$oauth$$$function__10_save,
mod_consts[58],
#if PYTHON_VERSION >= 0x300
mod_consts[138],
#endif
codeobj_f5842d8b6599a0405b4952b33e482147,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$authorize$oauth,
mod_consts[47],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__11_save_to_path() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$authorize$oauth$$$function__11_save_to_path,
mod_consts[139],
#if PYTHON_VERSION >= 0x300
mod_consts[140],
#endif
codeobj_7f3f0f66b9a3d5a4dc5c51f596b78da0,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$authorize$oauth,
mod_consts[59],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__12_authorizeRequest() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$authorize$oauth$$$function__12_authorizeRequest,
mod_consts[141],
#if PYTHON_VERSION >= 0x300
mod_consts[142],
#endif
codeobj_6a35f34b723272c87cce9a2d662908b3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$authorize$oauth,
mod_consts[75],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__1___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$authorize$oauth$$$function__1___init__,
mod_consts[6],
#if PYTHON_VERSION >= 0x300
mod_consts[112],
#endif
codeobj_4687cf3469d36af90cd19c541ab87fc7,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$authorize$oauth,
mod_consts[3],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__2___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$authorize$oauth$$$function__2___init__,
mod_consts[6],
#if PYTHON_VERSION >= 0x300
mod_consts[115],
#endif
codeobj_8ac23b038e5b19180d3853d7af34dd36,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$authorize$oauth,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__3___bool__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[118],
#if PYTHON_VERSION >= 0x300
mod_consts[119],
#endif
codeobj_c770cc1fed96f63f686fc8ef6473f430,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$authorize$oauth,
NULL,
NULL,
0
);
Nuitka_Function_EnableConstReturnTrue(result);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__4___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$authorize$oauth$$$function__4___init__,
mod_consts[6],
#if PYTHON_VERSION >= 0x300
mod_consts[125],
#endif
codeobj_3ed5b0e15c1c23e73ab4c146243d0f6e,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$authorize$oauth,
mod_consts[8],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__5_consumer_key() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$authorize$oauth$$$function__5_consumer_key,
mod_consts[7],
#if PYTHON_VERSION >= 0x300
mod_consts[127],
#endif
codeobj_9e11a55d08fbae9e47c73e33fdf0c174,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$authorize$oauth,
mod_consts[18],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__6___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$authorize$oauth$$$function__6___init__,
mod_consts[6],
#if PYTHON_VERSION >= 0x300
mod_consts[131],
#endif
codeobj_aa97deb5d6c8250557b064a81d7259e0,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$authorize$oauth,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__7_user_agent_params() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$authorize$oauth$$$function__7_user_agent_params,
mod_consts[132],
#if PYTHON_VERSION >= 0x300
mod_consts[133],
#endif
codeobj_ea7bf98c295460dff4deeaa8c2577b41,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$authorize$oauth,
mod_consts[25],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__8_load() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$authorize$oauth$$$function__8_load,
mod_consts[39],
#if PYTHON_VERSION >= 0x300
mod_consts[134],
#endif
codeobj_6b39ba3d6a1d25f1aa610c87acd7f5ab,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$authorize$oauth,
mod_consts[37],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__9_load_from_path() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_lazr$restfulclient$authorize$oauth$$$function__9_load_from_path,
mod_consts[136],
#if PYTHON_VERSION >= 0x300
mod_consts[137],
#endif
codeobj_eef1cf0f2d5aebe1caa22262f29d1010,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_lazr$restfulclient$authorize$oauth,
mod_consts[41],
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_lazr$restfulclient$authorize$oauth[] = {
impl_lazr$restfulclient$authorize$oauth$$$function__1___init__,
impl_lazr$restfulclient$authorize$oauth$$$function__2___init__,
NULL,
impl_lazr$restfulclient$authorize$oauth$$$function__4___init__,
impl_lazr$restfulclient$authorize$oauth$$$function__5_consumer_key,
impl_lazr$restfulclient$authorize$oauth$$$function__6___init__,
impl_lazr$restfulclient$authorize$oauth$$$function__7_user_agent_params,
impl_lazr$restfulclient$authorize$oauth$$$function__8_load,
impl_lazr$restfulclient$authorize$oauth$$$function__9_load_from_path,
impl_lazr$restfulclient$authorize$oauth$$$function__10_save,
impl_lazr$restfulclient$authorize$oauth$$$function__11_save_to_path,
impl_lazr$restfulclient$authorize$oauth$$$function__12_authorizeRequest,
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_lazr$restfulclient$authorize$oauth;
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_lazr$restfulclient$authorize$oauth) || 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_lazr$restfulclient$authorize$oauth[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_lazr$restfulclient$authorize$oauth,
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_lazr$restfulclient$authorize$oauth(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("lazr.restfulclient.authorize.oauth");
// Store the module for future use.
module_lazr$restfulclient$authorize$oauth = 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("lazr.restfulclient.authorize.oauth: 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("lazr.restfulclient.authorize.oauth: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("lazr.restfulclient.authorize.oauth: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in initlazr$restfulclient$authorize$oauth\n");
moduledict_lazr$restfulclient$authorize$oauth = MODULE_DICT(module_lazr$restfulclient$authorize$oauth);
#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_lazr$restfulclient$authorize$oauth,
(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_lazr$restfulclient$authorize$oauth,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[12]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_lazr$restfulclient$authorize$oauth,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (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_lazr$restfulclient$authorize$oauth,
(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_lazr$restfulclient$authorize$oauth, (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_lazr$restfulclient$authorize$oauth,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_lazr$restfulclient$authorize$oauth);
// 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_lazr$restfulclient$authorize$oauth, (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_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$authorize$oauth, (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_lazr$restfulclient$authorize$oauth, (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_lazr$restfulclient$authorize$oauth);
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_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
PyObject *outline_1_var___class__ = NULL;
PyObject *outline_2_var___class__ = NULL;
PyObject *outline_3_var___class__ = NULL;
PyObject *outline_4_var___class__ = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
PyObject *tmp_class_creation_2__metaclass = NULL;
PyObject *tmp_class_creation_2__prepared = NULL;
PyObject *tmp_class_creation_3__bases = NULL;
PyObject *tmp_class_creation_3__bases_orig = NULL;
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
PyObject *tmp_class_creation_3__metaclass = NULL;
PyObject *tmp_class_creation_3__prepared = NULL;
PyObject *tmp_class_creation_4__bases = NULL;
PyObject *tmp_class_creation_4__bases_orig = NULL;
PyObject *tmp_class_creation_4__class_decl_dict = NULL;
PyObject *tmp_class_creation_4__metaclass = NULL;
PyObject *tmp_class_creation_4__prepared = NULL;
PyObject *tmp_class_creation_5__bases = NULL;
PyObject *tmp_class_creation_5__bases_orig = NULL;
PyObject *tmp_class_creation_5__class_decl_dict = NULL;
PyObject *tmp_class_creation_5__metaclass = NULL;
PyObject *tmp_class_creation_5__prepared = NULL;
struct Nuitka_FrameObject *frame_14733c8afd2efc451063e11ab28a143b;
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;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_lazr$restfulclient$authorize$oauth$$$class__1_Consumer_52 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_9a52e5bd4f97a959dcdcde560b448aed_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_9a52e5bd4f97a959dcdcde560b448aed_2 = 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;
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 *locals_lazr$restfulclient$authorize$oauth$$$class__2_AccessToken_70 = NULL;
struct Nuitka_FrameObject *frame_640d98aff67cf4a89e0ab3da55048f0a_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_640d98aff67cf4a89e0ab3da55048f0a_3 = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79 = NULL;
struct Nuitka_FrameObject *frame_85ef4df92ca69cc8ea76da9702dbd030_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_85ef4df92ca69cc8ea76da9702dbd030_4 = NULL;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88 = NULL;
struct Nuitka_FrameObject *frame_8d7cdb3d32591710be62df6524399a0f_5;
NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL;
static struct Nuitka_FrameObject *cache_frame_8d7cdb3d32591710be62df6524399a0f_5 = NULL;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
PyObject *exception_keeper_type_14;
PyObject *exception_keeper_value_14;
PyTracebackObject *exception_keeper_tb_14;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14;
PyObject *locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127 = NULL;
struct Nuitka_FrameObject *frame_25e241709fcfdd1d416fcf6cc71edbca_6;
NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL;
static struct Nuitka_FrameObject *cache_frame_25e241709fcfdd1d416fcf6cc71edbca_6 = NULL;
PyObject *exception_keeper_type_15;
PyObject *exception_keeper_value_15;
PyTracebackObject *exception_keeper_tb_15;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15;
PyObject *exception_keeper_type_16;
PyObject *exception_keeper_value_16;
PyTracebackObject *exception_keeper_tb_16;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16;
PyObject *exception_keeper_type_17;
PyObject *exception_keeper_value_17;
PyTracebackObject *exception_keeper_tb_17;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[76];
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[77], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[78];
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[79], tmp_assign_source_2);
}
// Frame without reuse.
frame_14733c8afd2efc451063e11ab28a143b = MAKE_MODULE_FRAME(codeobj_14733c8afd2efc451063e11ab28a143b, module_lazr$restfulclient$authorize$oauth);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_14733c8afd2efc451063e11ab28a143b);
assert(Py_REFCNT(frame_14733c8afd2efc451063e11ab28a143b) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[78];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[80]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[80]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[81], 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_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[80]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[80]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[82], 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_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[83], tmp_assign_source_3);
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_import_name_from_1;
PyObject *tmp_name_value_1;
PyObject *tmp_globals_arg_value_1;
PyObject *tmp_locals_arg_value_1;
PyObject *tmp_fromlist_value_1;
PyObject *tmp_level_value_1;
tmp_name_value_1 = mod_consts[84];
tmp_globals_arg_value_1 = (PyObject *)moduledict_lazr$restfulclient$authorize$oauth;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = mod_consts[85];
tmp_level_value_1 = mod_consts[10];
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 24;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 24;
goto try_except_handler_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_4 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_lazr$restfulclient$authorize$oauth,
mod_consts[86],
mod_consts[10]
);
} else {
tmp_assign_source_4 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[86]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 24;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[26], tmp_assign_source_4);
}
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;
// 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_14733c8afd2efc451063e11ab28a143b, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_14733c8afd2efc451063e11ab28a143b, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_import_name_from_2;
PyObject *tmp_name_value_2;
PyObject *tmp_globals_arg_value_2;
PyObject *tmp_locals_arg_value_2;
PyObject *tmp_fromlist_value_2;
PyObject *tmp_level_value_2;
tmp_name_value_2 = mod_consts[86];
tmp_globals_arg_value_2 = (PyObject *)moduledict_lazr$restfulclient$authorize$oauth;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = mod_consts[87];
tmp_level_value_2 = mod_consts[10];
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 26;
tmp_import_name_from_2 = IMPORT_MODULE5(tmp_name_value_2, tmp_globals_arg_value_2, tmp_locals_arg_value_2, tmp_fromlist_value_2, tmp_level_value_2);
if (tmp_import_name_from_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
goto try_except_handler_2;
}
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_5 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_lazr$restfulclient$authorize$oauth,
mod_consts[26],
mod_consts[10]
);
} else {
tmp_assign_source_5 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[26]);
}
Py_DECREF(tmp_import_name_from_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[26], tmp_assign_source_5);
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 22;
}
if (exception_tb && exception_tb->tb_frame == &frame_14733c8afd2efc451063e11ab28a143b->m_frame) frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_2;
branch_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;
// 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_6;
tmp_assign_source_6 = IMPORT_HARD_OS();
assert(!(tmp_assign_source_6 == NULL));
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[48], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_name_value_3;
PyObject *tmp_globals_arg_value_3;
PyObject *tmp_locals_arg_value_3;
PyObject *tmp_fromlist_value_3;
PyObject *tmp_level_value_3;
tmp_name_value_3 = mod_consts[13];
tmp_globals_arg_value_3 = (PyObject *)moduledict_lazr$restfulclient$authorize$oauth;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[10];
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 28;
tmp_assign_source_7 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 28;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[13], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_name_value_4;
PyObject *tmp_globals_arg_value_4;
PyObject *tmp_locals_arg_value_4;
PyObject *tmp_fromlist_value_4;
PyObject *tmp_level_value_4;
tmp_name_value_4 = mod_consts[54];
tmp_globals_arg_value_4 = (PyObject *)moduledict_lazr$restfulclient$authorize$oauth;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = Py_None;
tmp_level_value_4 = mod_consts[10];
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 29;
tmp_assign_source_8 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[54], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_name_value_5;
PyObject *tmp_globals_arg_value_5;
PyObject *tmp_locals_arg_value_5;
PyObject *tmp_fromlist_value_5;
PyObject *tmp_level_value_5;
tmp_name_value_5 = mod_consts[16];
tmp_globals_arg_value_5 = (PyObject *)moduledict_lazr$restfulclient$authorize$oauth;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = Py_None;
tmp_level_value_5 = mod_consts[10];
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 30;
tmp_assign_source_9 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 30;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[16], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_import_name_from_3;
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[88];
tmp_globals_arg_value_6 = (PyObject *)moduledict_lazr$restfulclient$authorize$oauth;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = mod_consts[89];
tmp_level_value_6 = mod_consts[10];
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 32;
tmp_import_name_from_3 = 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_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_10 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_lazr$restfulclient$authorize$oauth,
mod_consts[60],
mod_consts[10]
);
} else {
tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[60]);
}
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 = 32;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[60], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_name_value_7;
PyObject *tmp_globals_arg_value_7;
PyObject *tmp_locals_arg_value_7;
PyObject *tmp_fromlist_value_7;
PyObject *tmp_level_value_7;
tmp_name_value_7 = mod_consts[70];
tmp_globals_arg_value_7 = (PyObject *)moduledict_lazr$restfulclient$authorize$oauth;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = Py_None;
tmp_level_value_7 = mod_consts[10];
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 33;
tmp_assign_source_11 = IMPORT_MODULE5(tmp_name_value_7, tmp_globals_arg_value_7, tmp_locals_arg_value_7, tmp_fromlist_value_7, tmp_level_value_7);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 33;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[70], tmp_assign_source_11);
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_import_name_from_4;
PyObject *tmp_name_value_8;
PyObject *tmp_globals_arg_value_8;
PyObject *tmp_locals_arg_value_8;
PyObject *tmp_fromlist_value_8;
PyObject *tmp_level_value_8;
tmp_name_value_8 = mod_consts[90];
tmp_globals_arg_value_8 = (PyObject *)moduledict_lazr$restfulclient$authorize$oauth;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = mod_consts[91];
tmp_level_value_8 = mod_consts[10];
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 35;
tmp_import_name_from_4 = IMPORT_MODULE5(tmp_name_value_8, tmp_globals_arg_value_8, tmp_locals_arg_value_8, tmp_fromlist_value_8, tmp_level_value_8);
if (tmp_import_name_from_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_12 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_lazr$restfulclient$authorize$oauth,
mod_consts[92],
mod_consts[10]
);
} else {
tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[92]);
}
Py_DECREF(tmp_import_name_from_4);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[92], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_5;
PyObject *tmp_name_value_9;
PyObject *tmp_globals_arg_value_9;
PyObject *tmp_locals_arg_value_9;
PyObject *tmp_fromlist_value_9;
PyObject *tmp_level_value_9;
tmp_name_value_9 = mod_consts[93];
tmp_globals_arg_value_9 = (PyObject *)moduledict_lazr$restfulclient$authorize$oauth;
tmp_locals_arg_value_9 = Py_None;
tmp_fromlist_value_9 = mod_consts[94];
tmp_level_value_9 = mod_consts[10];
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 36;
tmp_import_name_from_5 = IMPORT_MODULE5(tmp_name_value_9, tmp_globals_arg_value_9, tmp_locals_arg_value_9, tmp_fromlist_value_9, tmp_level_value_9);
if (tmp_import_name_from_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_lazr$restfulclient$authorize$oauth,
mod_consts[31],
mod_consts[10]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[31]);
}
Py_DECREF(tmp_import_name_from_5);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[31], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
tmp_assign_source_14 = (PyObject *)&PyType_Type;
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[95], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
tmp_assign_source_15 = LIST_COPY(mod_consts[96]);
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[97], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
tmp_assign_source_16 = mod_consts[98];
UPDATE_STRING_DICT0(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[30], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
tmp_assign_source_17 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_17;
}
// Tried code:
{
PyObject *tmp_assign_source_18;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_2;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[99];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_1, tmp_key_value_1);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_value_2 = mod_consts[99];
tmp_metaclass_value_1 = DICT_GET_ITEM0(tmp_dict_arg_value_2, tmp_key_value_2);
if (tmp_metaclass_value_1 == NULL) {
tmp_metaclass_value_1 = Py_None;
}
assert(!(tmp_metaclass_value_1 == NULL));
goto condexpr_end_1;
condexpr_false_1:;
tmp_metaclass_value_1 = (PyObject *)&PyType_Type;
condexpr_end_1:;
tmp_bases_value_1 = mod_consts[100];
tmp_assign_source_18 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto try_except_handler_3;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_18;
}
{
bool tmp_condition_result_3;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[99];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_3, tmp_key_value_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[99];
tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto try_except_handler_3;
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_1 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_1, mod_consts[101]);
tmp_condition_result_4 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_19;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_value_1;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_2 = tmp_class_creation_1__metaclass;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[101]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto try_except_handler_3;
}
tmp_args_value_1 = mod_consts[102];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 52;
tmp_assign_source_19 = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto try_except_handler_3;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_19;
}
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_3 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_3, mod_consts[103]);
tmp_operand_value_1 = (tmp_result) ? 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 = 52;
goto try_except_handler_3;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
tmp_raise_type_1 = PyExc_TypeError;
tmp_mod_expr_left_1 = mod_consts[104];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[105];
tmp_getattr_default_1 = mod_consts[106];
tmp_tuple_element_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto try_except_handler_3;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_4;
PyObject *tmp_type_arg_1;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_1 = tmp_class_creation_1__prepared;
tmp_expression_value_4 = BUILTIN_TYPE1(tmp_type_arg_1);
assert(!(tmp_expression_value_4 == NULL));
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[105]);
Py_DECREF(tmp_expression_value_4);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto try_except_handler_3;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_raise_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto try_except_handler_3;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 52;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_3;
}
branch_no_4:;
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_20;
tmp_assign_source_20 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_20;
}
branch_end_3:;
{
PyObject *tmp_assign_source_21;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_lazr$restfulclient$authorize$oauth$$$class__1_Consumer_52 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[107];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__1_Consumer_52, mod_consts[108], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto try_except_handler_5;
}
tmp_dictset_value = mod_consts[109];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__1_Consumer_52, mod_consts[77], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto try_except_handler_5;
}
tmp_dictset_value = mod_consts[20];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__1_Consumer_52, mod_consts[110], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto try_except_handler_5;
}
if (isFrameUnusable(cache_frame_9a52e5bd4f97a959dcdcde560b448aed_2)) {
Py_XDECREF(cache_frame_9a52e5bd4f97a959dcdcde560b448aed_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_9a52e5bd4f97a959dcdcde560b448aed_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9a52e5bd4f97a959dcdcde560b448aed_2 = MAKE_CLASS_FRAME(codeobj_9a52e5bd4f97a959dcdcde560b448aed, module_lazr$restfulclient$authorize$oauth, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9a52e5bd4f97a959dcdcde560b448aed_2->m_type_description == NULL);
frame_9a52e5bd4f97a959dcdcde560b448aed_2 = cache_frame_9a52e5bd4f97a959dcdcde560b448aed_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_9a52e5bd4f97a959dcdcde560b448aed_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9a52e5bd4f97a959dcdcde560b448aed_2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_1;
tmp_defaults_1 = mod_consts[111];
Py_INCREF(tmp_defaults_1);
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__1___init__(tmp_defaults_1);
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__1_Consumer_52, mod_consts[6], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 55;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9a52e5bd4f97a959dcdcde560b448aed_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9a52e5bd4f97a959dcdcde560b448aed_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9a52e5bd4f97a959dcdcde560b448aed_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9a52e5bd4f97a959dcdcde560b448aed_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9a52e5bd4f97a959dcdcde560b448aed_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9a52e5bd4f97a959dcdcde560b448aed_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_9a52e5bd4f97a959dcdcde560b448aed_2 == cache_frame_9a52e5bd4f97a959dcdcde560b448aed_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9a52e5bd4f97a959dcdcde560b448aed_2);
cache_frame_9a52e5bd4f97a959dcdcde560b448aed_2 = NULL;
}
assertFrameObject(frame_9a52e5bd4f97a959dcdcde560b448aed_2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
goto try_except_handler_5;
skip_nested_handling_1:;
{
PyObject *tmp_assign_source_22;
PyObject *tmp_called_value_2;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_2 = tmp_class_creation_1__metaclass;
tmp_tuple_element_2 = mod_consts[20];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_2);
tmp_tuple_element_2 = mod_consts[100];
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_2);
tmp_tuple_element_2 = locals_lazr$restfulclient$authorize$oauth$$$class__1_Consumer_52;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 52;
tmp_assign_source_22 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto try_except_handler_5;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_22;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_21 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_21);
goto try_return_handler_5;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
Py_DECREF(locals_lazr$restfulclient$authorize$oauth$$$class__1_Consumer_52);
locals_lazr$restfulclient$authorize$oauth$$$class__1_Consumer_52 = NULL;
goto try_return_handler_4;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$authorize$oauth$$$class__1_Consumer_52);
locals_lazr$restfulclient$authorize$oauth$$$class__1_Consumer_52 = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_4;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_4:;
CHECK_OBJECT(outline_0_var___class__);
Py_DECREF(outline_0_var___class__);
outline_0_var___class__ = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_4:;
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;
// 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 52;
goto try_except_handler_3;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[20], tmp_assign_source_21);
}
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
Py_XDECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
Py_DECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_1__prepared);
Py_DECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
{
PyObject *tmp_assign_source_23;
tmp_assign_source_23 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_23;
}
// Tried code:
{
PyObject *tmp_assign_source_24;
PyObject *tmp_metaclass_value_2;
bool tmp_condition_result_6;
PyObject *tmp_key_value_4;
PyObject *tmp_dict_arg_value_4;
PyObject *tmp_dict_arg_value_5;
PyObject *tmp_key_value_5;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[99];
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_4 = tmp_class_creation_2__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_4, tmp_key_value_4);
assert(!(tmp_res == -1));
tmp_condition_result_6 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_5 = tmp_class_creation_2__class_decl_dict;
tmp_key_value_5 = mod_consts[99];
tmp_metaclass_value_2 = DICT_GET_ITEM0(tmp_dict_arg_value_5, tmp_key_value_5);
if (tmp_metaclass_value_2 == NULL) {
tmp_metaclass_value_2 = Py_None;
}
assert(!(tmp_metaclass_value_2 == NULL));
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
condexpr_end_2:;
tmp_bases_value_2 = mod_consts[100];
tmp_assign_source_24 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto try_except_handler_6;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_24;
}
{
bool tmp_condition_result_7;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[99];
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_6 = tmp_class_creation_2__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_6, tmp_key_value_6);
assert(!(tmp_res == -1));
tmp_condition_result_7 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = mod_consts[99];
tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto try_except_handler_6;
}
branch_no_5:;
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_5 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_5, mod_consts[101]);
tmp_condition_result_8 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_25;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_value_3;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_6 = tmp_class_creation_2__metaclass;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[101]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto try_except_handler_6;
}
tmp_args_value_3 = mod_consts[113];
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 70;
tmp_assign_source_25 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto try_except_handler_6;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_25;
}
{
bool tmp_condition_result_9;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_7 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_7, mod_consts[103]);
tmp_operand_value_2 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto try_except_handler_6;
}
tmp_condition_result_9 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_3;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
tmp_raise_type_2 = PyExc_TypeError;
tmp_mod_expr_left_2 = mod_consts[104];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[105];
tmp_getattr_default_2 = mod_consts[106];
tmp_tuple_element_3 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto try_except_handler_6;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_8;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_2 = tmp_class_creation_2__prepared;
tmp_expression_value_8 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_8 == NULL));
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[105]);
Py_DECREF(tmp_expression_value_8);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_3);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_mod_expr_right_2);
goto try_except_handler_6;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_raise_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto try_except_handler_6;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 70;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_6;
}
branch_no_7:;
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_assign_source_26;
tmp_assign_source_26 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_26;
}
branch_end_6:;
{
PyObject *tmp_assign_source_27;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_lazr$restfulclient$authorize$oauth$$$class__2_AccessToken_70 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[107];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__2_AccessToken_70, mod_consts[108], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto try_except_handler_8;
}
tmp_dictset_value = mod_consts[114];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__2_AccessToken_70, mod_consts[77], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto try_except_handler_8;
}
tmp_dictset_value = mod_consts[36];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__2_AccessToken_70, mod_consts[110], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto try_except_handler_8;
}
if (isFrameUnusable(cache_frame_640d98aff67cf4a89e0ab3da55048f0a_3)) {
Py_XDECREF(cache_frame_640d98aff67cf4a89e0ab3da55048f0a_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_640d98aff67cf4a89e0ab3da55048f0a_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_640d98aff67cf4a89e0ab3da55048f0a_3 = MAKE_CLASS_FRAME(codeobj_640d98aff67cf4a89e0ab3da55048f0a, module_lazr$restfulclient$authorize$oauth, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_640d98aff67cf4a89e0ab3da55048f0a_3->m_type_description == NULL);
frame_640d98aff67cf4a89e0ab3da55048f0a_3 = cache_frame_640d98aff67cf4a89e0ab3da55048f0a_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_640d98aff67cf4a89e0ab3da55048f0a_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_640d98aff67cf4a89e0ab3da55048f0a_3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_2;
tmp_defaults_2 = mod_consts[111];
Py_INCREF(tmp_defaults_2);
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__2___init__(tmp_defaults_2);
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__2_AccessToken_70, mod_consts[6], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_640d98aff67cf4a89e0ab3da55048f0a_3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_exception_exit_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_640d98aff67cf4a89e0ab3da55048f0a_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_640d98aff67cf4a89e0ab3da55048f0a_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_640d98aff67cf4a89e0ab3da55048f0a_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_640d98aff67cf4a89e0ab3da55048f0a_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_640d98aff67cf4a89e0ab3da55048f0a_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_640d98aff67cf4a89e0ab3da55048f0a_3 == cache_frame_640d98aff67cf4a89e0ab3da55048f0a_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_640d98aff67cf4a89e0ab3da55048f0a_3);
cache_frame_640d98aff67cf4a89e0ab3da55048f0a_3 = NULL;
}
assertFrameObject(frame_640d98aff67cf4a89e0ab3da55048f0a_3);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_2;
frame_no_exception_2:;
goto skip_nested_handling_2;
nested_frame_exit_2:;
goto try_except_handler_8;
skip_nested_handling_2:;
{
PyObject *tmp_assign_source_28;
PyObject *tmp_called_value_4;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_4 = tmp_class_creation_2__metaclass;
tmp_tuple_element_4 = mod_consts[36];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_4);
tmp_tuple_element_4 = mod_consts[100];
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_4);
tmp_tuple_element_4 = locals_lazr$restfulclient$authorize$oauth$$$class__2_AccessToken_70;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 70;
tmp_assign_source_28 = CALL_FUNCTION(tmp_called_value_4, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
goto try_except_handler_8;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_28;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_27 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_27);
goto try_return_handler_8;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_8:;
Py_DECREF(locals_lazr$restfulclient$authorize$oauth$$$class__2_AccessToken_70);
locals_lazr$restfulclient$authorize$oauth$$$class__2_AccessToken_70 = NULL;
goto try_return_handler_7;
// Exception handler code:
try_except_handler_8:;
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_DECREF(locals_lazr$restfulclient$authorize$oauth$$$class__2_AccessToken_70);
locals_lazr$restfulclient$authorize$oauth$$$class__2_AccessToken_70 = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto try_except_handler_7;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_7:;
CHECK_OBJECT(outline_1_var___class__);
Py_DECREF(outline_1_var___class__);
outline_1_var___class__ = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_7:;
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;
// 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 outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 70;
goto try_except_handler_6;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[36], tmp_assign_source_27);
}
goto try_end_4;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
Py_DECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
Py_XDECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
Py_DECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
Py_DECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_2__prepared);
Py_DECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_29;
PyObject *tmp_tuple_element_5;
PyObject *tmp_expression_value_9;
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[70]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[70]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
tmp_tuple_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[116]);
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
tmp_assign_source_29 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_assign_source_29, 0, tmp_tuple_element_5);
assert(tmp_class_creation_3__bases_orig == NULL);
tmp_class_creation_3__bases_orig = tmp_assign_source_29;
}
{
PyObject *tmp_assign_source_30;
PyObject *tmp_dircall_arg1_1;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dircall_arg1_1 = tmp_class_creation_3__bases_orig;
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_30 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_30;
}
{
PyObject *tmp_assign_source_31;
tmp_assign_source_31 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_31;
}
{
PyObject *tmp_assign_source_32;
PyObject *tmp_metaclass_value_3;
bool tmp_condition_result_10;
PyObject *tmp_key_value_7;
PyObject *tmp_dict_arg_value_7;
PyObject *tmp_dict_arg_value_8;
PyObject *tmp_key_value_8;
nuitka_bool tmp_condition_result_11;
int tmp_truth_name_1;
PyObject *tmp_type_arg_3;
PyObject *tmp_expression_value_10;
PyObject *tmp_subscript_value_1;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[99];
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_7 = tmp_class_creation_3__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_7, tmp_key_value_7);
assert(!(tmp_res == -1));
tmp_condition_result_10 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_10 != false) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_8 = tmp_class_creation_3__class_decl_dict;
tmp_key_value_8 = mod_consts[99];
tmp_metaclass_value_3 = DICT_GET_ITEM0(tmp_dict_arg_value_8, tmp_key_value_8);
if (tmp_metaclass_value_3 == NULL) {
tmp_metaclass_value_3 = Py_None;
}
assert(!(tmp_metaclass_value_3 == NULL));
Py_INCREF(tmp_metaclass_value_3);
goto condexpr_end_3;
condexpr_false_3:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_class_creation_3__bases);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
tmp_condition_result_11 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_expression_value_10 = tmp_class_creation_3__bases;
tmp_subscript_value_1 = mod_consts[10];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_10, tmp_subscript_value_1, 0);
if (tmp_type_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
tmp_metaclass_value_3 = BUILTIN_TYPE1(tmp_type_arg_3);
Py_DECREF(tmp_type_arg_3);
if (tmp_metaclass_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_metaclass_value_3 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_3);
condexpr_end_4:;
condexpr_end_3:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_bases_value_3 = tmp_class_creation_3__bases;
tmp_assign_source_32 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_32;
}
{
bool tmp_condition_result_12;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[99];
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_9 = tmp_class_creation_3__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_9, tmp_key_value_9);
assert(!(tmp_res == -1));
tmp_condition_result_12 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_12 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
tmp_dictdel_key = mod_consts[99];
tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
branch_no_8:;
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_11 = tmp_class_creation_3__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_11, mod_consts[101]);
tmp_condition_result_13 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_assign_source_33;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_12;
PyObject *tmp_args_value_5;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kwargs_value_5;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_12 = tmp_class_creation_3__metaclass;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[101]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
tmp_tuple_element_6 = mod_consts[62];
tmp_args_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_5, 0, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_6 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_5, 1, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_5 = tmp_class_creation_3__class_decl_dict;
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 79;
tmp_assign_source_33 = CALL_FUNCTION(tmp_called_value_5, tmp_args_value_5, tmp_kwargs_value_5);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_value_5);
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_33;
}
{
bool tmp_condition_result_14;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_13;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_expression_value_13 = tmp_class_creation_3__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_13, mod_consts[103]);
tmp_operand_value_3 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
tmp_condition_result_14 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_14 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_raise_value_3;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
PyObject *tmp_tuple_element_7;
PyObject *tmp_getattr_target_3;
PyObject *tmp_getattr_attr_3;
PyObject *tmp_getattr_default_3;
tmp_raise_type_3 = PyExc_TypeError;
tmp_mod_expr_left_3 = mod_consts[104];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[105];
tmp_getattr_default_3 = mod_consts[106];
tmp_tuple_element_7 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_14;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_4 = tmp_class_creation_3__prepared;
tmp_expression_value_14 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_14 == NULL));
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[105]);
Py_DECREF(tmp_expression_value_14);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_7);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_mod_expr_right_3);
goto try_except_handler_9;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
tmp_raise_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_3, tmp_mod_expr_right_3);
Py_DECREF(tmp_mod_expr_right_3);
if (tmp_raise_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_9;
}
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_value = tmp_raise_value_3;
exception_lineno = 79;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_9;
}
branch_no_10:;
goto branch_end_9;
branch_no_9:;
{
PyObject *tmp_assign_source_34;
tmp_assign_source_34 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_34;
}
branch_end_9:;
{
PyObject *tmp_assign_source_35;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[107];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79, mod_consts[108], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_11;
}
tmp_dictset_value = mod_consts[117];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79, mod_consts[77], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_11;
}
tmp_dictset_value = mod_consts[62];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79, mod_consts[110], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_11;
}
if (isFrameUnusable(cache_frame_85ef4df92ca69cc8ea76da9702dbd030_4)) {
Py_XDECREF(cache_frame_85ef4df92ca69cc8ea76da9702dbd030_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_85ef4df92ca69cc8ea76da9702dbd030_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_85ef4df92ca69cc8ea76da9702dbd030_4 = MAKE_CLASS_FRAME(codeobj_85ef4df92ca69cc8ea76da9702dbd030, module_lazr$restfulclient$authorize$oauth, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_85ef4df92ca69cc8ea76da9702dbd030_4->m_type_description == NULL);
frame_85ef4df92ca69cc8ea76da9702dbd030_4 = cache_frame_85ef4df92ca69cc8ea76da9702dbd030_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_85ef4df92ca69cc8ea76da9702dbd030_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_85ef4df92ca69cc8ea76da9702dbd030_4) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__3___bool__();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79, mod_consts[118], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 82;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = PyObject_GetItem(locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79, mod_consts[118]);
if (unlikely(tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[118]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 85;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79, mod_consts[120], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
type_description_2 = "o";
goto frame_exception_exit_4;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_85ef4df92ca69cc8ea76da9702dbd030_4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_3;
frame_exception_exit_4:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_85ef4df92ca69cc8ea76da9702dbd030_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_85ef4df92ca69cc8ea76da9702dbd030_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_85ef4df92ca69cc8ea76da9702dbd030_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_85ef4df92ca69cc8ea76da9702dbd030_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_85ef4df92ca69cc8ea76da9702dbd030_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame if used for exception.
if (frame_85ef4df92ca69cc8ea76da9702dbd030_4 == cache_frame_85ef4df92ca69cc8ea76da9702dbd030_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_85ef4df92ca69cc8ea76da9702dbd030_4);
cache_frame_85ef4df92ca69cc8ea76da9702dbd030_4 = NULL;
}
assertFrameObject(frame_85ef4df92ca69cc8ea76da9702dbd030_4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_3;
frame_no_exception_3:;
goto skip_nested_handling_3;
nested_frame_exit_3:;
goto try_except_handler_11;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_15;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_cmp_expr_left_2 = tmp_class_creation_3__bases;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_cmp_expr_right_2 = tmp_class_creation_3__bases_orig;
tmp_condition_result_15 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_15 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_11;
}
if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dictset_value = tmp_class_creation_3__bases_orig;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79, mod_consts[121], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_11;
}
branch_no_11:;
{
PyObject *tmp_assign_source_36;
PyObject *tmp_called_value_6;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_8;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_6 = tmp_class_creation_3__metaclass;
tmp_tuple_element_8 = mod_consts[62];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_8 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_8);
tmp_tuple_element_8 = locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 79;
tmp_assign_source_36 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
goto try_except_handler_11;
}
assert(outline_2_var___class__ == NULL);
outline_2_var___class__ = tmp_assign_source_36;
}
CHECK_OBJECT(outline_2_var___class__);
tmp_assign_source_35 = outline_2_var___class__;
Py_INCREF(tmp_assign_source_35);
goto try_return_handler_11;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_11:;
Py_DECREF(locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79);
locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79 = NULL;
goto try_return_handler_10;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79);
locals_lazr$restfulclient$authorize$oauth$$$class__3_TruthyString_79 = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto try_except_handler_10;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_10:;
CHECK_OBJECT(outline_2_var___class__);
Py_DECREF(outline_2_var___class__);
outline_2_var___class__ = NULL;
goto outline_result_3;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto outline_exception_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_3:;
exception_lineno = 79;
goto try_except_handler_9;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[62], tmp_assign_source_35);
}
goto try_end_5;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
Py_XDECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
Py_XDECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
Py_DECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_3__bases);
Py_DECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
Py_DECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
Py_DECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_3__prepared);
Py_DECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_37;
PyObject *tmp_tuple_element_9;
tmp_tuple_element_9 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_tuple_element_9 == NULL)) {
tmp_tuple_element_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_tuple_element_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_12;
}
tmp_assign_source_37 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_37, 0, tmp_tuple_element_9);
assert(tmp_class_creation_4__bases_orig == NULL);
tmp_class_creation_4__bases_orig = tmp_assign_source_37;
}
{
PyObject *tmp_assign_source_38;
PyObject *tmp_dircall_arg1_2;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_dircall_arg1_2 = tmp_class_creation_4__bases_orig;
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_38 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_12;
}
assert(tmp_class_creation_4__bases == NULL);
tmp_class_creation_4__bases = tmp_assign_source_38;
}
{
PyObject *tmp_assign_source_39;
tmp_assign_source_39 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__class_decl_dict == NULL);
tmp_class_creation_4__class_decl_dict = tmp_assign_source_39;
}
{
PyObject *tmp_assign_source_40;
PyObject *tmp_metaclass_value_4;
bool tmp_condition_result_16;
PyObject *tmp_key_value_10;
PyObject *tmp_dict_arg_value_10;
PyObject *tmp_dict_arg_value_11;
PyObject *tmp_key_value_11;
nuitka_bool tmp_condition_result_17;
int tmp_truth_name_2;
PyObject *tmp_type_arg_5;
PyObject *tmp_expression_value_15;
PyObject *tmp_subscript_value_2;
PyObject *tmp_bases_value_4;
tmp_key_value_10 = mod_consts[99];
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_10 = tmp_class_creation_4__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_10, tmp_key_value_10);
assert(!(tmp_res == -1));
tmp_condition_result_16 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_16 != false) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_11 = tmp_class_creation_4__class_decl_dict;
tmp_key_value_11 = mod_consts[99];
tmp_metaclass_value_4 = DICT_GET_ITEM0(tmp_dict_arg_value_11, tmp_key_value_11);
if (tmp_metaclass_value_4 == NULL) {
tmp_metaclass_value_4 = Py_None;
}
assert(!(tmp_metaclass_value_4 == NULL));
Py_INCREF(tmp_metaclass_value_4);
goto condexpr_end_5;
condexpr_false_5:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_class_creation_4__bases);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_12;
}
tmp_condition_result_17 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) {
goto condexpr_true_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_expression_value_15 = tmp_class_creation_4__bases;
tmp_subscript_value_2 = mod_consts[10];
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_15, tmp_subscript_value_2, 0);
if (tmp_type_arg_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_12;
}
tmp_metaclass_value_4 = BUILTIN_TYPE1(tmp_type_arg_5);
Py_DECREF(tmp_type_arg_5);
if (tmp_metaclass_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_12;
}
goto condexpr_end_6;
condexpr_false_6:;
tmp_metaclass_value_4 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_4);
condexpr_end_6:;
condexpr_end_5:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_bases_value_4 = tmp_class_creation_4__bases;
tmp_assign_source_40 = SELECT_METACLASS(tmp_metaclass_value_4, tmp_bases_value_4);
Py_DECREF(tmp_metaclass_value_4);
if (tmp_assign_source_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_12;
}
assert(tmp_class_creation_4__metaclass == NULL);
tmp_class_creation_4__metaclass = tmp_assign_source_40;
}
{
bool tmp_condition_result_18;
PyObject *tmp_key_value_12;
PyObject *tmp_dict_arg_value_12;
tmp_key_value_12 = mod_consts[99];
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_12 = tmp_class_creation_4__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_12, tmp_key_value_12);
assert(!(tmp_res == -1));
tmp_condition_result_18 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_18 != false) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict;
tmp_dictdel_key = mod_consts[99];
tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_12;
}
branch_no_12:;
{
nuitka_bool tmp_condition_result_19;
PyObject *tmp_expression_value_16;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_16 = tmp_class_creation_4__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_16, mod_consts[101]);
tmp_condition_result_19 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_19 == NUITKA_BOOL_TRUE) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
{
PyObject *tmp_assign_source_41;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_17;
PyObject *tmp_args_value_7;
PyObject *tmp_tuple_element_10;
PyObject *tmp_kwargs_value_7;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_17 = tmp_class_creation_4__metaclass;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[101]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_12;
}
tmp_tuple_element_10 = mod_consts[5];
tmp_args_value_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_7, 0, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_10 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_7, 1, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_7 = tmp_class_creation_4__class_decl_dict;
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 88;
tmp_assign_source_41 = CALL_FUNCTION(tmp_called_value_7, tmp_args_value_7, tmp_kwargs_value_7);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_value_7);
if (tmp_assign_source_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_12;
}
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_41;
}
{
bool tmp_condition_result_20;
PyObject *tmp_operand_value_4;
PyObject *tmp_expression_value_18;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_expression_value_18 = tmp_class_creation_4__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_18, mod_consts[103]);
tmp_operand_value_4 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_12;
}
tmp_condition_result_20 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_20 != false) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
PyObject *tmp_raise_type_4;
PyObject *tmp_raise_value_4;
PyObject *tmp_mod_expr_left_4;
PyObject *tmp_mod_expr_right_4;
PyObject *tmp_tuple_element_11;
PyObject *tmp_getattr_target_4;
PyObject *tmp_getattr_attr_4;
PyObject *tmp_getattr_default_4;
tmp_raise_type_4 = PyExc_TypeError;
tmp_mod_expr_left_4 = mod_consts[104];
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_getattr_target_4 = tmp_class_creation_4__metaclass;
tmp_getattr_attr_4 = mod_consts[105];
tmp_getattr_default_4 = mod_consts[106];
tmp_tuple_element_11 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_12;
}
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_19;
PyObject *tmp_type_arg_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 0, tmp_tuple_element_11);
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_type_arg_6 = tmp_class_creation_4__prepared;
tmp_expression_value_19 = BUILTIN_TYPE1(tmp_type_arg_6);
assert(!(tmp_expression_value_19 == NULL));
tmp_tuple_element_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[105]);
Py_DECREF(tmp_expression_value_19);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 1, tmp_tuple_element_11);
}
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_mod_expr_right_4);
goto try_except_handler_12;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_raise_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_4, tmp_mod_expr_right_4);
Py_DECREF(tmp_mod_expr_right_4);
if (tmp_raise_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_12;
}
exception_type = tmp_raise_type_4;
Py_INCREF(tmp_raise_type_4);
exception_value = tmp_raise_value_4;
exception_lineno = 88;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_12;
}
branch_no_14:;
goto branch_end_13;
branch_no_13:;
{
PyObject *tmp_assign_source_42;
tmp_assign_source_42 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_42;
}
branch_end_13:;
{
PyObject *tmp_assign_source_43;
{
PyObject *tmp_set_locals_4;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_set_locals_4 = tmp_class_creation_4__prepared;
locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88 = tmp_set_locals_4;
Py_INCREF(tmp_set_locals_4);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[107];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88, mod_consts[108], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_14;
}
tmp_dictset_value = mod_consts[122];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88, mod_consts[77], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_14;
}
tmp_dictset_value = mod_consts[5];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88, mod_consts[110], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_14;
}
if (isFrameUnusable(cache_frame_8d7cdb3d32591710be62df6524399a0f_5)) {
Py_XDECREF(cache_frame_8d7cdb3d32591710be62df6524399a0f_5);
#if _DEBUG_REFCOUNTS
if (cache_frame_8d7cdb3d32591710be62df6524399a0f_5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8d7cdb3d32591710be62df6524399a0f_5 = MAKE_CLASS_FRAME(codeobj_8d7cdb3d32591710be62df6524399a0f, module_lazr$restfulclient$authorize$oauth, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8d7cdb3d32591710be62df6524399a0f_5->m_type_description == NULL);
frame_8d7cdb3d32591710be62df6524399a0f_5 = cache_frame_8d7cdb3d32591710be62df6524399a0f_5;
// Push the new frame as the currently active one.
pushFrameStack(frame_8d7cdb3d32591710be62df6524399a0f_5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8d7cdb3d32591710be62df6524399a0f_5) == 2); // Frame stack
// Framed code:
tmp_dictset_value = mod_consts[123];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88, mod_consts[15], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 95;
type_description_2 = "o";
goto frame_exception_exit_5;
}
{
PyObject *tmp_defaults_3;
tmp_defaults_3 = mod_consts[124];
Py_INCREF(tmp_defaults_3);
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__4___init__(tmp_defaults_3);
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88, mod_consts[6], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
nuitka_bool tmp_condition_result_21;
PyObject *tmp_called_value_8;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_9;
PyObject *tmp_args_element_value_2;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88, mod_consts[126]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 108;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_condition_result_21 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_21 == NUITKA_BOOL_TRUE) {
goto condexpr_true_7;
} else {
goto condexpr_false_7;
}
condexpr_true_7:;
tmp_called_value_8 = PyObject_GetItem(locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88, mod_consts[126]);
if (unlikely(tmp_called_value_8 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[126]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 108;
type_description_2 = "o";
goto frame_exception_exit_5;
}
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 108;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_args_element_value_1 = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__5_consumer_key();
frame_8d7cdb3d32591710be62df6524399a0f_5->m_frame.f_lineno = 108;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_8, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_1);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 108;
type_description_2 = "o";
goto frame_exception_exit_5;
}
goto condexpr_end_7;
condexpr_false_7:;
tmp_called_value_9 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_2 = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__5_consumer_key();
frame_8d7cdb3d32591710be62df6524399a0f_5->m_frame.f_lineno = 108;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_9, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 108;
type_description_2 = "o";
goto frame_exception_exit_5;
}
condexpr_end_7:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88, mod_consts[7], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 109;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8d7cdb3d32591710be62df6524399a0f_5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_4;
frame_exception_exit_5:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8d7cdb3d32591710be62df6524399a0f_5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8d7cdb3d32591710be62df6524399a0f_5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8d7cdb3d32591710be62df6524399a0f_5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8d7cdb3d32591710be62df6524399a0f_5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8d7cdb3d32591710be62df6524399a0f_5,
type_description_2,
outline_3_var___class__
);
// Release cached frame if used for exception.
if (frame_8d7cdb3d32591710be62df6524399a0f_5 == cache_frame_8d7cdb3d32591710be62df6524399a0f_5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8d7cdb3d32591710be62df6524399a0f_5);
cache_frame_8d7cdb3d32591710be62df6524399a0f_5 = NULL;
}
assertFrameObject(frame_8d7cdb3d32591710be62df6524399a0f_5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_4;
frame_no_exception_4:;
goto skip_nested_handling_4;
nested_frame_exit_4:;
goto try_except_handler_14;
skip_nested_handling_4:;
{
nuitka_bool tmp_condition_result_22;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_cmp_expr_left_3 = tmp_class_creation_4__bases;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_cmp_expr_right_3 = tmp_class_creation_4__bases_orig;
tmp_condition_result_22 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_22 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_14;
}
if (tmp_condition_result_22 == NUITKA_BOOL_TRUE) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_dictset_value = tmp_class_creation_4__bases_orig;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88, mod_consts[121], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_14;
}
branch_no_15:;
{
PyObject *tmp_assign_source_44;
PyObject *tmp_called_value_10;
PyObject *tmp_args_value_8;
PyObject *tmp_tuple_element_12;
PyObject *tmp_kwargs_value_8;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_called_value_10 = tmp_class_creation_4__metaclass;
tmp_tuple_element_12 = mod_consts[5];
tmp_args_value_8 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_8, 0, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_12 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_8, 1, tmp_tuple_element_12);
tmp_tuple_element_12 = locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88;
PyTuple_SET_ITEM0(tmp_args_value_8, 2, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_8 = tmp_class_creation_4__class_decl_dict;
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 88;
tmp_assign_source_44 = CALL_FUNCTION(tmp_called_value_10, tmp_args_value_8, tmp_kwargs_value_8);
Py_DECREF(tmp_args_value_8);
if (tmp_assign_source_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto try_except_handler_14;
}
assert(outline_3_var___class__ == NULL);
outline_3_var___class__ = tmp_assign_source_44;
}
CHECK_OBJECT(outline_3_var___class__);
tmp_assign_source_43 = outline_3_var___class__;
Py_INCREF(tmp_assign_source_43);
goto try_return_handler_14;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_14:;
Py_DECREF(locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88);
locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88 = NULL;
goto try_return_handler_13;
// Exception handler code:
try_except_handler_14:;
exception_keeper_type_12 = exception_type;
exception_keeper_value_12 = exception_value;
exception_keeper_tb_12 = exception_tb;
exception_keeper_lineno_12 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88);
locals_lazr$restfulclient$authorize$oauth$$$class__4_SystemWideConsumer_88 = NULL;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto try_except_handler_13;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_13:;
CHECK_OBJECT(outline_3_var___class__);
Py_DECREF(outline_3_var___class__);
outline_3_var___class__ = NULL;
goto outline_result_4;
// Exception handler code:
try_except_handler_13:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_13;
exception_value = exception_keeper_value_13;
exception_tb = exception_keeper_tb_13;
exception_lineno = exception_keeper_lineno_13;
goto outline_exception_4;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_4:;
exception_lineno = 88;
goto try_except_handler_12;
outline_result_4:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_43);
}
goto try_end_6;
// Exception handler code:
try_except_handler_12:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_4__bases_orig);
tmp_class_creation_4__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_4__bases);
tmp_class_creation_4__bases = NULL;
Py_XDECREF(tmp_class_creation_4__class_decl_dict);
tmp_class_creation_4__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_4__metaclass);
tmp_class_creation_4__metaclass = NULL;
Py_XDECREF(tmp_class_creation_4__prepared);
tmp_class_creation_4__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
Py_DECREF(tmp_class_creation_4__bases_orig);
tmp_class_creation_4__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_4__bases);
Py_DECREF(tmp_class_creation_4__bases);
tmp_class_creation_4__bases = NULL;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
Py_DECREF(tmp_class_creation_4__class_decl_dict);
tmp_class_creation_4__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
Py_DECREF(tmp_class_creation_4__metaclass);
tmp_class_creation_4__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_4__prepared);
Py_DECREF(tmp_class_creation_4__prepared);
tmp_class_creation_4__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_45;
PyObject *tmp_tuple_element_13;
tmp_tuple_element_13 = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[92]);
if (unlikely(tmp_tuple_element_13 == NULL)) {
tmp_tuple_element_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[92]);
}
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_15;
}
tmp_assign_source_45 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_45, 0, tmp_tuple_element_13);
assert(tmp_class_creation_5__bases_orig == NULL);
tmp_class_creation_5__bases_orig = tmp_assign_source_45;
}
{
PyObject *tmp_assign_source_46;
PyObject *tmp_dircall_arg1_3;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_dircall_arg1_3 = tmp_class_creation_5__bases_orig;
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_46 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_15;
}
assert(tmp_class_creation_5__bases == NULL);
tmp_class_creation_5__bases = tmp_assign_source_46;
}
{
PyObject *tmp_assign_source_47;
tmp_assign_source_47 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__class_decl_dict == NULL);
tmp_class_creation_5__class_decl_dict = tmp_assign_source_47;
}
{
PyObject *tmp_assign_source_48;
PyObject *tmp_metaclass_value_5;
bool tmp_condition_result_23;
PyObject *tmp_key_value_13;
PyObject *tmp_dict_arg_value_13;
PyObject *tmp_dict_arg_value_14;
PyObject *tmp_key_value_14;
nuitka_bool tmp_condition_result_24;
int tmp_truth_name_3;
PyObject *tmp_type_arg_7;
PyObject *tmp_expression_value_20;
PyObject *tmp_subscript_value_3;
PyObject *tmp_bases_value_5;
tmp_key_value_13 = mod_consts[99];
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_13 = tmp_class_creation_5__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_13, tmp_key_value_13);
assert(!(tmp_res == -1));
tmp_condition_result_23 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_23 != false) {
goto condexpr_true_8;
} else {
goto condexpr_false_8;
}
condexpr_true_8:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_14 = tmp_class_creation_5__class_decl_dict;
tmp_key_value_14 = mod_consts[99];
tmp_metaclass_value_5 = DICT_GET_ITEM0(tmp_dict_arg_value_14, tmp_key_value_14);
if (tmp_metaclass_value_5 == NULL) {
tmp_metaclass_value_5 = Py_None;
}
assert(!(tmp_metaclass_value_5 == NULL));
Py_INCREF(tmp_metaclass_value_5);
goto condexpr_end_8;
condexpr_false_8:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_class_creation_5__bases);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_15;
}
tmp_condition_result_24 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_24 == NUITKA_BOOL_TRUE) {
goto condexpr_true_9;
} else {
goto condexpr_false_9;
}
condexpr_true_9:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_expression_value_20 = tmp_class_creation_5__bases;
tmp_subscript_value_3 = mod_consts[10];
tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_20, tmp_subscript_value_3, 0);
if (tmp_type_arg_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_15;
}
tmp_metaclass_value_5 = BUILTIN_TYPE1(tmp_type_arg_7);
Py_DECREF(tmp_type_arg_7);
if (tmp_metaclass_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_15;
}
goto condexpr_end_9;
condexpr_false_9:;
tmp_metaclass_value_5 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_5);
condexpr_end_9:;
condexpr_end_8:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_bases_value_5 = tmp_class_creation_5__bases;
tmp_assign_source_48 = SELECT_METACLASS(tmp_metaclass_value_5, tmp_bases_value_5);
Py_DECREF(tmp_metaclass_value_5);
if (tmp_assign_source_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_15;
}
assert(tmp_class_creation_5__metaclass == NULL);
tmp_class_creation_5__metaclass = tmp_assign_source_48;
}
{
bool tmp_condition_result_25;
PyObject *tmp_key_value_15;
PyObject *tmp_dict_arg_value_15;
tmp_key_value_15 = mod_consts[99];
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_15 = tmp_class_creation_5__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_15, tmp_key_value_15);
assert(!(tmp_res == -1));
tmp_condition_result_25 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_25 != false) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_5__class_decl_dict;
tmp_dictdel_key = mod_consts[99];
tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_15;
}
branch_no_16:;
{
nuitka_bool tmp_condition_result_26;
PyObject *tmp_expression_value_21;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_21 = tmp_class_creation_5__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_21, mod_consts[101]);
tmp_condition_result_26 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
{
PyObject *tmp_assign_source_49;
PyObject *tmp_called_value_11;
PyObject *tmp_expression_value_22;
PyObject *tmp_args_value_9;
PyObject *tmp_tuple_element_14;
PyObject *tmp_kwargs_value_9;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_22 = tmp_class_creation_5__metaclass;
tmp_called_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[101]);
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_15;
}
tmp_tuple_element_14 = mod_consts[128];
tmp_args_value_9 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_9, 0, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_14 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_9, 1, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_9 = tmp_class_creation_5__class_decl_dict;
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 127;
tmp_assign_source_49 = CALL_FUNCTION(tmp_called_value_11, tmp_args_value_9, tmp_kwargs_value_9);
Py_DECREF(tmp_called_value_11);
Py_DECREF(tmp_args_value_9);
if (tmp_assign_source_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_15;
}
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_49;
}
{
bool tmp_condition_result_27;
PyObject *tmp_operand_value_5;
PyObject *tmp_expression_value_23;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_expression_value_23 = tmp_class_creation_5__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_23, mod_consts[103]);
tmp_operand_value_5 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_15;
}
tmp_condition_result_27 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_27 != false) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
{
PyObject *tmp_raise_type_5;
PyObject *tmp_raise_value_5;
PyObject *tmp_mod_expr_left_5;
PyObject *tmp_mod_expr_right_5;
PyObject *tmp_tuple_element_15;
PyObject *tmp_getattr_target_5;
PyObject *tmp_getattr_attr_5;
PyObject *tmp_getattr_default_5;
tmp_raise_type_5 = PyExc_TypeError;
tmp_mod_expr_left_5 = mod_consts[104];
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_getattr_target_5 = tmp_class_creation_5__metaclass;
tmp_getattr_attr_5 = mod_consts[105];
tmp_getattr_default_5 = mod_consts[106];
tmp_tuple_element_15 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5);
if (tmp_tuple_element_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_15;
}
tmp_mod_expr_right_5 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_24;
PyObject *tmp_type_arg_8;
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 0, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_type_arg_8 = tmp_class_creation_5__prepared;
tmp_expression_value_24 = BUILTIN_TYPE1(tmp_type_arg_8);
assert(!(tmp_expression_value_24 == NULL));
tmp_tuple_element_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[105]);
Py_DECREF(tmp_expression_value_24);
if (tmp_tuple_element_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto tuple_build_exception_5;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 1, tmp_tuple_element_15);
}
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_mod_expr_right_5);
goto try_except_handler_15;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
tmp_raise_value_5 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_5, tmp_mod_expr_right_5);
Py_DECREF(tmp_mod_expr_right_5);
if (tmp_raise_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_15;
}
exception_type = tmp_raise_type_5;
Py_INCREF(tmp_raise_type_5);
exception_value = tmp_raise_value_5;
exception_lineno = 127;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_15;
}
branch_no_18:;
goto branch_end_17;
branch_no_17:;
{
PyObject *tmp_assign_source_50;
tmp_assign_source_50 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_50;
}
branch_end_17:;
{
PyObject *tmp_assign_source_51;
{
PyObject *tmp_set_locals_5;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_set_locals_5 = tmp_class_creation_5__prepared;
locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127 = tmp_set_locals_5;
Py_INCREF(tmp_set_locals_5);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[107];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[108], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_17;
}
tmp_dictset_value = mod_consts[129];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[77], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_17;
}
tmp_dictset_value = mod_consts[128];
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[110], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_17;
}
if (isFrameUnusable(cache_frame_25e241709fcfdd1d416fcf6cc71edbca_6)) {
Py_XDECREF(cache_frame_25e241709fcfdd1d416fcf6cc71edbca_6);
#if _DEBUG_REFCOUNTS
if (cache_frame_25e241709fcfdd1d416fcf6cc71edbca_6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_25e241709fcfdd1d416fcf6cc71edbca_6 = MAKE_CLASS_FRAME(codeobj_25e241709fcfdd1d416fcf6cc71edbca, module_lazr$restfulclient$authorize$oauth, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_25e241709fcfdd1d416fcf6cc71edbca_6->m_type_description == NULL);
frame_25e241709fcfdd1d416fcf6cc71edbca_6 = cache_frame_25e241709fcfdd1d416fcf6cc71edbca_6;
// Push the new frame as the currently active one.
pushFrameStack(frame_25e241709fcfdd1d416fcf6cc71edbca_6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_25e241709fcfdd1d416fcf6cc71edbca_6) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_4;
tmp_defaults_4 = mod_consts[130];
Py_INCREF(tmp_defaults_4);
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__6___init__(tmp_defaults_4);
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[6], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
nuitka_bool tmp_condition_result_28;
PyObject *tmp_called_value_12;
PyObject *tmp_args_element_value_3;
PyObject *tmp_called_value_13;
PyObject *tmp_args_element_value_4;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[126]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_condition_result_28 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_28 == NUITKA_BOOL_TRUE) {
goto condexpr_true_10;
} else {
goto condexpr_false_10;
}
condexpr_true_10:;
tmp_called_value_12 = PyObject_GetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[126]);
if (unlikely(tmp_called_value_12 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[126]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 140;
type_description_2 = "o";
goto frame_exception_exit_6;
}
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_args_element_value_3 = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__7_user_agent_params();
frame_25e241709fcfdd1d416fcf6cc71edbca_6->m_frame.f_lineno = 140;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_12, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_12);
Py_DECREF(tmp_args_element_value_3);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_2 = "o";
goto frame_exception_exit_6;
}
goto condexpr_end_10;
condexpr_false_10:;
tmp_called_value_13 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_4 = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__7_user_agent_params();
frame_25e241709fcfdd1d416fcf6cc71edbca_6->m_frame.f_lineno = 140;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_13, tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_4);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_2 = "o";
goto frame_exception_exit_6;
}
condexpr_end_10:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[132], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__8_load();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[39], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 154;
type_description_2 = "o";
goto frame_exception_exit_6;
}
{
nuitka_bool tmp_condition_result_29;
PyObject *tmp_called_value_14;
PyObject *tmp_args_element_value_5;
PyObject *tmp_classmethod_arg_1;
tmp_res = MAPPING_HAS_ITEM(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[135]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_condition_result_29 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_29 == NUITKA_BOOL_TRUE) {
goto condexpr_true_11;
} else {
goto condexpr_false_11;
}
condexpr_true_11:;
tmp_called_value_14 = PyObject_GetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[135]);
if (unlikely(tmp_called_value_14 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[135]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 184;
type_description_2 = "o";
goto frame_exception_exit_6;
}
if (tmp_called_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_args_element_value_5 = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__9_load_from_path();
frame_25e241709fcfdd1d416fcf6cc71edbca_6->m_frame.f_lineno = 184;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_14, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_14);
Py_DECREF(tmp_args_element_value_5);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_2 = "o";
goto frame_exception_exit_6;
}
goto condexpr_end_11;
condexpr_false_11:;
tmp_classmethod_arg_1 = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__9_load_from_path();
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_1);
Py_DECREF(tmp_classmethod_arg_1);
assert(!(tmp_dictset_value == NULL));
condexpr_end_11:;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[136], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__10_save();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[58], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 203;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__11_save_to_path();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[139], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_lazr$restfulclient$authorize$oauth$$$function__12_authorizeRequest();
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[141], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 245;
type_description_2 = "o";
goto frame_exception_exit_6;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_25e241709fcfdd1d416fcf6cc71edbca_6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_5;
frame_exception_exit_6:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_25e241709fcfdd1d416fcf6cc71edbca_6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_25e241709fcfdd1d416fcf6cc71edbca_6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_25e241709fcfdd1d416fcf6cc71edbca_6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_25e241709fcfdd1d416fcf6cc71edbca_6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_25e241709fcfdd1d416fcf6cc71edbca_6,
type_description_2,
outline_4_var___class__
);
// Release cached frame if used for exception.
if (frame_25e241709fcfdd1d416fcf6cc71edbca_6 == cache_frame_25e241709fcfdd1d416fcf6cc71edbca_6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_25e241709fcfdd1d416fcf6cc71edbca_6);
cache_frame_25e241709fcfdd1d416fcf6cc71edbca_6 = NULL;
}
assertFrameObject(frame_25e241709fcfdd1d416fcf6cc71edbca_6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_5;
frame_no_exception_5:;
goto skip_nested_handling_5;
nested_frame_exit_5:;
goto try_except_handler_17;
skip_nested_handling_5:;
{
nuitka_bool tmp_condition_result_30;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_cmp_expr_left_4 = tmp_class_creation_5__bases;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_cmp_expr_right_4 = tmp_class_creation_5__bases_orig;
tmp_condition_result_30 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_30 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_17;
}
if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_dictset_value = tmp_class_creation_5__bases_orig;
tmp_res = PyObject_SetItem(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127, mod_consts[121], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_17;
}
branch_no_19:;
{
PyObject *tmp_assign_source_52;
PyObject *tmp_called_value_15;
PyObject *tmp_args_value_10;
PyObject *tmp_tuple_element_16;
PyObject *tmp_kwargs_value_10;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_called_value_15 = tmp_class_creation_5__metaclass;
tmp_tuple_element_16 = mod_consts[128];
tmp_args_value_10 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_10, 0, tmp_tuple_element_16);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_16 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_10, 1, tmp_tuple_element_16);
tmp_tuple_element_16 = locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127;
PyTuple_SET_ITEM0(tmp_args_value_10, 2, tmp_tuple_element_16);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_10 = tmp_class_creation_5__class_decl_dict;
frame_14733c8afd2efc451063e11ab28a143b->m_frame.f_lineno = 127;
tmp_assign_source_52 = CALL_FUNCTION(tmp_called_value_15, tmp_args_value_10, tmp_kwargs_value_10);
Py_DECREF(tmp_args_value_10);
if (tmp_assign_source_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
goto try_except_handler_17;
}
assert(outline_4_var___class__ == NULL);
outline_4_var___class__ = tmp_assign_source_52;
}
CHECK_OBJECT(outline_4_var___class__);
tmp_assign_source_51 = outline_4_var___class__;
Py_INCREF(tmp_assign_source_51);
goto try_return_handler_17;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_17:;
Py_DECREF(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127);
locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127 = NULL;
goto try_return_handler_16;
// Exception handler code:
try_except_handler_17:;
exception_keeper_type_15 = exception_type;
exception_keeper_value_15 = exception_value;
exception_keeper_tb_15 = exception_tb;
exception_keeper_lineno_15 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127);
locals_lazr$restfulclient$authorize$oauth$$$class__5_OAuthAuthorizer_127 = NULL;
// Re-raise.
exception_type = exception_keeper_type_15;
exception_value = exception_keeper_value_15;
exception_tb = exception_keeper_tb_15;
exception_lineno = exception_keeper_lineno_15;
goto try_except_handler_16;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_16:;
CHECK_OBJECT(outline_4_var___class__);
Py_DECREF(outline_4_var___class__);
outline_4_var___class__ = NULL;
goto outline_result_5;
// Exception handler code:
try_except_handler_16:;
exception_keeper_type_16 = exception_type;
exception_keeper_value_16 = exception_value;
exception_keeper_tb_16 = exception_tb;
exception_keeper_lineno_16 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_16;
exception_value = exception_keeper_value_16;
exception_tb = exception_keeper_tb_16;
exception_lineno = exception_keeper_lineno_16;
goto outline_exception_5;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_5:;
exception_lineno = 127;
goto try_except_handler_15;
outline_result_5:;
UPDATE_STRING_DICT1(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)mod_consts[128], tmp_assign_source_51);
}
goto try_end_7;
// Exception handler code:
try_except_handler_15:;
exception_keeper_type_17 = exception_type;
exception_keeper_value_17 = exception_value;
exception_keeper_tb_17 = exception_tb;
exception_keeper_lineno_17 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_5__bases_orig);
tmp_class_creation_5__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_5__bases);
tmp_class_creation_5__bases = NULL;
Py_XDECREF(tmp_class_creation_5__class_decl_dict);
tmp_class_creation_5__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_5__metaclass);
tmp_class_creation_5__metaclass = NULL;
Py_XDECREF(tmp_class_creation_5__prepared);
tmp_class_creation_5__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_17;
exception_value = exception_keeper_value_17;
exception_tb = exception_keeper_tb_17;
exception_lineno = exception_keeper_lineno_17;
goto frame_exception_exit_1;
// End of try:
try_end_7:;
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_14733c8afd2efc451063e11ab28a143b);
#endif
popFrameStack();
goto frame_no_exception_6;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_14733c8afd2efc451063e11ab28a143b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_14733c8afd2efc451063e11ab28a143b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_14733c8afd2efc451063e11ab28a143b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_14733c8afd2efc451063e11ab28a143b, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_6:;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
Py_DECREF(tmp_class_creation_5__bases_orig);
tmp_class_creation_5__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_5__bases);
Py_DECREF(tmp_class_creation_5__bases);
tmp_class_creation_5__bases = NULL;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
Py_DECREF(tmp_class_creation_5__class_decl_dict);
tmp_class_creation_5__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
Py_DECREF(tmp_class_creation_5__metaclass);
tmp_class_creation_5__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_5__prepared);
Py_DECREF(tmp_class_creation_5__prepared);
tmp_class_creation_5__prepared = NULL;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("lazr.restfulclient.authorize.oauth", false);
Py_INCREF(module_lazr$restfulclient$authorize$oauth);
return module_lazr$restfulclient$authorize$oauth;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_lazr$restfulclient$authorize$oauth, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("lazr$restfulclient$authorize$oauth", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}