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 'oauthlib.oauth1.rfc5849.signature'
* 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_oauthlib$oauth1$rfc5849$signature" 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_oauthlib$oauth1$rfc5849$signature;
PyDictObject *moduledict_oauthlib$oauth1$rfc5849$signature;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[148];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[148];
#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("oauthlib.oauth1.rfc5849.signature"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 148; 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_oauthlib$oauth1$rfc5849$signature(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 148; 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_66e9dbb41b240dfc1ec77f4a12e2519d;
static PyCodeObject *codeobj_ae2bc4984d289c1be7ccdb96868aaa03;
static PyCodeObject *codeobj_4dce4a655982a62159b7e491903594ce;
static PyCodeObject *codeobj_f0d50bc73da686aad121bce2606c0a06;
static PyCodeObject *codeobj_2286da19da9f760cf2eb126d1a040047;
static PyCodeObject *codeobj_fd4b98c2a31dd17992eecd88d0ef7625;
static PyCodeObject *codeobj_1695d0bc5ee29371157c7e1bbb232021;
static PyCodeObject *codeobj_658345fdc1b42fdf558290caad8ca245;
static PyCodeObject *codeobj_0bfa25f6597ab055f2b5c80e4227a01d;
static PyCodeObject *codeobj_b1263ee391366ea4da1e2af12b3ec2f4;
static PyCodeObject *codeobj_11a8f4edc1dcc479cd707eaa4a7ccea9;
static PyCodeObject *codeobj_94b9302aac87833ec1ba4920ed88fd78;
static PyCodeObject *codeobj_ba7b47cd968a18d5f2772171c001fa06;
static PyCodeObject *codeobj_5bfe8e9792ad9beaf50512a4aa6e4e4d;
static PyCodeObject *codeobj_f7127a4be89081cf757578d283f05a25;
static PyCodeObject *codeobj_5b108e8e193741367049dad8d3a723be;
static PyCodeObject *codeobj_3f67df68014980f4f8c3d72f2362656f;
static PyCodeObject *codeobj_80a092e233a192eb05f3a2d3ff65cc31;
static PyCodeObject *codeobj_ef8a6dba5741beffc516a3213fd1964d;
static PyCodeObject *codeobj_ff46353cf966533d1cc8b376fc3b3253;
static PyCodeObject *codeobj_fc76cbe84c8d1ae87654bb85d50520e7;
static PyCodeObject *codeobj_06caf0e7888a22290667d61cd65b9993;
static PyCodeObject *codeobj_c22d0eace34ee4f8efd1ac59ab5ed1a5;
static PyCodeObject *codeobj_334b4265d540178a0d993269933ec087;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[101]; CHECK_OBJECT(module_filename_obj);
codeobj_66e9dbb41b240dfc1ec77f4a12e2519d = MAKE_CODE_OBJECT(module_filename_obj, 304, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[40], mod_consts[40], mod_consts[129], NULL, 1, 0, 0);
codeobj_ae2bc4984d289c1be7ccdb96868aaa03 = MAKE_CODE_OBJECT(module_filename_obj, 337, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[37], mod_consts[37], mod_consts[130], NULL, 1, 0, 0);
codeobj_4dce4a655982a62159b7e491903594ce = MAKE_CODE_OBJECT(module_filename_obj, 307, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[131], mod_consts[131], mod_consts[132], NULL, 1, 0, 0);
codeobj_f0d50bc73da686aad121bce2606c0a06 = MAKE_CODE_OBJECT(module_filename_obj, 423, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[131], mod_consts[131], mod_consts[133], NULL, 1, 0, 0);
codeobj_2286da19da9f760cf2eb126d1a040047 = MAKE_CODE_OBJECT(module_filename_obj, 433, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[131], mod_consts[131], mod_consts[133], NULL, 1, 0, 0);
codeobj_fd4b98c2a31dd17992eecd88d0ef7625 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[134], mod_consts[134], NULL, NULL, 0, 0, 0);
codeobj_1695d0bc5ee29371157c7e1bbb232021 = MAKE_CODE_OBJECT(module_filename_obj, 557, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[70], mod_consts[70], mod_consts[135], NULL, 0, 0, 0);
codeobj_658345fdc1b42fdf558290caad8ca245 = MAKE_CODE_OBJECT(module_filename_obj, 694, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[71], mod_consts[71], mod_consts[136], NULL, 2, 0, 0);
codeobj_0bfa25f6597ab055f2b5c80e4227a01d = MAKE_CODE_OBJECT(module_filename_obj, 109, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[80], mod_consts[80], mod_consts[137], NULL, 2, 0, 0);
codeobj_b1263ee391366ea4da1e2af12b3ec2f4 = MAKE_CODE_OBJECT(module_filename_obj, 220, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[119], mod_consts[119], mod_consts[138], NULL, 5, 0, 0);
codeobj_11a8f4edc1dcc479cd707eaa4a7ccea9 = MAKE_CODE_OBJECT(module_filename_obj, 343, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[79], mod_consts[79], mod_consts[139], NULL, 1, 0, 0);
codeobj_94b9302aac87833ec1ba4920ed88fd78 = MAKE_CODE_OBJECT(module_filename_obj, 448, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[46], mod_consts[46], mod_consts[140], NULL, 3, 0, 0);
codeobj_ba7b47cd968a18d5f2772171c001fa06 = MAKE_CODE_OBJECT(module_filename_obj, 441, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[120], mod_consts[120], mod_consts[141], NULL, 2, 0, 0);
codeobj_5bfe8e9792ad9beaf50512a4aa6e4e4d = MAKE_CODE_OBJECT(module_filename_obj, 505, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[61], mod_consts[61], mod_consts[140], NULL, 3, 0, 0);
codeobj_f7127a4be89081cf757578d283f05a25 = MAKE_CODE_OBJECT(module_filename_obj, 498, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[121], mod_consts[121], mod_consts[141], NULL, 2, 0, 0);
codeobj_5b108e8e193741367049dad8d3a723be = MAKE_CODE_OBJECT(module_filename_obj, 595, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[78], mod_consts[78], mod_consts[142], NULL, 2, 0, 0);
codeobj_3f67df68014980f4f8c3d72f2362656f = MAKE_CODE_OBJECT(module_filename_obj, 630, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[123], mod_consts[123], mod_consts[141], NULL, 2, 0, 0);
codeobj_80a092e233a192eb05f3a2d3ff65cc31 = MAKE_CODE_OBJECT(module_filename_obj, 564, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[76], mod_consts[76], mod_consts[143], NULL, 2, 0, 0);
codeobj_ef8a6dba5741beffc516a3213fd1964d = MAKE_CODE_OBJECT(module_filename_obj, 589, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[122], mod_consts[122], mod_consts[141], NULL, 2, 0, 0);
codeobj_ff46353cf966533d1cc8b376fc3b3253 = MAKE_CODE_OBJECT(module_filename_obj, 44, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[82], mod_consts[82], mod_consts[144], NULL, 3, 0, 0);
codeobj_fc76cbe84c8d1ae87654bb85d50520e7 = MAKE_CODE_OBJECT(module_filename_obj, 634, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[125], mod_consts[125], mod_consts[145], NULL, 3, 0, 0);
codeobj_06caf0e7888a22290667d61cd65b9993 = MAKE_CODE_OBJECT(module_filename_obj, 664, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[126], mod_consts[126], mod_consts[145], NULL, 3, 0, 0);
codeobj_c22d0eace34ee4f8efd1ac59ab5ed1a5 = MAKE_CODE_OBJECT(module_filename_obj, 732, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[128], mod_consts[128], mod_consts[146], NULL, 3, 0, 0);
codeobj_334b4265d540178a0d993269933ec087 = MAKE_CODE_OBJECT(module_filename_obj, 699, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[127], mod_consts[127], mod_consts[147], NULL, 2, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_GENERATOR_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__10_sign_rsa_sha1();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__11_sign_rsa_sha1_with_client();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__12_sign_plaintext();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__13_sign_plaintext_with_client();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__14_verify_hmac_sha1(PyObject *defaults);
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__15_verify_hmac_sha256(PyObject *defaults);
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__16__prepare_key_plus();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__17_verify_rsa_sha1();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__18_verify_plaintext(PyObject *defaults);
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__1_signature_base_string();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__2_base_string_uri(PyObject *defaults);
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters(PyObject *defaults);
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$function__1_lambda();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__4_normalize_parameters();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__5_sign_hmac_sha1_with_client();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__6_sign_hmac_sha1();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__7_sign_hmac_sha256_with_client();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__8_sign_hmac_sha256();
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__9__jwt_rs1_signing_algorithm();
// The module function definitions.
static PyObject *impl_oauthlib$oauth1$rfc5849$signature$$$function__1_signature_base_string(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_http_method = python_pars[0];
PyObject *par_base_str_uri = python_pars[1];
PyObject *par_normalized_encoded_request_parameters = python_pars[2];
PyObject *var_base_string = NULL;
struct Nuitka_FrameObject *frame_ff46353cf966533d1cc8b376fc3b3253;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_ff46353cf966533d1cc8b376fc3b3253 = 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_ff46353cf966533d1cc8b376fc3b3253)) {
Py_XDECREF(cache_frame_ff46353cf966533d1cc8b376fc3b3253);
#if _DEBUG_REFCOUNTS
if (cache_frame_ff46353cf966533d1cc8b376fc3b3253 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ff46353cf966533d1cc8b376fc3b3253 = MAKE_FUNCTION_FRAME(codeobj_ff46353cf966533d1cc8b376fc3b3253, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ff46353cf966533d1cc8b376fc3b3253->m_type_description == NULL);
frame_ff46353cf966533d1cc8b376fc3b3253 = cache_frame_ff46353cf966533d1cc8b376fc3b3253;
// Push the new frame as the currently active one.
pushFrameStack(frame_ff46353cf966533d1cc8b376fc3b3253);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ff46353cf966533d1cc8b376fc3b3253) == 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;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 84;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 84;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_http_method);
tmp_expression_value_2 = par_http_method;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[2]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 84;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_ff46353cf966533d1cc8b376fc3b3253->m_frame.f_lineno = 84;
tmp_args_element_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 84;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_ff46353cf966533d1cc8b376fc3b3253->m_frame.f_lineno = 84;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 84;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_base_string == NULL);
var_base_string = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(var_base_string);
tmp_iadd_expr_left_1 = var_base_string;
tmp_iadd_expr_right_1 = mod_consts[3];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_UNICODE(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = tmp_iadd_expr_left_1;
var_base_string = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iadd_expr_left_2;
PyObject *tmp_iadd_expr_right_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(var_base_string);
tmp_iadd_expr_left_2 = var_base_string;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 94;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_base_str_uri);
tmp_args_element_value_2 = par_base_str_uri;
frame_ff46353cf966533d1cc8b376fc3b3253->m_frame.f_lineno = 94;
tmp_iadd_expr_right_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[1], tmp_args_element_value_2);
if (tmp_iadd_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 94;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_2, tmp_iadd_expr_right_2);
Py_DECREF(tmp_iadd_expr_right_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 94;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = tmp_iadd_expr_left_2;
var_base_string = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iadd_expr_left_3;
PyObject *tmp_iadd_expr_right_3;
CHECK_OBJECT(var_base_string);
tmp_iadd_expr_left_3 = var_base_string;
tmp_iadd_expr_right_3 = mod_consts[3];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_UNICODE(&tmp_iadd_expr_left_3, tmp_iadd_expr_right_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = tmp_iadd_expr_left_3;
var_base_string = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iadd_expr_left_4;
PyObject *tmp_iadd_expr_right_4;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(var_base_string);
tmp_iadd_expr_left_4 = var_base_string;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_normalized_encoded_request_parameters);
tmp_args_element_value_3 = par_normalized_encoded_request_parameters;
frame_ff46353cf966533d1cc8b376fc3b3253->m_frame.f_lineno = 104;
tmp_iadd_expr_right_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[1], tmp_args_element_value_3);
if (tmp_iadd_expr_right_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_4, tmp_iadd_expr_right_4);
Py_DECREF(tmp_iadd_expr_right_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_5 = tmp_iadd_expr_left_4;
var_base_string = tmp_assign_source_5;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ff46353cf966533d1cc8b376fc3b3253);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ff46353cf966533d1cc8b376fc3b3253);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ff46353cf966533d1cc8b376fc3b3253, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ff46353cf966533d1cc8b376fc3b3253->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ff46353cf966533d1cc8b376fc3b3253, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ff46353cf966533d1cc8b376fc3b3253,
type_description_1,
par_http_method,
par_base_str_uri,
par_normalized_encoded_request_parameters,
var_base_string
);
// Release cached frame if used for exception.
if (frame_ff46353cf966533d1cc8b376fc3b3253 == cache_frame_ff46353cf966533d1cc8b376fc3b3253) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ff46353cf966533d1cc8b376fc3b3253);
cache_frame_ff46353cf966533d1cc8b376fc3b3253 = NULL;
}
assertFrameObject(frame_ff46353cf966533d1cc8b376fc3b3253);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_base_string);
tmp_return_value = var_base_string;
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_base_string);
Py_DECREF(var_base_string);
var_base_string = 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_base_string);
var_base_string = 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_http_method);
Py_DECREF(par_http_method);
CHECK_OBJECT(par_base_str_uri);
Py_DECREF(par_base_str_uri);
CHECK_OBJECT(par_normalized_encoded_request_parameters);
Py_DECREF(par_normalized_encoded_request_parameters);
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_http_method);
Py_DECREF(par_http_method);
CHECK_OBJECT(par_base_str_uri);
Py_DECREF(par_base_str_uri);
CHECK_OBJECT(par_normalized_encoded_request_parameters);
Py_DECREF(par_normalized_encoded_request_parameters);
// 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_oauthlib$oauth1$rfc5849$signature$$$function__2_base_string_uri(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_uri = python_pars[0];
PyObject *par_host = python_pars[1];
PyObject *var_scheme = NULL;
PyObject *var_netloc = NULL;
PyObject *var_path = NULL;
PyObject *var_params = NULL;
PyObject *var_query = NULL;
PyObject *var_fragment = NULL;
PyObject *var_port = NULL;
PyObject *var_v = 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__element_4 = NULL;
PyObject *tmp_tuple_unpack_1__element_5 = NULL;
PyObject *tmp_tuple_unpack_1__element_6 = 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_0bfa25f6597ab055f2b5c80e4227a01d;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_0bfa25f6597ab055f2b5c80e4227a01d = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_0bfa25f6597ab055f2b5c80e4227a01d)) {
Py_XDECREF(cache_frame_0bfa25f6597ab055f2b5c80e4227a01d);
#if _DEBUG_REFCOUNTS
if (cache_frame_0bfa25f6597ab055f2b5c80e4227a01d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0bfa25f6597ab055f2b5c80e4227a01d = MAKE_FUNCTION_FRAME(codeobj_0bfa25f6597ab055f2b5c80e4227a01d, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0bfa25f6597ab055f2b5c80e4227a01d->m_type_description == NULL);
frame_0bfa25f6597ab055f2b5c80e4227a01d = cache_frame_0bfa25f6597ab055f2b5c80e4227a01d;
// Push the new frame as the currently active one.
pushFrameStack(frame_0bfa25f6597ab055f2b5c80e4227a01d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0bfa25f6597ab055f2b5c80e4227a01d) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_uri);
tmp_isinstance_inst_1 = par_uri;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[5]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = (tmp_res != 0) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[6];
frame_0bfa25f6597ab055f2b5c80e4227a01d->m_frame.f_lineno = 132;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 132;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "ooooooooNoo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_uri);
tmp_args_element_value_1 = par_uri;
frame_0bfa25f6597ab055f2b5c80e4227a01d->m_frame.f_lineno = 135;
tmp_iter_arg_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[7], tmp_args_element_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "ooooooooNoo";
goto try_except_handler_2;
}
tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "ooooooooNoo";
goto try_except_handler_2;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 6);
if (tmp_assign_source_2 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooooooNoo";
exception_lineno = 135;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 6);
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 = "ooooooooNoo";
exception_lineno = 135;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_3, 2, 6);
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 = "ooooooooNoo";
exception_lineno = 135;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_3 == NULL);
tmp_tuple_unpack_1__element_3 = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_4 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_4, 3, 6);
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 = "ooooooooNoo";
exception_lineno = 135;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_4 == NULL);
tmp_tuple_unpack_1__element_4 = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_5;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_5 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_5, 4, 6);
if (tmp_assign_source_6 == 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 = "ooooooooNoo";
exception_lineno = 135;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_5 == NULL);
tmp_tuple_unpack_1__element_5 = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_unpack_6;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_6 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_6, 5, 6);
if (tmp_assign_source_7 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooooooNoo";
exception_lineno = 135;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_6 == NULL);
tmp_tuple_unpack_1__element_6 = tmp_assign_source_7;
}
{
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 = "ooooooooNoo";
exception_lineno = 135;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[8];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooooooNoo";
exception_lineno = 135;
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;
Py_XDECREF(tmp_tuple_unpack_1__element_4);
tmp_tuple_unpack_1__element_4 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_5);
tmp_tuple_unpack_1__element_5 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_6);
tmp_tuple_unpack_1__element_6 = 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_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_1;
assert(var_scheme == NULL);
Py_INCREF(tmp_assign_source_8);
var_scheme = tmp_assign_source_8;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_9;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_9 = tmp_tuple_unpack_1__element_2;
assert(var_netloc == NULL);
Py_INCREF(tmp_assign_source_9);
var_netloc = tmp_assign_source_9;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_10;
CHECK_OBJECT(tmp_tuple_unpack_1__element_3);
tmp_assign_source_10 = tmp_tuple_unpack_1__element_3;
assert(var_path == NULL);
Py_INCREF(tmp_assign_source_10);
var_path = tmp_assign_source_10;
}
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
{
PyObject *tmp_assign_source_11;
CHECK_OBJECT(tmp_tuple_unpack_1__element_4);
tmp_assign_source_11 = tmp_tuple_unpack_1__element_4;
assert(var_params == NULL);
Py_INCREF(tmp_assign_source_11);
var_params = tmp_assign_source_11;
}
Py_XDECREF(tmp_tuple_unpack_1__element_4);
tmp_tuple_unpack_1__element_4 = NULL;
{
PyObject *tmp_assign_source_12;
CHECK_OBJECT(tmp_tuple_unpack_1__element_5);
tmp_assign_source_12 = tmp_tuple_unpack_1__element_5;
assert(var_query == NULL);
Py_INCREF(tmp_assign_source_12);
var_query = tmp_assign_source_12;
}
Py_XDECREF(tmp_tuple_unpack_1__element_5);
tmp_tuple_unpack_1__element_5 = NULL;
{
PyObject *tmp_assign_source_13;
CHECK_OBJECT(tmp_tuple_unpack_1__element_6);
tmp_assign_source_13 = tmp_tuple_unpack_1__element_6;
assert(var_fragment == NULL);
Py_INCREF(tmp_assign_source_13);
var_fragment = tmp_assign_source_13;
}
Py_XDECREF(tmp_tuple_unpack_1__element_6);
tmp_tuple_unpack_1__element_6 = NULL;
{
bool tmp_condition_result_2;
int tmp_or_left_truth_1;
bool tmp_or_left_value_1;
bool tmp_or_right_value_1;
PyObject *tmp_operand_value_2;
PyObject *tmp_operand_value_3;
CHECK_OBJECT(var_scheme);
tmp_operand_value_2 = var_scheme;
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 = 143;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (tmp_res == 0) ? true : false;
tmp_or_left_truth_1 = tmp_or_left_value_1 != false ? 1 : 0;
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(var_netloc);
tmp_operand_value_3 = var_netloc;
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 = 143;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = (tmp_res == 0) ? true : false;
tmp_condition_result_2 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_2 = tmp_or_left_value_1;
or_end_1:;
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_make_exception_arg_2;
tmp_make_exception_arg_2 = mod_consts[9];
frame_0bfa25f6597ab055f2b5c80e4227a01d->m_frame.f_lineno = 144;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_2);
assert(!(tmp_raise_type_2 == NULL));
exception_type = tmp_raise_type_2;
exception_lineno = 144;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_4;
CHECK_OBJECT(var_path);
tmp_operand_value_4 = var_path;
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 = 152;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_14;
tmp_assign_source_14 = mod_consts[10];
{
PyObject *old = var_path;
assert(old != NULL);
var_path = tmp_assign_source_14;
Py_INCREF(var_path);
Py_DECREF(old);
}
}
branch_no_3:;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_scheme);
tmp_expression_value_1 = var_scheme;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[11]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
frame_0bfa25f6597ab055f2b5c80e4227a01d->m_frame.f_lineno = 156;
tmp_assign_source_15 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_scheme;
assert(old != NULL);
var_scheme = tmp_assign_source_15;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(var_netloc);
tmp_expression_value_2 = var_netloc;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[11]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 157;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
frame_0bfa25f6597ab055f2b5c80e4227a01d->m_frame.f_lineno = 157;
tmp_assign_source_16 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 157;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_netloc;
assert(old != NULL);
var_netloc = tmp_assign_source_16;
Py_DECREF(old);
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_host);
tmp_cmp_expr_left_1 = par_host;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_17;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_host);
tmp_expression_value_3 = par_host;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[11]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 162;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
frame_0bfa25f6597ab055f2b5c80e4227a01d->m_frame.f_lineno = 162;
tmp_assign_source_17 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 162;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_netloc;
assert(old != NULL);
var_netloc = tmp_assign_source_17;
Py_DECREF(old);
}
}
branch_no_4:;
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = mod_consts[12];
CHECK_OBJECT(var_netloc);
tmp_cmp_expr_right_2 = var_netloc;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 176;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
// Tried code:
{
PyObject *tmp_assign_source_18;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_netloc);
tmp_expression_value_4 = var_netloc;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[13]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 177;
type_description_1 = "ooooooooNoo";
goto try_except_handler_4;
}
frame_0bfa25f6597ab055f2b5c80e4227a01d->m_frame.f_lineno = 177;
tmp_iter_arg_2 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_4, mod_consts[14]);
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 = 177;
type_description_1 = "ooooooooNoo";
goto try_except_handler_4;
}
tmp_assign_source_18 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 177;
type_description_1 = "ooooooooNoo";
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_2__source_iter == NULL);
tmp_tuple_unpack_2__source_iter = tmp_assign_source_18;
}
// Tried code:
{
PyObject *tmp_assign_source_19;
PyObject *tmp_unpack_7;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_7 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_19 = UNPACK_NEXT(tmp_unpack_7, 0, 2);
if (tmp_assign_source_19 == 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 = "ooooooooNoo";
exception_lineno = 177;
goto try_except_handler_5;
}
assert(tmp_tuple_unpack_2__element_1 == NULL);
tmp_tuple_unpack_2__element_1 = tmp_assign_source_19;
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_unpack_8;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_8 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_20 = UNPACK_NEXT(tmp_unpack_8, 1, 2);
if (tmp_assign_source_20 == 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 = "ooooooooNoo";
exception_lineno = 177;
goto try_except_handler_5;
}
assert(tmp_tuple_unpack_2__element_2 == NULL);
tmp_tuple_unpack_2__element_2 = tmp_assign_source_20;
}
{
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 = "ooooooooNoo";
exception_lineno = 177;
goto try_except_handler_5;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[15];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooooooNoo";
exception_lineno = 177;
goto try_except_handler_5;
}
}
goto try_end_3;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_4;
// End of try:
try_end_3:;
goto try_end_4;
// 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;
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 frame_exception_exit_1;
// 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_21;
CHECK_OBJECT(tmp_tuple_unpack_2__element_1);
tmp_assign_source_21 = tmp_tuple_unpack_2__element_1;
{
PyObject *old = par_host;
par_host = tmp_assign_source_21;
Py_INCREF(par_host);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
{
PyObject *tmp_assign_source_22;
CHECK_OBJECT(tmp_tuple_unpack_2__element_2);
tmp_assign_source_22 = tmp_tuple_unpack_2__element_2;
assert(var_port == NULL);
Py_INCREF(tmp_assign_source_22);
var_port = tmp_assign_source_22;
}
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_tuple_element_1;
CHECK_OBJECT(var_scheme);
tmp_tuple_element_1 = var_scheme;
tmp_cmp_expr_left_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_cmp_expr_left_3, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_port);
tmp_tuple_element_1 = var_port;
PyTuple_SET_ITEM0(tmp_cmp_expr_left_3, 1, tmp_tuple_element_1);
tmp_cmp_expr_right_3 = mod_consts[16];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_3, tmp_cmp_expr_left_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
tmp_condition_result_6 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_23;
CHECK_OBJECT(par_host);
tmp_assign_source_23 = par_host;
{
PyObject *old = var_netloc;
assert(old != NULL);
var_netloc = tmp_assign_source_23;
Py_INCREF(var_netloc);
Py_DECREF(old);
}
}
branch_no_6:;
branch_no_5:;
{
PyObject *tmp_assign_source_24;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_2;
PyObject *tmp_tuple_element_2;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[17]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_scheme);
tmp_tuple_element_2 = var_scheme;
tmp_args_element_value_2 = MAKE_TUPLE_EMPTY(6);
PyTuple_SET_ITEM0(tmp_args_element_value_2, 0, tmp_tuple_element_2);
if (var_netloc == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[18]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 181;
type_description_1 = "ooooooooNoo";
goto tuple_build_exception_1;
}
tmp_tuple_element_2 = var_netloc;
PyTuple_SET_ITEM0(tmp_args_element_value_2, 1, tmp_tuple_element_2);
CHECK_OBJECT(var_path);
tmp_tuple_element_2 = var_path;
PyTuple_SET_ITEM0(tmp_args_element_value_2, 2, tmp_tuple_element_2);
CHECK_OBJECT(var_params);
tmp_tuple_element_2 = var_params;
PyTuple_SET_ITEM0(tmp_args_element_value_2, 3, tmp_tuple_element_2);
tmp_tuple_element_2 = mod_consts[19];
PyTuple_SET_ITEM0(tmp_args_element_value_2, 4, tmp_tuple_element_2);
tmp_tuple_element_2 = mod_consts[19];
PyTuple_SET_ITEM0(tmp_args_element_value_2, 5, tmp_tuple_element_2);
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_2);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
frame_0bfa25f6597ab055f2b5c80e4227a01d->m_frame.f_lineno = 181;
tmp_assign_source_24 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
assert(var_v == NULL);
var_v = tmp_assign_source_24;
}
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(var_v);
tmp_expression_value_6 = var_v;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[20]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 205;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
frame_0bfa25f6597ab055f2b5c80e4227a01d->m_frame.f_lineno = 205;
tmp_return_value = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_6, mod_consts[21]);
Py_DECREF(tmp_called_value_6);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 205;
type_description_1 = "ooooooooNoo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0bfa25f6597ab055f2b5c80e4227a01d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0bfa25f6597ab055f2b5c80e4227a01d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0bfa25f6597ab055f2b5c80e4227a01d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0bfa25f6597ab055f2b5c80e4227a01d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0bfa25f6597ab055f2b5c80e4227a01d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0bfa25f6597ab055f2b5c80e4227a01d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0bfa25f6597ab055f2b5c80e4227a01d,
type_description_1,
par_uri,
par_host,
var_scheme,
var_netloc,
var_path,
var_params,
var_query,
var_fragment,
NULL,
var_port,
var_v
);
// Release cached frame if used for exception.
if (frame_0bfa25f6597ab055f2b5c80e4227a01d == cache_frame_0bfa25f6597ab055f2b5c80e4227a01d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0bfa25f6597ab055f2b5c80e4227a01d);
cache_frame_0bfa25f6597ab055f2b5c80e4227a01d = NULL;
}
assertFrameObject(frame_0bfa25f6597ab055f2b5c80e4227a01d);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_host);
par_host = NULL;
CHECK_OBJECT(var_scheme);
Py_DECREF(var_scheme);
var_scheme = NULL;
Py_XDECREF(var_netloc);
var_netloc = NULL;
CHECK_OBJECT(var_path);
Py_DECREF(var_path);
var_path = NULL;
CHECK_OBJECT(var_params);
Py_DECREF(var_params);
var_params = NULL;
CHECK_OBJECT(var_query);
Py_DECREF(var_query);
var_query = NULL;
CHECK_OBJECT(var_fragment);
Py_DECREF(var_fragment);
var_fragment = NULL;
Py_XDECREF(var_port);
var_port = NULL;
CHECK_OBJECT(var_v);
Py_DECREF(var_v);
var_v = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_host);
par_host = NULL;
Py_XDECREF(var_scheme);
var_scheme = NULL;
Py_XDECREF(var_netloc);
var_netloc = NULL;
Py_XDECREF(var_path);
var_path = NULL;
Py_XDECREF(var_params);
var_params = NULL;
Py_XDECREF(var_query);
var_query = NULL;
Py_XDECREF(var_fragment);
var_fragment = NULL;
Py_XDECREF(var_port);
var_port = NULL;
Py_XDECREF(var_v);
var_v = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_uri);
Py_DECREF(par_uri);
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_uri);
Py_DECREF(par_uri);
// 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_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters(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_uri_query = python_pars[0];
PyObject *par_body = python_pars[1];
PyObject *par_headers = python_pars[2];
PyObject *par_exclude_oauth_signature = python_pars[3];
PyObject *par_with_realm = python_pars[4];
PyObject *var_params = NULL;
PyObject *var_headers_lower = NULL;
PyObject *var_authorization_header = NULL;
PyObject *var_bodyparams = NULL;
PyObject *var_unescaped_params = NULL;
PyObject *var_k = NULL;
PyObject *var_v = NULL;
PyObject *outline_0_var_i = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_genexpr_1__$0 = NULL;
PyObject *tmp_listcomp_1__$0 = NULL;
PyObject *tmp_listcomp_1__contraction = NULL;
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_b1263ee391366ea4da1e2af12b3ec2f4;
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;
struct Nuitka_FrameObject *frame_4dce4a655982a62159b7e491903594ce_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_4dce4a655982a62159b7e491903594ce_2 = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *tmp_iterator_attempt;
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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_b1263ee391366ea4da1e2af12b3ec2f4 = 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_b1263ee391366ea4da1e2af12b3ec2f4)) {
Py_XDECREF(cache_frame_b1263ee391366ea4da1e2af12b3ec2f4);
#if _DEBUG_REFCOUNTS
if (cache_frame_b1263ee391366ea4da1e2af12b3ec2f4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b1263ee391366ea4da1e2af12b3ec2f4 = MAKE_FUNCTION_FRAME(codeobj_b1263ee391366ea4da1e2af12b3ec2f4, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b1263ee391366ea4da1e2af12b3ec2f4->m_type_description == NULL);
frame_b1263ee391366ea4da1e2af12b3ec2f4 = cache_frame_b1263ee391366ea4da1e2af12b3ec2f4;
// Push the new frame as the currently active one.
pushFrameStack(frame_b1263ee391366ea4da1e2af12b3ec2f4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b1263ee391366ea4da1e2af12b3ec2f4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
CHECK_OBJECT(par_headers);
tmp_or_left_value_1 = par_headers;
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);
exception_lineno = 279;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_or_right_value_1 = MAKE_DICT_EMPTY();
tmp_assign_source_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
Py_INCREF(tmp_or_left_value_1);
tmp_assign_source_1 = tmp_or_left_value_1;
or_end_1:;
{
PyObject *old = par_headers;
assert(old != NULL);
par_headers = tmp_assign_source_1;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_LIST_EMPTY(0);
assert(var_params == NULL);
var_params = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_uri_query);
tmp_truth_name_1 = CHECK_IF_TRUE(par_uri_query);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(var_params);
tmp_expression_value_1 = var_params;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[23]);
assert(!(tmp_called_value_1 == NULL));
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
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 = 295;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_uri_query);
tmp_args_element_value_2 = par_uri_query;
frame_b1263ee391366ea4da1e2af12b3ec2f4->m_frame.f_lineno = 295;
tmp_args_element_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 295;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
frame_b1263ee391366ea4da1e2af12b3ec2f4->m_frame.f_lineno = 295;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_2;
CHECK_OBJECT(par_headers);
tmp_truth_name_2 = CHECK_IF_TRUE(par_headers);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_dict_seq_1;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_headers);
tmp_expression_value_2 = par_headers;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[25]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 304;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
frame_b1263ee391366ea4da1e2af12b3ec2f4->m_frame.f_lineno = 304;
tmp_iter_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 304;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 304;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_1__$0 == NULL);
tmp_genexpr_1__$0 = tmp_assign_source_4;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_closure_1[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0);
tmp_dict_seq_1 = MAKE_GENERATOR_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$genexpr__1_genexpr(tmp_closure_1);
goto try_return_handler_2;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_genexpr_1__$0);
Py_DECREF(tmp_genexpr_1__$0);
tmp_genexpr_1__$0 = NULL;
goto outline_result_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_1:;
tmp_assign_source_3 = TO_DICT(tmp_dict_seq_1, NULL);
Py_DECREF(tmp_dict_seq_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 304;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
assert(var_headers_lower == NULL);
var_headers_lower = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_key_value_1;
CHECK_OBJECT(var_headers_lower);
tmp_dict_arg_value_1 = var_headers_lower;
tmp_key_value_1 = mod_consts[26];
tmp_assign_source_5 = DICT_GET_ITEM0(tmp_dict_arg_value_1, tmp_key_value_1);
if (tmp_assign_source_5 == NULL) {
tmp_assign_source_5 = Py_None;
}
assert(!(tmp_assign_source_5 == NULL));
assert(var_authorization_header == NULL);
Py_INCREF(tmp_assign_source_5);
var_authorization_header = tmp_assign_source_5;
}
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_authorization_header);
tmp_cmp_expr_left_1 = var_authorization_header;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_3;
if (var_params == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[27]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 307;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = var_params;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[23]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_4;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_1 = "oooooooooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_authorization_header);
tmp_args_element_value_4 = var_authorization_header;
frame_b1263ee391366ea4da1e2af12b3ec2f4->m_frame.f_lineno = 307;
tmp_iter_arg_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[28], tmp_args_element_value_4);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_1 = "oooooooooooo";
goto try_except_handler_3;
}
tmp_assign_source_6 = MAKE_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_1 = "oooooooooooo";
goto try_except_handler_3;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
tmp_assign_source_7 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_7;
}
if (isFrameUnusable(cache_frame_4dce4a655982a62159b7e491903594ce_2)) {
Py_XDECREF(cache_frame_4dce4a655982a62159b7e491903594ce_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_4dce4a655982a62159b7e491903594ce_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4dce4a655982a62159b7e491903594ce_2 = MAKE_FUNCTION_FRAME(codeobj_4dce4a655982a62159b7e491903594ce, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4dce4a655982a62159b7e491903594ce_2->m_type_description == NULL);
frame_4dce4a655982a62159b7e491903594ce_2 = cache_frame_4dce4a655982a62159b7e491903594ce_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_4dce4a655982a62159b7e491903594ce_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4dce4a655982a62159b7e491903594ce_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_1 = tmp_listcomp_1__$0;
tmp_assign_source_8 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_8 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_2 = "oo";
exception_lineno = 307;
goto try_except_handler_4;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_9;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_assign_source_9 = tmp_listcomp_1__iter_value_0;
{
PyObject *old = outline_0_var_i;
outline_0_var_i = tmp_assign_source_9;
Py_INCREF(outline_0_var_i);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_4;
int tmp_or_left_truth_2;
nuitka_bool tmp_or_left_value_2;
nuitka_bool tmp_or_right_value_2;
int tmp_truth_name_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_with_realm);
tmp_truth_name_3 = CHECK_IF_TRUE(par_with_realm);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_2 = "oo";
goto try_except_handler_4;
}
tmp_or_left_value_2 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_or_left_truth_2 = tmp_or_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_2 = "oo";
goto try_except_handler_4;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
CHECK_OBJECT(outline_0_var_i);
tmp_expression_value_4 = outline_0_var_i;
tmp_subscript_value_1 = mod_consts[29];
tmp_cmp_expr_left_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_1, 0);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_2 = "oo";
goto try_except_handler_4;
}
tmp_cmp_expr_right_2 = mod_consts[30];
tmp_or_right_value_2 = RICH_COMPARE_NE_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_or_right_value_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_2 = "oo";
goto try_except_handler_4;
}
tmp_condition_result_4 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_condition_result_4 = tmp_or_left_value_2;
or_end_2:;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
CHECK_OBJECT(outline_0_var_i);
tmp_append_value_1 = outline_0_var_i;
assert(PyList_Check(tmp_append_list_1));
tmp_result = LIST_APPEND0(tmp_append_list_1, tmp_append_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_2 = "oo";
goto try_except_handler_4;
}
}
branch_no_4:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_2 = "oo";
goto try_except_handler_4;
}
goto loop_start_1;
loop_end_1:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_args_element_value_3 = tmp_listcomp_1__contraction;
Py_INCREF(tmp_args_element_value_3);
goto try_return_handler_4;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_4:;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
goto frame_return_exit_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_4dce4a655982a62159b7e491903594ce_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4dce4a655982a62159b7e491903594ce_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_3;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4dce4a655982a62159b7e491903594ce_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4dce4a655982a62159b7e491903594ce_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4dce4a655982a62159b7e491903594ce_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4dce4a655982a62159b7e491903594ce_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4dce4a655982a62159b7e491903594ce_2,
type_description_2,
outline_0_var_i,
par_with_realm
);
// Release cached frame if used for exception.
if (frame_4dce4a655982a62159b7e491903594ce_2 == cache_frame_4dce4a655982a62159b7e491903594ce_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4dce4a655982a62159b7e491903594ce_2);
cache_frame_4dce4a655982a62159b7e491903594ce_2 = NULL;
}
assertFrameObject(frame_4dce4a655982a62159b7e491903594ce_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:;
type_description_1 = "oooooooooooo";
goto try_except_handler_3;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
Py_XDECREF(outline_0_var_i);
outline_0_var_i = NULL;
goto outline_result_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;
Py_XDECREF(outline_0_var_i);
outline_0_var_i = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 307;
goto frame_exception_exit_1;
outline_result_2:;
frame_b1263ee391366ea4da1e2af12b3ec2f4->m_frame.f_lineno = 307;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_3);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 307;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_3:;
branch_no_2:;
{
PyObject *tmp_assign_source_10;
int tmp_or_left_truth_3;
PyObject *tmp_or_left_value_3;
PyObject *tmp_or_right_value_3;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_5;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[31]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[31]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 324;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_body);
tmp_args_element_value_5 = par_body;
frame_b1263ee391366ea4da1e2af12b3ec2f4->m_frame.f_lineno = 324;
tmp_or_left_value_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_5);
if (tmp_or_left_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 324;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_3 = CHECK_IF_TRUE(tmp_or_left_value_3);
if (tmp_or_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_3);
exception_lineno = 324;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_3 == 1) {
goto or_left_3;
} else {
goto or_right_3;
}
or_right_3:;
Py_DECREF(tmp_or_left_value_3);
tmp_or_right_value_3 = MAKE_LIST_EMPTY(0);
tmp_assign_source_10 = tmp_or_right_value_3;
goto or_end_3;
or_left_3:;
tmp_assign_source_10 = tmp_or_left_value_3;
or_end_3:;
assert(var_bodyparams == NULL);
var_bodyparams = tmp_assign_source_10;
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_6;
if (var_params == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[27]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 325;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = var_params;
CHECK_OBJECT(var_bodyparams);
tmp_args_element_value_6 = var_bodyparams;
frame_b1263ee391366ea4da1e2af12b3ec2f4->m_frame.f_lineno = 325;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[23], tmp_args_element_value_6);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 325;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
PyObject *tmp_assign_source_11;
tmp_assign_source_11 = MAKE_LIST_EMPTY(0);
assert(var_unescaped_params == NULL);
var_unescaped_params = tmp_assign_source_11;
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_iter_arg_3;
if (var_params == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[27]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 329;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_iter_arg_3 = var_params;
tmp_assign_source_12 = MAKE_ITERATOR(tmp_iter_arg_3);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 329;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_12;
}
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_13;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_2 = tmp_for_loop_1__for_iterator;
tmp_assign_source_13 = ITERATOR_NEXT(tmp_next_source_2);
if (tmp_assign_source_13 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_2;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooo";
exception_lineno = 329;
goto try_except_handler_5;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_13;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_14;
PyObject *tmp_iter_arg_4;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_iter_arg_4 = tmp_for_loop_1__iter_value;
tmp_assign_source_14 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_4);
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 329;
type_description_1 = "oooooooooooo";
goto try_except_handler_6;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_14;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_15;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_15 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_15 == 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 = "oooooooooooo";
exception_lineno = 329;
goto try_except_handler_7;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_15;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_16 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_16 == 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 = "oooooooooooo";
exception_lineno = 329;
goto try_except_handler_7;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_16;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooo";
exception_lineno = 329;
goto try_except_handler_7;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[15];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooo";
exception_lineno = 329;
goto try_except_handler_7;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_6;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_5;
// End of try:
try_end_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_17;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_17 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_k;
var_k = tmp_assign_source_17;
Py_INCREF(var_k);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_18;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_18 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_v;
var_v = tmp_assign_source_18;
Py_INCREF(var_v);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_4;
int tmp_truth_name_4;
CHECK_OBJECT(var_k);
tmp_expression_value_5 = var_k;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[32]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_1 = "oooooooooooo";
goto try_except_handler_5;
}
frame_b1263ee391366ea4da1e2af12b3ec2f4->m_frame.f_lineno = 330;
tmp_call_result_4 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_6, mod_consts[33]);
Py_DECREF(tmp_called_value_6);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_1 = "oooooooooooo";
goto try_except_handler_5;
}
tmp_truth_name_4 = CHECK_IF_TRUE(tmp_call_result_4);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_4);
exception_lineno = 330;
type_description_1 = "oooooooooooo";
goto try_except_handler_5;
}
tmp_condition_result_5 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_4);
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_19;
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_7;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
type_description_1 = "oooooooooooo";
goto try_except_handler_5;
}
CHECK_OBJECT(var_v);
tmp_args_element_value_7 = var_v;
frame_b1263ee391366ea4da1e2af12b3ec2f4->m_frame.f_lineno = 331;
tmp_assign_source_19 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[34], tmp_args_element_value_7);
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
type_description_1 = "oooooooooooo";
goto try_except_handler_5;
}
{
PyObject *old = var_v;
assert(old != NULL);
var_v = tmp_assign_source_19;
Py_DECREF(old);
}
}
branch_no_5:;
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_8;
PyObject *tmp_tuple_element_1;
if (var_unescaped_params == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[35]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 332;
type_description_1 = "oooooooooooo";
goto try_except_handler_5;
}
tmp_called_instance_4 = var_unescaped_params;
CHECK_OBJECT(var_k);
tmp_tuple_element_1 = var_k;
tmp_args_element_value_8 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_element_value_8, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_v);
tmp_tuple_element_1 = var_v;
PyTuple_SET_ITEM0(tmp_args_element_value_8, 1, tmp_tuple_element_1);
frame_b1263ee391366ea4da1e2af12b3ec2f4->m_frame.f_lineno = 332;
tmp_call_result_5 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[36], tmp_args_element_value_8);
Py_DECREF(tmp_args_element_value_8);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_1 = "oooooooooooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_5);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 329;
type_description_1 = "oooooooooooo";
goto try_except_handler_5;
}
goto loop_start_2;
loop_end_2:;
goto try_end_3;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_3:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
nuitka_bool tmp_condition_result_6;
int tmp_truth_name_5;
CHECK_OBJECT(par_exclude_oauth_signature);
tmp_truth_name_5 = CHECK_IF_TRUE(par_exclude_oauth_signature);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_6 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_20;
PyObject *tmp_list_arg_1;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
tmp_called_value_7 = (PyObject *)&PyFilter_Type;
tmp_args_element_value_9 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$function__1_lambda();
if (var_unescaped_params == NULL) {
Py_DECREF(tmp_args_element_value_9);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[35]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 338;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_10 = var_unescaped_params;
frame_b1263ee391366ea4da1e2af12b3ec2f4->m_frame.f_lineno = 337;
{
PyObject *call_args[] = {tmp_args_element_value_9, tmp_args_element_value_10};
tmp_list_arg_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_7, call_args);
}
Py_DECREF(tmp_args_element_value_9);
if (tmp_list_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_20 = MAKE_LIST(tmp_list_arg_1);
Py_DECREF(tmp_list_arg_1);
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_unescaped_params;
var_unescaped_params = tmp_assign_source_20;
Py_XDECREF(old);
}
}
branch_no_6:;
if (var_unescaped_params == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[35]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 340;
type_description_1 = "oooooooooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_unescaped_params;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b1263ee391366ea4da1e2af12b3ec2f4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b1263ee391366ea4da1e2af12b3ec2f4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b1263ee391366ea4da1e2af12b3ec2f4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b1263ee391366ea4da1e2af12b3ec2f4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b1263ee391366ea4da1e2af12b3ec2f4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b1263ee391366ea4da1e2af12b3ec2f4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b1263ee391366ea4da1e2af12b3ec2f4,
type_description_1,
par_uri_query,
par_body,
par_headers,
par_exclude_oauth_signature,
par_with_realm,
var_params,
var_headers_lower,
var_authorization_header,
var_bodyparams,
var_unescaped_params,
var_k,
var_v
);
// Release cached frame if used for exception.
if (frame_b1263ee391366ea4da1e2af12b3ec2f4 == cache_frame_b1263ee391366ea4da1e2af12b3ec2f4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b1263ee391366ea4da1e2af12b3ec2f4);
cache_frame_b1263ee391366ea4da1e2af12b3ec2f4 = NULL;
}
assertFrameObject(frame_b1263ee391366ea4da1e2af12b3ec2f4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_headers);
par_headers = NULL;
Py_XDECREF(var_params);
var_params = NULL;
Py_XDECREF(var_headers_lower);
var_headers_lower = NULL;
Py_XDECREF(var_authorization_header);
var_authorization_header = NULL;
CHECK_OBJECT(var_bodyparams);
Py_DECREF(var_bodyparams);
var_bodyparams = NULL;
Py_XDECREF(var_unescaped_params);
var_unescaped_params = NULL;
Py_XDECREF(var_k);
var_k = NULL;
Py_XDECREF(var_v);
var_v = 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(par_headers);
par_headers = NULL;
Py_XDECREF(var_params);
var_params = NULL;
Py_XDECREF(var_headers_lower);
var_headers_lower = NULL;
Py_XDECREF(var_authorization_header);
var_authorization_header = NULL;
Py_XDECREF(var_bodyparams);
var_bodyparams = NULL;
Py_XDECREF(var_unescaped_params);
var_unescaped_params = NULL;
Py_XDECREF(var_k);
var_k = NULL;
Py_XDECREF(var_v);
var_v = 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_uri_query);
Py_DECREF(par_uri_query);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
CHECK_OBJECT(par_exclude_oauth_signature);
Py_DECREF(par_exclude_oauth_signature);
CHECK_OBJECT(par_with_realm);
Py_DECREF(par_with_realm);
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_uri_query);
Py_DECREF(par_uri_query);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
CHECK_OBJECT(par_exclude_oauth_signature);
Py_DECREF(par_exclude_oauth_signature);
CHECK_OBJECT(par_with_realm);
Py_DECREF(par_with_realm);
// 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;
}
struct oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$genexpr__1_genexpr_locals {
PyObject *var_k;
PyObject *var_v;
PyObject *tmp_iter_value_0;
PyObject *tmp_tuple_unpack_1__element_1;
PyObject *tmp_tuple_unpack_1__element_2;
PyObject *tmp_tuple_unpack_1__source_iter;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
char yield_tmps[1024];
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
int exception_keeper_lineno_4;
};
static PyObject *oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$genexpr__1_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) {
CHECK_OBJECT(generator);
assert(Nuitka_Generator_Check((PyObject *)generator));
CHECK_OBJECT_X(yield_return_value);
// Heap access if used.
struct oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$genexpr__1_genexpr_locals *generator_heap = (struct oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$genexpr__1_genexpr_locals *)generator->m_heap_storage;
// Dispatch to yield based on return label index:
switch(generator->m_yield_return_index) {
case 1: goto yield_return_1;
}
// Local variable initialization
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_m_frame = NULL;
generator_heap->var_k = NULL;
generator_heap->var_v = NULL;
generator_heap->tmp_iter_value_0 = NULL;
generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
generator_heap->tmp_tuple_unpack_1__element_2 = NULL;
generator_heap->tmp_tuple_unpack_1__source_iter = NULL;
generator_heap->type_description_1 = NULL;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
// Actual generator function body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_66e9dbb41b240dfc1ec77f4a12e2519d, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
generator->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(generator->m_frame);
assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(generator->m_frame, (PyObject *)generator);
#endif
assert(generator->m_frame->m_frame.f_back == NULL);
pushFrameStack(generator->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(generator->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(generator) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL;
Py_XINCREF(EXC_TYPE_F(generator));
#endif
EXC_VALUE_F(generator) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(generator, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(generator));
#endif
}
#endif
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_1;
CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[0]));
tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_1 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 304;
goto try_except_handler_2;
}
}
{
PyObject *old = generator_heap->tmp_iter_value_0;
generator_heap->tmp_iter_value_0 = tmp_assign_source_1;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_iter_arg_1 = generator_heap->tmp_iter_value_0;
tmp_assign_source_2 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 304;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_3;
}
{
PyObject *old = generator_heap->tmp_tuple_unpack_1__source_iter;
generator_heap->tmp_tuple_unpack_1__source_iter = tmp_assign_source_2;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_1;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = generator_heap->tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_3 == NULL) {
if (!ERROR_OCCURRED()) {
generator_heap->exception_type = PyExc_StopIteration;
Py_INCREF(generator_heap->exception_type);
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
}
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 304;
goto try_except_handler_4;
}
{
PyObject *old = generator_heap->tmp_tuple_unpack_1__element_1;
generator_heap->tmp_tuple_unpack_1__element_1 = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_unpack_2;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = generator_heap->tmp_tuple_unpack_1__source_iter;
tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_4 == NULL) {
if (!ERROR_OCCURRED()) {
generator_heap->exception_type = PyExc_StopIteration;
Py_INCREF(generator_heap->exception_type);
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
}
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 304;
goto try_except_handler_4;
}
{
PyObject *old = generator_heap->tmp_tuple_unpack_1__element_2;
generator_heap->tmp_tuple_unpack_1__element_2 = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = generator_heap->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));
generator_heap->tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(generator_heap->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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 304;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(generator_heap->tmp_iterator_attempt);
generator_heap->exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
generator_heap->exception_value = mod_consts[15];
Py_INCREF(generator_heap->exception_value);
generator_heap->exception_tb = NULL;
generator_heap->type_description_1 = "Noo";
generator_heap->exception_lineno = 304;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
Py_DECREF(generator_heap->tmp_tuple_unpack_1__source_iter);
generator_heap->tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
goto try_except_handler_3;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
generator_heap->exception_keeper_type_2 = generator_heap->exception_type;
generator_heap->exception_keeper_value_2 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_1);
generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_2);
generator_heap->tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
goto try_except_handler_2;
// End of try:
try_end_2:;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__source_iter);
Py_DECREF(generator_heap->tmp_tuple_unpack_1__source_iter);
generator_heap->tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__element_1);
tmp_assign_source_5 = generator_heap->tmp_tuple_unpack_1__element_1;
{
PyObject *old = generator_heap->var_k;
generator_heap->var_k = tmp_assign_source_5;
Py_INCREF(generator_heap->var_k);
Py_XDECREF(old);
}
}
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_1);
generator_heap->tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(generator_heap->tmp_tuple_unpack_1__element_2);
tmp_assign_source_6 = generator_heap->tmp_tuple_unpack_1__element_2;
{
PyObject *old = generator_heap->var_v;
generator_heap->var_v = tmp_assign_source_6;
Py_INCREF(generator_heap->var_v);
Py_XDECREF(old);
}
}
Py_XDECREF(generator_heap->tmp_tuple_unpack_1__element_2);
generator_heap->tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_expression_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_k);
tmp_expression_value_2 = generator_heap->var_k;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[11]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 304;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
generator->m_frame->m_frame.f_lineno = 304;
tmp_tuple_element_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 304;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
tmp_expression_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_expression_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(generator_heap->var_v);
tmp_tuple_element_1 = generator_heap->var_v;
PyTuple_SET_ITEM0(tmp_expression_value_1, 1, tmp_tuple_element_1);
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), NULL);
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 304;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
tmp_yield_result_1 = yield_return_value;
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 304;
generator_heap->type_description_1 = "Noo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
generator_heap->exception_keeper_type_3 = generator_heap->exception_type;
generator_heap->exception_keeper_value_3 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_3 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_3;
generator_heap->exception_value = generator_heap->exception_keeper_value_3;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_3;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
Nuitka_Frame_MarkAsNotExecuting(generator->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(generator->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) {
if (generator_heap->exception_tb == NULL) {
generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno);
} else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) {
generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
generator->m_frame,
generator_heap->type_description_1,
NULL,
generator_heap->var_k,
generator_heap->var_v
);
// Release cached frame if used for exception.
if (generator->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(generator->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
Py_DECREF(generator->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
goto try_end_4;
// Exception handler code:
try_except_handler_1:;
generator_heap->exception_keeper_type_4 = generator_heap->exception_type;
generator_heap->exception_keeper_value_4 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_4 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_4 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->var_k);
generator_heap->var_k = NULL;
Py_XDECREF(generator_heap->var_v);
generator_heap->var_v = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_4;
generator_heap->exception_value = generator_heap->exception_keeper_value_4;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_4;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
try_end_4:;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
Py_XDECREF(generator_heap->var_k);
generator_heap->var_k = NULL;
Py_XDECREF(generator_heap->var_v);
generator_heap->var_v = NULL;
return NULL;
function_exception_exit:
assert(generator_heap->exception_type);
RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb);
return NULL;
}
static PyObject *MAKE_GENERATOR_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$genexpr__1_genexpr_context,
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[40],
#if PYTHON_VERSION >= 0x350
mod_consts[41],
#endif
codeobj_66e9dbb41b240dfc1ec77f4a12e2519d,
closure,
1,
sizeof(struct oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$genexpr__1_genexpr_locals)
);
}
static PyObject *impl_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$function__1_lambda(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_i = python_pars[0];
struct Nuitka_FrameObject *frame_ae2bc4984d289c1be7ccdb96868aaa03;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_ae2bc4984d289c1be7ccdb96868aaa03 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ae2bc4984d289c1be7ccdb96868aaa03)) {
Py_XDECREF(cache_frame_ae2bc4984d289c1be7ccdb96868aaa03);
#if _DEBUG_REFCOUNTS
if (cache_frame_ae2bc4984d289c1be7ccdb96868aaa03 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ae2bc4984d289c1be7ccdb96868aaa03 = MAKE_FUNCTION_FRAME(codeobj_ae2bc4984d289c1be7ccdb96868aaa03, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ae2bc4984d289c1be7ccdb96868aaa03->m_type_description == NULL);
frame_ae2bc4984d289c1be7ccdb96868aaa03 = cache_frame_ae2bc4984d289c1be7ccdb96868aaa03;
// Push the new frame as the currently active one.
pushFrameStack(frame_ae2bc4984d289c1be7ccdb96868aaa03);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ae2bc4984d289c1be7ccdb96868aaa03) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_i);
tmp_expression_value_1 = par_i;
tmp_subscript_value_1 = mod_consts[29];
tmp_cmp_expr_left_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[42];
tmp_return_value = RICH_COMPARE_NE_OBJECT_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ae2bc4984d289c1be7ccdb96868aaa03);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ae2bc4984d289c1be7ccdb96868aaa03);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ae2bc4984d289c1be7ccdb96868aaa03);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ae2bc4984d289c1be7ccdb96868aaa03, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ae2bc4984d289c1be7ccdb96868aaa03->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ae2bc4984d289c1be7ccdb96868aaa03, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ae2bc4984d289c1be7ccdb96868aaa03,
type_description_1,
par_i
);
// Release cached frame if used for exception.
if (frame_ae2bc4984d289c1be7ccdb96868aaa03 == cache_frame_ae2bc4984d289c1be7ccdb96868aaa03) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ae2bc4984d289c1be7ccdb96868aaa03);
cache_frame_ae2bc4984d289c1be7ccdb96868aaa03 = NULL;
}
assertFrameObject(frame_ae2bc4984d289c1be7ccdb96868aaa03);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_i);
Py_DECREF(par_i);
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_i);
Py_DECREF(par_i);
// 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_oauthlib$oauth1$rfc5849$signature$$$function__4_normalize_parameters(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_params = python_pars[0];
PyObject *var_key_values = NULL;
PyObject *var_parameter_parts = NULL;
PyObject *outline_0_var_k = NULL;
PyObject *outline_0_var_v = NULL;
PyObject *outline_1_var_k = NULL;
PyObject *outline_1_var_v = NULL;
PyObject *tmp_listcomp$tuple_unpack_1__element_1 = NULL;
PyObject *tmp_listcomp$tuple_unpack_1__element_2 = NULL;
PyObject *tmp_listcomp$tuple_unpack_1__source_iter = NULL;
PyObject *tmp_listcomp$tuple_unpack_2__element_1 = NULL;
PyObject *tmp_listcomp$tuple_unpack_2__element_2 = NULL;
PyObject *tmp_listcomp$tuple_unpack_2__source_iter = NULL;
PyObject *tmp_listcomp_1__$0 = NULL;
PyObject *tmp_listcomp_1__contraction = NULL;
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
PyObject *tmp_listcomp_2__$0 = NULL;
PyObject *tmp_listcomp_2__contraction = NULL;
PyObject *tmp_listcomp_2__iter_value_0 = NULL;
struct Nuitka_FrameObject *frame_11a8f4edc1dcc479cd707eaa4a7ccea9;
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;
struct Nuitka_FrameObject *frame_f0d50bc73da686aad121bce2606c0a06_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
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;
bool tmp_result;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
static struct Nuitka_FrameObject *cache_frame_f0d50bc73da686aad121bce2606c0a06_2 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
struct Nuitka_FrameObject *frame_2286da19da9f760cf2eb126d1a040047_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
static struct Nuitka_FrameObject *cache_frame_2286da19da9f760cf2eb126d1a040047_3 = NULL;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_11a8f4edc1dcc479cd707eaa4a7ccea9 = NULL;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_11a8f4edc1dcc479cd707eaa4a7ccea9)) {
Py_XDECREF(cache_frame_11a8f4edc1dcc479cd707eaa4a7ccea9);
#if _DEBUG_REFCOUNTS
if (cache_frame_11a8f4edc1dcc479cd707eaa4a7ccea9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_11a8f4edc1dcc479cd707eaa4a7ccea9 = MAKE_FUNCTION_FRAME(codeobj_11a8f4edc1dcc479cd707eaa4a7ccea9, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_11a8f4edc1dcc479cd707eaa4a7ccea9->m_type_description == NULL);
frame_11a8f4edc1dcc479cd707eaa4a7ccea9 = cache_frame_11a8f4edc1dcc479cd707eaa4a7ccea9;
// Push the new frame as the currently active one.
pushFrameStack(frame_11a8f4edc1dcc479cd707eaa4a7ccea9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_11a8f4edc1dcc479cd707eaa4a7ccea9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(par_params);
tmp_iter_arg_1 = par_params;
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_3;
}
if (isFrameUnusable(cache_frame_f0d50bc73da686aad121bce2606c0a06_2)) {
Py_XDECREF(cache_frame_f0d50bc73da686aad121bce2606c0a06_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_f0d50bc73da686aad121bce2606c0a06_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f0d50bc73da686aad121bce2606c0a06_2 = MAKE_FUNCTION_FRAME(codeobj_f0d50bc73da686aad121bce2606c0a06, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f0d50bc73da686aad121bce2606c0a06_2->m_type_description == NULL);
frame_f0d50bc73da686aad121bce2606c0a06_2 = cache_frame_f0d50bc73da686aad121bce2606c0a06_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_f0d50bc73da686aad121bce2606c0a06_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f0d50bc73da686aad121bce2606c0a06_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_1 = tmp_listcomp_1__$0;
tmp_assign_source_4 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_4 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_2 = "oo";
exception_lineno = 423;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_4;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_iter_arg_2 = tmp_listcomp_1__iter_value_0;
tmp_assign_source_5 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_2 = "oo";
goto try_except_handler_4;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_listcomp$tuple_unpack_1__source_iter = tmp_assign_source_5;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_6 == 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_2 = "oo";
exception_lineno = 423;
goto try_except_handler_5;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__element_1;
tmp_listcomp$tuple_unpack_1__element_1 = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_7 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_2 = "oo";
exception_lineno = 423;
goto try_except_handler_5;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__element_2;
tmp_listcomp$tuple_unpack_1__element_2 = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_listcomp$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_2 = "oo";
exception_lineno = 423;
goto try_except_handler_5;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[15];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_2 = "oo";
exception_lineno = 423;
goto try_except_handler_5;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
Py_DECREF(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_listcomp$tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_4;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_1);
tmp_listcomp$tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_2);
tmp_listcomp$tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__source_iter);
Py_DECREF(tmp_listcomp$tuple_unpack_1__source_iter);
tmp_listcomp$tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__element_1);
tmp_assign_source_8 = tmp_listcomp$tuple_unpack_1__element_1;
{
PyObject *old = outline_0_var_k;
outline_0_var_k = tmp_assign_source_8;
Py_INCREF(outline_0_var_k);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_1);
tmp_listcomp$tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_9;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__element_2);
tmp_assign_source_9 = tmp_listcomp$tuple_unpack_1__element_2;
{
PyObject *old = outline_0_var_v;
outline_0_var_v = tmp_assign_source_9;
Py_INCREF(outline_0_var_v);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_2);
tmp_listcomp$tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_2 = "oo";
goto try_except_handler_3;
}
CHECK_OBJECT(outline_0_var_k);
tmp_args_element_value_1 = outline_0_var_k;
frame_f0d50bc73da686aad121bce2606c0a06_2->m_frame.f_lineno = 423;
tmp_tuple_element_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[1], tmp_args_element_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_2 = "oo";
goto try_except_handler_3;
}
tmp_append_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_2;
PyTuple_SET_ITEM(tmp_append_value_1, 0, tmp_tuple_element_1);
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_2 = "oo";
goto tuple_build_exception_1;
}
CHECK_OBJECT(outline_0_var_v);
tmp_args_element_value_2 = outline_0_var_v;
frame_f0d50bc73da686aad121bce2606c0a06_2->m_frame.f_lineno = 423;
tmp_tuple_element_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[1], tmp_args_element_value_2);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_2 = "oo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_append_value_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_append_value_1);
goto try_except_handler_3;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
assert(PyList_Check(tmp_append_list_1));
tmp_result = LIST_APPEND1(tmp_append_list_1, tmp_append_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_2 = "oo";
goto try_except_handler_3;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_2 = "oo";
goto try_except_handler_3;
}
goto loop_start_1;
loop_end_1:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_assign_source_1 = tmp_listcomp_1__contraction;
Py_INCREF(tmp_assign_source_1);
goto try_return_handler_3;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
goto frame_return_exit_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_f0d50bc73da686aad121bce2606c0a06_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f0d50bc73da686aad121bce2606c0a06_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_2;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f0d50bc73da686aad121bce2606c0a06_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f0d50bc73da686aad121bce2606c0a06_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f0d50bc73da686aad121bce2606c0a06_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f0d50bc73da686aad121bce2606c0a06_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f0d50bc73da686aad121bce2606c0a06_2,
type_description_2,
outline_0_var_k,
outline_0_var_v
);
// Release cached frame if used for exception.
if (frame_f0d50bc73da686aad121bce2606c0a06_2 == cache_frame_f0d50bc73da686aad121bce2606c0a06_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f0d50bc73da686aad121bce2606c0a06_2);
cache_frame_f0d50bc73da686aad121bce2606c0a06_2 = NULL;
}
assertFrameObject(frame_f0d50bc73da686aad121bce2606c0a06_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:;
type_description_1 = "ooo";
goto try_except_handler_2;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
Py_XDECREF(outline_0_var_k);
outline_0_var_k = NULL;
Py_XDECREF(outline_0_var_v);
outline_0_var_v = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(outline_0_var_k);
outline_0_var_k = NULL;
Py_XDECREF(outline_0_var_v);
outline_0_var_v = 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 423;
goto frame_exception_exit_1;
outline_result_1:;
assert(var_key_values == NULL);
var_key_values = tmp_assign_source_1;
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_1;
CHECK_OBJECT(var_key_values);
tmp_called_instance_3 = var_key_values;
frame_11a8f4edc1dcc479cd707eaa4a7ccea9->m_frame.f_lineno = 428;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[43]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_10;
// Tried code:
{
PyObject *tmp_assign_source_11;
PyObject *tmp_iter_arg_3;
CHECK_OBJECT(var_key_values);
tmp_iter_arg_3 = var_key_values;
tmp_assign_source_11 = MAKE_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 = 433;
type_description_1 = "ooo";
goto try_except_handler_6;
}
assert(tmp_listcomp_2__$0 == NULL);
tmp_listcomp_2__$0 = tmp_assign_source_11;
}
{
PyObject *tmp_assign_source_12;
tmp_assign_source_12 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_2__contraction == NULL);
tmp_listcomp_2__contraction = tmp_assign_source_12;
}
if (isFrameUnusable(cache_frame_2286da19da9f760cf2eb126d1a040047_3)) {
Py_XDECREF(cache_frame_2286da19da9f760cf2eb126d1a040047_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_2286da19da9f760cf2eb126d1a040047_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2286da19da9f760cf2eb126d1a040047_3 = MAKE_FUNCTION_FRAME(codeobj_2286da19da9f760cf2eb126d1a040047, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2286da19da9f760cf2eb126d1a040047_3->m_type_description == NULL);
frame_2286da19da9f760cf2eb126d1a040047_3 = cache_frame_2286da19da9f760cf2eb126d1a040047_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_2286da19da9f760cf2eb126d1a040047_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2286da19da9f760cf2eb126d1a040047_3) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_13;
CHECK_OBJECT(tmp_listcomp_2__$0);
tmp_next_source_2 = tmp_listcomp_2__$0;
tmp_assign_source_13 = ITERATOR_NEXT(tmp_next_source_2);
if (tmp_assign_source_13 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_2;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_2 = "oo";
exception_lineno = 433;
goto try_except_handler_7;
}
}
{
PyObject *old = tmp_listcomp_2__iter_value_0;
tmp_listcomp_2__iter_value_0 = tmp_assign_source_13;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_14;
PyObject *tmp_iter_arg_4;
CHECK_OBJECT(tmp_listcomp_2__iter_value_0);
tmp_iter_arg_4 = tmp_listcomp_2__iter_value_0;
tmp_assign_source_14 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_4);
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_2 = "oo";
goto try_except_handler_8;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_2__source_iter;
tmp_listcomp$tuple_unpack_2__source_iter = tmp_assign_source_14;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_15;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_2__source_iter);
tmp_unpack_3 = tmp_listcomp$tuple_unpack_2__source_iter;
tmp_assign_source_15 = UNPACK_NEXT(tmp_unpack_3, 0, 2);
if (tmp_assign_source_15 == 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_2 = "oo";
exception_lineno = 433;
goto try_except_handler_9;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_2__element_1;
tmp_listcomp$tuple_unpack_2__element_1 = tmp_assign_source_15;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_2__source_iter);
tmp_unpack_4 = tmp_listcomp$tuple_unpack_2__source_iter;
tmp_assign_source_16 = UNPACK_NEXT(tmp_unpack_4, 1, 2);
if (tmp_assign_source_16 == 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_2 = "oo";
exception_lineno = 433;
goto try_except_handler_9;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_2__element_2;
tmp_listcomp$tuple_unpack_2__element_2 = tmp_assign_source_16;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_2;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_2__source_iter);
tmp_iterator_name_2 = tmp_listcomp$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_2 = "oo";
exception_lineno = 433;
goto try_except_handler_9;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[15];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_2 = "oo";
exception_lineno = 433;
goto try_except_handler_9;
}
}
goto try_end_3;
// Exception handler code:
try_except_handler_9:;
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_listcomp$tuple_unpack_2__source_iter);
Py_DECREF(tmp_listcomp$tuple_unpack_2__source_iter);
tmp_listcomp$tuple_unpack_2__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_8;
// End of try:
try_end_3:;
goto try_end_4;
// 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_XDECREF(tmp_listcomp$tuple_unpack_2__element_1);
tmp_listcomp$tuple_unpack_2__element_1 = NULL;
Py_XDECREF(tmp_listcomp$tuple_unpack_2__element_2);
tmp_listcomp$tuple_unpack_2__element_2 = 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:
try_end_4:;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_2__source_iter);
Py_DECREF(tmp_listcomp$tuple_unpack_2__source_iter);
tmp_listcomp$tuple_unpack_2__source_iter = NULL;
{
PyObject *tmp_assign_source_17;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_2__element_1);
tmp_assign_source_17 = tmp_listcomp$tuple_unpack_2__element_1;
{
PyObject *old = outline_1_var_k;
outline_1_var_k = tmp_assign_source_17;
Py_INCREF(outline_1_var_k);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_listcomp$tuple_unpack_2__element_1);
tmp_listcomp$tuple_unpack_2__element_1 = NULL;
{
PyObject *tmp_assign_source_18;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_2__element_2);
tmp_assign_source_18 = tmp_listcomp$tuple_unpack_2__element_2;
{
PyObject *old = outline_1_var_v;
outline_1_var_v = tmp_assign_source_18;
Py_INCREF(outline_1_var_v);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_listcomp$tuple_unpack_2__element_2);
tmp_listcomp$tuple_unpack_2__element_2 = NULL;
{
PyObject *tmp_append_list_2;
PyObject *tmp_append_value_2;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_kw_call_arg_value_2_1;
CHECK_OBJECT(tmp_listcomp_2__contraction);
tmp_append_list_2 = tmp_listcomp_2__contraction;
tmp_kw_call_arg_value_0_1 = mod_consts[44];
CHECK_OBJECT(outline_1_var_k);
tmp_kw_call_arg_value_1_1 = outline_1_var_k;
CHECK_OBJECT(outline_1_var_v);
tmp_kw_call_arg_value_2_1 = outline_1_var_v;
frame_2286da19da9f760cf2eb126d1a040047_3->m_frame.f_lineno = 433;
{
PyObject *call_args[] = {tmp_kw_call_arg_value_0_1, tmp_kw_call_arg_value_1_1, tmp_kw_call_arg_value_2_1};
tmp_append_value_2 = CALL_FUNCTION_WITH_ARGS3(unicode_builtin_format, call_args);
}
if (tmp_append_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_2 = "oo";
goto try_except_handler_7;
}
assert(PyList_Check(tmp_append_list_2));
tmp_result = LIST_APPEND1(tmp_append_list_2, tmp_append_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_2 = "oo";
goto try_except_handler_7;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_2 = "oo";
goto try_except_handler_7;
}
goto loop_start_2;
loop_end_2:;
CHECK_OBJECT(tmp_listcomp_2__contraction);
tmp_assign_source_10 = tmp_listcomp_2__contraction;
Py_INCREF(tmp_assign_source_10);
goto try_return_handler_7;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_7:;
CHECK_OBJECT(tmp_listcomp_2__$0);
Py_DECREF(tmp_listcomp_2__$0);
tmp_listcomp_2__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_2__contraction);
Py_DECREF(tmp_listcomp_2__contraction);
tmp_listcomp_2__contraction = NULL;
Py_XDECREF(tmp_listcomp_2__iter_value_0);
tmp_listcomp_2__iter_value_0 = NULL;
goto frame_return_exit_3;
// 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;
CHECK_OBJECT(tmp_listcomp_2__$0);
Py_DECREF(tmp_listcomp_2__$0);
tmp_listcomp_2__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_2__contraction);
Py_DECREF(tmp_listcomp_2__contraction);
tmp_listcomp_2__contraction = NULL;
Py_XDECREF(tmp_listcomp_2__iter_value_0);
tmp_listcomp_2__iter_value_0 = NULL;
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto frame_exception_exit_3;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_2286da19da9f760cf2eb126d1a040047_3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2286da19da9f760cf2eb126d1a040047_3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_6;
frame_exception_exit_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2286da19da9f760cf2eb126d1a040047_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2286da19da9f760cf2eb126d1a040047_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2286da19da9f760cf2eb126d1a040047_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2286da19da9f760cf2eb126d1a040047_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2286da19da9f760cf2eb126d1a040047_3,
type_description_2,
outline_1_var_k,
outline_1_var_v
);
// Release cached frame if used for exception.
if (frame_2286da19da9f760cf2eb126d1a040047_3 == cache_frame_2286da19da9f760cf2eb126d1a040047_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2286da19da9f760cf2eb126d1a040047_3);
cache_frame_2286da19da9f760cf2eb126d1a040047_3 = NULL;
}
assertFrameObject(frame_2286da19da9f760cf2eb126d1a040047_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:;
type_description_1 = "ooo";
goto try_except_handler_6;
skip_nested_handling_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_6:;
Py_XDECREF(outline_1_var_k);
outline_1_var_k = NULL;
Py_XDECREF(outline_1_var_v);
outline_1_var_v = NULL;
goto outline_result_2;
// 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;
Py_XDECREF(outline_1_var_k);
outline_1_var_k = NULL;
Py_XDECREF(outline_1_var_v);
outline_1_var_v = 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 outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 433;
goto frame_exception_exit_1;
outline_result_2:;
assert(var_parameter_parts == NULL);
var_parameter_parts = tmp_assign_source_10;
}
{
PyObject *tmp_str_arg_value_1;
PyObject *tmp_iterable_value_1;
tmp_str_arg_value_1 = mod_consts[3];
CHECK_OBJECT(var_parameter_parts);
tmp_iterable_value_1 = var_parameter_parts;
tmp_return_value = UNICODE_JOIN(tmp_str_arg_value_1, tmp_iterable_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 438;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_11a8f4edc1dcc479cd707eaa4a7ccea9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_3;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_11a8f4edc1dcc479cd707eaa4a7ccea9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_11a8f4edc1dcc479cd707eaa4a7ccea9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_11a8f4edc1dcc479cd707eaa4a7ccea9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_11a8f4edc1dcc479cd707eaa4a7ccea9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_11a8f4edc1dcc479cd707eaa4a7ccea9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_11a8f4edc1dcc479cd707eaa4a7ccea9,
type_description_1,
par_params,
var_key_values,
var_parameter_parts
);
// Release cached frame if used for exception.
if (frame_11a8f4edc1dcc479cd707eaa4a7ccea9 == cache_frame_11a8f4edc1dcc479cd707eaa4a7ccea9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_11a8f4edc1dcc479cd707eaa4a7ccea9);
cache_frame_11a8f4edc1dcc479cd707eaa4a7ccea9 = NULL;
}
assertFrameObject(frame_11a8f4edc1dcc479cd707eaa4a7ccea9);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_3:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_key_values);
Py_DECREF(var_key_values);
var_key_values = NULL;
CHECK_OBJECT(var_parameter_parts);
Py_DECREF(var_parameter_parts);
var_parameter_parts = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_key_values);
var_key_values = NULL;
Py_XDECREF(var_parameter_parts);
var_parameter_parts = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_params);
Py_DECREF(par_params);
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_params);
Py_DECREF(par_params);
// 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_oauthlib$oauth1$rfc5849$signature$$$function__5_sign_hmac_sha1_with_client(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_base_string = python_pars[0];
PyObject *par_client = python_pars[1];
struct Nuitka_FrameObject *frame_ba7b47cd968a18d5f2772171c001fa06;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_ba7b47cd968a18d5f2772171c001fa06 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ba7b47cd968a18d5f2772171c001fa06)) {
Py_XDECREF(cache_frame_ba7b47cd968a18d5f2772171c001fa06);
#if _DEBUG_REFCOUNTS
if (cache_frame_ba7b47cd968a18d5f2772171c001fa06 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ba7b47cd968a18d5f2772171c001fa06 = MAKE_FUNCTION_FRAME(codeobj_ba7b47cd968a18d5f2772171c001fa06, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ba7b47cd968a18d5f2772171c001fa06->m_type_description == NULL);
frame_ba7b47cd968a18d5f2772171c001fa06 = cache_frame_ba7b47cd968a18d5f2772171c001fa06;
// Push the new frame as the currently active one.
pushFrameStack(frame_ba7b47cd968a18d5f2772171c001fa06);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ba7b47cd968a18d5f2772171c001fa06) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 442;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_base_string);
tmp_args_element_value_1 = par_base_string;
CHECK_OBJECT(par_client);
tmp_expression_value_1 = par_client;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[47]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 443;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_client);
tmp_expression_value_2 = par_client;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[48]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 444;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_ba7b47cd968a18d5f2772171c001fa06->m_frame.f_lineno = 442;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_return_value = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 442;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ba7b47cd968a18d5f2772171c001fa06);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ba7b47cd968a18d5f2772171c001fa06);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ba7b47cd968a18d5f2772171c001fa06);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ba7b47cd968a18d5f2772171c001fa06, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ba7b47cd968a18d5f2772171c001fa06->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ba7b47cd968a18d5f2772171c001fa06, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ba7b47cd968a18d5f2772171c001fa06,
type_description_1,
par_base_string,
par_client
);
// Release cached frame if used for exception.
if (frame_ba7b47cd968a18d5f2772171c001fa06 == cache_frame_ba7b47cd968a18d5f2772171c001fa06) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ba7b47cd968a18d5f2772171c001fa06);
cache_frame_ba7b47cd968a18d5f2772171c001fa06 = NULL;
}
assertFrameObject(frame_ba7b47cd968a18d5f2772171c001fa06);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_base_string);
Py_DECREF(par_base_string);
CHECK_OBJECT(par_client);
Py_DECREF(par_client);
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_base_string);
Py_DECREF(par_base_string);
CHECK_OBJECT(par_client);
Py_DECREF(par_client);
// 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_oauthlib$oauth1$rfc5849$signature$$$function__6_sign_hmac_sha1(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_base_string = python_pars[0];
PyObject *par_client_secret = python_pars[1];
PyObject *par_resource_owner_secret = python_pars[2];
PyObject *var_text = NULL;
PyObject *var_key = NULL;
PyObject *var_key_utf8 = NULL;
PyObject *var_text_utf8 = NULL;
PyObject *var_signature = NULL;
struct Nuitka_FrameObject *frame_94b9302aac87833ec1ba4920ed88fd78;
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_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_94b9302aac87833ec1ba4920ed88fd78 = 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;
CHECK_OBJECT(par_base_string);
tmp_assign_source_1 = par_base_string;
assert(var_text == NULL);
Py_INCREF(tmp_assign_source_1);
var_text = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_94b9302aac87833ec1ba4920ed88fd78)) {
Py_XDECREF(cache_frame_94b9302aac87833ec1ba4920ed88fd78);
#if _DEBUG_REFCOUNTS
if (cache_frame_94b9302aac87833ec1ba4920ed88fd78 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_94b9302aac87833ec1ba4920ed88fd78 = MAKE_FUNCTION_FRAME(codeobj_94b9302aac87833ec1ba4920ed88fd78, module_oauthlib$oauth1$rfc5849$signature, 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_94b9302aac87833ec1ba4920ed88fd78->m_type_description == NULL);
frame_94b9302aac87833ec1ba4920ed88fd78 = cache_frame_94b9302aac87833ec1ba4920ed88fd78;
// Push the new frame as the currently active one.
pushFrameStack(frame_94b9302aac87833ec1ba4920ed88fd78);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_94b9302aac87833ec1ba4920ed88fd78) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_client_secret);
tmp_or_left_value_1 = par_client_secret;
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);
exception_lineno = 474;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_or_right_value_1 = mod_consts[19];
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_94b9302aac87833ec1ba4920ed88fd78->m_frame.f_lineno = 474;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_key == NULL);
var_key = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(var_key);
tmp_iadd_expr_left_1 = var_key;
tmp_iadd_expr_right_1 = mod_consts[3];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_UNICODE(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 478;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = tmp_iadd_expr_left_1;
var_key = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iadd_expr_left_2;
PyObject *tmp_iadd_expr_right_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
CHECK_OBJECT(var_key);
tmp_iadd_expr_left_2 = var_key;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 483;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[1]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 483;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_resource_owner_secret);
tmp_or_left_value_2 = par_resource_owner_secret;
tmp_or_left_truth_2 = CHECK_IF_TRUE(tmp_or_left_value_2);
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 483;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
tmp_or_right_value_2 = mod_consts[19];
tmp_args_element_value_2 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_args_element_value_2 = tmp_or_left_value_2;
or_end_2:;
frame_94b9302aac87833ec1ba4920ed88fd78->m_frame.f_lineno = 483;
tmp_iadd_expr_right_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_iadd_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 483;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_2, tmp_iadd_expr_right_2);
Py_DECREF(tmp_iadd_expr_right_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 483;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = tmp_iadd_expr_left_2;
var_key = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_key);
tmp_expression_value_3 = var_key;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[49]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 486;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_94b9302aac87833ec1ba4920ed88fd78->m_frame.f_lineno = 486;
tmp_assign_source_5 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[50]);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 486;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_key_utf8 == NULL);
var_key_utf8 = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_text);
tmp_expression_value_4 = var_text;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[49]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_94b9302aac87833ec1ba4920ed88fd78->m_frame.f_lineno = 487;
tmp_assign_source_6 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[50]);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_text_utf8 == NULL);
var_text_utf8 = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_6;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[51]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[51]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 488;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[52]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 488;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_key_utf8);
tmp_args_element_value_3 = var_key_utf8;
CHECK_OBJECT(var_text_utf8);
tmp_args_element_value_4 = var_text_utf8;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 488;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[54]);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 488;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_94b9302aac87833ec1ba4920ed88fd78->m_frame.f_lineno = 488;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_5);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 488;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_signature == NULL);
var_signature = tmp_assign_source_7;
}
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_9;
PyObject *tmp_args_element_value_6;
PyObject *tmp_called_instance_1;
PyObject *tmp_subscript_value_1;
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[55]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[55]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[56]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_signature);
tmp_called_instance_1 = var_signature;
frame_94b9302aac87833ec1ba4920ed88fd78->m_frame.f_lineno = 495;
tmp_args_element_value_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[57]);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 495;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_94b9302aac87833ec1ba4920ed88fd78->m_frame.f_lineno = 495;
tmp_expression_value_8 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_6);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_6);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[58];
tmp_expression_value_7 = LOOKUP_SUBSCRIPT(tmp_expression_value_8, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_8);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[59]);
Py_DECREF(tmp_expression_value_7);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_94b9302aac87833ec1ba4920ed88fd78->m_frame.f_lineno = 495;
tmp_return_value = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_6, mod_consts[50]);
Py_DECREF(tmp_called_value_6);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 495;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_94b9302aac87833ec1ba4920ed88fd78);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_94b9302aac87833ec1ba4920ed88fd78);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_94b9302aac87833ec1ba4920ed88fd78);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_94b9302aac87833ec1ba4920ed88fd78, exception_lineno);
} else if (exception_tb->tb_frame != &frame_94b9302aac87833ec1ba4920ed88fd78->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_94b9302aac87833ec1ba4920ed88fd78, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_94b9302aac87833ec1ba4920ed88fd78,
type_description_1,
par_base_string,
par_client_secret,
par_resource_owner_secret,
var_text,
var_key,
var_key_utf8,
var_text_utf8,
var_signature
);
// Release cached frame if used for exception.
if (frame_94b9302aac87833ec1ba4920ed88fd78 == cache_frame_94b9302aac87833ec1ba4920ed88fd78) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_94b9302aac87833ec1ba4920ed88fd78);
cache_frame_94b9302aac87833ec1ba4920ed88fd78 = NULL;
}
assertFrameObject(frame_94b9302aac87833ec1ba4920ed88fd78);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_text);
Py_DECREF(var_text);
var_text = NULL;
CHECK_OBJECT(var_key);
Py_DECREF(var_key);
var_key = NULL;
CHECK_OBJECT(var_key_utf8);
Py_DECREF(var_key_utf8);
var_key_utf8 = NULL;
CHECK_OBJECT(var_text_utf8);
Py_DECREF(var_text_utf8);
var_text_utf8 = NULL;
CHECK_OBJECT(var_signature);
Py_DECREF(var_signature);
var_signature = 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_text);
Py_DECREF(var_text);
var_text = NULL;
Py_XDECREF(var_key);
var_key = NULL;
Py_XDECREF(var_key_utf8);
var_key_utf8 = NULL;
Py_XDECREF(var_text_utf8);
var_text_utf8 = NULL;
Py_XDECREF(var_signature);
var_signature = 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_base_string);
Py_DECREF(par_base_string);
CHECK_OBJECT(par_client_secret);
Py_DECREF(par_client_secret);
CHECK_OBJECT(par_resource_owner_secret);
Py_DECREF(par_resource_owner_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_base_string);
Py_DECREF(par_base_string);
CHECK_OBJECT(par_client_secret);
Py_DECREF(par_client_secret);
CHECK_OBJECT(par_resource_owner_secret);
Py_DECREF(par_resource_owner_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_oauthlib$oauth1$rfc5849$signature$$$function__7_sign_hmac_sha256_with_client(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_base_string = python_pars[0];
PyObject *par_client = python_pars[1];
struct Nuitka_FrameObject *frame_f7127a4be89081cf757578d283f05a25;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_f7127a4be89081cf757578d283f05a25 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_f7127a4be89081cf757578d283f05a25)) {
Py_XDECREF(cache_frame_f7127a4be89081cf757578d283f05a25);
#if _DEBUG_REFCOUNTS
if (cache_frame_f7127a4be89081cf757578d283f05a25 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f7127a4be89081cf757578d283f05a25 = MAKE_FUNCTION_FRAME(codeobj_f7127a4be89081cf757578d283f05a25, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f7127a4be89081cf757578d283f05a25->m_type_description == NULL);
frame_f7127a4be89081cf757578d283f05a25 = cache_frame_f7127a4be89081cf757578d283f05a25;
// Push the new frame as the currently active one.
pushFrameStack(frame_f7127a4be89081cf757578d283f05a25);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f7127a4be89081cf757578d283f05a25) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[61]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[61]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 499;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_base_string);
tmp_args_element_value_1 = par_base_string;
CHECK_OBJECT(par_client);
tmp_expression_value_1 = par_client;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[47]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_client);
tmp_expression_value_2 = par_client;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[48]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 501;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_f7127a4be89081cf757578d283f05a25->m_frame.f_lineno = 499;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_return_value = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 499;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f7127a4be89081cf757578d283f05a25);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f7127a4be89081cf757578d283f05a25);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f7127a4be89081cf757578d283f05a25);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f7127a4be89081cf757578d283f05a25, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f7127a4be89081cf757578d283f05a25->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f7127a4be89081cf757578d283f05a25, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f7127a4be89081cf757578d283f05a25,
type_description_1,
par_base_string,
par_client
);
// Release cached frame if used for exception.
if (frame_f7127a4be89081cf757578d283f05a25 == cache_frame_f7127a4be89081cf757578d283f05a25) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f7127a4be89081cf757578d283f05a25);
cache_frame_f7127a4be89081cf757578d283f05a25 = NULL;
}
assertFrameObject(frame_f7127a4be89081cf757578d283f05a25);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_base_string);
Py_DECREF(par_base_string);
CHECK_OBJECT(par_client);
Py_DECREF(par_client);
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_base_string);
Py_DECREF(par_base_string);
CHECK_OBJECT(par_client);
Py_DECREF(par_client);
// 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_oauthlib$oauth1$rfc5849$signature$$$function__8_sign_hmac_sha256(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_base_string = python_pars[0];
PyObject *par_client_secret = python_pars[1];
PyObject *par_resource_owner_secret = python_pars[2];
PyObject *var_text = NULL;
PyObject *var_key = NULL;
PyObject *var_key_utf8 = NULL;
PyObject *var_text_utf8 = NULL;
PyObject *var_signature = NULL;
struct Nuitka_FrameObject *frame_5bfe8e9792ad9beaf50512a4aa6e4e4d;
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_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_5bfe8e9792ad9beaf50512a4aa6e4e4d = 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;
CHECK_OBJECT(par_base_string);
tmp_assign_source_1 = par_base_string;
assert(var_text == NULL);
Py_INCREF(tmp_assign_source_1);
var_text = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_5bfe8e9792ad9beaf50512a4aa6e4e4d)) {
Py_XDECREF(cache_frame_5bfe8e9792ad9beaf50512a4aa6e4e4d);
#if _DEBUG_REFCOUNTS
if (cache_frame_5bfe8e9792ad9beaf50512a4aa6e4e4d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5bfe8e9792ad9beaf50512a4aa6e4e4d = MAKE_FUNCTION_FRAME(codeobj_5bfe8e9792ad9beaf50512a4aa6e4e4d, module_oauthlib$oauth1$rfc5849$signature, 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_5bfe8e9792ad9beaf50512a4aa6e4e4d->m_type_description == NULL);
frame_5bfe8e9792ad9beaf50512a4aa6e4e4d = cache_frame_5bfe8e9792ad9beaf50512a4aa6e4e4d;
// Push the new frame as the currently active one.
pushFrameStack(frame_5bfe8e9792ad9beaf50512a4aa6e4e4d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5bfe8e9792ad9beaf50512a4aa6e4e4d) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_client_secret);
tmp_or_left_value_1 = par_client_secret;
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);
exception_lineno = 531;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_or_right_value_1 = mod_consts[19];
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_5bfe8e9792ad9beaf50512a4aa6e4e4d->m_frame.f_lineno = 531;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_key == NULL);
var_key = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(var_key);
tmp_iadd_expr_left_1 = var_key;
tmp_iadd_expr_right_1 = mod_consts[3];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_UNICODE(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = tmp_iadd_expr_left_1;
var_key = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iadd_expr_left_2;
PyObject *tmp_iadd_expr_right_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
CHECK_OBJECT(var_key);
tmp_iadd_expr_left_2 = var_key;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[1]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_resource_owner_secret);
tmp_or_left_value_2 = par_resource_owner_secret;
tmp_or_left_truth_2 = CHECK_IF_TRUE(tmp_or_left_value_2);
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 540;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
tmp_or_right_value_2 = mod_consts[19];
tmp_args_element_value_2 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_args_element_value_2 = tmp_or_left_value_2;
or_end_2:;
frame_5bfe8e9792ad9beaf50512a4aa6e4e4d->m_frame.f_lineno = 540;
tmp_iadd_expr_right_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_iadd_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_2, tmp_iadd_expr_right_2);
Py_DECREF(tmp_iadd_expr_right_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = tmp_iadd_expr_left_2;
var_key = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_key);
tmp_expression_value_3 = var_key;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[49]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 543;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_5bfe8e9792ad9beaf50512a4aa6e4e4d->m_frame.f_lineno = 543;
tmp_assign_source_5 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[50]);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 543;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_key_utf8 == NULL);
var_key_utf8 = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_text);
tmp_expression_value_4 = var_text;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[49]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 544;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_5bfe8e9792ad9beaf50512a4aa6e4e4d->m_frame.f_lineno = 544;
tmp_assign_source_6 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[50]);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 544;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_text_utf8 == NULL);
var_text_utf8 = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_6;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[51]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[51]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 545;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[52]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 545;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_key_utf8);
tmp_args_element_value_3 = var_key_utf8;
CHECK_OBJECT(var_text_utf8);
tmp_args_element_value_4 = var_text_utf8;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 545;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[62]);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 545;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_5bfe8e9792ad9beaf50512a4aa6e4e4d->m_frame.f_lineno = 545;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_5);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 545;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_signature == NULL);
var_signature = tmp_assign_source_7;
}
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_9;
PyObject *tmp_args_element_value_6;
PyObject *tmp_called_instance_1;
PyObject *tmp_subscript_value_1;
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[55]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[55]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[56]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_signature);
tmp_called_instance_1 = var_signature;
frame_5bfe8e9792ad9beaf50512a4aa6e4e4d->m_frame.f_lineno = 552;
tmp_args_element_value_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[57]);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 552;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_5bfe8e9792ad9beaf50512a4aa6e4e4d->m_frame.f_lineno = 552;
tmp_expression_value_8 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_6);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_6);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[58];
tmp_expression_value_7 = LOOKUP_SUBSCRIPT(tmp_expression_value_8, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_8);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[59]);
Py_DECREF(tmp_expression_value_7);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_5bfe8e9792ad9beaf50512a4aa6e4e4d->m_frame.f_lineno = 552;
tmp_return_value = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_6, mod_consts[50]);
Py_DECREF(tmp_called_value_6);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 552;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_5bfe8e9792ad9beaf50512a4aa6e4e4d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5bfe8e9792ad9beaf50512a4aa6e4e4d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5bfe8e9792ad9beaf50512a4aa6e4e4d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5bfe8e9792ad9beaf50512a4aa6e4e4d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5bfe8e9792ad9beaf50512a4aa6e4e4d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5bfe8e9792ad9beaf50512a4aa6e4e4d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5bfe8e9792ad9beaf50512a4aa6e4e4d,
type_description_1,
par_base_string,
par_client_secret,
par_resource_owner_secret,
var_text,
var_key,
var_key_utf8,
var_text_utf8,
var_signature
);
// Release cached frame if used for exception.
if (frame_5bfe8e9792ad9beaf50512a4aa6e4e4d == cache_frame_5bfe8e9792ad9beaf50512a4aa6e4e4d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5bfe8e9792ad9beaf50512a4aa6e4e4d);
cache_frame_5bfe8e9792ad9beaf50512a4aa6e4e4d = NULL;
}
assertFrameObject(frame_5bfe8e9792ad9beaf50512a4aa6e4e4d);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_text);
Py_DECREF(var_text);
var_text = NULL;
CHECK_OBJECT(var_key);
Py_DECREF(var_key);
var_key = NULL;
CHECK_OBJECT(var_key_utf8);
Py_DECREF(var_key_utf8);
var_key_utf8 = NULL;
CHECK_OBJECT(var_text_utf8);
Py_DECREF(var_text_utf8);
var_text_utf8 = NULL;
CHECK_OBJECT(var_signature);
Py_DECREF(var_signature);
var_signature = 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_text);
Py_DECREF(var_text);
var_text = NULL;
Py_XDECREF(var_key);
var_key = NULL;
Py_XDECREF(var_key_utf8);
var_key_utf8 = NULL;
Py_XDECREF(var_text_utf8);
var_text_utf8 = NULL;
Py_XDECREF(var_signature);
var_signature = 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_base_string);
Py_DECREF(par_base_string);
CHECK_OBJECT(par_client_secret);
Py_DECREF(par_client_secret);
CHECK_OBJECT(par_resource_owner_secret);
Py_DECREF(par_resource_owner_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_base_string);
Py_DECREF(par_base_string);
CHECK_OBJECT(par_client_secret);
Py_DECREF(par_client_secret);
CHECK_OBJECT(par_resource_owner_secret);
Py_DECREF(par_resource_owner_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_oauthlib$oauth1$rfc5849$signature$$$function__9__jwt_rs1_signing_algorithm(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *var_jwtalgo = NULL;
struct Nuitka_FrameObject *frame_1695d0bc5ee29371157c7e1bbb232021;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_1695d0bc5ee29371157c7e1bbb232021 = 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_1695d0bc5ee29371157c7e1bbb232021)) {
Py_XDECREF(cache_frame_1695d0bc5ee29371157c7e1bbb232021);
#if _DEBUG_REFCOUNTS
if (cache_frame_1695d0bc5ee29371157c7e1bbb232021 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1695d0bc5ee29371157c7e1bbb232021 = MAKE_FUNCTION_FRAME(codeobj_1695d0bc5ee29371157c7e1bbb232021, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1695d0bc5ee29371157c7e1bbb232021->m_type_description == NULL);
frame_1695d0bc5ee29371157c7e1bbb232021 = cache_frame_1695d0bc5ee29371157c7e1bbb232021;
// Push the new frame as the currently active one.
pushFrameStack(frame_1695d0bc5ee29371157c7e1bbb232021);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1695d0bc5ee29371157c7e1bbb232021) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[64]);
if (unlikely(tmp_cmp_expr_left_1 == NULL)) {
tmp_cmp_expr_left_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[64]);
}
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 559;
type_description_1 = "o";
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;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_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[65];
tmp_globals_arg_value_1 = (PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[29];
frame_1695d0bc5ee29371157c7e1bbb232021->m_frame.f_lineno = 560;
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 = 560;
type_description_1 = "o";
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_1 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature,
mod_consts[66],
mod_consts[29]
);
} else {
tmp_assign_source_1 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[66]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 560;
type_description_1 = "o";
goto frame_exception_exit_1;
}
assert(var_jwtalgo == NULL);
var_jwtalgo = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_jwtalgo);
tmp_expression_value_1 = var_jwtalgo;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[67]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 561;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_jwtalgo);
tmp_expression_value_3 = var_jwtalgo;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[68]);
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 = 561;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[69]);
Py_DECREF(tmp_expression_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 561;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_1695d0bc5ee29371157c7e1bbb232021->m_frame.f_lineno = 561;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 561;
type_description_1 = "o";
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[64], tmp_assign_source_2);
}
branch_no_1:;
tmp_return_value = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[64]);
if (unlikely(tmp_return_value == NULL)) {
tmp_return_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[64]);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 562;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1695d0bc5ee29371157c7e1bbb232021);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1695d0bc5ee29371157c7e1bbb232021);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1695d0bc5ee29371157c7e1bbb232021);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1695d0bc5ee29371157c7e1bbb232021, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1695d0bc5ee29371157c7e1bbb232021->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1695d0bc5ee29371157c7e1bbb232021, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1695d0bc5ee29371157c7e1bbb232021,
type_description_1,
var_jwtalgo
);
// Release cached frame if used for exception.
if (frame_1695d0bc5ee29371157c7e1bbb232021 == cache_frame_1695d0bc5ee29371157c7e1bbb232021) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1695d0bc5ee29371157c7e1bbb232021);
cache_frame_1695d0bc5ee29371157c7e1bbb232021 = NULL;
}
assertFrameObject(frame_1695d0bc5ee29371157c7e1bbb232021);
// 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_jwtalgo);
var_jwtalgo = 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_jwtalgo);
var_jwtalgo = 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:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_oauthlib$oauth1$rfc5849$signature$$$function__10_sign_rsa_sha1(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_base_string = python_pars[0];
PyObject *par_rsa_private_key = python_pars[1];
PyObject *var_alg = NULL;
PyObject *var_key = NULL;
PyObject *var_s = NULL;
struct Nuitka_FrameObject *frame_80a092e233a192eb05f3a2d3ff65cc31;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_80a092e233a192eb05f3a2d3ff65cc31 = 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_80a092e233a192eb05f3a2d3ff65cc31)) {
Py_XDECREF(cache_frame_80a092e233a192eb05f3a2d3ff65cc31);
#if _DEBUG_REFCOUNTS
if (cache_frame_80a092e233a192eb05f3a2d3ff65cc31 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_80a092e233a192eb05f3a2d3ff65cc31 = MAKE_FUNCTION_FRAME(codeobj_80a092e233a192eb05f3a2d3ff65cc31, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_80a092e233a192eb05f3a2d3ff65cc31->m_type_description == NULL);
frame_80a092e233a192eb05f3a2d3ff65cc31 = cache_frame_80a092e233a192eb05f3a2d3ff65cc31;
// Push the new frame as the currently active one.
pushFrameStack(frame_80a092e233a192eb05f3a2d3ff65cc31);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_80a092e233a192eb05f3a2d3ff65cc31) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_base_string);
tmp_isinstance_inst_1 = par_base_string;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[5]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 580;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 580;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_base_string);
tmp_expression_value_1 = par_base_string;
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 = 581;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_80a092e233a192eb05f3a2d3ff65cc31->m_frame.f_lineno = 581;
tmp_assign_source_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[50]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 581;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_base_string;
assert(old != NULL);
par_base_string = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[70]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[70]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 583;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_80a092e233a192eb05f3a2d3ff65cc31->m_frame.f_lineno = 583;
tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 583;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_alg == NULL);
var_alg = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 584;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_alg);
tmp_args_element_value_1 = var_alg;
CHECK_OBJECT(par_rsa_private_key);
tmp_args_element_value_2 = par_rsa_private_key;
frame_80a092e233a192eb05f3a2d3ff65cc31->m_frame.f_lineno = 584;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 584;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_key == NULL);
var_key = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
CHECK_OBJECT(var_alg);
tmp_called_instance_1 = var_alg;
CHECK_OBJECT(par_base_string);
tmp_args_element_value_3 = par_base_string;
CHECK_OBJECT(var_key);
tmp_args_element_value_4 = var_key;
frame_80a092e233a192eb05f3a2d3ff65cc31->m_frame.f_lineno = 585;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_4 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[72],
call_args
);
}
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 585;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_s == NULL);
var_s = tmp_assign_source_4;
}
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_5;
PyObject *tmp_subscript_value_1;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[55]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[55]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_s);
tmp_args_element_value_5 = var_s;
frame_80a092e233a192eb05f3a2d3ff65cc31->m_frame.f_lineno = 586;
tmp_expression_value_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[56], tmp_args_element_value_5);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[58];
tmp_expression_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_3);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[59]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_80a092e233a192eb05f3a2d3ff65cc31->m_frame.f_lineno = 586;
tmp_return_value = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[50]);
Py_DECREF(tmp_called_value_4);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_80a092e233a192eb05f3a2d3ff65cc31);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_80a092e233a192eb05f3a2d3ff65cc31);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_80a092e233a192eb05f3a2d3ff65cc31);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_80a092e233a192eb05f3a2d3ff65cc31, exception_lineno);
} else if (exception_tb->tb_frame != &frame_80a092e233a192eb05f3a2d3ff65cc31->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_80a092e233a192eb05f3a2d3ff65cc31, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_80a092e233a192eb05f3a2d3ff65cc31,
type_description_1,
par_base_string,
par_rsa_private_key,
var_alg,
var_key,
var_s
);
// Release cached frame if used for exception.
if (frame_80a092e233a192eb05f3a2d3ff65cc31 == cache_frame_80a092e233a192eb05f3a2d3ff65cc31) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_80a092e233a192eb05f3a2d3ff65cc31);
cache_frame_80a092e233a192eb05f3a2d3ff65cc31 = NULL;
}
assertFrameObject(frame_80a092e233a192eb05f3a2d3ff65cc31);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_base_string);
Py_DECREF(par_base_string);
par_base_string = NULL;
CHECK_OBJECT(var_alg);
Py_DECREF(var_alg);
var_alg = NULL;
CHECK_OBJECT(var_key);
Py_DECREF(var_key);
var_key = NULL;
CHECK_OBJECT(var_s);
Py_DECREF(var_s);
var_s = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_base_string);
par_base_string = NULL;
Py_XDECREF(var_alg);
var_alg = NULL;
Py_XDECREF(var_key);
var_key = NULL;
Py_XDECREF(var_s);
var_s = 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_rsa_private_key);
Py_DECREF(par_rsa_private_key);
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_rsa_private_key);
Py_DECREF(par_rsa_private_key);
// 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_oauthlib$oauth1$rfc5849$signature$$$function__11_sign_rsa_sha1_with_client(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_base_string = python_pars[0];
PyObject *par_client = python_pars[1];
struct Nuitka_FrameObject *frame_ef8a6dba5741beffc516a3213fd1964d;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_ef8a6dba5741beffc516a3213fd1964d = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ef8a6dba5741beffc516a3213fd1964d)) {
Py_XDECREF(cache_frame_ef8a6dba5741beffc516a3213fd1964d);
#if _DEBUG_REFCOUNTS
if (cache_frame_ef8a6dba5741beffc516a3213fd1964d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ef8a6dba5741beffc516a3213fd1964d = MAKE_FUNCTION_FRAME(codeobj_ef8a6dba5741beffc516a3213fd1964d, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ef8a6dba5741beffc516a3213fd1964d->m_type_description == NULL);
frame_ef8a6dba5741beffc516a3213fd1964d = cache_frame_ef8a6dba5741beffc516a3213fd1964d;
// Push the new frame as the currently active one.
pushFrameStack(frame_ef8a6dba5741beffc516a3213fd1964d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ef8a6dba5741beffc516a3213fd1964d) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_client);
tmp_expression_value_1 = par_client;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[74]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
type_description_1 = "oo";
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 = 590;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[75];
frame_ef8a6dba5741beffc516a3213fd1964d->m_frame.f_lineno = 591;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 591;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[76]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[76]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 592;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_base_string);
tmp_args_element_value_1 = par_base_string;
CHECK_OBJECT(par_client);
tmp_expression_value_2 = par_client;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[74]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 592;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_ef8a6dba5741beffc516a3213fd1964d->m_frame.f_lineno = 592;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 592;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ef8a6dba5741beffc516a3213fd1964d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ef8a6dba5741beffc516a3213fd1964d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ef8a6dba5741beffc516a3213fd1964d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ef8a6dba5741beffc516a3213fd1964d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ef8a6dba5741beffc516a3213fd1964d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ef8a6dba5741beffc516a3213fd1964d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ef8a6dba5741beffc516a3213fd1964d,
type_description_1,
par_base_string,
par_client
);
// Release cached frame if used for exception.
if (frame_ef8a6dba5741beffc516a3213fd1964d == cache_frame_ef8a6dba5741beffc516a3213fd1964d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ef8a6dba5741beffc516a3213fd1964d);
cache_frame_ef8a6dba5741beffc516a3213fd1964d = NULL;
}
assertFrameObject(frame_ef8a6dba5741beffc516a3213fd1964d);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_base_string);
Py_DECREF(par_base_string);
CHECK_OBJECT(par_client);
Py_DECREF(par_client);
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_base_string);
Py_DECREF(par_base_string);
CHECK_OBJECT(par_client);
Py_DECREF(par_client);
// 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_oauthlib$oauth1$rfc5849$signature$$$function__12_sign_plaintext(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_client_secret = python_pars[0];
PyObject *par_resource_owner_secret = python_pars[1];
PyObject *var_signature = NULL;
struct Nuitka_FrameObject *frame_5b108e8e193741367049dad8d3a723be;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_5b108e8e193741367049dad8d3a723be = 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_5b108e8e193741367049dad8d3a723be)) {
Py_XDECREF(cache_frame_5b108e8e193741367049dad8d3a723be);
#if _DEBUG_REFCOUNTS
if (cache_frame_5b108e8e193741367049dad8d3a723be == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5b108e8e193741367049dad8d3a723be = MAKE_FUNCTION_FRAME(codeobj_5b108e8e193741367049dad8d3a723be, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_5b108e8e193741367049dad8d3a723be->m_type_description == NULL);
frame_5b108e8e193741367049dad8d3a723be = cache_frame_5b108e8e193741367049dad8d3a723be;
// Push the new frame as the currently active one.
pushFrameStack(frame_5b108e8e193741367049dad8d3a723be);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5b108e8e193741367049dad8d3a723be) == 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;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 616;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 616;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_client_secret);
tmp_or_left_value_1 = par_client_secret;
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);
exception_lineno = 616;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_or_right_value_1 = mod_consts[19];
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_5b108e8e193741367049dad8d3a723be->m_frame.f_lineno = 616;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 616;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_signature == NULL);
var_signature = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(var_signature);
tmp_iadd_expr_left_1 = var_signature;
tmp_iadd_expr_right_1 = mod_consts[3];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_UNICODE(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = tmp_iadd_expr_left_1;
var_signature = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iadd_expr_left_2;
PyObject *tmp_iadd_expr_right_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
CHECK_OBJECT(var_signature);
tmp_iadd_expr_left_2 = var_signature;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 625;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[1]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 625;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_resource_owner_secret);
tmp_or_left_value_2 = par_resource_owner_secret;
tmp_or_left_truth_2 = CHECK_IF_TRUE(tmp_or_left_value_2);
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 625;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
tmp_or_right_value_2 = mod_consts[19];
tmp_args_element_value_2 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_args_element_value_2 = tmp_or_left_value_2;
or_end_2:;
frame_5b108e8e193741367049dad8d3a723be->m_frame.f_lineno = 625;
tmp_iadd_expr_right_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_iadd_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 625;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_2, tmp_iadd_expr_right_2);
Py_DECREF(tmp_iadd_expr_right_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 625;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = tmp_iadd_expr_left_2;
var_signature = tmp_assign_source_3;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_5b108e8e193741367049dad8d3a723be);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5b108e8e193741367049dad8d3a723be);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5b108e8e193741367049dad8d3a723be, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5b108e8e193741367049dad8d3a723be->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5b108e8e193741367049dad8d3a723be, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5b108e8e193741367049dad8d3a723be,
type_description_1,
par_client_secret,
par_resource_owner_secret,
var_signature
);
// Release cached frame if used for exception.
if (frame_5b108e8e193741367049dad8d3a723be == cache_frame_5b108e8e193741367049dad8d3a723be) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5b108e8e193741367049dad8d3a723be);
cache_frame_5b108e8e193741367049dad8d3a723be = NULL;
}
assertFrameObject(frame_5b108e8e193741367049dad8d3a723be);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_signature);
tmp_return_value = var_signature;
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_signature);
Py_DECREF(var_signature);
var_signature = 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_signature);
var_signature = 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_client_secret);
Py_DECREF(par_client_secret);
CHECK_OBJECT(par_resource_owner_secret);
Py_DECREF(par_resource_owner_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_client_secret);
Py_DECREF(par_client_secret);
CHECK_OBJECT(par_resource_owner_secret);
Py_DECREF(par_resource_owner_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_oauthlib$oauth1$rfc5849$signature$$$function__13_sign_plaintext_with_client(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_base_string = python_pars[0];
PyObject *par_client = python_pars[1];
struct Nuitka_FrameObject *frame_3f67df68014980f4f8c3d72f2362656f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_3f67df68014980f4f8c3d72f2362656f = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_3f67df68014980f4f8c3d72f2362656f)) {
Py_XDECREF(cache_frame_3f67df68014980f4f8c3d72f2362656f);
#if _DEBUG_REFCOUNTS
if (cache_frame_3f67df68014980f4f8c3d72f2362656f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3f67df68014980f4f8c3d72f2362656f = MAKE_FUNCTION_FRAME(codeobj_3f67df68014980f4f8c3d72f2362656f, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3f67df68014980f4f8c3d72f2362656f->m_type_description == NULL);
frame_3f67df68014980f4f8c3d72f2362656f = cache_frame_3f67df68014980f4f8c3d72f2362656f;
// Push the new frame as the currently active one.
pushFrameStack(frame_3f67df68014980f4f8c3d72f2362656f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3f67df68014980f4f8c3d72f2362656f) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[78]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[78]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_client);
tmp_expression_value_1 = par_client;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[47]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_client);
tmp_expression_value_2 = par_client;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[48]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 631;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_3f67df68014980f4f8c3d72f2362656f->m_frame.f_lineno = 631;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3f67df68014980f4f8c3d72f2362656f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3f67df68014980f4f8c3d72f2362656f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3f67df68014980f4f8c3d72f2362656f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3f67df68014980f4f8c3d72f2362656f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3f67df68014980f4f8c3d72f2362656f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3f67df68014980f4f8c3d72f2362656f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3f67df68014980f4f8c3d72f2362656f,
type_description_1,
par_base_string,
par_client
);
// Release cached frame if used for exception.
if (frame_3f67df68014980f4f8c3d72f2362656f == cache_frame_3f67df68014980f4f8c3d72f2362656f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3f67df68014980f4f8c3d72f2362656f);
cache_frame_3f67df68014980f4f8c3d72f2362656f = NULL;
}
assertFrameObject(frame_3f67df68014980f4f8c3d72f2362656f);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_base_string);
Py_DECREF(par_base_string);
CHECK_OBJECT(par_client);
Py_DECREF(par_client);
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_base_string);
Py_DECREF(par_base_string);
CHECK_OBJECT(par_client);
Py_DECREF(par_client);
// 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_oauthlib$oauth1$rfc5849$signature$$$function__14_verify_hmac_sha1(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_request = python_pars[0];
PyObject *par_client_secret = python_pars[1];
PyObject *par_resource_owner_secret = python_pars[2];
PyObject *var_norm_params = NULL;
PyObject *var_bs_uri = NULL;
PyObject *var_sig_base_str = NULL;
PyObject *var_signature = NULL;
PyObject *var_match = NULL;
struct Nuitka_FrameObject *frame_fc76cbe84c8d1ae87654bb85d50520e7;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_fc76cbe84c8d1ae87654bb85d50520e7 = 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_fc76cbe84c8d1ae87654bb85d50520e7)) {
Py_XDECREF(cache_frame_fc76cbe84c8d1ae87654bb85d50520e7);
#if _DEBUG_REFCOUNTS
if (cache_frame_fc76cbe84c8d1ae87654bb85d50520e7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_fc76cbe84c8d1ae87654bb85d50520e7 = MAKE_FUNCTION_FRAME(codeobj_fc76cbe84c8d1ae87654bb85d50520e7, module_oauthlib$oauth1$rfc5849$signature, 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_fc76cbe84c8d1ae87654bb85d50520e7->m_type_description == NULL);
frame_fc76cbe84c8d1ae87654bb85d50520e7 = cache_frame_fc76cbe84c8d1ae87654bb85d50520e7;
// Push the new frame as the currently active one.
pushFrameStack(frame_fc76cbe84c8d1ae87654bb85d50520e7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_fc76cbe84c8d1ae87654bb85d50520e7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 651;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_1 = par_request;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[27]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 651;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_fc76cbe84c8d1ae87654bb85d50520e7->m_frame.f_lineno = 651;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_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 = 651;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_norm_params == NULL);
var_norm_params = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[80]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[80]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 652;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_2 = par_request;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[81]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 652;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_fc76cbe84c8d1ae87654bb85d50520e7->m_frame.f_lineno = 652;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 652;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_bs_uri == NULL);
var_bs_uri = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[82]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[82]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 653;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_3 = par_request;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[83]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 653;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_bs_uri);
tmp_args_element_value_4 = var_bs_uri;
CHECK_OBJECT(var_norm_params);
tmp_args_element_value_5 = var_norm_params;
frame_fc76cbe84c8d1ae87654bb85d50520e7->m_frame.f_lineno = 653;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_args_element_value_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 653;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_sig_base_str == NULL);
var_sig_base_str = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 655;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_sig_base_str);
tmp_args_element_value_6 = var_sig_base_str;
CHECK_OBJECT(par_client_secret);
tmp_args_element_value_7 = par_client_secret;
CHECK_OBJECT(par_resource_owner_secret);
tmp_args_element_value_8 = par_resource_owner_secret;
frame_fc76cbe84c8d1ae87654bb85d50520e7->m_frame.f_lineno = 655;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8};
tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_4, call_args);
}
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 655;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_signature == NULL);
var_signature = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
PyObject *tmp_expression_value_4;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 657;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_signature);
tmp_args_element_value_9 = var_signature;
CHECK_OBJECT(par_request);
tmp_expression_value_4 = par_request;
tmp_args_element_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[85]);
if (tmp_args_element_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 657;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_fc76cbe84c8d1ae87654bb85d50520e7->m_frame.f_lineno = 657;
{
PyObject *call_args[] = {tmp_args_element_value_9, tmp_args_element_value_10};
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_args_element_value_10);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 657;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_match == NULL);
var_match = tmp_assign_source_5;
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(var_match);
tmp_operand_value_1 = var_match;
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 = 658;
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_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_11;
PyObject *tmp_args_element_value_12;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[86]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[86]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 659;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_11 = mod_consts[88];
CHECK_OBJECT(var_sig_base_str);
tmp_args_element_value_12 = var_sig_base_str;
frame_fc76cbe84c8d1ae87654bb85d50520e7->m_frame.f_lineno = 659;
{
PyObject *call_args[] = {tmp_args_element_value_11, tmp_args_element_value_12};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[87],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 659;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fc76cbe84c8d1ae87654bb85d50520e7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fc76cbe84c8d1ae87654bb85d50520e7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_fc76cbe84c8d1ae87654bb85d50520e7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_fc76cbe84c8d1ae87654bb85d50520e7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_fc76cbe84c8d1ae87654bb85d50520e7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_fc76cbe84c8d1ae87654bb85d50520e7,
type_description_1,
par_request,
par_client_secret,
par_resource_owner_secret,
var_norm_params,
var_bs_uri,
var_sig_base_str,
var_signature,
var_match
);
// Release cached frame if used for exception.
if (frame_fc76cbe84c8d1ae87654bb85d50520e7 == cache_frame_fc76cbe84c8d1ae87654bb85d50520e7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_fc76cbe84c8d1ae87654bb85d50520e7);
cache_frame_fc76cbe84c8d1ae87654bb85d50520e7 = NULL;
}
assertFrameObject(frame_fc76cbe84c8d1ae87654bb85d50520e7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_match);
tmp_return_value = var_match;
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_norm_params);
Py_DECREF(var_norm_params);
var_norm_params = NULL;
CHECK_OBJECT(var_bs_uri);
Py_DECREF(var_bs_uri);
var_bs_uri = NULL;
CHECK_OBJECT(var_sig_base_str);
Py_DECREF(var_sig_base_str);
var_sig_base_str = NULL;
CHECK_OBJECT(var_signature);
Py_DECREF(var_signature);
var_signature = NULL;
CHECK_OBJECT(var_match);
Py_DECREF(var_match);
var_match = 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_norm_params);
var_norm_params = NULL;
Py_XDECREF(var_bs_uri);
var_bs_uri = NULL;
Py_XDECREF(var_sig_base_str);
var_sig_base_str = NULL;
Py_XDECREF(var_signature);
var_signature = NULL;
Py_XDECREF(var_match);
var_match = 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_request);
Py_DECREF(par_request);
CHECK_OBJECT(par_client_secret);
Py_DECREF(par_client_secret);
CHECK_OBJECT(par_resource_owner_secret);
Py_DECREF(par_resource_owner_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_request);
Py_DECREF(par_request);
CHECK_OBJECT(par_client_secret);
Py_DECREF(par_client_secret);
CHECK_OBJECT(par_resource_owner_secret);
Py_DECREF(par_resource_owner_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_oauthlib$oauth1$rfc5849$signature$$$function__15_verify_hmac_sha256(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_request = python_pars[0];
PyObject *par_client_secret = python_pars[1];
PyObject *par_resource_owner_secret = python_pars[2];
PyObject *var_norm_params = NULL;
PyObject *var_bs_uri = NULL;
PyObject *var_sig_base_str = NULL;
PyObject *var_signature = NULL;
PyObject *var_match = NULL;
struct Nuitka_FrameObject *frame_06caf0e7888a22290667d61cd65b9993;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_06caf0e7888a22290667d61cd65b9993 = 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_06caf0e7888a22290667d61cd65b9993)) {
Py_XDECREF(cache_frame_06caf0e7888a22290667d61cd65b9993);
#if _DEBUG_REFCOUNTS
if (cache_frame_06caf0e7888a22290667d61cd65b9993 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_06caf0e7888a22290667d61cd65b9993 = MAKE_FUNCTION_FRAME(codeobj_06caf0e7888a22290667d61cd65b9993, module_oauthlib$oauth1$rfc5849$signature, 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_06caf0e7888a22290667d61cd65b9993->m_type_description == NULL);
frame_06caf0e7888a22290667d61cd65b9993 = cache_frame_06caf0e7888a22290667d61cd65b9993;
// Push the new frame as the currently active one.
pushFrameStack(frame_06caf0e7888a22290667d61cd65b9993);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_06caf0e7888a22290667d61cd65b9993) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 681;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_1 = par_request;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[27]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 681;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_06caf0e7888a22290667d61cd65b9993->m_frame.f_lineno = 681;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_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 = 681;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_norm_params == NULL);
var_norm_params = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[80]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[80]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_2 = par_request;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[81]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_06caf0e7888a22290667d61cd65b9993->m_frame.f_lineno = 682;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_bs_uri == NULL);
var_bs_uri = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[82]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[82]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 683;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_3 = par_request;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[83]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 683;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_bs_uri);
tmp_args_element_value_4 = var_bs_uri;
CHECK_OBJECT(var_norm_params);
tmp_args_element_value_5 = var_norm_params;
frame_06caf0e7888a22290667d61cd65b9993->m_frame.f_lineno = 683;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_args_element_value_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 683;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_sig_base_str == NULL);
var_sig_base_str = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[61]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[61]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 685;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_sig_base_str);
tmp_args_element_value_6 = var_sig_base_str;
CHECK_OBJECT(par_client_secret);
tmp_args_element_value_7 = par_client_secret;
CHECK_OBJECT(par_resource_owner_secret);
tmp_args_element_value_8 = par_resource_owner_secret;
frame_06caf0e7888a22290667d61cd65b9993->m_frame.f_lineno = 685;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8};
tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_4, call_args);
}
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 685;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_signature == NULL);
var_signature = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
PyObject *tmp_expression_value_4;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 687;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_signature);
tmp_args_element_value_9 = var_signature;
CHECK_OBJECT(par_request);
tmp_expression_value_4 = par_request;
tmp_args_element_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[85]);
if (tmp_args_element_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 687;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_06caf0e7888a22290667d61cd65b9993->m_frame.f_lineno = 687;
{
PyObject *call_args[] = {tmp_args_element_value_9, tmp_args_element_value_10};
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_args_element_value_10);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 687;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert(var_match == NULL);
var_match = tmp_assign_source_5;
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(var_match);
tmp_operand_value_1 = var_match;
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 = 688;
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_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_11;
PyObject *tmp_args_element_value_12;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[86]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[86]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 689;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_11 = mod_consts[90];
CHECK_OBJECT(var_sig_base_str);
tmp_args_element_value_12 = var_sig_base_str;
frame_06caf0e7888a22290667d61cd65b9993->m_frame.f_lineno = 689;
{
PyObject *call_args[] = {tmp_args_element_value_11, tmp_args_element_value_12};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[87],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 689;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_06caf0e7888a22290667d61cd65b9993);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_06caf0e7888a22290667d61cd65b9993);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_06caf0e7888a22290667d61cd65b9993, exception_lineno);
} else if (exception_tb->tb_frame != &frame_06caf0e7888a22290667d61cd65b9993->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_06caf0e7888a22290667d61cd65b9993, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_06caf0e7888a22290667d61cd65b9993,
type_description_1,
par_request,
par_client_secret,
par_resource_owner_secret,
var_norm_params,
var_bs_uri,
var_sig_base_str,
var_signature,
var_match
);
// Release cached frame if used for exception.
if (frame_06caf0e7888a22290667d61cd65b9993 == cache_frame_06caf0e7888a22290667d61cd65b9993) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_06caf0e7888a22290667d61cd65b9993);
cache_frame_06caf0e7888a22290667d61cd65b9993 = NULL;
}
assertFrameObject(frame_06caf0e7888a22290667d61cd65b9993);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_match);
tmp_return_value = var_match;
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_norm_params);
Py_DECREF(var_norm_params);
var_norm_params = NULL;
CHECK_OBJECT(var_bs_uri);
Py_DECREF(var_bs_uri);
var_bs_uri = NULL;
CHECK_OBJECT(var_sig_base_str);
Py_DECREF(var_sig_base_str);
var_sig_base_str = NULL;
CHECK_OBJECT(var_signature);
Py_DECREF(var_signature);
var_signature = NULL;
CHECK_OBJECT(var_match);
Py_DECREF(var_match);
var_match = 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_norm_params);
var_norm_params = NULL;
Py_XDECREF(var_bs_uri);
var_bs_uri = NULL;
Py_XDECREF(var_sig_base_str);
var_sig_base_str = NULL;
Py_XDECREF(var_signature);
var_signature = NULL;
Py_XDECREF(var_match);
var_match = 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_request);
Py_DECREF(par_request);
CHECK_OBJECT(par_client_secret);
Py_DECREF(par_client_secret);
CHECK_OBJECT(par_resource_owner_secret);
Py_DECREF(par_resource_owner_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_request);
Py_DECREF(par_request);
CHECK_OBJECT(par_client_secret);
Py_DECREF(par_client_secret);
CHECK_OBJECT(par_resource_owner_secret);
Py_DECREF(par_resource_owner_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_oauthlib$oauth1$rfc5849$signature$$$function__16__prepare_key_plus(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_alg = python_pars[0];
PyObject *par_keystr = python_pars[1];
struct Nuitka_FrameObject *frame_658345fdc1b42fdf558290caad8ca245;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_658345fdc1b42fdf558290caad8ca245 = 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_658345fdc1b42fdf558290caad8ca245)) {
Py_XDECREF(cache_frame_658345fdc1b42fdf558290caad8ca245);
#if _DEBUG_REFCOUNTS
if (cache_frame_658345fdc1b42fdf558290caad8ca245 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_658345fdc1b42fdf558290caad8ca245 = MAKE_FUNCTION_FRAME(codeobj_658345fdc1b42fdf558290caad8ca245, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_658345fdc1b42fdf558290caad8ca245->m_type_description == NULL);
frame_658345fdc1b42fdf558290caad8ca245 = cache_frame_658345fdc1b42fdf558290caad8ca245;
// Push the new frame as the currently active one.
pushFrameStack(frame_658345fdc1b42fdf558290caad8ca245);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_658345fdc1b42fdf558290caad8ca245) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_keystr);
tmp_isinstance_inst_1 = par_keystr;
tmp_isinstance_cls_1 = (PyObject *)&PyBytes_Type;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 695;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_keystr);
tmp_expression_value_1 = par_keystr;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[59]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_658345fdc1b42fdf558290caad8ca245->m_frame.f_lineno = 696;
tmp_assign_source_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[50]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_keystr;
assert(old != NULL);
par_keystr = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_alg);
tmp_called_instance_1 = par_alg;
CHECK_OBJECT(par_keystr);
tmp_args_element_value_1 = par_keystr;
frame_658345fdc1b42fdf558290caad8ca245->m_frame.f_lineno = 697;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[92], tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 697;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_658345fdc1b42fdf558290caad8ca245);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_658345fdc1b42fdf558290caad8ca245);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_658345fdc1b42fdf558290caad8ca245);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_658345fdc1b42fdf558290caad8ca245, exception_lineno);
} else if (exception_tb->tb_frame != &frame_658345fdc1b42fdf558290caad8ca245->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_658345fdc1b42fdf558290caad8ca245, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_658345fdc1b42fdf558290caad8ca245,
type_description_1,
par_alg,
par_keystr
);
// Release cached frame if used for exception.
if (frame_658345fdc1b42fdf558290caad8ca245 == cache_frame_658345fdc1b42fdf558290caad8ca245) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_658345fdc1b42fdf558290caad8ca245);
cache_frame_658345fdc1b42fdf558290caad8ca245 = NULL;
}
assertFrameObject(frame_658345fdc1b42fdf558290caad8ca245);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_keystr);
Py_DECREF(par_keystr);
par_keystr = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_keystr);
par_keystr = 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_alg);
Py_DECREF(par_alg);
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_alg);
Py_DECREF(par_alg);
// 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_oauthlib$oauth1$rfc5849$signature$$$function__17_verify_rsa_sha1(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_request = python_pars[0];
PyObject *par_rsa_public_key = python_pars[1];
PyObject *var_norm_params = NULL;
PyObject *var_bs_uri = NULL;
PyObject *var_sig_base_str = NULL;
PyObject *var_sig = NULL;
PyObject *var_alg = NULL;
PyObject *var_key = NULL;
PyObject *var_verify_ok = NULL;
struct Nuitka_FrameObject *frame_334b4265d540178a0d993269933ec087;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_334b4265d540178a0d993269933ec087 = 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_334b4265d540178a0d993269933ec087)) {
Py_XDECREF(cache_frame_334b4265d540178a0d993269933ec087);
#if _DEBUG_REFCOUNTS
if (cache_frame_334b4265d540178a0d993269933ec087 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_334b4265d540178a0d993269933ec087 = MAKE_FUNCTION_FRAME(codeobj_334b4265d540178a0d993269933ec087, module_oauthlib$oauth1$rfc5849$signature, 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_334b4265d540178a0d993269933ec087->m_type_description == NULL);
frame_334b4265d540178a0d993269933ec087 = cache_frame_334b4265d540178a0d993269933ec087;
// Push the new frame as the currently active one.
pushFrameStack(frame_334b4265d540178a0d993269933ec087);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_334b4265d540178a0d993269933ec087) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 716;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_1 = par_request;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[27]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 716;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_334b4265d540178a0d993269933ec087->m_frame.f_lineno = 716;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_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 = 716;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(var_norm_params == NULL);
var_norm_params = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[80]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[80]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_2 = par_request;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[81]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_334b4265d540178a0d993269933ec087->m_frame.f_lineno = 717;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(var_bs_uri == NULL);
var_bs_uri = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[82]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[82]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 718;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_4 = par_request;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[83]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 718;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_bs_uri);
tmp_args_element_value_4 = var_bs_uri;
CHECK_OBJECT(var_norm_params);
tmp_args_element_value_5 = var_norm_params;
frame_334b4265d540178a0d993269933ec087->m_frame.f_lineno = 718;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_expression_value_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_args_element_value_3);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 718;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[49]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 718;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_334b4265d540178a0d993269933ec087->m_frame.f_lineno = 718;
tmp_assign_source_3 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[50]);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 718;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(var_sig_base_str == NULL);
var_sig_base_str = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[55]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[55]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 720;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[93]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 720;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_7 = par_request;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[85]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 720;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[49]);
Py_DECREF(tmp_expression_value_6);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 720;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_334b4265d540178a0d993269933ec087->m_frame.f_lineno = 720;
tmp_args_element_value_6 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_6, mod_consts[50]);
Py_DECREF(tmp_called_value_6);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 720;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_334b4265d540178a0d993269933ec087->m_frame.f_lineno = 720;
tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_6);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_6);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 720;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(var_sig == NULL);
var_sig = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_7;
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[70]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[70]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 722;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
frame_334b4265d540178a0d993269933ec087->m_frame.f_lineno = 722;
tmp_assign_source_5 = CALL_FUNCTION_NO_ARGS(tmp_called_value_7);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 722;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(var_alg == NULL);
var_alg = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_8;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
tmp_called_value_8 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_called_value_8 == NULL)) {
tmp_called_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_alg);
tmp_args_element_value_7 = var_alg;
CHECK_OBJECT(par_rsa_public_key);
tmp_args_element_value_8 = par_rsa_public_key;
frame_334b4265d540178a0d993269933ec087->m_frame.f_lineno = 723;
{
PyObject *call_args[] = {tmp_args_element_value_7, tmp_args_element_value_8};
tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_8, call_args);
}
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 723;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(var_key == NULL);
var_key = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
PyObject *tmp_args_element_value_11;
CHECK_OBJECT(var_alg);
tmp_called_instance_1 = var_alg;
CHECK_OBJECT(var_sig_base_str);
tmp_args_element_value_9 = var_sig_base_str;
CHECK_OBJECT(var_key);
tmp_args_element_value_10 = var_key;
CHECK_OBJECT(var_sig);
tmp_args_element_value_11 = var_sig;
frame_334b4265d540178a0d993269933ec087->m_frame.f_lineno = 725;
{
PyObject *call_args[] = {tmp_args_element_value_9, tmp_args_element_value_10, tmp_args_element_value_11};
tmp_assign_source_7 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_1,
mod_consts[94],
call_args
);
}
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 725;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
assert(var_verify_ok == NULL);
var_verify_ok = tmp_assign_source_7;
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(var_verify_ok);
tmp_operand_value_1 = var_verify_ok;
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 = 726;
type_description_1 = "ooooooooo";
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_called_instance_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_12;
PyObject *tmp_args_element_value_13;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[86]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[86]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 727;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_12 = mod_consts[95];
CHECK_OBJECT(var_sig_base_str);
tmp_args_element_value_13 = var_sig_base_str;
frame_334b4265d540178a0d993269933ec087->m_frame.f_lineno = 727;
{
PyObject *call_args[] = {tmp_args_element_value_12, tmp_args_element_value_13};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_2,
mod_consts[87],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 727;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_334b4265d540178a0d993269933ec087);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_334b4265d540178a0d993269933ec087);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_334b4265d540178a0d993269933ec087, exception_lineno);
} else if (exception_tb->tb_frame != &frame_334b4265d540178a0d993269933ec087->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_334b4265d540178a0d993269933ec087, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_334b4265d540178a0d993269933ec087,
type_description_1,
par_request,
par_rsa_public_key,
var_norm_params,
var_bs_uri,
var_sig_base_str,
var_sig,
var_alg,
var_key,
var_verify_ok
);
// Release cached frame if used for exception.
if (frame_334b4265d540178a0d993269933ec087 == cache_frame_334b4265d540178a0d993269933ec087) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_334b4265d540178a0d993269933ec087);
cache_frame_334b4265d540178a0d993269933ec087 = NULL;
}
assertFrameObject(frame_334b4265d540178a0d993269933ec087);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_verify_ok);
tmp_return_value = var_verify_ok;
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_norm_params);
Py_DECREF(var_norm_params);
var_norm_params = NULL;
CHECK_OBJECT(var_bs_uri);
Py_DECREF(var_bs_uri);
var_bs_uri = NULL;
CHECK_OBJECT(var_sig_base_str);
Py_DECREF(var_sig_base_str);
var_sig_base_str = NULL;
CHECK_OBJECT(var_sig);
Py_DECREF(var_sig);
var_sig = NULL;
CHECK_OBJECT(var_alg);
Py_DECREF(var_alg);
var_alg = NULL;
CHECK_OBJECT(var_key);
Py_DECREF(var_key);
var_key = NULL;
CHECK_OBJECT(var_verify_ok);
Py_DECREF(var_verify_ok);
var_verify_ok = 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_norm_params);
var_norm_params = NULL;
Py_XDECREF(var_bs_uri);
var_bs_uri = NULL;
Py_XDECREF(var_sig_base_str);
var_sig_base_str = NULL;
Py_XDECREF(var_sig);
var_sig = NULL;
Py_XDECREF(var_alg);
var_alg = NULL;
Py_XDECREF(var_key);
var_key = NULL;
Py_XDECREF(var_verify_ok);
var_verify_ok = 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_request);
Py_DECREF(par_request);
CHECK_OBJECT(par_rsa_public_key);
Py_DECREF(par_rsa_public_key);
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_request);
Py_DECREF(par_request);
CHECK_OBJECT(par_rsa_public_key);
Py_DECREF(par_rsa_public_key);
// 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_oauthlib$oauth1$rfc5849$signature$$$function__18_verify_plaintext(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_request = python_pars[0];
PyObject *par_client_secret = python_pars[1];
PyObject *par_resource_owner_secret = python_pars[2];
PyObject *var_signature = NULL;
PyObject *var_match = NULL;
struct Nuitka_FrameObject *frame_c22d0eace34ee4f8efd1ac59ab5ed1a5;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_c22d0eace34ee4f8efd1ac59ab5ed1a5 = 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_c22d0eace34ee4f8efd1ac59ab5ed1a5)) {
Py_XDECREF(cache_frame_c22d0eace34ee4f8efd1ac59ab5ed1a5);
#if _DEBUG_REFCOUNTS
if (cache_frame_c22d0eace34ee4f8efd1ac59ab5ed1a5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c22d0eace34ee4f8efd1ac59ab5ed1a5 = MAKE_FUNCTION_FRAME(codeobj_c22d0eace34ee4f8efd1ac59ab5ed1a5, module_oauthlib$oauth1$rfc5849$signature, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c22d0eace34ee4f8efd1ac59ab5ed1a5->m_type_description == NULL);
frame_c22d0eace34ee4f8efd1ac59ab5ed1a5 = cache_frame_c22d0eace34ee4f8efd1ac59ab5ed1a5;
// Push the new frame as the currently active one.
pushFrameStack(frame_c22d0eace34ee4f8efd1ac59ab5ed1a5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c22d0eace34ee4f8efd1ac59ab5ed1a5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[78]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[78]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 739;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_client_secret);
tmp_args_element_value_1 = par_client_secret;
CHECK_OBJECT(par_resource_owner_secret);
tmp_args_element_value_2 = par_resource_owner_secret;
frame_c22d0eace34ee4f8efd1ac59ab5ed1a5->m_frame.f_lineno = 739;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 739;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_signature == NULL);
var_signature = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 740;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_signature);
tmp_args_element_value_3 = var_signature;
CHECK_OBJECT(par_request);
tmp_expression_value_1 = par_request;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[85]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 740;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_c22d0eace34ee4f8efd1ac59ab5ed1a5->m_frame.f_lineno = 740;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_args_element_value_4);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 740;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_match == NULL);
var_match = tmp_assign_source_2;
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(var_match);
tmp_operand_value_1 = var_match;
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 = 741;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[86]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[86]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 742;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_c22d0eace34ee4f8efd1ac59ab5ed1a5->m_frame.f_lineno = 742;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[87],
PyTuple_GET_ITEM(mod_consts[97], 0)
);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 742;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c22d0eace34ee4f8efd1ac59ab5ed1a5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c22d0eace34ee4f8efd1ac59ab5ed1a5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c22d0eace34ee4f8efd1ac59ab5ed1a5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c22d0eace34ee4f8efd1ac59ab5ed1a5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c22d0eace34ee4f8efd1ac59ab5ed1a5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c22d0eace34ee4f8efd1ac59ab5ed1a5,
type_description_1,
par_request,
par_client_secret,
par_resource_owner_secret,
var_signature,
var_match
);
// Release cached frame if used for exception.
if (frame_c22d0eace34ee4f8efd1ac59ab5ed1a5 == cache_frame_c22d0eace34ee4f8efd1ac59ab5ed1a5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c22d0eace34ee4f8efd1ac59ab5ed1a5);
cache_frame_c22d0eace34ee4f8efd1ac59ab5ed1a5 = NULL;
}
assertFrameObject(frame_c22d0eace34ee4f8efd1ac59ab5ed1a5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_match);
tmp_return_value = var_match;
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_signature);
Py_DECREF(var_signature);
var_signature = NULL;
CHECK_OBJECT(var_match);
Py_DECREF(var_match);
var_match = 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_signature);
var_signature = NULL;
Py_XDECREF(var_match);
var_match = 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_request);
Py_DECREF(par_request);
CHECK_OBJECT(par_client_secret);
Py_DECREF(par_client_secret);
CHECK_OBJECT(par_resource_owner_secret);
Py_DECREF(par_resource_owner_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_request);
Py_DECREF(par_request);
CHECK_OBJECT(par_client_secret);
Py_DECREF(par_client_secret);
CHECK_OBJECT(par_resource_owner_secret);
Py_DECREF(par_resource_owner_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 *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__10_sign_rsa_sha1() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__10_sign_rsa_sha1,
mod_consts[76],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_80a092e233a192eb05f3a2d3ff65cc31,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[73],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__11_sign_rsa_sha1_with_client() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__11_sign_rsa_sha1_with_client,
mod_consts[122],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_ef8a6dba5741beffc516a3213fd1964d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__12_sign_plaintext() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__12_sign_plaintext,
mod_consts[78],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_5b108e8e193741367049dad8d3a723be,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[77],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__13_sign_plaintext_with_client() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__13_sign_plaintext_with_client,
mod_consts[123],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_3f67df68014980f4f8c3d72f2362656f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__14_verify_hmac_sha1(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__14_verify_hmac_sha1,
mod_consts[125],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_fc76cbe84c8d1ae87654bb85d50520e7,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[89],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__15_verify_hmac_sha256(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__15_verify_hmac_sha256,
mod_consts[126],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_06caf0e7888a22290667d61cd65b9993,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[91],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__16__prepare_key_plus() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__16__prepare_key_plus,
mod_consts[71],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_658345fdc1b42fdf558290caad8ca245,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__17_verify_rsa_sha1() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__17_verify_rsa_sha1,
mod_consts[127],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_334b4265d540178a0d993269933ec087,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[96],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__18_verify_plaintext(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__18_verify_plaintext,
mod_consts[128],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_c22d0eace34ee4f8efd1ac59ab5ed1a5,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[98],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__1_signature_base_string() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__1_signature_base_string,
mod_consts[82],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_ff46353cf966533d1cc8b376fc3b3253,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[4],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__2_base_string_uri(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__2_base_string_uri,
mod_consts[80],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_0bfa25f6597ab055f2b5c80e4227a01d,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[22],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters,
mod_consts[119],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_b1263ee391366ea4da1e2af12b3ec2f4,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[39],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$function__1_lambda() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$function__1_lambda,
mod_consts[37],
#if PYTHON_VERSION >= 0x300
mod_consts[38],
#endif
codeobj_ae2bc4984d289c1be7ccdb96868aaa03,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__4_normalize_parameters() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__4_normalize_parameters,
mod_consts[79],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_11a8f4edc1dcc479cd707eaa4a7ccea9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[45],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__5_sign_hmac_sha1_with_client() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__5_sign_hmac_sha1_with_client,
mod_consts[120],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_ba7b47cd968a18d5f2772171c001fa06,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__6_sign_hmac_sha1() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__6_sign_hmac_sha1,
mod_consts[46],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_94b9302aac87833ec1ba4920ed88fd78,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[60],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__7_sign_hmac_sha256_with_client() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__7_sign_hmac_sha256_with_client,
mod_consts[121],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_f7127a4be89081cf757578d283f05a25,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__8_sign_hmac_sha256() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__8_sign_hmac_sha256,
mod_consts[61],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_5bfe8e9792ad9beaf50512a4aa6e4e4d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
mod_consts[63],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__9__jwt_rs1_signing_algorithm() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$oauth1$rfc5849$signature$$$function__9__jwt_rs1_signing_algorithm,
mod_consts[70],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_1695d0bc5ee29371157c7e1bbb232021,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$oauth1$rfc5849$signature,
NULL,
NULL,
0
);
return (PyObject *)result;
}
extern void _initCompiledCellType();
extern void _initCompiledGeneratorType();
extern void _initCompiledFunctionType();
extern void _initCompiledMethodType();
extern void _initCompiledFrameType();
extern PyTypeObject Nuitka_Loader_Type;
#ifdef _NUITKA_PLUGIN_DILL_ENABLED
// Provide a way to create find a function via its C code and create it back
// in another process, useful for multiprocessing extensions like dill
extern void registerDillPluginTables(char const *module_name, PyMethodDef *reduce_compiled_function, PyMethodDef *create_compiled_function);
function_impl_code functable_oauthlib$oauth1$rfc5849$signature[] = {
impl_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters$$$function__1_lambda,
impl_oauthlib$oauth1$rfc5849$signature$$$function__1_signature_base_string,
impl_oauthlib$oauth1$rfc5849$signature$$$function__2_base_string_uri,
impl_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters,
impl_oauthlib$oauth1$rfc5849$signature$$$function__4_normalize_parameters,
impl_oauthlib$oauth1$rfc5849$signature$$$function__5_sign_hmac_sha1_with_client,
impl_oauthlib$oauth1$rfc5849$signature$$$function__6_sign_hmac_sha1,
impl_oauthlib$oauth1$rfc5849$signature$$$function__7_sign_hmac_sha256_with_client,
impl_oauthlib$oauth1$rfc5849$signature$$$function__8_sign_hmac_sha256,
impl_oauthlib$oauth1$rfc5849$signature$$$function__9__jwt_rs1_signing_algorithm,
impl_oauthlib$oauth1$rfc5849$signature$$$function__10_sign_rsa_sha1,
impl_oauthlib$oauth1$rfc5849$signature$$$function__11_sign_rsa_sha1_with_client,
impl_oauthlib$oauth1$rfc5849$signature$$$function__12_sign_plaintext,
impl_oauthlib$oauth1$rfc5849$signature$$$function__13_sign_plaintext_with_client,
impl_oauthlib$oauth1$rfc5849$signature$$$function__14_verify_hmac_sha1,
impl_oauthlib$oauth1$rfc5849$signature$$$function__15_verify_hmac_sha256,
impl_oauthlib$oauth1$rfc5849$signature$$$function__16__prepare_key_plus,
impl_oauthlib$oauth1$rfc5849$signature$$$function__17_verify_rsa_sha1,
impl_oauthlib$oauth1$rfc5849$signature$$$function__18_verify_plaintext,
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_oauthlib$oauth1$rfc5849$signature;
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_oauthlib$oauth1$rfc5849$signature) || 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_oauthlib$oauth1$rfc5849$signature[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_oauthlib$oauth1$rfc5849$signature,
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_oauthlib$oauth1$rfc5849$signature(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("oauthlib.oauth1.rfc5849.signature");
// Store the module for future use.
module_oauthlib$oauth1$rfc5849$signature = 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("oauthlib.oauth1.rfc5849.signature: 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("oauthlib.oauth1.rfc5849.signature: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("oauthlib.oauth1.rfc5849.signature: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in initoauthlib$oauth1$rfc5849$signature\n");
moduledict_oauthlib$oauth1$rfc5849$signature = MODULE_DICT(module_oauthlib$oauth1$rfc5849$signature);
#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_oauthlib$oauth1$rfc5849$signature,
(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_oauthlib$oauth1$rfc5849$signature,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[19]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_oauthlib$oauth1$rfc5849$signature,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (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_oauthlib$oauth1$rfc5849$signature,
(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_oauthlib$oauth1$rfc5849$signature, (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_oauthlib$oauth1$rfc5849$signature,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_oauthlib$oauth1$rfc5849$signature);
// 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_oauthlib$oauth1$rfc5849$signature, (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_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_oauthlib$oauth1$rfc5849$signature, (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_oauthlib$oauth1$rfc5849$signature, (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_oauthlib$oauth1$rfc5849$signature);
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_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *tmp_import_from_1__module = NULL;
PyObject *tmp_import_from_2__module = NULL;
struct Nuitka_FrameObject *frame_fd4b98c2a31dd17992eecd88d0ef7625;
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;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[99];
UPDATE_STRING_DICT0(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[100], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[101];
UPDATE_STRING_DICT0(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[102], tmp_assign_source_2);
}
// Frame without reuse.
frame_fd4b98c2a31dd17992eecd88d0ef7625 = MAKE_MODULE_FRAME(codeobj_fd4b98c2a31dd17992eecd88d0ef7625, module_oauthlib$oauth1$rfc5849$signature);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_fd4b98c2a31dd17992eecd88d0ef7625);
assert(Py_REFCNT(frame_fd4b98c2a31dd17992eecd88d0ef7625) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[101];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[104], 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_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[105], 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_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[106], tmp_assign_source_3);
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = IMPORT_HARD___FUTURE__();
assert(!(tmp_assign_source_4 == NULL));
assert(tmp_import_from_1__module == NULL);
Py_INCREF(tmp_assign_source_4);
tmp_import_from_1__module = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
{
PyObject *hard_module = IMPORT_HARD___FUTURE__();
tmp_assign_source_5 = LOOKUP_ATTRIBUTE(hard_module, mod_consts[107]);
}
assert(!(tmp_assign_source_5 == NULL));
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[107], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
{
PyObject *hard_module = IMPORT_HARD___FUTURE__();
tmp_assign_source_6 = LOOKUP_ATTRIBUTE(hard_module, mod_consts[108]);
}
assert(!(tmp_assign_source_6 == NULL));
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[108], tmp_assign_source_6);
}
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
{
PyObject *tmp_assign_source_7;
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[55];
tmp_globals_arg_value_1 = (PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[29];
frame_fd4b98c2a31dd17992eecd88d0ef7625->m_frame.f_lineno = 26;
tmp_assign_source_7 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
assert(!(tmp_assign_source_7 == NULL));
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[55], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
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[53];
tmp_globals_arg_value_2 = (PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[29];
frame_fd4b98c2a31dd17992eecd88d0ef7625->m_frame.f_lineno = 27;
tmp_assign_source_8 = IMPORT_MODULE5(tmp_name_value_2, tmp_globals_arg_value_2, tmp_locals_arg_value_2, tmp_fromlist_value_2, tmp_level_value_2);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 27;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[53], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
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[51];
tmp_globals_arg_value_3 = (PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[29];
frame_fd4b98c2a31dd17992eecd88d0ef7625->m_frame.f_lineno = 28;
tmp_assign_source_9 = 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_9 == 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_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[51], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
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[109];
tmp_globals_arg_value_4 = (PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = Py_None;
tmp_level_value_4 = mod_consts[29];
frame_fd4b98c2a31dd17992eecd88d0ef7625->m_frame.f_lineno = 29;
tmp_assign_source_10 = 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_10 == 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_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[109], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
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[110];
tmp_globals_arg_value_5 = (PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = mod_consts[111];
tmp_level_value_5 = mod_consts[29];
frame_fd4b98c2a31dd17992eecd88d0ef7625->m_frame.f_lineno = 31;
tmp_assign_source_11 = 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_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto frame_exception_exit_1;
}
assert(tmp_import_from_2__module == NULL);
tmp_import_from_2__module = tmp_assign_source_11;
}
// Tried code:
{
PyObject *tmp_assign_source_12;
PyObject *tmp_import_name_from_1;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_1 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_12 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature,
mod_consts[31],
mod_consts[29]
);
} else {
tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[31]);
}
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[31], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_2;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_2 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature,
mod_consts[84],
mod_consts[29]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[84]);
}
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[84], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_3;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_3 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature,
mod_consts[5],
mod_consts[29]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[5]);
}
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_4;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_4 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature,
mod_consts[24],
mod_consts[29]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[24]);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[24], tmp_assign_source_15);
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_5;
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[19];
tmp_globals_arg_value_6 = (PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = mod_consts[112];
tmp_level_value_6 = mod_consts[113];
frame_fd4b98c2a31dd17992eecd88d0ef7625->m_frame.f_lineno = 34;
tmp_import_name_from_5 = 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_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 34;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature,
mod_consts[0],
mod_consts[29]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[0]);
}
Py_DECREF(tmp_import_name_from_5);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 34;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_16);
}
// Tried code:
{
PyObject *tmp_assign_source_17;
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[7];
tmp_globals_arg_value_7 = (PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = Py_None;
tmp_level_value_7 = mod_consts[29];
frame_fd4b98c2a31dd17992eecd88d0ef7625->m_frame.f_lineno = 37;
tmp_assign_source_17 = 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_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 37;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[7], tmp_assign_source_17);
}
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;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_2 == NULL) {
exception_keeper_tb_2 = MAKE_TRACEBACK(frame_fd4b98c2a31dd17992eecd88d0ef7625, exception_keeper_lineno_2);
} else if (exception_keeper_lineno_2 != 0) {
exception_keeper_tb_2 = ADD_TRACEBACK(exception_keeper_tb_2, frame_fd4b98c2a31dd17992eecd88d0ef7625, exception_keeper_lineno_2);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_18;
PyObject *tmp_import_name_from_6;
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[114];
tmp_globals_arg_value_8 = (PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = Py_None;
tmp_level_value_8 = mod_consts[29];
frame_fd4b98c2a31dd17992eecd88d0ef7625->m_frame.f_lineno = 39;
tmp_import_name_from_6 = 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_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_3;
}
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_oauthlib$oauth1$rfc5849$signature,
mod_consts[115],
mod_consts[29]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[115]);
}
Py_DECREF(tmp_import_name_from_6);
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[7], tmp_assign_source_18);
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 36;
}
if (exception_tb && exception_tb->tb_frame == &frame_fd4b98c2a31dd17992eecd88d0ef7625->m_frame) frame_fd4b98c2a31dd17992eecd88d0ef7625->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_3;
branch_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_2;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_2:;
{
PyObject *tmp_assign_source_19;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[109]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[109]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 41;
goto frame_exception_exit_1;
}
frame_fd4b98c2a31dd17992eecd88d0ef7625->m_frame.f_lineno = 41;
tmp_assign_source_19 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[116],
PyTuple_GET_ITEM(mod_consts[117], 0)
);
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 41;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[86], tmp_assign_source_19);
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_fd4b98c2a31dd17992eecd88d0ef7625);
#endif
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fd4b98c2a31dd17992eecd88d0ef7625);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_fd4b98c2a31dd17992eecd88d0ef7625, exception_lineno);
} else if (exception_tb->tb_frame != &frame_fd4b98c2a31dd17992eecd88d0ef7625->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_fd4b98c2a31dd17992eecd88d0ef7625, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_1:;
{
PyObject *tmp_assign_source_20;
tmp_assign_source_20 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__1_signature_base_string();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[82], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_defaults_1;
tmp_defaults_1 = mod_consts[118];
Py_INCREF(tmp_defaults_1);
tmp_assign_source_21 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__2_base_string_uri(tmp_defaults_1);
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[80], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_defaults_2;
PyObject *tmp_tuple_element_1;
tmp_tuple_element_1 = mod_consts[19];
tmp_defaults_2 = MAKE_TUPLE_EMPTY(5);
PyTuple_SET_ITEM0(tmp_defaults_2, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = MAKE_LIST_EMPTY(0);
PyTuple_SET_ITEM(tmp_defaults_2, 1, tmp_tuple_element_1);
tmp_tuple_element_1 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_2, 2, tmp_tuple_element_1);
tmp_tuple_element_1 = Py_True;
PyTuple_SET_ITEM0(tmp_defaults_2, 3, tmp_tuple_element_1);
tmp_tuple_element_1 = Py_False;
PyTuple_SET_ITEM0(tmp_defaults_2, 4, tmp_tuple_element_1);
tmp_assign_source_22 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__3_collect_parameters(tmp_defaults_2);
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[119], tmp_assign_source_22);
}
{
PyObject *tmp_assign_source_23;
tmp_assign_source_23 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__4_normalize_parameters();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[79], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
tmp_assign_source_24 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__5_sign_hmac_sha1_with_client();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[120], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
tmp_assign_source_25 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__6_sign_hmac_sha1();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[46], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
tmp_assign_source_26 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__7_sign_hmac_sha256_with_client();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[121], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
tmp_assign_source_27 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__8_sign_hmac_sha256();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[61], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
tmp_assign_source_28 = Py_None;
UPDATE_STRING_DICT0(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[64], tmp_assign_source_28);
}
{
PyObject *tmp_assign_source_29;
tmp_assign_source_29 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__9__jwt_rs1_signing_algorithm();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[70], tmp_assign_source_29);
}
{
PyObject *tmp_assign_source_30;
tmp_assign_source_30 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__10_sign_rsa_sha1();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[76], tmp_assign_source_30);
}
{
PyObject *tmp_assign_source_31;
tmp_assign_source_31 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__11_sign_rsa_sha1_with_client();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[122], tmp_assign_source_31);
}
{
PyObject *tmp_assign_source_32;
tmp_assign_source_32 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__12_sign_plaintext();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[78], tmp_assign_source_32);
}
{
PyObject *tmp_assign_source_33;
tmp_assign_source_33 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__13_sign_plaintext_with_client();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[123], tmp_assign_source_33);
}
{
PyObject *tmp_assign_source_34;
PyObject *tmp_defaults_3;
tmp_defaults_3 = mod_consts[124];
Py_INCREF(tmp_defaults_3);
tmp_assign_source_34 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__14_verify_hmac_sha1(tmp_defaults_3);
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[125], tmp_assign_source_34);
}
{
PyObject *tmp_assign_source_35;
PyObject *tmp_defaults_4;
tmp_defaults_4 = mod_consts[124];
Py_INCREF(tmp_defaults_4);
tmp_assign_source_35 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__15_verify_hmac_sha256(tmp_defaults_4);
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[126], tmp_assign_source_35);
}
{
PyObject *tmp_assign_source_36;
tmp_assign_source_36 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__16__prepare_key_plus();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[71], tmp_assign_source_36);
}
{
PyObject *tmp_assign_source_37;
tmp_assign_source_37 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__17_verify_rsa_sha1();
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[127], tmp_assign_source_37);
}
{
PyObject *tmp_assign_source_38;
PyObject *tmp_defaults_5;
tmp_defaults_5 = mod_consts[124];
Py_INCREF(tmp_defaults_5);
tmp_assign_source_38 = MAKE_FUNCTION_oauthlib$oauth1$rfc5849$signature$$$function__18_verify_plaintext(tmp_defaults_5);
UPDATE_STRING_DICT1(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)mod_consts[128], tmp_assign_source_38);
}
// Report to PGO about leaving the module without error.
PGO_onModuleExit("oauthlib.oauth1.rfc5849.signature", false);
Py_INCREF(module_oauthlib$oauth1$rfc5849$signature);
return module_oauthlib$oauth1$rfc5849$signature;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_oauthlib$oauth1$rfc5849$signature, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("oauthlib$oauth1$rfc5849$signature", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}