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.common'
* 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$common" 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$common;
PyDictObject *moduledict_oauthlib$common;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[237];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[237];
#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.common"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 237; 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$common(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 237; 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_eb0377fe8017a2ae53c8cb9a9763db9c;
static PyCodeObject *codeobj_2b97157b536ee94251ae2f0757dc4ad3;
static PyCodeObject *codeobj_4b08ec835230bc99d0986385877c2ee2;
static PyCodeObject *codeobj_dd59f10c040afca3e90f5b12f9c1be4c;
static PyCodeObject *codeobj_c5244805278467ab93ebd248bc1e04b3;
static PyCodeObject *codeobj_d10d19834635164bee2541bce57a719e;
static PyCodeObject *codeobj_2f1b922aa32794e589d140df95a4264b;
static PyCodeObject *codeobj_4b270c9fd96ff2e7b0bd0f66f266a44e;
static PyCodeObject *codeobj_0947087aa04a21af4a561aa8095fcd4a;
static PyCodeObject *codeobj_6276cde4ca021867067ea5e30db4a680;
static PyCodeObject *codeobj_518454eda33a1b6e43a7e09f7cf0b346;
static PyCodeObject *codeobj_480954c0c411a62b72e94e02095bb06b;
static PyCodeObject *codeobj_a51f4314fe4f6b62cd6b10703800bb98;
static PyCodeObject *codeobj_5941041d3968778d5224caf026f7a79d;
static PyCodeObject *codeobj_56f5010210da71b6e781c95efe9d80cf;
static PyCodeObject *codeobj_7c2ea9f46b5f8e2d28ba1300c5dd1851;
static PyCodeObject *codeobj_9f8f749a63da8edce5bc52929c868ddc;
static PyCodeObject *codeobj_fc955e7ad71995e21a95fe88ef97c288;
static PyCodeObject *codeobj_5bd7a7123460a9f10b00f1b4881a222f;
static PyCodeObject *codeobj_8fb912d9ee42d5d38697d0c5c53ec350;
static PyCodeObject *codeobj_273e97f960237ab987ec7f51b4026569;
static PyCodeObject *codeobj_316d79a96627fa700ff69130163830bf;
static PyCodeObject *codeobj_afe63300c37a64e65b4b7ae6acf62383;
static PyCodeObject *codeobj_239bba38afe4a7297d37f53266bdec8a;
static PyCodeObject *codeobj_5dfde497fc71bbcf219c4562893f4a29;
static PyCodeObject *codeobj_e3b443eec9b3b805f2f61f5de18638d9;
static PyCodeObject *codeobj_a0117d54b364880f4e1f6597de857551;
static PyCodeObject *codeobj_bf55902468626d957a7bb3f13b228476;
static PyCodeObject *codeobj_bb9ccf55144e74d3a1033f36f0aa2ddb;
static PyCodeObject *codeobj_315de562040631c8c7e2026c83d32d38;
static PyCodeObject *codeobj_bce18c2d8d72b5189a5f75997a727d0e;
static PyCodeObject *codeobj_a6cd53db2eb962bb2d38943eb046f728;
static PyCodeObject *codeobj_6f6109227b8483279fdb33f10db04bf2;
static PyCodeObject *codeobj_c3c46f27e800c6ced5014a1d293a43c2;
static PyCodeObject *codeobj_bb543f5362ae2edbe27d391eff664f60;
static PyCodeObject *codeobj_dfff941c43c8896c81552cac605cbd1b;
static PyCodeObject *codeobj_554a1eb00a92548c88dcd434651cbcb9;
static PyCodeObject *codeobj_eb6cf0ae6b7933b382e487a9a3dca5ce;
static PyCodeObject *codeobj_2d289723e0040a0d2eea82fc0a6fd185;
static PyCodeObject *codeobj_67e60620825d712bff57998a20fc83e0;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[115]; CHECK_OBJECT(module_filename_obj);
codeobj_eb0377fe8017a2ae53c8cb9a9763db9c = MAKE_CODE_OBJECT(module_filename_obj, 321, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[43], mod_consts[43], mod_consts[201], NULL, 1, 0, 0);
codeobj_2b97157b536ee94251ae2f0757dc4ad3 = MAKE_CODE_OBJECT(module_filename_obj, 338, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[43], mod_consts[43], mod_consts[202], NULL, 1, 0, 0);
codeobj_4b08ec835230bc99d0986385877c2ee2 = MAKE_CODE_OBJECT(module_filename_obj, 326, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[43], mod_consts[43], mod_consts[203], NULL, 1, 0, 0);
codeobj_dd59f10c040afca3e90f5b12f9c1be4c = MAKE_CODE_OBJECT(module_filename_obj, 464, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[43], mod_consts[43], mod_consts[204], NULL, 1, 0, 0);
codeobj_c5244805278467ab93ebd248bc1e04b3 = MAKE_CODE_OBJECT(module_filename_obj, 233, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[43], mod_consts[43], mod_consts[205], NULL, 1, 0, 0);
codeobj_d10d19834635164bee2541bce57a719e = MAKE_CODE_OBJECT(module_filename_obj, 385, CO_OPTIMIZED | CO_NEWLOCALS | CO_FUTURE_UNICODE_LITERALS, mod_consts[83], mod_consts[83], mod_consts[206], mod_consts[70], 1, 0, 0);
codeobj_2f1b922aa32794e589d140df95a4264b = MAKE_CODE_OBJECT(module_filename_obj, 468, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[207], mod_consts[207], mod_consts[208], NULL, 1, 0, 0);
codeobj_4b270c9fd96ff2e7b0bd0f66f266a44e = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[209], mod_consts[209], NULL, NULL, 0, 0, 0);
codeobj_0947087aa04a21af4a561aa8095fcd4a = MAKE_CODE_OBJECT(module_filename_obj, 331, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[78], mod_consts[78], mod_consts[210], NULL, 0, 0, 0);
codeobj_6276cde4ca021867067ea5e30db4a680 = MAKE_CODE_OBJECT(module_filename_obj, 367, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[188], mod_consts[188], mod_consts[210], NULL, 0, 0, 0);
codeobj_518454eda33a1b6e43a7e09f7cf0b346 = MAKE_CODE_OBJECT(module_filename_obj, 342, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[177], mod_consts[177], mod_consts[211], NULL, 2, 0, 0);
codeobj_480954c0c411a62b72e94e02095bb06b = MAKE_CODE_OBJECT(module_filename_obj, 345, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[79], mod_consts[79], mod_consts[212], NULL, 2, 0, 0);
codeobj_a51f4314fe4f6b62cd6b10703800bb98 = MAKE_CODE_OBJECT(module_filename_obj, 432, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[192], mod_consts[192], mod_consts[213], NULL, 2, 0, 0);
codeobj_5941041d3968778d5224caf026f7a79d = MAKE_CODE_OBJECT(module_filename_obj, 350, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[80], mod_consts[80], mod_consts[212], NULL, 2, 0, 0);
codeobj_56f5010210da71b6e781c95efe9d80cf = MAKE_CODE_OBJECT(module_filename_obj, 337, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[175], mod_consts[175], mod_consts[214], NULL, 2, 0, 0);
codeobj_7c2ea9f46b5f8e2d28ba1300c5dd1851 = MAKE_CODE_OBJECT(module_filename_obj, 382, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[175], mod_consts[175], mod_consts[215], NULL, 6, 0, 0);
codeobj_9f8f749a63da8edce5bc52929c868ddc = MAKE_CODE_OBJECT(module_filename_obj, 438, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[194], mod_consts[194], mod_consts[216], NULL, 1, 0, 0);
codeobj_fc955e7ad71995e21a95fe88ef97c288 = MAKE_CODE_OBJECT(module_filename_obj, 357, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[81], mod_consts[81], mod_consts[217], NULL, 3, 0, 0);
codeobj_5bd7a7123460a9f10b00f1b4881a222f = MAKE_CODE_OBJECT(module_filename_obj, 269, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[65], mod_consts[65], mod_consts[218], NULL, 2, 0, 0);
codeobj_8fb912d9ee42d5d38697d0c5c53ec350 = MAKE_CODE_OBJECT(module_filename_obj, 278, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[162], mod_consts[162], mod_consts[219], NULL, 3, 0, 0);
codeobj_273e97f960237ab987ec7f51b4026569 = MAKE_CODE_OBJECT(module_filename_obj, 104, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[24], mod_consts[24], mod_consts[220], NULL, 1, 0, 0);
codeobj_316d79a96627fa700ff69130163830bf = MAKE_CODE_OBJECT(module_filename_obj, 462, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[199], mod_consts[199], mod_consts[221], NULL, 1, 0, 0);
codeobj_afe63300c37a64e65b4b7ae6acf62383 = MAKE_CODE_OBJECT(module_filename_obj, 92, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[6], mod_consts[6], mod_consts[222], NULL, 1, 0, 0);
codeobj_239bba38afe4a7297d37f53266bdec8a = MAKE_CODE_OBJECT(module_filename_obj, 168, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[89], mod_consts[89], mod_consts[223], NULL, 1, 0, 0);
codeobj_5dfde497fc71bbcf219c4562893f4a29 = MAKE_CODE_OBJECT(module_filename_obj, 260, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[160], mod_consts[160], mod_consts[224], NULL, 2, 0, 0);
codeobj_e3b443eec9b3b805f2f61f5de18638d9 = MAKE_CODE_OBJECT(module_filename_obj, 197, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[156], mod_consts[156], NULL, NULL, 0, 0, 0);
codeobj_a0117d54b364880f4e1f6597de857551 = MAKE_CODE_OBJECT(module_filename_obj, 236, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[158], mod_consts[158], mod_consts[225], NULL, 2, 0, 0);
codeobj_bf55902468626d957a7bb3f13b228476 = MAKE_CODE_OBJECT(module_filename_obj, 212, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[33], mod_consts[33], NULL, NULL, 0, 0, 0);
codeobj_bb9ccf55144e74d3a1033f36f0aa2ddb = MAKE_CODE_OBJECT(module_filename_obj, 224, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[59], mod_consts[59], mod_consts[226], NULL, 2, 0, 0);
codeobj_315de562040631c8c7e2026c83d32d38 = MAKE_CODE_OBJECT(module_filename_obj, 354, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[182], mod_consts[182], mod_consts[227], NULL, 3, 0, 0);
codeobj_bce18c2d8d72b5189a5f75997a727d0e = MAKE_CODE_OBJECT(module_filename_obj, 63, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[135], mod_consts[135], mod_consts[228], NULL, 2, 0, 0);
codeobj_a6cd53db2eb962bb2d38943eb046f728 = MAKE_CODE_OBJECT(module_filename_obj, 288, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[163], mod_consts[163], mod_consts[229], NULL, 2, 0, 0);
codeobj_6f6109227b8483279fdb33f10db04bf2 = MAKE_CODE_OBJECT(module_filename_obj, 306, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[56], mod_consts[56], mod_consts[230], NULL, 2, 0, 0);
codeobj_c3c46f27e800c6ced5014a1d293a43c2 = MAKE_CODE_OBJECT(module_filename_obj, 73, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[137], mod_consts[137], mod_consts[231], NULL, 1, 0, 0);
codeobj_bb543f5362ae2edbe27d391eff664f60 = MAKE_CODE_OBJECT(module_filename_obj, 361, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[82], mod_consts[82], mod_consts[232], NULL, 1, 0, 0);
codeobj_dfff941c43c8896c81552cac605cbd1b = MAKE_CODE_OBJECT(module_filename_obj, 451, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[95], mod_consts[95], mod_consts[233], NULL, 1, 0, 0);
codeobj_554a1eb00a92548c88dcd434651cbcb9 = MAKE_CODE_OBJECT(module_filename_obj, 455, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[109], mod_consts[109], mod_consts[233], NULL, 1, 0, 0);
codeobj_eb6cf0ae6b7933b382e487a9a3dca5ce = MAKE_CODE_OBJECT(module_filename_obj, 119, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[26], mod_consts[26], mod_consts[234], NULL, 1, 0, 0);
codeobj_2d289723e0040a0d2eea82fc0a6fd185 = MAKE_CODE_OBJECT(module_filename_obj, 83, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[62], mod_consts[62], mod_consts[235], NULL, 1, 0, 0);
codeobj_67e60620825d712bff57998a20fc83e0 = MAKE_CODE_OBJECT(module_filename_obj, 254, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS, mod_consts[159], mod_consts[159], mod_consts[236], NULL, 2, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_GENERATOR_oauthlib$common$$$function__10_generate_token$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_oauthlib$common$$$function__17_to_unicode$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_oauthlib$common$$$function__17_to_unicode$$$genexpr__2_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_oauthlib$common$$$function__18___init__$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_oauthlib$common$$$function__30_duplicate_params$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__1__mro_entries_conversion(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__4_complex_call_helper_star_list_star_dict(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__10_generate_token(PyObject *defaults);
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__11_generate_signed_token();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__12_verify_signed_token();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__13_generate_client_id(PyObject *defaults);
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__14_add_params_to_qs();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__15_add_params_to_uri(PyObject *defaults);
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__16_safe_string_equals();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__17_to_unicode(PyObject *defaults);
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__18___init__();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__19___contains__();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__1_quote(PyObject *defaults);
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__20___delitem__();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__21___getitem__();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__22_get(PyObject *defaults);
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__23___setitem__();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__24_update();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__25___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__25___init__$$$function__1_lambda(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__26___getattr__();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__27___repr__();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__28_uri_query();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__29_uri_query_params();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__2_unquote();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__30_duplicate_params();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__3_urlencode();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__4_encode_params_utf8();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__5_decode_params_utf8();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__6_urldecode();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__7_extract_params();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__8_generate_nonce();
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__9_generate_timestamp();
// The module function definitions.
static PyObject *impl_oauthlib$common$$$function__1_quote(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_s = python_pars[0];
PyObject *par_safe = python_pars[1];
struct Nuitka_FrameObject *frame_bce18c2d8d72b5189a5f75997a727d0e;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_bce18c2d8d72b5189a5f75997a727d0e = 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_bce18c2d8d72b5189a5f75997a727d0e)) {
Py_XDECREF(cache_frame_bce18c2d8d72b5189a5f75997a727d0e);
#if _DEBUG_REFCOUNTS
if (cache_frame_bce18c2d8d72b5189a5f75997a727d0e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bce18c2d8d72b5189a5f75997a727d0e = MAKE_FUNCTION_FRAME(codeobj_bce18c2d8d72b5189a5f75997a727d0e, module_oauthlib$common, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bce18c2d8d72b5189a5f75997a727d0e->m_type_description == NULL);
frame_bce18c2d8d72b5189a5f75997a727d0e = cache_frame_bce18c2d8d72b5189a5f75997a727d0e;
// Push the new frame as the currently active one.
pushFrameStack(frame_bce18c2d8d72b5189a5f75997a727d0e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bce18c2d8d72b5189a5f75997a727d0e) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_s);
tmp_isinstance_inst_1 = par_s;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
type_description_1 = "oo";
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 = 64;
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 condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(par_s);
tmp_expression_value_1 = par_s;
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 = 64;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_bce18c2d8d72b5189a5f75997a727d0e->m_frame.f_lineno = 64;
tmp_assign_source_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[2]);
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 = 64;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(par_s);
tmp_assign_source_1 = par_s;
Py_INCREF(tmp_assign_source_1);
condexpr_end_1:;
{
PyObject *old = par_s;
assert(old != NULL);
par_s = tmp_assign_source_1;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 65;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_s);
tmp_args_element_value_1 = par_s;
CHECK_OBJECT(par_safe);
tmp_args_element_value_2 = par_safe;
frame_bce18c2d8d72b5189a5f75997a727d0e->m_frame.f_lineno = 65;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 65;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_s;
assert(old != NULL);
par_s = tmp_assign_source_2;
Py_DECREF(old);
}
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
CHECK_OBJECT(par_s);
tmp_isinstance_inst_2 = par_s;
tmp_isinstance_cls_2 = (PyObject *)&PyBytes_Type;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 68;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_s);
tmp_expression_value_2 = par_s;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[4]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 69;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_bce18c2d8d72b5189a5f75997a727d0e->m_frame.f_lineno = 69;
tmp_assign_source_3 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[2]);
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 = 69;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_s;
assert(old != NULL);
par_s = tmp_assign_source_3;
Py_DECREF(old);
}
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bce18c2d8d72b5189a5f75997a727d0e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bce18c2d8d72b5189a5f75997a727d0e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bce18c2d8d72b5189a5f75997a727d0e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bce18c2d8d72b5189a5f75997a727d0e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bce18c2d8d72b5189a5f75997a727d0e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bce18c2d8d72b5189a5f75997a727d0e,
type_description_1,
par_s,
par_safe
);
// Release cached frame if used for exception.
if (frame_bce18c2d8d72b5189a5f75997a727d0e == cache_frame_bce18c2d8d72b5189a5f75997a727d0e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bce18c2d8d72b5189a5f75997a727d0e);
cache_frame_bce18c2d8d72b5189a5f75997a727d0e = NULL;
}
assertFrameObject(frame_bce18c2d8d72b5189a5f75997a727d0e);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(par_s);
tmp_return_value = par_s;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_s);
Py_DECREF(par_s);
par_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_s);
par_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_safe);
Py_DECREF(par_safe);
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_safe);
Py_DECREF(par_safe);
// 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$common$$$function__2_unquote(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_s = python_pars[0];
struct Nuitka_FrameObject *frame_c3c46f27e800c6ced5014a1d293a43c2;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_c3c46f27e800c6ced5014a1d293a43c2 = 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_c3c46f27e800c6ced5014a1d293a43c2)) {
Py_XDECREF(cache_frame_c3c46f27e800c6ced5014a1d293a43c2);
#if _DEBUG_REFCOUNTS
if (cache_frame_c3c46f27e800c6ced5014a1d293a43c2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c3c46f27e800c6ced5014a1d293a43c2 = MAKE_FUNCTION_FRAME(codeobj_c3c46f27e800c6ced5014a1d293a43c2, module_oauthlib$common, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c3c46f27e800c6ced5014a1d293a43c2->m_type_description == NULL);
frame_c3c46f27e800c6ced5014a1d293a43c2 = cache_frame_c3c46f27e800c6ced5014a1d293a43c2;
// Push the new frame as the currently active one.
pushFrameStack(frame_c3c46f27e800c6ced5014a1d293a43c2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c3c46f27e800c6ced5014a1d293a43c2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[5]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[5]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 74;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_s);
tmp_args_element_value_1 = par_s;
frame_c3c46f27e800c6ced5014a1d293a43c2->m_frame.f_lineno = 74;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 74;
type_description_1 = "o";
goto frame_exception_exit_1;
}
{
PyObject *old = par_s;
assert(old != NULL);
par_s = tmp_assign_source_1;
Py_DECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_s);
tmp_isinstance_inst_1 = par_s;
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 = 78;
type_description_1 = "o";
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_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_s);
tmp_expression_value_1 = par_s;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[4]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_c3c46f27e800c6ced5014a1d293a43c2->m_frame.f_lineno = 79;
tmp_assign_source_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[2]);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
type_description_1 = "o";
goto frame_exception_exit_1;
}
{
PyObject *old = par_s;
assert(old != NULL);
par_s = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c3c46f27e800c6ced5014a1d293a43c2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c3c46f27e800c6ced5014a1d293a43c2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c3c46f27e800c6ced5014a1d293a43c2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c3c46f27e800c6ced5014a1d293a43c2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c3c46f27e800c6ced5014a1d293a43c2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c3c46f27e800c6ced5014a1d293a43c2,
type_description_1,
par_s
);
// Release cached frame if used for exception.
if (frame_c3c46f27e800c6ced5014a1d293a43c2 == cache_frame_c3c46f27e800c6ced5014a1d293a43c2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c3c46f27e800c6ced5014a1d293a43c2);
cache_frame_c3c46f27e800c6ced5014a1d293a43c2 = NULL;
}
assertFrameObject(frame_c3c46f27e800c6ced5014a1d293a43c2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(par_s);
tmp_return_value = par_s;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_s);
Py_DECREF(par_s);
par_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_s);
par_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:
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$common$$$function__3_urlencode(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_utf8_params = NULL;
PyObject *var_urlencoded = NULL;
struct Nuitka_FrameObject *frame_2d289723e0040a0d2eea82fc0a6fd185;
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_2d289723e0040a0d2eea82fc0a6fd185 = 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_2d289723e0040a0d2eea82fc0a6fd185)) {
Py_XDECREF(cache_frame_2d289723e0040a0d2eea82fc0a6fd185);
#if _DEBUG_REFCOUNTS
if (cache_frame_2d289723e0040a0d2eea82fc0a6fd185 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2d289723e0040a0d2eea82fc0a6fd185 = MAKE_FUNCTION_FRAME(codeobj_2d289723e0040a0d2eea82fc0a6fd185, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2d289723e0040a0d2eea82fc0a6fd185->m_type_description == NULL);
frame_2d289723e0040a0d2eea82fc0a6fd185 = cache_frame_2d289723e0040a0d2eea82fc0a6fd185;
// Push the new frame as the currently active one.
pushFrameStack(frame_2d289723e0040a0d2eea82fc0a6fd185);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2d289723e0040a0d2eea82fc0a6fd185) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[6]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[6]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 84;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_params);
tmp_args_element_value_1 = par_params;
frame_2d289723e0040a0d2eea82fc0a6fd185->m_frame.f_lineno = 84;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 84;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_utf8_params == NULL);
var_utf8_params = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_utf8_params);
tmp_args_element_value_2 = var_utf8_params;
frame_2d289723e0040a0d2eea82fc0a6fd185->m_frame.f_lineno = 85;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, 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 = 85;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_urlencoded == NULL);
var_urlencoded = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_urlencoded);
tmp_isinstance_inst_1 = var_urlencoded;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 86;
type_description_1 = "ooo";
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 = 86;
type_description_1 = "ooo";
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:;
CHECK_OBJECT(var_urlencoded);
tmp_return_value = var_urlencoded;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_urlencoded);
tmp_expression_value_1 = var_urlencoded;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[4]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_2d289723e0040a0d2eea82fc0a6fd185->m_frame.f_lineno = 89;
tmp_return_value = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[2]);
Py_DECREF(tmp_called_value_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2d289723e0040a0d2eea82fc0a6fd185);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2d289723e0040a0d2eea82fc0a6fd185);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2d289723e0040a0d2eea82fc0a6fd185);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2d289723e0040a0d2eea82fc0a6fd185, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2d289723e0040a0d2eea82fc0a6fd185->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2d289723e0040a0d2eea82fc0a6fd185, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2d289723e0040a0d2eea82fc0a6fd185,
type_description_1,
par_params,
var_utf8_params,
var_urlencoded
);
// Release cached frame if used for exception.
if (frame_2d289723e0040a0d2eea82fc0a6fd185 == cache_frame_2d289723e0040a0d2eea82fc0a6fd185) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2d289723e0040a0d2eea82fc0a6fd185);
cache_frame_2d289723e0040a0d2eea82fc0a6fd185 = NULL;
}
assertFrameObject(frame_2d289723e0040a0d2eea82fc0a6fd185);
// 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_utf8_params);
Py_DECREF(var_utf8_params);
var_utf8_params = NULL;
Py_XDECREF(var_urlencoded);
var_urlencoded = 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_utf8_params);
var_utf8_params = NULL;
Py_XDECREF(var_urlencoded);
var_urlencoded = 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_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$common$$$function__4_encode_params_utf8(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_encoded = NULL;
PyObject *var_k = NULL;
PyObject *var_v = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_afe63300c37a64e65b4b7ae6acf62383;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
int tmp_res;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_afe63300c37a64e65b4b7ae6acf62383 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_encoded == NULL);
var_encoded = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_afe63300c37a64e65b4b7ae6acf62383)) {
Py_XDECREF(cache_frame_afe63300c37a64e65b4b7ae6acf62383);
#if _DEBUG_REFCOUNTS
if (cache_frame_afe63300c37a64e65b4b7ae6acf62383 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_afe63300c37a64e65b4b7ae6acf62383 = MAKE_FUNCTION_FRAME(codeobj_afe63300c37a64e65b4b7ae6acf62383, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_afe63300c37a64e65b4b7ae6acf62383->m_type_description == NULL);
frame_afe63300c37a64e65b4b7ae6acf62383 = cache_frame_afe63300c37a64e65b4b7ae6acf62383;
// Push the new frame as the currently active one.
pushFrameStack(frame_afe63300c37a64e65b4b7ae6acf62383);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_afe63300c37a64e65b4b7ae6acf62383) == 2); // Frame stack
// Framed 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 = 97;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 97;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_iter_arg_2 = tmp_for_loop_1__iter_value;
tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "oooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_4;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
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 = "oooo";
exception_lineno = 97;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 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_1 = "oooo";
exception_lineno = 97;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_6;
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 = "oooo";
exception_lineno = 97;
goto try_except_handler_4;
}
}
} 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 = "oooo";
exception_lineno = 97;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_3;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_2;
// 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_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_k;
var_k = tmp_assign_source_7;
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_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_v;
var_v = tmp_assign_source_8;
Py_INCREF(var_v);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_tuple_element_1;
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
if (var_encoded == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[9]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 98;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_1 = var_encoded;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[10]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_k);
tmp_isinstance_inst_1 = var_k;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 99;
type_description_1 = "oooo";
goto try_except_handler_2;
}
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);
Py_DECREF(tmp_called_value_1);
exception_lineno = 99;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(var_k);
tmp_expression_value_2 = var_k;
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);
Py_DECREF(tmp_called_value_1);
exception_lineno = 99;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_afe63300c37a64e65b4b7ae6acf62383->m_frame.f_lineno = 99;
tmp_tuple_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[2]);
Py_DECREF(tmp_called_value_2);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 99;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(var_k);
tmp_tuple_element_1 = var_k;
Py_INCREF(tmp_tuple_element_1);
condexpr_end_1:;
tmp_args_element_value_1 = MAKE_TUPLE_EMPTY(2);
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
PyTuple_SET_ITEM(tmp_args_element_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_v);
tmp_isinstance_inst_2 = var_v;
tmp_isinstance_cls_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_isinstance_cls_2 == NULL)) {
tmp_isinstance_cls_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_isinstance_cls_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 100;
type_description_1 = "oooo";
goto tuple_build_exception_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 100;
type_description_1 = "oooo";
goto tuple_build_exception_1;
}
tmp_condition_result_2 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(var_v);
tmp_expression_value_3 = var_v;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[1]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 100;
type_description_1 = "oooo";
goto tuple_build_exception_1;
}
frame_afe63300c37a64e65b4b7ae6acf62383->m_frame.f_lineno = 100;
tmp_tuple_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[2]);
Py_DECREF(tmp_called_value_3);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 100;
type_description_1 = "oooo";
goto tuple_build_exception_1;
}
goto condexpr_end_2;
condexpr_false_2:;
CHECK_OBJECT(var_v);
tmp_tuple_element_1 = var_v;
Py_INCREF(tmp_tuple_element_1);
condexpr_end_2:;
PyTuple_SET_ITEM(tmp_args_element_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_called_value_1);
Py_DECREF(tmp_args_element_value_1);
goto try_except_handler_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
frame_afe63300c37a64e65b4b7ae6acf62383->m_frame.f_lineno = 98;
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 = 98;
type_description_1 = "oooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
if (var_encoded == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[9]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 101;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_encoded;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_afe63300c37a64e65b4b7ae6acf62383);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_afe63300c37a64e65b4b7ae6acf62383);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_afe63300c37a64e65b4b7ae6acf62383);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_afe63300c37a64e65b4b7ae6acf62383, exception_lineno);
} else if (exception_tb->tb_frame != &frame_afe63300c37a64e65b4b7ae6acf62383->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_afe63300c37a64e65b4b7ae6acf62383, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_afe63300c37a64e65b4b7ae6acf62383,
type_description_1,
par_params,
var_encoded,
var_k,
var_v
);
// Release cached frame if used for exception.
if (frame_afe63300c37a64e65b4b7ae6acf62383 == cache_frame_afe63300c37a64e65b4b7ae6acf62383) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_afe63300c37a64e65b4b7ae6acf62383);
cache_frame_afe63300c37a64e65b4b7ae6acf62383 = NULL;
}
assertFrameObject(frame_afe63300c37a64e65b4b7ae6acf62383);
// 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_encoded);
var_encoded = 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_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_encoded);
var_encoded = NULL;
Py_XDECREF(var_k);
var_k = NULL;
Py_XDECREF(var_v);
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 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$common$$$function__5_decode_params_utf8(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_decoded = NULL;
PyObject *var_k = NULL;
PyObject *var_v = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_273e97f960237ab987ec7f51b4026569;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
int tmp_res;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_273e97f960237ab987ec7f51b4026569 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_decoded == NULL);
var_decoded = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_273e97f960237ab987ec7f51b4026569)) {
Py_XDECREF(cache_frame_273e97f960237ab987ec7f51b4026569);
#if _DEBUG_REFCOUNTS
if (cache_frame_273e97f960237ab987ec7f51b4026569 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_273e97f960237ab987ec7f51b4026569 = MAKE_FUNCTION_FRAME(codeobj_273e97f960237ab987ec7f51b4026569, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_273e97f960237ab987ec7f51b4026569->m_type_description == NULL);
frame_273e97f960237ab987ec7f51b4026569 = cache_frame_273e97f960237ab987ec7f51b4026569;
// Push the new frame as the currently active one.
pushFrameStack(frame_273e97f960237ab987ec7f51b4026569);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_273e97f960237ab987ec7f51b4026569) == 2); // Frame stack
// Framed 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 = 109;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 109;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_iter_arg_2 = tmp_for_loop_1__iter_value;
tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 109;
type_description_1 = "oooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_4;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
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 = "oooo";
exception_lineno = 109;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 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_1 = "oooo";
exception_lineno = 109;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_6;
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 = "oooo";
exception_lineno = 109;
goto try_except_handler_4;
}
}
} 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 = "oooo";
exception_lineno = 109;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_3;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_2;
// 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_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_k;
var_k = tmp_assign_source_7;
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_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_v;
var_v = tmp_assign_source_8;
Py_INCREF(var_v);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_tuple_element_1;
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
if (var_decoded == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 110;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_1 = var_decoded;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[10]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 110;
type_description_1 = "oooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_k);
tmp_isinstance_inst_1 = var_k;
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);
Py_DECREF(tmp_called_value_1);
exception_lineno = 111;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(var_k);
tmp_expression_value_2 = var_k;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[4]);
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 = 111;
type_description_1 = "oooo";
goto try_except_handler_2;
}
frame_273e97f960237ab987ec7f51b4026569->m_frame.f_lineno = 111;
tmp_tuple_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[2]);
Py_DECREF(tmp_called_value_2);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 111;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(var_k);
tmp_tuple_element_1 = var_k;
Py_INCREF(tmp_tuple_element_1);
condexpr_end_1:;
tmp_args_element_value_1 = MAKE_TUPLE_EMPTY(2);
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
PyTuple_SET_ITEM(tmp_args_element_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_v);
tmp_isinstance_inst_2 = var_v;
tmp_isinstance_cls_2 = (PyObject *)&PyBytes_Type;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 112;
type_description_1 = "oooo";
goto tuple_build_exception_1;
}
tmp_condition_result_2 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(var_v);
tmp_expression_value_3 = var_v;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[4]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 112;
type_description_1 = "oooo";
goto tuple_build_exception_1;
}
frame_273e97f960237ab987ec7f51b4026569->m_frame.f_lineno = 112;
tmp_tuple_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[2]);
Py_DECREF(tmp_called_value_3);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 112;
type_description_1 = "oooo";
goto tuple_build_exception_1;
}
goto condexpr_end_2;
condexpr_false_2:;
CHECK_OBJECT(var_v);
tmp_tuple_element_1 = var_v;
Py_INCREF(tmp_tuple_element_1);
condexpr_end_2:;
PyTuple_SET_ITEM(tmp_args_element_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_called_value_1);
Py_DECREF(tmp_args_element_value_1);
goto try_except_handler_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
frame_273e97f960237ab987ec7f51b4026569->m_frame.f_lineno = 110;
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 = 110;
type_description_1 = "oooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 109;
type_description_1 = "oooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
if (var_decoded == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[12]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 113;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_decoded;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_273e97f960237ab987ec7f51b4026569);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_273e97f960237ab987ec7f51b4026569);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_273e97f960237ab987ec7f51b4026569);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_273e97f960237ab987ec7f51b4026569, exception_lineno);
} else if (exception_tb->tb_frame != &frame_273e97f960237ab987ec7f51b4026569->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_273e97f960237ab987ec7f51b4026569, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_273e97f960237ab987ec7f51b4026569,
type_description_1,
par_params,
var_decoded,
var_k,
var_v
);
// Release cached frame if used for exception.
if (frame_273e97f960237ab987ec7f51b4026569 == cache_frame_273e97f960237ab987ec7f51b4026569) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_273e97f960237ab987ec7f51b4026569);
cache_frame_273e97f960237ab987ec7f51b4026569 = NULL;
}
assertFrameObject(frame_273e97f960237ab987ec7f51b4026569);
// 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_decoded);
var_decoded = 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_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_decoded);
var_decoded = NULL;
Py_XDECREF(var_k);
var_k = NULL;
Py_XDECREF(var_v);
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 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$common$$$function__6_urldecode(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_query = python_pars[0];
PyObject *var_params = NULL;
struct Nuitka_FrameObject *frame_eb6cf0ae6b7933b382e487a9a3dca5ce;
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_eb6cf0ae6b7933b382e487a9a3dca5ce = 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_eb6cf0ae6b7933b382e487a9a3dca5ce)) {
Py_XDECREF(cache_frame_eb6cf0ae6b7933b382e487a9a3dca5ce);
#if _DEBUG_REFCOUNTS
if (cache_frame_eb6cf0ae6b7933b382e487a9a3dca5ce == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_eb6cf0ae6b7933b382e487a9a3dca5ce = MAKE_FUNCTION_FRAME(codeobj_eb6cf0ae6b7933b382e487a9a3dca5ce, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_eb6cf0ae6b7933b382e487a9a3dca5ce->m_type_description == NULL);
frame_eb6cf0ae6b7933b382e487a9a3dca5ce = cache_frame_eb6cf0ae6b7933b382e487a9a3dca5ce;
// Push the new frame as the currently active one.
pushFrameStack(frame_eb6cf0ae6b7933b382e487a9a3dca5ce);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_eb6cf0ae6b7933b382e487a9a3dca5ce) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
int tmp_truth_name_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_set_arg_1;
CHECK_OBJECT(par_query);
tmp_truth_name_1 = CHECK_IF_TRUE(par_query);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_query);
tmp_set_arg_1 = par_query;
tmp_cmp_expr_left_1 = PySet_New(tmp_set_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[14]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[14]);
}
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 129;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = RICH_COMPARE_LE_OBJECT_OBJECT_OBJECT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oNo";
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 = 129;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_sub_expr_left_1;
PyObject *tmp_sub_expr_right_1;
PyObject *tmp_set_arg_2;
tmp_mod_expr_left_1 = mod_consts[15];
if (par_query == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[16]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 135;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_set_arg_2 = par_query;
tmp_sub_expr_left_1 = PySet_New(tmp_set_arg_2);
if (tmp_sub_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_sub_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[14]);
if (unlikely(tmp_sub_expr_right_1 == NULL)) {
tmp_sub_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[14]);
}
if (tmp_sub_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_sub_expr_left_1);
exception_lineno = 135;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_sub_expr_left_1, tmp_sub_expr_right_1);
Py_DECREF(tmp_sub_expr_left_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
if (par_query == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[16]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 135;
type_description_1 = "oNo";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = par_query;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_make_exception_arg_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_make_exception_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
frame_eb6cf0ae6b7933b382e487a9a3dca5ce->m_frame.f_lineno = 135;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 135;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
int tmp_truth_name_2;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[17]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[18]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
if (par_query == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[16]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 141;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = par_query;
frame_eb6cf0ae6b7933b382e487a9a3dca5ce->m_frame.f_lineno = 141;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 141;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_make_exception_arg_2;
tmp_make_exception_arg_2 = mod_consts[19];
frame_eb6cf0ae6b7933b382e487a9a3dca5ce->m_frame.f_lineno = 142;
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 = 142;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assign_source_1;
nuitka_bool tmp_condition_result_3;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
tmp_operand_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_operand_value_2 == NULL)) {
tmp_operand_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 159;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
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 = 159;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
if (par_query == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[16]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 159;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_isinstance_inst_1 = par_query;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 159;
type_description_1 = "oNo";
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 = 159;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_3 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_condition_result_3 = tmp_and_left_value_2;
and_end_2:;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
if (par_query == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[16]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 158;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = par_query;
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 = 158;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
frame_eb6cf0ae6b7933b382e487a9a3dca5ce->m_frame.f_lineno = 158;
tmp_assign_source_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[2]);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
goto condexpr_end_1;
condexpr_false_1:;
if (par_query == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[16]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 159;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = par_query;
Py_INCREF(tmp_assign_source_1);
condexpr_end_1:;
{
PyObject *old = par_query;
par_query = tmp_assign_source_1;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_kwargs_value_1;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[21]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[21]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 162;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[22]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 162;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_query);
tmp_tuple_element_2 = par_query;
tmp_args_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_2);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[23]);
frame_eb6cf0ae6b7933b382e487a9a3dca5ce->m_frame.f_lineno = 162;
tmp_assign_source_2 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 162;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
assert(var_params == NULL);
var_params = tmp_assign_source_2;
}
{
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_2;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_params);
tmp_args_element_value_2 = var_params;
frame_eb6cf0ae6b7933b382e487a9a3dca5ce->m_frame.f_lineno = 165;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oNo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_eb6cf0ae6b7933b382e487a9a3dca5ce);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_eb6cf0ae6b7933b382e487a9a3dca5ce);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_eb6cf0ae6b7933b382e487a9a3dca5ce);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_eb6cf0ae6b7933b382e487a9a3dca5ce, exception_lineno);
} else if (exception_tb->tb_frame != &frame_eb6cf0ae6b7933b382e487a9a3dca5ce->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_eb6cf0ae6b7933b382e487a9a3dca5ce, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_eb6cf0ae6b7933b382e487a9a3dca5ce,
type_description_1,
par_query,
NULL,
var_params
);
// Release cached frame if used for exception.
if (frame_eb6cf0ae6b7933b382e487a9a3dca5ce == cache_frame_eb6cf0ae6b7933b382e487a9a3dca5ce) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_eb6cf0ae6b7933b382e487a9a3dca5ce);
cache_frame_eb6cf0ae6b7933b382e487a9a3dca5ce = NULL;
}
assertFrameObject(frame_eb6cf0ae6b7933b382e487a9a3dca5ce);
// 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_query);
Py_DECREF(par_query);
par_query = NULL;
CHECK_OBJECT(var_params);
Py_DECREF(var_params);
var_params = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_query);
par_query = NULL;
Py_XDECREF(var_params);
var_params = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
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$common$$$function__7_extract_params(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_raw = python_pars[0];
PyObject *var_params = NULL;
nuitka_bool tmp_try_except_1__unhandled_indicator = NUITKA_BOOL_UNASSIGNED;
struct Nuitka_FrameObject *frame_239bba38afe4a7297d37f53266bdec8a;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_239bba38afe4a7297d37f53266bdec8a = 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_239bba38afe4a7297d37f53266bdec8a)) {
Py_XDECREF(cache_frame_239bba38afe4a7297d37f53266bdec8a);
#if _DEBUG_REFCOUNTS
if (cache_frame_239bba38afe4a7297d37f53266bdec8a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_239bba38afe4a7297d37f53266bdec8a = MAKE_FUNCTION_FRAME(codeobj_239bba38afe4a7297d37f53266bdec8a, module_oauthlib$common, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_239bba38afe4a7297d37f53266bdec8a->m_type_description == NULL);
frame_239bba38afe4a7297d37f53266bdec8a = cache_frame_239bba38afe4a7297d37f53266bdec8a;
// Push the new frame as the currently active one.
pushFrameStack(frame_239bba38afe4a7297d37f53266bdec8a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_239bba38afe4a7297d37f53266bdec8a) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_tuple_element_1;
CHECK_OBJECT(par_raw);
tmp_isinstance_inst_1 = par_raw;
tmp_tuple_element_1 = (PyObject *)&PyBytes_Type;
tmp_isinstance_cls_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_isinstance_cls_1, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 176;
type_description_1 = "oo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_isinstance_cls_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_isinstance_cls_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
Py_DECREF(tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 176;
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:;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
type_description_1 = "oo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_raw);
tmp_args_element_value_1 = par_raw;
frame_239bba38afe4a7297d37f53266bdec8a->m_frame.f_lineno = 178;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
type_description_1 = "oo";
goto try_except_handler_2;
}
assert(var_params == NULL);
var_params = tmp_assign_source_1;
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_239bba38afe4a7297d37f53266bdec8a, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_239bba38afe4a7297d37f53266bdec8a, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_ValueError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = Py_None;
assert(var_params == NULL);
Py_INCREF(tmp_assign_source_2);
var_params = tmp_assign_source_2;
}
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 177;
}
if (exception_tb && exception_tb->tb_frame == &frame_239bba38afe4a7297d37f53266bdec8a->m_frame) frame_239bba38afe4a7297d37f53266bdec8a->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_3;
branch_end_2:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_raw);
tmp_expression_value_1 = par_raw;
tmp_attribute_value_1 = mod_consts[27];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_1, tmp_attribute_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
nuitka_bool tmp_assign_source_3;
tmp_assign_source_3 = NUITKA_BOOL_TRUE;
tmp_try_except_1__unhandled_indicator = tmp_assign_source_3;
}
// Tried code:
{
PyObject *tmp_dict_seq_1;
PyObject *tmp_dict_value_1;
CHECK_OBJECT(par_raw);
tmp_dict_seq_1 = par_raw;
tmp_dict_value_1 = TO_DICT(tmp_dict_seq_1, NULL);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
type_description_1 = "oo";
goto try_except_handler_4;
}
Py_DECREF(tmp_dict_value_1);
}
goto try_end_3;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
nuitka_bool tmp_assign_source_4;
tmp_assign_source_4 = NUITKA_BOOL_FALSE;
tmp_try_except_1__unhandled_indicator = tmp_assign_source_4;
}
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_239bba38afe4a7297d37f53266bdec8a, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_239bba38afe4a7297d37f53266bdec8a, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_ValueError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = Py_None;
assert(var_params == NULL);
Py_INCREF(tmp_assign_source_5);
var_params = tmp_assign_source_5;
}
goto branch_end_4;
branch_no_4:;
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_TypeError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_5 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_6;
tmp_assign_source_6 = Py_None;
assert(var_params == NULL);
Py_INCREF(tmp_assign_source_6);
var_params = tmp_assign_source_6;
}
goto branch_end_5;
branch_no_5:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 182;
}
if (exception_tb && exception_tb->tb_frame == &frame_239bba38afe4a7297d37f53266bdec8a->m_frame) frame_239bba38afe4a7297d37f53266bdec8a->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_5;
branch_end_5:;
branch_end_4:;
goto try_end_4;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_3;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_3:;
{
bool tmp_condition_result_6;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(tmp_try_except_1__unhandled_indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = tmp_try_except_1__unhandled_indicator;
tmp_cmp_expr_right_4 = NUITKA_BOOL_TRUE;
tmp_condition_result_6 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_list_arg_1;
nuitka_bool tmp_condition_result_7;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_raw);
tmp_isinstance_inst_2 = par_raw;
tmp_isinstance_cls_2 = (PyObject *)&PyDict_Type;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 189;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_7 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(par_raw);
tmp_expression_value_2 = par_raw;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[28]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 189;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_239bba38afe4a7297d37f53266bdec8a->m_frame.f_lineno = 189;
tmp_list_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_list_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 189;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(par_raw);
tmp_list_arg_1 = par_raw;
Py_INCREF(tmp_list_arg_1);
condexpr_end_1:;
tmp_assign_source_7 = MAKE_LIST(tmp_list_arg_1);
Py_DECREF(tmp_list_arg_1);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 189;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_params;
var_params = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_params);
tmp_args_element_value_2 = var_params;
frame_239bba38afe4a7297d37f53266bdec8a->m_frame.f_lineno = 190;
tmp_assign_source_8 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_2);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_params;
assert(old != NULL);
var_params = tmp_assign_source_8;
Py_DECREF(old);
}
}
branch_no_6:;
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_9;
tmp_assign_source_9 = Py_None;
assert(var_params == NULL);
Py_INCREF(tmp_assign_source_9);
var_params = tmp_assign_source_9;
}
branch_end_3:;
branch_end_1:;
if (var_params == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[29]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 194;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = var_params;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_239bba38afe4a7297d37f53266bdec8a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_239bba38afe4a7297d37f53266bdec8a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_239bba38afe4a7297d37f53266bdec8a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_239bba38afe4a7297d37f53266bdec8a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_239bba38afe4a7297d37f53266bdec8a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_239bba38afe4a7297d37f53266bdec8a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_239bba38afe4a7297d37f53266bdec8a,
type_description_1,
par_raw,
var_params
);
// Release cached frame if used for exception.
if (frame_239bba38afe4a7297d37f53266bdec8a == cache_frame_239bba38afe4a7297d37f53266bdec8a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_239bba38afe4a7297d37f53266bdec8a);
cache_frame_239bba38afe4a7297d37f53266bdec8a = NULL;
}
assertFrameObject(frame_239bba38afe4a7297d37f53266bdec8a);
// 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_params);
var_params = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_params);
var_params = 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_raw);
Py_DECREF(par_raw);
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_raw);
Py_DECREF(par_raw);
// 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$common$$$function__8_generate_nonce(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_FrameObject *frame_e3b443eec9b3b805f2f61f5de18638d9;
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_e3b443eec9b3b805f2f61f5de18638d9 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_e3b443eec9b3b805f2f61f5de18638d9)) {
Py_XDECREF(cache_frame_e3b443eec9b3b805f2f61f5de18638d9);
#if _DEBUG_REFCOUNTS
if (cache_frame_e3b443eec9b3b805f2f61f5de18638d9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e3b443eec9b3b805f2f61f5de18638d9 = MAKE_FUNCTION_FRAME(codeobj_e3b443eec9b3b805f2f61f5de18638d9, module_oauthlib$common, 0);
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e3b443eec9b3b805f2f61f5de18638d9->m_type_description == NULL);
frame_e3b443eec9b3b805f2f61f5de18638d9 = cache_frame_e3b443eec9b3b805f2f61f5de18638d9;
// Push the new frame as the currently active one.
pushFrameStack(frame_e3b443eec9b3b805f2f61f5de18638d9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e3b443eec9b3b805f2f61f5de18638d9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_value_3;
PyObject *tmp_called_value_4;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
goto frame_exception_exit_1;
}
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
goto frame_exception_exit_1;
}
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[31]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[31]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
goto frame_exception_exit_1;
}
frame_e3b443eec9b3b805f2f61f5de18638d9->m_frame.f_lineno = 209;
tmp_args_element_value_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[32]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
goto frame_exception_exit_1;
}
frame_e3b443eec9b3b805f2f61f5de18638d9->m_frame.f_lineno = 209;
tmp_add_expr_left_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_add_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
goto frame_exception_exit_1;
}
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[33]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_add_expr_left_1);
exception_lineno = 209;
goto frame_exception_exit_1;
}
frame_e3b443eec9b3b805f2f61f5de18638d9->m_frame.f_lineno = 209;
tmp_add_expr_right_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_add_expr_left_1);
exception_lineno = 209;
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
goto frame_exception_exit_1;
}
frame_e3b443eec9b3b805f2f61f5de18638d9->m_frame.f_lineno = 209;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e3b443eec9b3b805f2f61f5de18638d9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e3b443eec9b3b805f2f61f5de18638d9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e3b443eec9b3b805f2f61f5de18638d9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e3b443eec9b3b805f2f61f5de18638d9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e3b443eec9b3b805f2f61f5de18638d9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e3b443eec9b3b805f2f61f5de18638d9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e3b443eec9b3b805f2f61f5de18638d9,
type_description_1
);
// Release cached frame if used for exception.
if (frame_e3b443eec9b3b805f2f61f5de18638d9 == cache_frame_e3b443eec9b3b805f2f61f5de18638d9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e3b443eec9b3b805f2f61f5de18638d9);
cache_frame_e3b443eec9b3b805f2f61f5de18638d9 = NULL;
}
assertFrameObject(frame_e3b443eec9b3b805f2f61f5de18638d9);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_oauthlib$common$$$function__9_generate_timestamp(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_FrameObject *frame_bf55902468626d957a7bb3f13b228476;
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_bf55902468626d957a7bb3f13b228476 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_bf55902468626d957a7bb3f13b228476)) {
Py_XDECREF(cache_frame_bf55902468626d957a7bb3f13b228476);
#if _DEBUG_REFCOUNTS
if (cache_frame_bf55902468626d957a7bb3f13b228476 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bf55902468626d957a7bb3f13b228476 = MAKE_FUNCTION_FRAME(codeobj_bf55902468626d957a7bb3f13b228476, module_oauthlib$common, 0);
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bf55902468626d957a7bb3f13b228476->m_type_description == NULL);
frame_bf55902468626d957a7bb3f13b228476 = cache_frame_bf55902468626d957a7bb3f13b228476;
// Push the new frame as the currently active one.
pushFrameStack(frame_bf55902468626d957a7bb3f13b228476);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bf55902468626d957a7bb3f13b228476) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_int_arg_1;
PyObject *tmp_called_instance_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto frame_exception_exit_1;
}
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto frame_exception_exit_1;
}
frame_bf55902468626d957a7bb3f13b228476->m_frame.f_lineno = 221;
tmp_int_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[35]);
if (tmp_int_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = PyNumber_Int(tmp_int_arg_1);
Py_DECREF(tmp_int_arg_1);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto frame_exception_exit_1;
}
frame_bf55902468626d957a7bb3f13b228476->m_frame.f_lineno = 221;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_bf55902468626d957a7bb3f13b228476);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bf55902468626d957a7bb3f13b228476);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bf55902468626d957a7bb3f13b228476);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bf55902468626d957a7bb3f13b228476, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bf55902468626d957a7bb3f13b228476->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bf55902468626d957a7bb3f13b228476, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bf55902468626d957a7bb3f13b228476,
type_description_1
);
// Release cached frame if used for exception.
if (frame_bf55902468626d957a7bb3f13b228476 == cache_frame_bf55902468626d957a7bb3f13b228476) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bf55902468626d957a7bb3f13b228476);
cache_frame_bf55902468626d957a7bb3f13b228476 = NULL;
}
assertFrameObject(frame_bf55902468626d957a7bb3f13b228476);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_oauthlib$common$$$function__10_generate_token(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_length = python_pars[0];
struct Nuitka_CellObject *par_chars = Nuitka_Cell_New1(python_pars[1]);
struct Nuitka_CellObject *var_rand = Nuitka_Cell_Empty();
PyObject *tmp_genexpr_1__$0 = NULL;
struct Nuitka_FrameObject *frame_bb9ccf55144e74d3a1033f36f0aa2ddb;
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_bb9ccf55144e74d3a1033f36f0aa2ddb = 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_bb9ccf55144e74d3a1033f36f0aa2ddb)) {
Py_XDECREF(cache_frame_bb9ccf55144e74d3a1033f36f0aa2ddb);
#if _DEBUG_REFCOUNTS
if (cache_frame_bb9ccf55144e74d3a1033f36f0aa2ddb == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bb9ccf55144e74d3a1033f36f0aa2ddb = MAKE_FUNCTION_FRAME(codeobj_bb9ccf55144e74d3a1033f36f0aa2ddb, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bb9ccf55144e74d3a1033f36f0aa2ddb->m_type_description == NULL);
frame_bb9ccf55144e74d3a1033f36f0aa2ddb = cache_frame_bb9ccf55144e74d3a1033f36f0aa2ddb;
// Push the new frame as the currently active one.
pushFrameStack(frame_bb9ccf55144e74d3a1033f36f0aa2ddb);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bb9ccf55144e74d3a1033f36f0aa2ddb) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[37]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[37]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
frame_bb9ccf55144e74d3a1033f36f0aa2ddb->m_frame.f_lineno = 232;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_rand) == NULL);
PyCell_SET(var_rand, tmp_assign_source_1);
}
{
PyObject *tmp_str_arg_value_1;
PyObject *tmp_iterable_value_1;
tmp_str_arg_value_1 = mod_consts[38];
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_xrange_low_1;
CHECK_OBJECT(par_length);
tmp_xrange_low_1 = par_length;
tmp_iter_arg_1 = BUILTIN_XRANGE1(tmp_xrange_low_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_1__$0 == NULL);
tmp_genexpr_1__$0 = tmp_assign_source_2;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_1[3];
tmp_closure_1[0] = par_chars;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = Nuitka_Cell_New0(tmp_genexpr_1__$0);
tmp_closure_1[2] = var_rand;
Py_INCREF(tmp_closure_1[2]);
tmp_iterable_value_1 = MAKE_GENERATOR_oauthlib$common$$$function__10_generate_token$$$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_return_value = UNICODE_JOIN(tmp_str_arg_value_1, tmp_iterable_value_1);
Py_DECREF(tmp_iterable_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_bb9ccf55144e74d3a1033f36f0aa2ddb);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bb9ccf55144e74d3a1033f36f0aa2ddb);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bb9ccf55144e74d3a1033f36f0aa2ddb);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bb9ccf55144e74d3a1033f36f0aa2ddb, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bb9ccf55144e74d3a1033f36f0aa2ddb->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bb9ccf55144e74d3a1033f36f0aa2ddb, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bb9ccf55144e74d3a1033f36f0aa2ddb,
type_description_1,
par_length,
par_chars,
var_rand
);
// Release cached frame if used for exception.
if (frame_bb9ccf55144e74d3a1033f36f0aa2ddb == cache_frame_bb9ccf55144e74d3a1033f36f0aa2ddb) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bb9ccf55144e74d3a1033f36f0aa2ddb);
cache_frame_bb9ccf55144e74d3a1033f36f0aa2ddb = NULL;
}
assertFrameObject(frame_bb9ccf55144e74d3a1033f36f0aa2ddb);
// 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_rand);
Py_DECREF(var_rand);
var_rand = 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_rand);
Py_DECREF(var_rand);
var_rand = 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_length);
Py_DECREF(par_length);
CHECK_OBJECT(par_chars);
Py_DECREF(par_chars);
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_length);
Py_DECREF(par_length);
CHECK_OBJECT(par_chars);
Py_DECREF(par_chars);
// 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$common$$$function__10_generate_token$$$genexpr__1_genexpr_locals {
PyObject *var_x;
PyObject *tmp_iter_value_0;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
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;
};
static PyObject *oauthlib$common$$$function__10_generate_token$$$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$common$$$function__10_generate_token$$$genexpr__1_genexpr_locals *generator_heap = (struct oauthlib$common$$$function__10_generate_token$$$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_x = NULL;
generator_heap->tmp_iter_value_0 = 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_c5244805278467ab93ebd248bc1e04b3, module_oauthlib$common, sizeof(void *)+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[1]));
tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[1]);
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 = "Nocc";
generator_heap->exception_lineno = 233;
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);
}
}
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_assign_source_2 = generator_heap->tmp_iter_value_0;
{
PyObject *old = generator_heap->var_x;
generator_heap->var_x = tmp_assign_source_2;
Py_INCREF(generator_heap->var_x);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[40]);
generator_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
CHAIN_EXCEPTION(generator_heap->exception_value);
generator_heap->exception_lineno = 233;
generator_heap->type_description_1 = "Nocc";
goto try_except_handler_2;
}
tmp_expression_value_2 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[41]);
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 = 233;
generator_heap->type_description_1 = "Nocc";
goto try_except_handler_2;
}
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[42]);
generator_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
CHAIN_EXCEPTION(generator_heap->exception_value);
generator_heap->exception_lineno = 233;
generator_heap->type_description_1 = "Nocc";
goto try_except_handler_2;
}
tmp_args_element_value_1 = Nuitka_Cell_GET(generator->m_closure[0]);
generator->m_frame->m_frame.f_lineno = 233;
tmp_expression_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_expression_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 = 233;
generator_heap->type_description_1 = "Nocc";
goto try_except_handler_2;
}
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), &tmp_args_element_value_1, 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 = 233;
generator_heap->type_description_1 = "Nocc";
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 = 233;
generator_heap->type_description_1 = "Nocc";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
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;
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_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 frame_exception_exit_1;
// End of try:
try_end_1:;
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_x,
generator->m_closure[2],
generator->m_closure[0]
);
// 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_2;
// Exception handler code:
try_except_handler_1:;
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->var_x);
generator_heap->var_x = 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 function_exception_exit;
// End of try:
try_end_2:;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
Py_XDECREF(generator_heap->var_x);
generator_heap->var_x = 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$common$$$function__10_generate_token$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
oauthlib$common$$$function__10_generate_token$$$genexpr__1_genexpr_context,
module_oauthlib$common,
mod_consts[43],
#if PYTHON_VERSION >= 0x350
mod_consts[44],
#endif
codeobj_c5244805278467ab93ebd248bc1e04b3,
closure,
3,
sizeof(struct oauthlib$common$$$function__10_generate_token$$$genexpr__1_genexpr_locals)
);
}
static PyObject *impl_oauthlib$common$$$function__11_generate_signed_token(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_private_pem = python_pars[0];
PyObject *par_request = python_pars[1];
PyObject *var_jwt = NULL;
PyObject *var_now = NULL;
PyObject *var_claims = NULL;
PyObject *var_token = NULL;
struct Nuitka_FrameObject *frame_a0117d54b364880f4e1f6597de857551;
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_a0117d54b364880f4e1f6597de857551 = 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_a0117d54b364880f4e1f6597de857551)) {
Py_XDECREF(cache_frame_a0117d54b364880f4e1f6597de857551);
#if _DEBUG_REFCOUNTS
if (cache_frame_a0117d54b364880f4e1f6597de857551 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a0117d54b364880f4e1f6597de857551 = MAKE_FUNCTION_FRAME(codeobj_a0117d54b364880f4e1f6597de857551, module_oauthlib$common, 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_a0117d54b364880f4e1f6597de857551->m_type_description == NULL);
frame_a0117d54b364880f4e1f6597de857551 = cache_frame_a0117d54b364880f4e1f6597de857551;
// Push the new frame as the currently active one.
pushFrameStack(frame_a0117d54b364880f4e1f6597de857551);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a0117d54b364880f4e1f6597de857551) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_name_value_1;
PyObject *tmp_globals_arg_value_1;
PyObject *tmp_locals_arg_value_1;
PyObject *tmp_fromlist_value_1;
PyObject *tmp_level_value_1;
tmp_name_value_1 = mod_consts[45];
tmp_globals_arg_value_1 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[46];
frame_a0117d54b364880f4e1f6597de857551->m_frame.f_lineno = 237;
tmp_assign_source_1 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_jwt == NULL);
var_jwt = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[47]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[47]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[47]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_a0117d54b364880f4e1f6597de857551->m_frame.f_lineno = 239;
tmp_assign_source_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[48]);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_now == NULL);
var_now = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_2;
tmp_dict_key_1 = mod_consts[49];
CHECK_OBJECT(par_request);
tmp_expression_value_2 = par_request;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[49]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 242;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_expression_value_4;
tmp_res = PyDict_SetItem(tmp_assign_source_3, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[50];
CHECK_OBJECT(var_now);
tmp_add_expr_left_1 = var_now;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[47]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[47]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[51]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
CHECK_OBJECT(par_request);
tmp_expression_value_4 = par_request;
tmp_kw_call_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[52]);
if (tmp_kw_call_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 243;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
frame_a0117d54b364880f4e1f6597de857551->m_frame.f_lineno = 243;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_1};
tmp_add_expr_right_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, kw_values, mod_consts[53]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_assign_source_3, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_assign_source_3);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
assert(var_claims == NULL);
var_claims = tmp_assign_source_3;
}
{
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_iterable_value_1;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(var_claims);
tmp_dict_arg_value_1 = var_claims;
CHECK_OBJECT(par_request);
tmp_expression_value_5 = par_request;
tmp_iterable_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[54]);
if (tmp_iterable_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(PyDict_Check(tmp_dict_arg_value_1));
if (HAS_ATTR_BOOL(tmp_iterable_value_1, const_str_plain_keys)){
tmp_res = PyDict_Merge(tmp_dict_arg_value_1, tmp_iterable_value_1, 1);
} else {
tmp_res = PyDict_MergeFromSeq2(tmp_dict_arg_value_1, tmp_iterable_value_1, 1);
}
Py_DECREF(tmp_iterable_value_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(var_jwt);
tmp_expression_value_6 = var_jwt;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[1]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_claims);
tmp_args_element_value_1 = var_claims;
CHECK_OBJECT(par_private_pem);
tmp_args_element_value_2 = par_private_pem;
tmp_args_element_value_3 = mod_consts[55];
frame_a0117d54b364880f4e1f6597de857551->m_frame.f_lineno = 248;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_token == NULL);
var_token = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[56]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[56]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_token);
tmp_args_element_value_4 = var_token;
tmp_args_element_value_5 = mod_consts[57];
frame_a0117d54b364880f4e1f6597de857551->m_frame.f_lineno = 249;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_token;
assert(old != NULL);
var_token = tmp_assign_source_5;
Py_DECREF(old);
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a0117d54b364880f4e1f6597de857551);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a0117d54b364880f4e1f6597de857551);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a0117d54b364880f4e1f6597de857551, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a0117d54b364880f4e1f6597de857551->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a0117d54b364880f4e1f6597de857551, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a0117d54b364880f4e1f6597de857551,
type_description_1,
par_private_pem,
par_request,
var_jwt,
var_now,
var_claims,
var_token
);
// Release cached frame if used for exception.
if (frame_a0117d54b364880f4e1f6597de857551 == cache_frame_a0117d54b364880f4e1f6597de857551) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a0117d54b364880f4e1f6597de857551);
cache_frame_a0117d54b364880f4e1f6597de857551 = NULL;
}
assertFrameObject(frame_a0117d54b364880f4e1f6597de857551);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_token);
tmp_return_value = var_token;
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_jwt);
Py_DECREF(var_jwt);
var_jwt = NULL;
CHECK_OBJECT(var_now);
Py_DECREF(var_now);
var_now = NULL;
CHECK_OBJECT(var_claims);
Py_DECREF(var_claims);
var_claims = NULL;
CHECK_OBJECT(var_token);
Py_DECREF(var_token);
var_token = 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_jwt);
var_jwt = NULL;
Py_XDECREF(var_now);
var_now = NULL;
Py_XDECREF(var_claims);
var_claims = NULL;
Py_XDECREF(var_token);
var_token = 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_private_pem);
Py_DECREF(par_private_pem);
CHECK_OBJECT(par_request);
Py_DECREF(par_request);
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_private_pem);
Py_DECREF(par_private_pem);
CHECK_OBJECT(par_request);
Py_DECREF(par_request);
// 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$common$$$function__12_verify_signed_token(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_public_pem = python_pars[0];
PyObject *par_token = python_pars[1];
PyObject *var_jwt = NULL;
struct Nuitka_FrameObject *frame_67e60620825d712bff57998a20fc83e0;
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_67e60620825d712bff57998a20fc83e0 = 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_67e60620825d712bff57998a20fc83e0)) {
Py_XDECREF(cache_frame_67e60620825d712bff57998a20fc83e0);
#if _DEBUG_REFCOUNTS
if (cache_frame_67e60620825d712bff57998a20fc83e0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_67e60620825d712bff57998a20fc83e0 = MAKE_FUNCTION_FRAME(codeobj_67e60620825d712bff57998a20fc83e0, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_67e60620825d712bff57998a20fc83e0->m_type_description == NULL);
frame_67e60620825d712bff57998a20fc83e0 = cache_frame_67e60620825d712bff57998a20fc83e0;
// Push the new frame as the currently active one.
pushFrameStack(frame_67e60620825d712bff57998a20fc83e0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_67e60620825d712bff57998a20fc83e0) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_name_value_1;
PyObject *tmp_globals_arg_value_1;
PyObject *tmp_locals_arg_value_1;
PyObject *tmp_fromlist_value_1;
PyObject *tmp_level_value_1;
tmp_name_value_1 = mod_consts[45];
tmp_globals_arg_value_1 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[46];
frame_67e60620825d712bff57998a20fc83e0->m_frame.f_lineno = 255;
tmp_assign_source_1 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 255;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_jwt == NULL);
var_jwt = tmp_assign_source_1;
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(var_jwt);
tmp_expression_value_1 = var_jwt;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[4]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 257;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_token);
tmp_tuple_element_1 = par_token;
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_public_pem);
tmp_tuple_element_1 = par_public_pem;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_1);
tmp_kwargs_value_1 = DEEP_COPY_DICT(mod_consts[58]);
frame_67e60620825d712bff57998a20fc83e0->m_frame.f_lineno = 257;
tmp_return_value = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 257;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_67e60620825d712bff57998a20fc83e0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_67e60620825d712bff57998a20fc83e0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_67e60620825d712bff57998a20fc83e0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_67e60620825d712bff57998a20fc83e0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_67e60620825d712bff57998a20fc83e0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_67e60620825d712bff57998a20fc83e0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_67e60620825d712bff57998a20fc83e0,
type_description_1,
par_public_pem,
par_token,
var_jwt
);
// Release cached frame if used for exception.
if (frame_67e60620825d712bff57998a20fc83e0 == cache_frame_67e60620825d712bff57998a20fc83e0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_67e60620825d712bff57998a20fc83e0);
cache_frame_67e60620825d712bff57998a20fc83e0 = NULL;
}
assertFrameObject(frame_67e60620825d712bff57998a20fc83e0);
// 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_jwt);
Py_DECREF(var_jwt);
var_jwt = 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_jwt);
var_jwt = 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_public_pem);
Py_DECREF(par_public_pem);
CHECK_OBJECT(par_token);
Py_DECREF(par_token);
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_public_pem);
Py_DECREF(par_public_pem);
CHECK_OBJECT(par_token);
Py_DECREF(par_token);
// 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$common$$$function__13_generate_client_id(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_length = python_pars[0];
PyObject *par_chars = python_pars[1];
struct Nuitka_FrameObject *frame_5dfde497fc71bbcf219c4562893f4a29;
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_5dfde497fc71bbcf219c4562893f4a29 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_5dfde497fc71bbcf219c4562893f4a29)) {
Py_XDECREF(cache_frame_5dfde497fc71bbcf219c4562893f4a29);
#if _DEBUG_REFCOUNTS
if (cache_frame_5dfde497fc71bbcf219c4562893f4a29 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5dfde497fc71bbcf219c4562893f4a29 = MAKE_FUNCTION_FRAME(codeobj_5dfde497fc71bbcf219c4562893f4a29, module_oauthlib$common, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_5dfde497fc71bbcf219c4562893f4a29->m_type_description == NULL);
frame_5dfde497fc71bbcf219c4562893f4a29 = cache_frame_5dfde497fc71bbcf219c4562893f4a29;
// Push the new frame as the currently active one.
pushFrameStack(frame_5dfde497fc71bbcf219c4562893f4a29);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5dfde497fc71bbcf219c4562893f4a29) == 2); // Frame stack
// Framed code:
{
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$common, (Nuitka_StringObject *)mod_consts[59]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[59]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_length);
tmp_args_element_value_1 = par_length;
CHECK_OBJECT(par_chars);
tmp_args_element_value_2 = par_chars;
frame_5dfde497fc71bbcf219c4562893f4a29->m_frame.f_lineno = 266;
{
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);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_5dfde497fc71bbcf219c4562893f4a29);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5dfde497fc71bbcf219c4562893f4a29);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5dfde497fc71bbcf219c4562893f4a29);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5dfde497fc71bbcf219c4562893f4a29, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5dfde497fc71bbcf219c4562893f4a29->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5dfde497fc71bbcf219c4562893f4a29, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5dfde497fc71bbcf219c4562893f4a29,
type_description_1,
par_length,
par_chars
);
// Release cached frame if used for exception.
if (frame_5dfde497fc71bbcf219c4562893f4a29 == cache_frame_5dfde497fc71bbcf219c4562893f4a29) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5dfde497fc71bbcf219c4562893f4a29);
cache_frame_5dfde497fc71bbcf219c4562893f4a29 = NULL;
}
assertFrameObject(frame_5dfde497fc71bbcf219c4562893f4a29);
// 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_length);
Py_DECREF(par_length);
CHECK_OBJECT(par_chars);
Py_DECREF(par_chars);
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_length);
Py_DECREF(par_length);
CHECK_OBJECT(par_chars);
Py_DECREF(par_chars);
// 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$common$$$function__14_add_params_to_qs(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_query = python_pars[0];
PyObject *par_params = python_pars[1];
PyObject *var_queryparams = NULL;
struct Nuitka_FrameObject *frame_5bd7a7123460a9f10b00f1b4881a222f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_5bd7a7123460a9f10b00f1b4881a222f = 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_5bd7a7123460a9f10b00f1b4881a222f)) {
Py_XDECREF(cache_frame_5bd7a7123460a9f10b00f1b4881a222f);
#if _DEBUG_REFCOUNTS
if (cache_frame_5bd7a7123460a9f10b00f1b4881a222f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5bd7a7123460a9f10b00f1b4881a222f = MAKE_FUNCTION_FRAME(codeobj_5bd7a7123460a9f10b00f1b4881a222f, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_5bd7a7123460a9f10b00f1b4881a222f->m_type_description == NULL);
frame_5bd7a7123460a9f10b00f1b4881a222f = cache_frame_5bd7a7123460a9f10b00f1b4881a222f;
// Push the new frame as the currently active one.
pushFrameStack(frame_5bd7a7123460a9f10b00f1b4881a222f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5bd7a7123460a9f10b00f1b4881a222f) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_params);
tmp_isinstance_inst_1 = par_params;
tmp_isinstance_cls_1 = (PyObject *)&PyDict_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 = 271;
type_description_1 = "ooo";
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_params);
tmp_expression_value_1 = par_params;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[28]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_5bd7a7123460a9f10b00f1b4881a222f->m_frame.f_lineno = 272;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_params;
assert(old != NULL);
par_params = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[21]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[21]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 273;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[22]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 273;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_query);
tmp_tuple_element_1 = par_query;
tmp_args_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_1);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[23]);
frame_5bd7a7123460a9f10b00f1b4881a222f->m_frame.f_lineno = 273;
tmp_assign_source_2 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 273;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_queryparams == NULL);
var_queryparams = tmp_assign_source_2;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(var_queryparams);
tmp_called_instance_1 = var_queryparams;
CHECK_OBJECT(par_params);
tmp_args_element_value_1 = par_params;
frame_5bd7a7123460a9f10b00f1b4881a222f->m_frame.f_lineno = 274;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[61], 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 = 274;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[62]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[62]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_queryparams);
tmp_args_element_value_2 = var_queryparams;
frame_5bd7a7123460a9f10b00f1b4881a222f->m_frame.f_lineno = 275;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 275;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_5bd7a7123460a9f10b00f1b4881a222f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5bd7a7123460a9f10b00f1b4881a222f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5bd7a7123460a9f10b00f1b4881a222f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5bd7a7123460a9f10b00f1b4881a222f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5bd7a7123460a9f10b00f1b4881a222f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5bd7a7123460a9f10b00f1b4881a222f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5bd7a7123460a9f10b00f1b4881a222f,
type_description_1,
par_query,
par_params,
var_queryparams
);
// Release cached frame if used for exception.
if (frame_5bd7a7123460a9f10b00f1b4881a222f == cache_frame_5bd7a7123460a9f10b00f1b4881a222f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5bd7a7123460a9f10b00f1b4881a222f);
cache_frame_5bd7a7123460a9f10b00f1b4881a222f = NULL;
}
assertFrameObject(frame_5bd7a7123460a9f10b00f1b4881a222f);
// 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_params);
Py_DECREF(par_params);
par_params = NULL;
CHECK_OBJECT(var_queryparams);
Py_DECREF(var_queryparams);
var_queryparams = 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_params);
par_params = NULL;
Py_XDECREF(var_queryparams);
var_queryparams = 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_query);
Py_DECREF(par_query);
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_query);
Py_DECREF(par_query);
// 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$common$$$function__15_add_params_to_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_params = python_pars[1];
PyObject *par_fragment = python_pars[2];
PyObject *var_sch = NULL;
PyObject *var_net = NULL;
PyObject *var_path = NULL;
PyObject *var_par = NULL;
PyObject *var_query = NULL;
PyObject *var_fra = 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;
struct Nuitka_FrameObject *frame_8fb912d9ee42d5d38697d0c5c53ec350;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_8fb912d9ee42d5d38697d0c5c53ec350 = NULL;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_8fb912d9ee42d5d38697d0c5c53ec350)) {
Py_XDECREF(cache_frame_8fb912d9ee42d5d38697d0c5c53ec350);
#if _DEBUG_REFCOUNTS
if (cache_frame_8fb912d9ee42d5d38697d0c5c53ec350 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8fb912d9ee42d5d38697d0c5c53ec350 = MAKE_FUNCTION_FRAME(codeobj_8fb912d9ee42d5d38697d0c5c53ec350, module_oauthlib$common, 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_8fb912d9ee42d5d38697d0c5c53ec350->m_type_description == NULL);
frame_8fb912d9ee42d5d38697d0c5c53ec350 = cache_frame_8fb912d9ee42d5d38697d0c5c53ec350;
// Push the new frame as the currently active one.
pushFrameStack(frame_8fb912d9ee42d5d38697d0c5c53ec350);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8fb912d9ee42d5d38697d0c5c53ec350) == 2); // Frame stack
// Framed code:
// 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$common, (Nuitka_StringObject *)mod_consts[21]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[21]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 280;
type_description_1 = "ooooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_uri);
tmp_args_element_value_1 = par_uri;
frame_8fb912d9ee42d5d38697d0c5c53ec350->m_frame.f_lineno = 280;
tmp_iter_arg_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[21], 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 = 280;
type_description_1 = "ooooooooo";
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 = 280;
type_description_1 = "ooooooooo";
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 = "ooooooooo";
exception_lineno = 280;
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 = "ooooooooo";
exception_lineno = 280;
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 = "ooooooooo";
exception_lineno = 280;
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 = "ooooooooo";
exception_lineno = 280;
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 = "ooooooooo";
exception_lineno = 280;
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 = "ooooooooo";
exception_lineno = 280;
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 = "ooooooooo";
exception_lineno = 280;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[64];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooooooo";
exception_lineno = 280;
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_sch == NULL);
Py_INCREF(tmp_assign_source_8);
var_sch = 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_net == NULL);
Py_INCREF(tmp_assign_source_9);
var_net = 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_par == NULL);
Py_INCREF(tmp_assign_source_11);
var_par = 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_fra == NULL);
Py_INCREF(tmp_assign_source_13);
var_fra = tmp_assign_source_13;
}
Py_XDECREF(tmp_tuple_unpack_1__element_6);
tmp_tuple_unpack_1__element_6 = NULL;
{
nuitka_bool tmp_condition_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_fragment);
tmp_truth_name_1 = CHECK_IF_TRUE(par_fragment);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 281;
type_description_1 = "ooooooooo";
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_assign_source_14;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[65]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[65]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_fra);
tmp_args_element_value_2 = var_fra;
CHECK_OBJECT(par_params);
tmp_args_element_value_3 = par_params;
frame_8fb912d9ee42d5d38697d0c5c53ec350->m_frame.f_lineno = 282;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_assign_source_14 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 282;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_fra;
assert(old != NULL);
var_fra = tmp_assign_source_14;
Py_DECREF(old);
}
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[65]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[65]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 284;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_query);
tmp_args_element_value_4 = var_query;
CHECK_OBJECT(par_params);
tmp_args_element_value_5 = par_params;
frame_8fb912d9ee42d5d38697d0c5c53ec350->m_frame.f_lineno = 284;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_assign_source_15 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 284;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_query;
assert(old != NULL);
var_query = tmp_assign_source_15;
Py_DECREF(old);
}
}
branch_end_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_6;
PyObject *tmp_tuple_element_1;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[21]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[21]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 285;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_sch);
tmp_tuple_element_1 = var_sch;
tmp_args_element_value_6 = MAKE_TUPLE_EMPTY(6);
PyTuple_SET_ITEM0(tmp_args_element_value_6, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_net);
tmp_tuple_element_1 = var_net;
PyTuple_SET_ITEM0(tmp_args_element_value_6, 1, tmp_tuple_element_1);
CHECK_OBJECT(var_path);
tmp_tuple_element_1 = var_path;
PyTuple_SET_ITEM0(tmp_args_element_value_6, 2, tmp_tuple_element_1);
CHECK_OBJECT(var_par);
tmp_tuple_element_1 = var_par;
PyTuple_SET_ITEM0(tmp_args_element_value_6, 3, tmp_tuple_element_1);
CHECK_OBJECT(var_query);
tmp_tuple_element_1 = var_query;
PyTuple_SET_ITEM0(tmp_args_element_value_6, 4, tmp_tuple_element_1);
CHECK_OBJECT(var_fra);
tmp_tuple_element_1 = var_fra;
PyTuple_SET_ITEM0(tmp_args_element_value_6, 5, tmp_tuple_element_1);
frame_8fb912d9ee42d5d38697d0c5c53ec350->m_frame.f_lineno = 285;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[66], tmp_args_element_value_6);
Py_DECREF(tmp_args_element_value_6);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 285;
type_description_1 = "ooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8fb912d9ee42d5d38697d0c5c53ec350);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8fb912d9ee42d5d38697d0c5c53ec350);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8fb912d9ee42d5d38697d0c5c53ec350);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8fb912d9ee42d5d38697d0c5c53ec350, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8fb912d9ee42d5d38697d0c5c53ec350->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8fb912d9ee42d5d38697d0c5c53ec350, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8fb912d9ee42d5d38697d0c5c53ec350,
type_description_1,
par_uri,
par_params,
par_fragment,
var_sch,
var_net,
var_path,
var_par,
var_query,
var_fra
);
// Release cached frame if used for exception.
if (frame_8fb912d9ee42d5d38697d0c5c53ec350 == cache_frame_8fb912d9ee42d5d38697d0c5c53ec350) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8fb912d9ee42d5d38697d0c5c53ec350);
cache_frame_8fb912d9ee42d5d38697d0c5c53ec350 = NULL;
}
assertFrameObject(frame_8fb912d9ee42d5d38697d0c5c53ec350);
// 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_sch);
Py_DECREF(var_sch);
var_sch = NULL;
CHECK_OBJECT(var_net);
Py_DECREF(var_net);
var_net = NULL;
CHECK_OBJECT(var_path);
Py_DECREF(var_path);
var_path = NULL;
CHECK_OBJECT(var_par);
Py_DECREF(var_par);
var_par = NULL;
CHECK_OBJECT(var_query);
Py_DECREF(var_query);
var_query = NULL;
CHECK_OBJECT(var_fra);
Py_DECREF(var_fra);
var_fra = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_sch);
var_sch = NULL;
Py_XDECREF(var_net);
var_net = NULL;
Py_XDECREF(var_path);
var_path = NULL;
Py_XDECREF(var_par);
var_par = NULL;
Py_XDECREF(var_query);
var_query = NULL;
Py_XDECREF(var_fra);
var_fra = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_uri);
Py_DECREF(par_uri);
CHECK_OBJECT(par_params);
Py_DECREF(par_params);
CHECK_OBJECT(par_fragment);
Py_DECREF(par_fragment);
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);
CHECK_OBJECT(par_params);
Py_DECREF(par_params);
CHECK_OBJECT(par_fragment);
Py_DECREF(par_fragment);
// 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$common$$$function__16_safe_string_equals(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_a = python_pars[0];
PyObject *par_b = python_pars[1];
PyObject *var_result = NULL;
PyObject *var_x = NULL;
PyObject *var_y = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_a6cd53db2eb962bb2d38943eb046f728;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
PyObject *tmp_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_a6cd53db2eb962bb2d38943eb046f728 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_a6cd53db2eb962bb2d38943eb046f728)) {
Py_XDECREF(cache_frame_a6cd53db2eb962bb2d38943eb046f728);
#if _DEBUG_REFCOUNTS
if (cache_frame_a6cd53db2eb962bb2d38943eb046f728 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a6cd53db2eb962bb2d38943eb046f728 = MAKE_FUNCTION_FRAME(codeobj_a6cd53db2eb962bb2d38943eb046f728, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a6cd53db2eb962bb2d38943eb046f728->m_type_description == NULL);
frame_a6cd53db2eb962bb2d38943eb046f728 = cache_frame_a6cd53db2eb962bb2d38943eb046f728;
// Push the new frame as the currently active one.
pushFrameStack(frame_a6cd53db2eb962bb2d38943eb046f728);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a6cd53db2eb962bb2d38943eb046f728) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_len_arg_2;
CHECK_OBJECT(par_a);
tmp_len_arg_1 = par_a;
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_b);
tmp_len_arg_2 = par_b;
tmp_cmp_expr_right_1 = BUILTIN_LEN(tmp_len_arg_2);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 297;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = RICH_COMPARE_EQ_CBOOL_LONG_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
tmp_condition_result_1 = !tmp_condition_result_1;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_False;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[46];
assert(var_result == NULL);
Py_INCREF(tmp_assign_source_1);
var_result = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_value_1 = (PyObject *)&PyZip_Type;
CHECK_OBJECT(par_a);
tmp_args_element_value_1 = par_a;
CHECK_OBJECT(par_b);
tmp_args_element_value_2 = par_b;
frame_a6cd53db2eb962bb2d38943eb046f728->m_frame.f_lineno = 301;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
exception_lineno = 301;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_iter_arg_2 = tmp_for_loop_1__iter_value;
tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_4;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
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 = "ooooo";
exception_lineno = 301;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 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_1 = "ooooo";
exception_lineno = 301;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_6;
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 = "ooooo";
exception_lineno = 301;
goto try_except_handler_4;
}
}
} 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 = "ooooo";
exception_lineno = 301;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_3;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_2;
// 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_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_x;
var_x = tmp_assign_source_7;
Py_INCREF(var_x);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_y;
var_y = tmp_assign_source_8;
Py_INCREF(var_y);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_ibitor_expr_left_1;
PyObject *tmp_ibitor_expr_right_1;
PyObject *tmp_bitxor_expr_left_1;
PyObject *tmp_bitxor_expr_right_1;
PyObject *tmp_ord_arg_1;
PyObject *tmp_ord_arg_2;
if (var_result == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[68]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 302;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_ibitor_expr_left_1 = var_result;
CHECK_OBJECT(var_x);
tmp_ord_arg_1 = var_x;
tmp_bitxor_expr_left_1 = BUILTIN_ORD(tmp_ord_arg_1);
if (tmp_bitxor_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 302;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_y);
tmp_ord_arg_2 = var_y;
tmp_bitxor_expr_right_1 = BUILTIN_ORD(tmp_ord_arg_2);
if (tmp_bitxor_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_bitxor_expr_left_1);
exception_lineno = 302;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_ibitor_expr_right_1 = BINARY_OPERATION_BITXOR_OBJECT_OBJECT_OBJECT(tmp_bitxor_expr_left_1, tmp_bitxor_expr_right_1);
Py_DECREF(tmp_bitxor_expr_left_1);
Py_DECREF(tmp_bitxor_expr_right_1);
if (tmp_ibitor_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 302;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_result = INPLACE_OPERATION_BITOR_OBJECT_OBJECT(&tmp_ibitor_expr_left_1, tmp_ibitor_expr_right_1);
Py_DECREF(tmp_ibitor_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 302;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_assign_source_9 = tmp_ibitor_expr_left_1;
var_result = tmp_assign_source_9;
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
if (var_result == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[68]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 303;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_2 = var_result;
tmp_cmp_expr_right_2 = mod_consts[46];
tmp_return_value = RICH_COMPARE_EQ_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a6cd53db2eb962bb2d38943eb046f728);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a6cd53db2eb962bb2d38943eb046f728);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a6cd53db2eb962bb2d38943eb046f728);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a6cd53db2eb962bb2d38943eb046f728, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a6cd53db2eb962bb2d38943eb046f728->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a6cd53db2eb962bb2d38943eb046f728, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a6cd53db2eb962bb2d38943eb046f728,
type_description_1,
par_a,
par_b,
var_result,
var_x,
var_y
);
// Release cached frame if used for exception.
if (frame_a6cd53db2eb962bb2d38943eb046f728 == cache_frame_a6cd53db2eb962bb2d38943eb046f728) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a6cd53db2eb962bb2d38943eb046f728);
cache_frame_a6cd53db2eb962bb2d38943eb046f728 = NULL;
}
assertFrameObject(frame_a6cd53db2eb962bb2d38943eb046f728);
// 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_result);
var_result = NULL;
Py_XDECREF(var_x);
var_x = NULL;
Py_XDECREF(var_y);
var_y = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_result);
var_result = NULL;
Py_XDECREF(var_x);
var_x = NULL;
Py_XDECREF(var_y);
var_y = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_a);
Py_DECREF(par_a);
CHECK_OBJECT(par_b);
Py_DECREF(par_b);
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_a);
Py_DECREF(par_a);
CHECK_OBJECT(par_b);
Py_DECREF(par_b);
// 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$common$$$function__17_to_unicode(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_data = python_pars[0];
struct Nuitka_CellObject *par_encoding = Nuitka_Cell_New1(python_pars[1]);
PyObject *tmp_genexpr_1__$0 = NULL;
PyObject *tmp_genexpr_2__$0 = NULL;
nuitka_bool tmp_try_except_1__unhandled_indicator = NUITKA_BOOL_UNASSIGNED;
struct Nuitka_FrameObject *frame_6f6109227b8483279fdb33f10db04bf2;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_6f6109227b8483279fdb33f10db04bf2 = NULL;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_6f6109227b8483279fdb33f10db04bf2)) {
Py_XDECREF(cache_frame_6f6109227b8483279fdb33f10db04bf2);
#if _DEBUG_REFCOUNTS
if (cache_frame_6f6109227b8483279fdb33f10db04bf2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6f6109227b8483279fdb33f10db04bf2 = MAKE_FUNCTION_FRAME(codeobj_6f6109227b8483279fdb33f10db04bf2, module_oauthlib$common, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6f6109227b8483279fdb33f10db04bf2->m_type_description == NULL);
frame_6f6109227b8483279fdb33f10db04bf2 = cache_frame_6f6109227b8483279fdb33f10db04bf2;
// Push the new frame as the currently active one.
pushFrameStack(frame_6f6109227b8483279fdb33f10db04bf2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6f6109227b8483279fdb33f10db04bf2) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_data);
tmp_isinstance_inst_1 = par_data;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_1 = "oc";
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 = 308;
type_description_1 = "oc";
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:;
CHECK_OBJECT(par_data);
tmp_return_value = par_data;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
CHECK_OBJECT(par_data);
tmp_isinstance_inst_2 = par_data;
tmp_isinstance_cls_2 = (PyObject *)&PyBytes_Type;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 311;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_dict_value_0_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 312;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_data);
tmp_kw_call_arg_value_0_1 = par_data;
CHECK_OBJECT(Nuitka_Cell_GET(par_encoding));
tmp_kw_call_dict_value_0_1 = Nuitka_Cell_GET(par_encoding);
frame_6f6109227b8483279fdb33f10db04bf2->m_frame.f_lineno = 312;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_return_value = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[70]);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 312;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_data);
tmp_expression_value_1 = par_data;
tmp_attribute_value_1 = mod_consts[27];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_1, tmp_attribute_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
nuitka_bool tmp_assign_source_1;
tmp_assign_source_1 = NUITKA_BOOL_TRUE;
tmp_try_except_1__unhandled_indicator = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_dict_seq_1;
PyObject *tmp_dict_value_1;
CHECK_OBJECT(par_data);
tmp_dict_seq_1 = par_data;
tmp_dict_value_1 = TO_DICT(tmp_dict_seq_1, NULL);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 316;
type_description_1 = "oc";
goto try_except_handler_2;
}
Py_DECREF(tmp_dict_value_1);
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
nuitka_bool tmp_assign_source_2;
tmp_assign_source_2 = NUITKA_BOOL_FALSE;
tmp_try_except_1__unhandled_indicator = tmp_assign_source_2;
}
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_6f6109227b8483279fdb33f10db04bf2, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_6f6109227b8483279fdb33f10db04bf2, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_TypeError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_ValueError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_5 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(par_data);
tmp_iter_arg_1 = par_data;
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 321;
type_description_1 = "oc";
goto try_except_handler_3;
}
assert(tmp_genexpr_1__$0 == NULL);
tmp_genexpr_1__$0 = tmp_assign_source_3;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_1[2];
tmp_closure_1[0] = par_encoding;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = Nuitka_Cell_New0(tmp_genexpr_1__$0);
tmp_return_value = MAKE_GENERATOR_oauthlib$common$$$function__17_to_unicode$$$genexpr__1_genexpr(tmp_closure_1);
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_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:;
goto try_return_handler_3;
goto branch_end_5;
branch_no_5:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 315;
}
if (exception_tb && exception_tb->tb_frame == &frame_6f6109227b8483279fdb33f10db04bf2->m_frame) frame_6f6109227b8483279fdb33f10db04bf2->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oc";
goto try_except_handler_3;
branch_end_5:;
branch_no_4:;
goto try_end_2;
// Return handler code:
try_return_handler_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
{
bool tmp_condition_result_6;
nuitka_bool tmp_cmp_expr_left_3;
nuitka_bool tmp_cmp_expr_right_3;
assert(tmp_try_except_1__unhandled_indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_3 = tmp_try_except_1__unhandled_indicator;
tmp_cmp_expr_right_3 = NUITKA_BOOL_TRUE;
tmp_condition_result_6 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_2;
CHECK_OBJECT(par_data);
tmp_expression_value_2 = par_data;
tmp_attribute_value_2 = mod_consts[28];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_2, tmp_attribute_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 324;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_condition_result_7 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_data);
tmp_expression_value_3 = par_data;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[28]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 325;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
frame_6f6109227b8483279fdb33f10db04bf2->m_frame.f_lineno = 325;
tmp_assign_source_4 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 325;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
{
PyObject *old = par_data;
assert(old != NULL);
par_data = tmp_assign_source_4;
Py_DECREF(old);
}
}
branch_no_7:;
{
PyObject *tmp_dict_seq_2;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(par_data);
tmp_iter_arg_2 = par_data;
tmp_assign_source_5 = MAKE_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 = 326;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_2__$0 == NULL);
tmp_genexpr_2__$0 = tmp_assign_source_5;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_2[2];
tmp_closure_2[0] = par_encoding;
Py_INCREF(tmp_closure_2[0]);
tmp_closure_2[1] = Nuitka_Cell_New0(tmp_genexpr_2__$0);
tmp_dict_seq_2 = MAKE_GENERATOR_oauthlib$common$$$function__17_to_unicode$$$genexpr__2_genexpr(tmp_closure_2);
goto try_return_handler_5;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
CHECK_OBJECT(tmp_genexpr_2__$0);
Py_DECREF(tmp_genexpr_2__$0);
tmp_genexpr_2__$0 = NULL;
goto outline_result_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_2:;
tmp_return_value = TO_DICT(tmp_dict_seq_2, NULL);
Py_DECREF(tmp_dict_seq_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_6:;
branch_no_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6f6109227b8483279fdb33f10db04bf2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6f6109227b8483279fdb33f10db04bf2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6f6109227b8483279fdb33f10db04bf2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6f6109227b8483279fdb33f10db04bf2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6f6109227b8483279fdb33f10db04bf2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6f6109227b8483279fdb33f10db04bf2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6f6109227b8483279fdb33f10db04bf2,
type_description_1,
par_data,
par_encoding
);
// Release cached frame if used for exception.
if (frame_6f6109227b8483279fdb33f10db04bf2 == cache_frame_6f6109227b8483279fdb33f10db04bf2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6f6109227b8483279fdb33f10db04bf2);
cache_frame_6f6109227b8483279fdb33f10db04bf2 = NULL;
}
assertFrameObject(frame_6f6109227b8483279fdb33f10db04bf2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(par_data);
tmp_return_value = par_data;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_data);
par_data = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_data);
par_data = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_encoding);
Py_DECREF(par_encoding);
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_encoding);
Py_DECREF(par_encoding);
// 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$common$$$function__17_to_unicode$$$genexpr__1_genexpr_locals {
PyObject *var_i;
PyObject *tmp_iter_value_0;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
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;
};
static PyObject *oauthlib$common$$$function__17_to_unicode$$$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$common$$$function__17_to_unicode$$$genexpr__1_genexpr_locals *generator_heap = (struct oauthlib$common$$$function__17_to_unicode$$$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_i = NULL;
generator_heap->tmp_iter_value_0 = 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_eb0377fe8017a2ae53c8cb9a9763db9c, module_oauthlib$common, 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[1]));
tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[1]);
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 = "Noc";
generator_heap->exception_lineno = 321;
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);
}
}
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_assign_source_2 = generator_heap->tmp_iter_value_0;
{
PyObject *old = generator_heap->var_i;
generator_heap->var_i = tmp_assign_source_2;
Py_INCREF(generator_heap->var_i);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[56]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[56]);
}
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 = 321;
generator_heap->type_description_1 = "Noc";
goto try_except_handler_2;
}
CHECK_OBJECT(generator_heap->var_i);
tmp_args_element_value_1 = generator_heap->var_i;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[72]);
generator_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
CHAIN_EXCEPTION(generator_heap->exception_value);
generator_heap->exception_lineno = 321;
generator_heap->type_description_1 = "Noc";
goto try_except_handler_2;
}
tmp_args_element_value_2 = Nuitka_Cell_GET(generator->m_closure[0]);
generator->m_frame->m_frame.f_lineno = 321;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_expression_value_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
if (tmp_expression_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 = 321;
generator_heap->type_description_1 = "Noc";
goto try_except_handler_2;
}
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_called_value_1, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_args_element_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_called_value_1, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_args_element_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 = 321;
generator_heap->type_description_1 = "Noc";
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 = 321;
generator_heap->type_description_1 = "Noc";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
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;
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_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 frame_exception_exit_1;
// End of try:
try_end_1:;
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_i,
generator->m_closure[0]
);
// 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_2;
// Exception handler code:
try_except_handler_1:;
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->var_i);
generator_heap->var_i = 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 function_exception_exit;
// End of try:
try_end_2:;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
Py_XDECREF(generator_heap->var_i);
generator_heap->var_i = 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$common$$$function__17_to_unicode$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
oauthlib$common$$$function__17_to_unicode$$$genexpr__1_genexpr_context,
module_oauthlib$common,
mod_consts[43],
#if PYTHON_VERSION >= 0x350
mod_consts[73],
#endif
codeobj_eb0377fe8017a2ae53c8cb9a9763db9c,
closure,
2,
sizeof(struct oauthlib$common$$$function__17_to_unicode$$$genexpr__1_genexpr_locals)
);
}
struct oauthlib$common$$$function__17_to_unicode$$$genexpr__2_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$common$$$function__17_to_unicode$$$genexpr__2_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$common$$$function__17_to_unicode$$$genexpr__2_genexpr_locals *generator_heap = (struct oauthlib$common$$$function__17_to_unicode$$$genexpr__2_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_4b08ec835230bc99d0986385877c2ee2, module_oauthlib$common, sizeof(void *)+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[1]));
tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[1]);
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 = "Nooc";
generator_heap->exception_lineno = 326;
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 = 326;
generator_heap->type_description_1 = "Nooc";
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 = "Nooc";
generator_heap->exception_lineno = 326;
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 = "Nooc";
generator_heap->exception_lineno = 326;
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 = "Nooc";
generator_heap->exception_lineno = 326;
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[8];
Py_INCREF(generator_heap->exception_value);
generator_heap->exception_tb = NULL;
generator_heap->type_description_1 = "Nooc";
generator_heap->exception_lineno = 326;
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_args_element_value_1;
PyObject *tmp_args_element_value_2;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[56]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[56]);
}
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 = 326;
generator_heap->type_description_1 = "Nooc";
goto try_except_handler_2;
}
CHECK_OBJECT(generator_heap->var_k);
tmp_args_element_value_1 = generator_heap->var_k;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[72]);
generator_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
CHAIN_EXCEPTION(generator_heap->exception_value);
generator_heap->exception_lineno = 326;
generator_heap->type_description_1 = "Nooc";
goto try_except_handler_2;
}
tmp_args_element_value_2 = Nuitka_Cell_GET(generator->m_closure[0]);
generator->m_frame->m_frame.f_lineno = 326;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
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 = 326;
generator_heap->type_description_1 = "Nooc";
goto try_except_handler_2;
}
tmp_expression_value_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyTuple_SET_ITEM(tmp_expression_value_1, 0, tmp_tuple_element_1);
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[56]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[56]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 326;
generator_heap->type_description_1 = "Nooc";
goto tuple_build_exception_1;
}
CHECK_OBJECT(generator_heap->var_v);
tmp_args_element_value_3 = generator_heap->var_v;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[72]);
generator_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
CHAIN_EXCEPTION(generator_heap->exception_value);
generator_heap->exception_lineno = 326;
generator_heap->type_description_1 = "Nooc";
goto tuple_build_exception_1;
}
tmp_args_element_value_4 = Nuitka_Cell_GET(generator->m_closure[0]);
generator->m_frame->m_frame.f_lineno = 326;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
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 = 326;
generator_heap->type_description_1 = "Nooc";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_expression_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_expression_value_1);
goto try_except_handler_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_args_element_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_args_element_value_1, sizeof(PyObject *), &tmp_args_element_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 = 326;
generator_heap->type_description_1 = "Nooc";
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 = 326;
generator_heap->type_description_1 = "Nooc";
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,
generator->m_closure[0]
);
// 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$common$$$function__17_to_unicode$$$genexpr__2_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
oauthlib$common$$$function__17_to_unicode$$$genexpr__2_genexpr_context,
module_oauthlib$common,
mod_consts[43],
#if PYTHON_VERSION >= 0x350
mod_consts[73],
#endif
codeobj_4b08ec835230bc99d0986385877c2ee2,
closure,
2,
sizeof(struct oauthlib$common$$$function__17_to_unicode$$$genexpr__2_genexpr_locals)
);
}
static PyObject *impl_oauthlib$common$$$function__18___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_data = python_pars[1];
PyObject *var_k = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_genexpr_1__$0 = NULL;
struct Nuitka_FrameObject *frame_56f5010210da71b6e781c95efe9d80cf;
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 *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_56f5010210da71b6e781c95efe9d80cf = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_56f5010210da71b6e781c95efe9d80cf)) {
Py_XDECREF(cache_frame_56f5010210da71b6e781c95efe9d80cf);
#if _DEBUG_REFCOUNTS
if (cache_frame_56f5010210da71b6e781c95efe9d80cf == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_56f5010210da71b6e781c95efe9d80cf = MAKE_FUNCTION_FRAME(codeobj_56f5010210da71b6e781c95efe9d80cf, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_56f5010210da71b6e781c95efe9d80cf->m_type_description == NULL);
frame_56f5010210da71b6e781c95efe9d80cf = cache_frame_56f5010210da71b6e781c95efe9d80cf;
// Push the new frame as the currently active one.
pushFrameStack(frame_56f5010210da71b6e781c95efe9d80cf);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_56f5010210da71b6e781c95efe9d80cf) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_dict_seq_1;
PyObject *tmp_assattr_target_1;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(par_data);
tmp_iter_arg_1 = par_data;
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 338;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_1__$0 == NULL);
tmp_genexpr_1__$0 = tmp_assign_source_1;
}
// 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$common$$$function__18___init__$$$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_assattr_value_1 = TO_DICT(tmp_dict_seq_1, NULL);
Py_DECREF(tmp_dict_seq_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 338;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[74], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 338;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(par_data);
tmp_iter_arg_2 = par_data;
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 339;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
exception_lineno = 339;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_k;
var_k = tmp_assign_source_4;
Py_INCREF(var_k);
Py_XDECREF(old);
}
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(par_data);
tmp_expression_value_1 = par_data;
CHECK_OBJECT(var_k);
tmp_subscript_value_1 = var_k;
tmp_ass_subvalue_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "ooo";
goto try_except_handler_3;
}
if (par_self == NULL) {
Py_DECREF(tmp_ass_subvalue_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[75]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 340;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_ass_subscribed_1 = par_self;
CHECK_OBJECT(var_k);
tmp_ass_subscript_1 = var_k;
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "ooo";
goto try_except_handler_3;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 339;
type_description_1 = "ooo";
goto try_except_handler_3;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_56f5010210da71b6e781c95efe9d80cf);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_56f5010210da71b6e781c95efe9d80cf);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_56f5010210da71b6e781c95efe9d80cf, exception_lineno);
} else if (exception_tb->tb_frame != &frame_56f5010210da71b6e781c95efe9d80cf->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_56f5010210da71b6e781c95efe9d80cf, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_56f5010210da71b6e781c95efe9d80cf,
type_description_1,
par_self,
par_data,
var_k
);
// Release cached frame if used for exception.
if (frame_56f5010210da71b6e781c95efe9d80cf == cache_frame_56f5010210da71b6e781c95efe9d80cf) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_56f5010210da71b6e781c95efe9d80cf);
cache_frame_56f5010210da71b6e781c95efe9d80cf = NULL;
}
assertFrameObject(frame_56f5010210da71b6e781c95efe9d80cf);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_k);
var_k = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_k);
var_k = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
// 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$common$$$function__18___init__$$$genexpr__1_genexpr_locals {
PyObject *var_k;
PyObject *tmp_iter_value_0;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
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;
};
static PyObject *oauthlib$common$$$function__18___init__$$$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$common$$$function__18___init__$$$genexpr__1_genexpr_locals *generator_heap = (struct oauthlib$common$$$function__18___init__$$$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->tmp_iter_value_0 = 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_2b97157b536ee94251ae2f0757dc4ad3, module_oauthlib$common, 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 = "No";
generator_heap->exception_lineno = 338;
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);
}
}
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_assign_source_2 = generator_heap->tmp_iter_value_0;
{
PyObject *old = generator_heap->var_k;
generator_heap->var_k = tmp_assign_source_2;
Py_INCREF(generator_heap->var_k);
Py_XDECREF(old);
}
}
{
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[76]);
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 = 338;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
generator->m_frame->m_frame.f_lineno = 338;
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 = 338;
generator_heap->type_description_1 = "No";
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_k);
tmp_tuple_element_1 = generator_heap->var_k;
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 = 338;
generator_heap->type_description_1 = "No";
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 = 338;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
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;
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_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 frame_exception_exit_1;
// End of try:
try_end_1:;
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
);
// 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_2;
// Exception handler code:
try_except_handler_1:;
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->var_k);
generator_heap->var_k = 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 function_exception_exit;
// End of try:
try_end_2:;
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;
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$common$$$function__18___init__$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
oauthlib$common$$$function__18___init__$$$genexpr__1_genexpr_context,
module_oauthlib$common,
mod_consts[43],
#if PYTHON_VERSION >= 0x350
mod_consts[77],
#endif
codeobj_2b97157b536ee94251ae2f0757dc4ad3,
closure,
1,
sizeof(struct oauthlib$common$$$function__18___init__$$$genexpr__1_genexpr_locals)
);
}
static PyObject *impl_oauthlib$common$$$function__19___contains__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_k = python_pars[1];
struct Nuitka_FrameObject *frame_518454eda33a1b6e43a7e09f7cf0b346;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_518454eda33a1b6e43a7e09f7cf0b346 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_518454eda33a1b6e43a7e09f7cf0b346)) {
Py_XDECREF(cache_frame_518454eda33a1b6e43a7e09f7cf0b346);
#if _DEBUG_REFCOUNTS
if (cache_frame_518454eda33a1b6e43a7e09f7cf0b346 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_518454eda33a1b6e43a7e09f7cf0b346 = MAKE_FUNCTION_FRAME(codeobj_518454eda33a1b6e43a7e09f7cf0b346, module_oauthlib$common, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_518454eda33a1b6e43a7e09f7cf0b346->m_type_description == NULL);
frame_518454eda33a1b6e43a7e09f7cf0b346 = cache_frame_518454eda33a1b6e43a7e09f7cf0b346;
// Push the new frame as the currently active one.
pushFrameStack(frame_518454eda33a1b6e43a7e09f7cf0b346);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_518454eda33a1b6e43a7e09f7cf0b346) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_k);
tmp_expression_value_1 = par_k;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[76]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_518454eda33a1b6e43a7e09f7cf0b346->m_frame.f_lineno = 343;
tmp_cmp_expr_left_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[74]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 343;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = (tmp_res == 1) ? Py_True : Py_False;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_518454eda33a1b6e43a7e09f7cf0b346);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_518454eda33a1b6e43a7e09f7cf0b346);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_518454eda33a1b6e43a7e09f7cf0b346);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_518454eda33a1b6e43a7e09f7cf0b346, exception_lineno);
} else if (exception_tb->tb_frame != &frame_518454eda33a1b6e43a7e09f7cf0b346->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_518454eda33a1b6e43a7e09f7cf0b346, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_518454eda33a1b6e43a7e09f7cf0b346,
type_description_1,
par_self,
par_k
);
// Release cached frame if used for exception.
if (frame_518454eda33a1b6e43a7e09f7cf0b346 == cache_frame_518454eda33a1b6e43a7e09f7cf0b346) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_518454eda33a1b6e43a7e09f7cf0b346);
cache_frame_518454eda33a1b6e43a7e09f7cf0b346 = NULL;
}
assertFrameObject(frame_518454eda33a1b6e43a7e09f7cf0b346);
// 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_k);
Py_DECREF(par_k);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_k);
Py_DECREF(par_k);
// 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$common$$$function__20___delitem__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_k = python_pars[1];
PyObject *var_key = NULL;
struct Nuitka_FrameObject *frame_480954c0c411a62b72e94e02095bb06b;
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;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_480954c0c411a62b72e94e02095bb06b = 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_480954c0c411a62b72e94e02095bb06b)) {
Py_XDECREF(cache_frame_480954c0c411a62b72e94e02095bb06b);
#if _DEBUG_REFCOUNTS
if (cache_frame_480954c0c411a62b72e94e02095bb06b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_480954c0c411a62b72e94e02095bb06b = MAKE_FUNCTION_FRAME(codeobj_480954c0c411a62b72e94e02095bb06b, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_480954c0c411a62b72e94e02095bb06b->m_type_description == NULL);
frame_480954c0c411a62b72e94e02095bb06b = cache_frame_480954c0c411a62b72e94e02095bb06b;
// Push the new frame as the currently active one.
pushFrameStack(frame_480954c0c411a62b72e94e02095bb06b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_480954c0c411a62b72e94e02095bb06b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[74]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 346;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_k);
tmp_expression_value_3 = par_k;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[76]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_1);
exception_lineno = 346;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
frame_480954c0c411a62b72e94e02095bb06b->m_frame.f_lineno = 346;
tmp_subscript_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_subscript_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_1);
exception_lineno = 346;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 346;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
assert(var_key == NULL);
var_key = tmp_assign_source_1;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[78]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[78]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER2(moduledict_oauthlib$common, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_key);
tmp_args_element_value_1 = var_key;
frame_480954c0c411a62b72e94e02095bb06b->m_frame.f_lineno = 347;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[79], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_delsubscr_target_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_delsubscr_subscript_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_delsubscr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[74]);
if (tmp_delsubscr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_k);
tmp_expression_value_5 = par_k;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[76]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_delsubscr_target_1);
exception_lineno = 348;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
frame_480954c0c411a62b72e94e02095bb06b->m_frame.f_lineno = 348;
tmp_delsubscr_subscript_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_delsubscr_subscript_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_delsubscr_target_1);
exception_lineno = 348;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_result = DEL_SUBSCRIPT(tmp_delsubscr_target_1, tmp_delsubscr_subscript_1);
Py_DECREF(tmp_delsubscr_target_1);
Py_DECREF(tmp_delsubscr_subscript_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_480954c0c411a62b72e94e02095bb06b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_480954c0c411a62b72e94e02095bb06b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_480954c0c411a62b72e94e02095bb06b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_480954c0c411a62b72e94e02095bb06b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_480954c0c411a62b72e94e02095bb06b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_480954c0c411a62b72e94e02095bb06b,
type_description_1,
par_self,
par_k,
var_key,
NULL
);
// Release cached frame if used for exception.
if (frame_480954c0c411a62b72e94e02095bb06b == cache_frame_480954c0c411a62b72e94e02095bb06b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_480954c0c411a62b72e94e02095bb06b);
cache_frame_480954c0c411a62b72e94e02095bb06b = NULL;
}
assertFrameObject(frame_480954c0c411a62b72e94e02095bb06b);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_key);
Py_DECREF(var_key);
var_key = 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_key);
var_key = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_k);
Py_DECREF(par_k);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_k);
Py_DECREF(par_k);
// 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$common$$$function__21___getitem__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_k = python_pars[1];
PyObject *var_key = NULL;
struct Nuitka_FrameObject *frame_5941041d3968778d5224caf026f7a79d;
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_5941041d3968778d5224caf026f7a79d = 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_5941041d3968778d5224caf026f7a79d)) {
Py_XDECREF(cache_frame_5941041d3968778d5224caf026f7a79d);
#if _DEBUG_REFCOUNTS
if (cache_frame_5941041d3968778d5224caf026f7a79d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5941041d3968778d5224caf026f7a79d = MAKE_FUNCTION_FRAME(codeobj_5941041d3968778d5224caf026f7a79d, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_5941041d3968778d5224caf026f7a79d->m_type_description == NULL);
frame_5941041d3968778d5224caf026f7a79d = cache_frame_5941041d3968778d5224caf026f7a79d;
// Push the new frame as the currently active one.
pushFrameStack(frame_5941041d3968778d5224caf026f7a79d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5941041d3968778d5224caf026f7a79d) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[74]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_k);
tmp_expression_value_3 = par_k;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[76]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_1);
exception_lineno = 351;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
frame_5941041d3968778d5224caf026f7a79d->m_frame.f_lineno = 351;
tmp_subscript_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_subscript_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_1);
exception_lineno = 351;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
assert(var_key == NULL);
var_key = tmp_assign_source_1;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_args_element_value_1;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[78]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[78]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER2(moduledict_oauthlib$common, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_key);
tmp_args_element_value_1 = var_key;
frame_5941041d3968778d5224caf026f7a79d->m_frame.f_lineno = 352;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[80], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_5941041d3968778d5224caf026f7a79d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5941041d3968778d5224caf026f7a79d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5941041d3968778d5224caf026f7a79d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5941041d3968778d5224caf026f7a79d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5941041d3968778d5224caf026f7a79d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5941041d3968778d5224caf026f7a79d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5941041d3968778d5224caf026f7a79d,
type_description_1,
par_self,
par_k,
var_key,
NULL
);
// Release cached frame if used for exception.
if (frame_5941041d3968778d5224caf026f7a79d == cache_frame_5941041d3968778d5224caf026f7a79d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5941041d3968778d5224caf026f7a79d);
cache_frame_5941041d3968778d5224caf026f7a79d = NULL;
}
assertFrameObject(frame_5941041d3968778d5224caf026f7a79d);
// 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_key);
Py_DECREF(var_key);
var_key = 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_key);
var_key = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_k);
Py_DECREF(par_k);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_k);
Py_DECREF(par_k);
// 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$common$$$function__22_get(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_k = python_pars[1];
PyObject *par_default = python_pars[2];
struct Nuitka_FrameObject *frame_315de562040631c8c7e2026c83d32d38;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
int tmp_res;
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_315de562040631c8c7e2026c83d32d38 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_315de562040631c8c7e2026c83d32d38)) {
Py_XDECREF(cache_frame_315de562040631c8c7e2026c83d32d38);
#if _DEBUG_REFCOUNTS
if (cache_frame_315de562040631c8c7e2026c83d32d38 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_315de562040631c8c7e2026c83d32d38 = MAKE_FUNCTION_FRAME(codeobj_315de562040631c8c7e2026c83d32d38, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_315de562040631c8c7e2026c83d32d38->m_type_description == NULL);
frame_315de562040631c8c7e2026c83d32d38 = cache_frame_315de562040631c8c7e2026c83d32d38;
// Push the new frame as the currently active one.
pushFrameStack(frame_315de562040631c8c7e2026c83d32d38);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_315de562040631c8c7e2026c83d32d38) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_k);
tmp_cmp_expr_left_1 = par_k;
CHECK_OBJECT(par_self);
tmp_cmp_expr_right_1 = par_self;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 355;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
CHECK_OBJECT(par_k);
tmp_subscript_value_1 = par_k;
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 355;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(par_default);
tmp_return_value = par_default;
Py_INCREF(tmp_return_value);
condexpr_end_1:;
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_315de562040631c8c7e2026c83d32d38);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_315de562040631c8c7e2026c83d32d38);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_315de562040631c8c7e2026c83d32d38);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_315de562040631c8c7e2026c83d32d38, exception_lineno);
} else if (exception_tb->tb_frame != &frame_315de562040631c8c7e2026c83d32d38->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_315de562040631c8c7e2026c83d32d38, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_315de562040631c8c7e2026c83d32d38,
type_description_1,
par_self,
par_k,
par_default
);
// Release cached frame if used for exception.
if (frame_315de562040631c8c7e2026c83d32d38 == cache_frame_315de562040631c8c7e2026c83d32d38) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_315de562040631c8c7e2026c83d32d38);
cache_frame_315de562040631c8c7e2026c83d32d38 = NULL;
}
assertFrameObject(frame_315de562040631c8c7e2026c83d32d38);
// 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_k);
Py_DECREF(par_k);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_k);
Py_DECREF(par_k);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
// 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$common$$$function__23___setitem__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_k = python_pars[1];
PyObject *par_v = python_pars[2];
struct Nuitka_FrameObject *frame_fc955e7ad71995e21a95fe88ef97c288;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_fc955e7ad71995e21a95fe88ef97c288 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_fc955e7ad71995e21a95fe88ef97c288)) {
Py_XDECREF(cache_frame_fc955e7ad71995e21a95fe88ef97c288);
#if _DEBUG_REFCOUNTS
if (cache_frame_fc955e7ad71995e21a95fe88ef97c288 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_fc955e7ad71995e21a95fe88ef97c288 = MAKE_FUNCTION_FRAME(codeobj_fc955e7ad71995e21a95fe88ef97c288, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_fc955e7ad71995e21a95fe88ef97c288->m_type_description == NULL);
frame_fc955e7ad71995e21a95fe88ef97c288 = cache_frame_fc955e7ad71995e21a95fe88ef97c288;
// Push the new frame as the currently active one.
pushFrameStack(frame_fc955e7ad71995e21a95fe88ef97c288);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_fc955e7ad71995e21a95fe88ef97c288) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[78]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[78]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 358;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER2(moduledict_oauthlib$common, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 358;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_k);
tmp_args_element_value_1 = par_k;
CHECK_OBJECT(par_v);
tmp_args_element_value_2 = par_v;
frame_fc955e7ad71995e21a95fe88ef97c288->m_frame.f_lineno = 358;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[81],
call_args
);
}
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 358;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_ass_subscript_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_k);
tmp_ass_subvalue_1 = par_k;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[74]);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 359;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_k);
tmp_expression_value_2 = par_k;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[76]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subscribed_1);
exception_lineno = 359;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
frame_fc955e7ad71995e21a95fe88ef97c288->m_frame.f_lineno = 359;
tmp_ass_subscript_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_ass_subscript_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subscribed_1);
exception_lineno = 359;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscribed_1);
Py_DECREF(tmp_ass_subscript_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 359;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_fc955e7ad71995e21a95fe88ef97c288);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fc955e7ad71995e21a95fe88ef97c288);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_fc955e7ad71995e21a95fe88ef97c288, exception_lineno);
} else if (exception_tb->tb_frame != &frame_fc955e7ad71995e21a95fe88ef97c288->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_fc955e7ad71995e21a95fe88ef97c288, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_fc955e7ad71995e21a95fe88ef97c288,
type_description_1,
par_self,
par_k,
par_v,
NULL
);
// Release cached frame if used for exception.
if (frame_fc955e7ad71995e21a95fe88ef97c288 == cache_frame_fc955e7ad71995e21a95fe88ef97c288) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_fc955e7ad71995e21a95fe88ef97c288);
cache_frame_fc955e7ad71995e21a95fe88ef97c288 = NULL;
}
assertFrameObject(frame_fc955e7ad71995e21a95fe88ef97c288);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_k);
Py_DECREF(par_k);
CHECK_OBJECT(par_v);
Py_DECREF(par_v);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_k);
Py_DECREF(par_k);
CHECK_OBJECT(par_v);
Py_DECREF(par_v);
// 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$common$$$function__24_update(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_args = python_pars[1];
PyObject *par_kwargs = python_pars[2];
PyObject *var_k = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_bb543f5362ae2edbe27d391eff664f60;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
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_bb543f5362ae2edbe27d391eff664f60 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_bb543f5362ae2edbe27d391eff664f60)) {
Py_XDECREF(cache_frame_bb543f5362ae2edbe27d391eff664f60);
#if _DEBUG_REFCOUNTS
if (cache_frame_bb543f5362ae2edbe27d391eff664f60 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bb543f5362ae2edbe27d391eff664f60 = MAKE_FUNCTION_FRAME(codeobj_bb543f5362ae2edbe27d391eff664f60, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bb543f5362ae2edbe27d391eff664f60->m_type_description == NULL);
frame_bb543f5362ae2edbe27d391eff664f60 = cache_frame_bb543f5362ae2edbe27d391eff664f60;
// Push the new frame as the currently active one.
pushFrameStack(frame_bb543f5362ae2edbe27d391eff664f60);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bb543f5362ae2edbe27d391eff664f60) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_call_result_1;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[78]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[78]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "ooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_expression_value_1 = BUILTIN_SUPER2(moduledict_oauthlib$common, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "ooooN";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[82]);
Py_DECREF(tmp_expression_value_1);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "ooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_args);
tmp_dircall_arg2_1 = par_args;
CHECK_OBJECT(par_kwargs);
tmp_dircall_arg3_1 = par_kwargs;
Py_INCREF(tmp_dircall_arg2_1);
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_call_result_1 = impl___main__$$$function__4_complex_call_helper_star_list_star_dict(dir_call_args);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "ooooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_dircall_arg2_2;
PyObject *tmp_dircall_arg3_2;
tmp_dircall_arg1_2 = (PyObject *)&PyDict_Type;
CHECK_OBJECT(par_args);
tmp_dircall_arg2_2 = par_args;
CHECK_OBJECT(par_kwargs);
tmp_dircall_arg3_2 = par_kwargs;
Py_INCREF(tmp_dircall_arg1_2);
Py_INCREF(tmp_dircall_arg2_2);
Py_INCREF(tmp_dircall_arg3_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2};
tmp_iter_arg_1 = impl___main__$$$function__4_complex_call_helper_star_list_star_dict(dir_call_args);
}
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 363;
type_description_1 = "ooooN";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 363;
type_description_1 = "ooooN";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_2;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_2 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_2 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooN";
exception_lineno = 363;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_3 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_k;
var_k = tmp_assign_source_3;
Py_INCREF(var_k);
Py_XDECREF(old);
}
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_ass_subscript_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_k);
tmp_ass_subvalue_1 = var_k;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[75]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 364;
type_description_1 = "ooooN";
goto try_except_handler_2;
}
tmp_expression_value_2 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[74]);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_1 = "ooooN";
goto try_except_handler_2;
}
CHECK_OBJECT(var_k);
tmp_expression_value_3 = var_k;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[76]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subscribed_1);
exception_lineno = 364;
type_description_1 = "ooooN";
goto try_except_handler_2;
}
frame_bb543f5362ae2edbe27d391eff664f60->m_frame.f_lineno = 364;
tmp_ass_subscript_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_ass_subscript_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subscribed_1);
exception_lineno = 364;
type_description_1 = "ooooN";
goto try_except_handler_2;
}
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscribed_1);
Py_DECREF(tmp_ass_subscript_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_1 = "ooooN";
goto try_except_handler_2;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 363;
type_description_1 = "ooooN";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bb543f5362ae2edbe27d391eff664f60);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bb543f5362ae2edbe27d391eff664f60);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bb543f5362ae2edbe27d391eff664f60, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bb543f5362ae2edbe27d391eff664f60->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bb543f5362ae2edbe27d391eff664f60, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bb543f5362ae2edbe27d391eff664f60,
type_description_1,
par_self,
par_args,
par_kwargs,
var_k,
NULL
);
// Release cached frame if used for exception.
if (frame_bb543f5362ae2edbe27d391eff664f60 == cache_frame_bb543f5362ae2edbe27d391eff664f60) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bb543f5362ae2edbe27d391eff664f60);
cache_frame_bb543f5362ae2edbe27d391eff664f60 = NULL;
}
assertFrameObject(frame_bb543f5362ae2edbe27d391eff664f60);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_k);
var_k = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_k);
var_k = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
// 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$common$$$function__25___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_uri = python_pars[1];
PyObject *par_http_method = python_pars[2];
PyObject *par_body = python_pars[3];
PyObject *par_headers = python_pars[4];
struct Nuitka_CellObject *par_encoding = Nuitka_Cell_New1(python_pars[5]);
PyObject *var_encode = NULL;
struct Nuitka_FrameObject *frame_7c2ea9f46b5f8e2d28ba1300c5dd1851;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_7c2ea9f46b5f8e2d28ba1300c5dd1851 = 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.
{
PyObject *tmp_assign_source_1;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_closure_1[0] = par_encoding;
Py_INCREF(tmp_closure_1[0]);
tmp_assign_source_1 = MAKE_FUNCTION_oauthlib$common$$$function__25___init__$$$function__1_lambda(tmp_closure_1);
assert(var_encode == NULL);
var_encode = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_7c2ea9f46b5f8e2d28ba1300c5dd1851)) {
Py_XDECREF(cache_frame_7c2ea9f46b5f8e2d28ba1300c5dd1851);
#if _DEBUG_REFCOUNTS
if (cache_frame_7c2ea9f46b5f8e2d28ba1300c5dd1851 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7c2ea9f46b5f8e2d28ba1300c5dd1851 = MAKE_FUNCTION_FRAME(codeobj_7c2ea9f46b5f8e2d28ba1300c5dd1851, module_oauthlib$common, 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_7c2ea9f46b5f8e2d28ba1300c5dd1851->m_type_description == NULL);
frame_7c2ea9f46b5f8e2d28ba1300c5dd1851 = cache_frame_7c2ea9f46b5f8e2d28ba1300c5dd1851;
// Push the new frame as the currently active one.
pushFrameStack(frame_7c2ea9f46b5f8e2d28ba1300c5dd1851);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7c2ea9f46b5f8e2d28ba1300c5dd1851) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(var_encode);
tmp_called_value_1 = var_encode;
CHECK_OBJECT(par_uri);
tmp_args_element_value_1 = par_uri;
frame_7c2ea9f46b5f8e2d28ba1300c5dd1851->m_frame.f_lineno = 387;
tmp_assattr_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[85], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(var_encode);
tmp_called_value_2 = var_encode;
CHECK_OBJECT(par_http_method);
tmp_args_element_value_2 = par_http_method;
frame_7c2ea9f46b5f8e2d28ba1300c5dd1851->m_frame.f_lineno = 388;
tmp_assattr_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[86], tmp_assattr_value_2);
Py_DECREF(tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_4;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_assattr_target_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[78]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[78]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_encode);
tmp_called_value_4 = var_encode;
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 = 389;
type_description_1 = "oooooco";
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_args_element_value_4 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
Py_INCREF(tmp_or_left_value_1);
tmp_args_element_value_4 = tmp_or_left_value_1;
or_end_1:;
frame_7c2ea9f46b5f8e2d28ba1300c5dd1851->m_frame.f_lineno = 389;
tmp_args_element_value_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_4);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
frame_7c2ea9f46b5f8e2d28ba1300c5dd1851->m_frame.f_lineno = 389;
tmp_assattr_value_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_3);
if (tmp_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[87], tmp_assattr_value_3);
Py_DECREF(tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_5;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(var_encode);
tmp_called_value_5 = var_encode;
CHECK_OBJECT(par_body);
tmp_args_element_value_5 = par_body;
frame_7c2ea9f46b5f8e2d28ba1300c5dd1851->m_frame.f_lineno = 390;
tmp_assattr_value_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_5);
if (tmp_assattr_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[88], tmp_assattr_value_4);
Py_DECREF(tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_1;
PyObject *tmp_assattr_target_5;
tmp_called_value_6 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[89]);
if (unlikely(tmp_called_value_6 == NULL)) {
tmp_called_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[89]);
}
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 391;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_args_element_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[88]);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 391;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
frame_7c2ea9f46b5f8e2d28ba1300c5dd1851->m_frame.f_lineno = 391;
tmp_assattr_value_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_6);
Py_DECREF(tmp_args_element_value_6);
if (tmp_assattr_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 391;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[90], tmp_assattr_value_5);
Py_DECREF(tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 391;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
tmp_assattr_value_6 = MAKE_LIST_EMPTY(0);
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[91], tmp_assattr_value_6);
Py_DECREF(tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 392;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_assattr_target_7;
tmp_assattr_value_7 = MAKE_DICT_EMPTY();
CHECK_OBJECT(par_self);
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[92], tmp_assattr_value_7);
Py_DECREF(tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_8;
PyObject *tmp_assattr_target_8;
tmp_assattr_value_8 = DICT_COPY(mod_consts[93]);
CHECK_OBJECT(par_self);
tmp_assattr_target_8 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[94], tmp_assattr_value_8);
Py_DECREF(tmp_assattr_value_8);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 395;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_7;
PyObject *tmp_dict_seq_1;
PyObject *tmp_called_value_8;
PyObject *tmp_args_element_value_8;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[94]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 429;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[82]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 429;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
tmp_called_value_8 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_called_value_8 == NULL)) {
tmp_called_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 429;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[95]);
if (tmp_args_element_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 429;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
frame_7c2ea9f46b5f8e2d28ba1300c5dd1851->m_frame.f_lineno = 429;
tmp_dict_seq_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_8, tmp_args_element_value_8);
Py_DECREF(tmp_args_element_value_8);
if (tmp_dict_seq_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 429;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = TO_DICT(tmp_dict_seq_1, NULL);
Py_DECREF(tmp_dict_seq_1);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 429;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
frame_7c2ea9f46b5f8e2d28ba1300c5dd1851->m_frame.f_lineno = 429;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_7);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_7);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 429;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_9;
PyObject *tmp_dict_seq_2;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[94]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[82]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_or_left_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[90]);
if (tmp_or_left_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_9);
exception_lineno = 430;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
tmp_or_left_truth_2 = CHECK_IF_TRUE(tmp_or_left_value_2);
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_or_left_value_2);
exception_lineno = 430;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
Py_DECREF(tmp_or_left_value_2);
tmp_or_right_value_2 = MAKE_LIST_EMPTY(0);
tmp_dict_seq_2 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_dict_seq_2 = tmp_or_left_value_2;
or_end_2:;
tmp_args_element_value_9 = TO_DICT(tmp_dict_seq_2, NULL);
Py_DECREF(tmp_dict_seq_2);
if (tmp_args_element_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_9);
exception_lineno = 430;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
frame_7c2ea9f46b5f8e2d28ba1300c5dd1851->m_frame.f_lineno = 430;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_9, tmp_args_element_value_9);
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_args_element_value_9);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 430;
type_description_1 = "oooooco";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7c2ea9f46b5f8e2d28ba1300c5dd1851);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7c2ea9f46b5f8e2d28ba1300c5dd1851);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7c2ea9f46b5f8e2d28ba1300c5dd1851, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7c2ea9f46b5f8e2d28ba1300c5dd1851->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7c2ea9f46b5f8e2d28ba1300c5dd1851, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7c2ea9f46b5f8e2d28ba1300c5dd1851,
type_description_1,
par_self,
par_uri,
par_http_method,
par_body,
par_headers,
par_encoding,
var_encode
);
// Release cached frame if used for exception.
if (frame_7c2ea9f46b5f8e2d28ba1300c5dd1851 == cache_frame_7c2ea9f46b5f8e2d28ba1300c5dd1851) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7c2ea9f46b5f8e2d28ba1300c5dd1851);
cache_frame_7c2ea9f46b5f8e2d28ba1300c5dd1851 = NULL;
}
assertFrameObject(frame_7c2ea9f46b5f8e2d28ba1300c5dd1851);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_encode);
Py_DECREF(var_encode);
var_encode = 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_encode);
Py_DECREF(var_encode);
var_encode = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_uri);
Py_DECREF(par_uri);
CHECK_OBJECT(par_http_method);
Py_DECREF(par_http_method);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
CHECK_OBJECT(par_encoding);
Py_DECREF(par_encoding);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_uri);
Py_DECREF(par_uri);
CHECK_OBJECT(par_http_method);
Py_DECREF(par_http_method);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
CHECK_OBJECT(par_encoding);
Py_DECREF(par_encoding);
// 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$common$$$function__25___init__$$$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_x = python_pars[0];
struct Nuitka_FrameObject *frame_d10d19834635164bee2541bce57a719e;
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_d10d19834635164bee2541bce57a719e = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_d10d19834635164bee2541bce57a719e)) {
Py_XDECREF(cache_frame_d10d19834635164bee2541bce57a719e);
#if _DEBUG_REFCOUNTS
if (cache_frame_d10d19834635164bee2541bce57a719e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d10d19834635164bee2541bce57a719e = MAKE_FUNCTION_FRAME(codeobj_d10d19834635164bee2541bce57a719e, module_oauthlib$common, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d10d19834635164bee2541bce57a719e->m_type_description == NULL);
frame_d10d19834635164bee2541bce57a719e = cache_frame_d10d19834635164bee2541bce57a719e;
// Push the new frame as the currently active one.
pushFrameStack(frame_d10d19834635164bee2541bce57a719e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d10d19834635164bee2541bce57a719e) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
int tmp_truth_name_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 385;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(Nuitka_Cell_GET(self->m_closure[0]));
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "oc";
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 condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[56]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[56]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_x);
tmp_args_element_value_1 = par_x;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[72]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 385;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = Nuitka_Cell_GET(self->m_closure[0]);
frame_d10d19834635164bee2541bce57a719e->m_frame.f_lineno = 385;
{
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);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(par_x);
tmp_return_value = par_x;
Py_INCREF(tmp_return_value);
condexpr_end_1:;
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d10d19834635164bee2541bce57a719e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d10d19834635164bee2541bce57a719e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d10d19834635164bee2541bce57a719e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d10d19834635164bee2541bce57a719e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d10d19834635164bee2541bce57a719e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d10d19834635164bee2541bce57a719e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d10d19834635164bee2541bce57a719e,
type_description_1,
par_x,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_d10d19834635164bee2541bce57a719e == cache_frame_d10d19834635164bee2541bce57a719e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d10d19834635164bee2541bce57a719e);
cache_frame_d10d19834635164bee2541bce57a719e = NULL;
}
assertFrameObject(frame_d10d19834635164bee2541bce57a719e);
// 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_x);
Py_DECREF(par_x);
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_x);
Py_DECREF(par_x);
// 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$common$$$function__26___getattr__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_name = python_pars[1];
struct Nuitka_FrameObject *frame_a51f4314fe4f6b62cd6b10703800bb98;
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_a51f4314fe4f6b62cd6b10703800bb98 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a51f4314fe4f6b62cd6b10703800bb98)) {
Py_XDECREF(cache_frame_a51f4314fe4f6b62cd6b10703800bb98);
#if _DEBUG_REFCOUNTS
if (cache_frame_a51f4314fe4f6b62cd6b10703800bb98 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a51f4314fe4f6b62cd6b10703800bb98 = MAKE_FUNCTION_FRAME(codeobj_a51f4314fe4f6b62cd6b10703800bb98, module_oauthlib$common, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a51f4314fe4f6b62cd6b10703800bb98->m_type_description == NULL);
frame_a51f4314fe4f6b62cd6b10703800bb98 = cache_frame_a51f4314fe4f6b62cd6b10703800bb98;
// Push the new frame as the currently active one.
pushFrameStack(frame_a51f4314fe4f6b62cd6b10703800bb98);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a51f4314fe4f6b62cd6b10703800bb98) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_name);
tmp_cmp_expr_left_1 = par_name;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[94]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[94]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_subscript_value_1 = par_name;
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
CHECK_OBJECT(par_name);
tmp_make_exception_arg_1 = par_name;
frame_a51f4314fe4f6b62cd6b10703800bb98->m_frame.f_lineno = 436;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_AttributeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 436;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a51f4314fe4f6b62cd6b10703800bb98);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a51f4314fe4f6b62cd6b10703800bb98);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a51f4314fe4f6b62cd6b10703800bb98);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a51f4314fe4f6b62cd6b10703800bb98, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a51f4314fe4f6b62cd6b10703800bb98->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a51f4314fe4f6b62cd6b10703800bb98, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a51f4314fe4f6b62cd6b10703800bb98,
type_description_1,
par_self,
par_name
);
// Release cached frame if used for exception.
if (frame_a51f4314fe4f6b62cd6b10703800bb98 == cache_frame_a51f4314fe4f6b62cd6b10703800bb98) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a51f4314fe4f6b62cd6b10703800bb98);
cache_frame_a51f4314fe4f6b62cd6b10703800bb98 = NULL;
}
assertFrameObject(frame_a51f4314fe4f6b62cd6b10703800bb98);
// 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_oauthlib$common$$$function__27___repr__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *var_body = NULL;
PyObject *var_headers = NULL;
struct Nuitka_FrameObject *frame_9f8f749a63da8edce5bc52929c868ddc;
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;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_9f8f749a63da8edce5bc52929c868ddc = 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_9f8f749a63da8edce5bc52929c868ddc)) {
Py_XDECREF(cache_frame_9f8f749a63da8edce5bc52929c868ddc);
#if _DEBUG_REFCOUNTS
if (cache_frame_9f8f749a63da8edce5bc52929c868ddc == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9f8f749a63da8edce5bc52929c868ddc = MAKE_FUNCTION_FRAME(codeobj_9f8f749a63da8edce5bc52929c868ddc, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9f8f749a63da8edce5bc52929c868ddc->m_type_description == NULL);
frame_9f8f749a63da8edce5bc52929c868ddc = cache_frame_9f8f749a63da8edce5bc52929c868ddc;
// Push the new frame as the currently active one.
pushFrameStack(frame_9f8f749a63da8edce5bc52929c868ddc);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9f8f749a63da8edce5bc52929c868ddc) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[96]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[96]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_9f8f749a63da8edce5bc52929c868ddc->m_frame.f_lineno = 439;
tmp_operand_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
type_description_1 = "ooo";
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 = 439;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = mod_consts[97];
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[88]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_body == NULL);
var_body = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[87]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 442;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[98]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 442;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_9f8f749a63da8edce5bc52929c868ddc->m_frame.f_lineno = 442;
tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 442;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_headers == NULL);
var_headers = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
CHECK_OBJECT(var_body);
tmp_truth_name_1 = CHECK_IF_TRUE(var_body);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 443;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 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_called_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_unicode_arg_1;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[99]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[99]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 444;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[100]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 444;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[101];
CHECK_OBJECT(var_body);
tmp_unicode_arg_1 = var_body;
tmp_args_element_value_2 = PyObject_Unicode(tmp_unicode_arg_1);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 444;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_9f8f749a63da8edce5bc52929c868ddc->m_frame.f_lineno = 444;
{
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);
}
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 444;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_body;
assert(old != NULL);
var_body = tmp_assign_source_3;
Py_DECREF(old);
}
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = mod_consts[102];
CHECK_OBJECT(var_headers);
tmp_cmp_expr_right_1 = var_headers;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
tmp_ass_subvalue_1 = mod_consts[103];
CHECK_OBJECT(var_headers);
tmp_ass_subscribed_1 = var_headers;
tmp_ass_subscript_1 = mod_consts[102];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
branch_no_3:;
{
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_5;
tmp_mod_expr_left_1 = mod_consts[104];
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[85]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 448;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(4);
{
PyObject *tmp_expression_value_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[86]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 448;
type_description_1 = "ooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
if (var_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[87]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 448;
type_description_1 = "ooo";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = var_headers;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 2, tmp_tuple_element_1);
CHECK_OBJECT(var_body);
tmp_tuple_element_1 = var_body;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 3, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 447;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9f8f749a63da8edce5bc52929c868ddc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9f8f749a63da8edce5bc52929c868ddc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9f8f749a63da8edce5bc52929c868ddc);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9f8f749a63da8edce5bc52929c868ddc, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9f8f749a63da8edce5bc52929c868ddc->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9f8f749a63da8edce5bc52929c868ddc, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9f8f749a63da8edce5bc52929c868ddc,
type_description_1,
par_self,
var_body,
var_headers
);
// Release cached frame if used for exception.
if (frame_9f8f749a63da8edce5bc52929c868ddc == cache_frame_9f8f749a63da8edce5bc52929c868ddc) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9f8f749a63da8edce5bc52929c868ddc);
cache_frame_9f8f749a63da8edce5bc52929c868ddc = NULL;
}
assertFrameObject(frame_9f8f749a63da8edce5bc52929c868ddc);
// 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_body);
var_body = NULL;
Py_XDECREF(var_headers);
var_headers = 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_body);
var_body = NULL;
Py_XDECREF(var_headers);
var_headers = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_oauthlib$common$$$function__28_uri_query(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_dfff941c43c8896c81552cac605cbd1b;
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_dfff941c43c8896c81552cac605cbd1b = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_dfff941c43c8896c81552cac605cbd1b)) {
Py_XDECREF(cache_frame_dfff941c43c8896c81552cac605cbd1b);
#if _DEBUG_REFCOUNTS
if (cache_frame_dfff941c43c8896c81552cac605cbd1b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_dfff941c43c8896c81552cac605cbd1b = MAKE_FUNCTION_FRAME(codeobj_dfff941c43c8896c81552cac605cbd1b, module_oauthlib$common, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_dfff941c43c8896c81552cac605cbd1b->m_type_description == NULL);
frame_dfff941c43c8896c81552cac605cbd1b = cache_frame_dfff941c43c8896c81552cac605cbd1b;
// Push the new frame as the currently active one.
pushFrameStack(frame_dfff941c43c8896c81552cac605cbd1b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_dfff941c43c8896c81552cac605cbd1b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_3;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[21]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[21]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 452;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[21]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 452;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[85]);
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 = 452;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_dfff941c43c8896c81552cac605cbd1b->m_frame.f_lineno = 452;
tmp_expression_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 452;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[16]);
Py_DECREF(tmp_expression_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 452;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_dfff941c43c8896c81552cac605cbd1b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dfff941c43c8896c81552cac605cbd1b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dfff941c43c8896c81552cac605cbd1b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_dfff941c43c8896c81552cac605cbd1b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_dfff941c43c8896c81552cac605cbd1b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_dfff941c43c8896c81552cac605cbd1b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_dfff941c43c8896c81552cac605cbd1b,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_dfff941c43c8896c81552cac605cbd1b == cache_frame_dfff941c43c8896c81552cac605cbd1b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_dfff941c43c8896c81552cac605cbd1b);
cache_frame_dfff941c43c8896c81552cac605cbd1b = NULL;
}
assertFrameObject(frame_dfff941c43c8896c81552cac605cbd1b);
// 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_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_oauthlib$common$$$function__29_uri_query_params(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_554a1eb00a92548c88dcd434651cbcb9;
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_554a1eb00a92548c88dcd434651cbcb9 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_554a1eb00a92548c88dcd434651cbcb9)) {
Py_XDECREF(cache_frame_554a1eb00a92548c88dcd434651cbcb9);
#if _DEBUG_REFCOUNTS
if (cache_frame_554a1eb00a92548c88dcd434651cbcb9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_554a1eb00a92548c88dcd434651cbcb9 = MAKE_FUNCTION_FRAME(codeobj_554a1eb00a92548c88dcd434651cbcb9, module_oauthlib$common, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_554a1eb00a92548c88dcd434651cbcb9->m_type_description == NULL);
frame_554a1eb00a92548c88dcd434651cbcb9 = cache_frame_554a1eb00a92548c88dcd434651cbcb9;
// Push the new frame as the currently active one.
pushFrameStack(frame_554a1eb00a92548c88dcd434651cbcb9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_554a1eb00a92548c88dcd434651cbcb9) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[95]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 456;
type_description_1 = "o";
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 = 456;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = MAKE_LIST_EMPTY(0);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_kwargs_value_1;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[21]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[21]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 458;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[22]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 458;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[95]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 458;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_args_value_1, 0, tmp_tuple_element_1);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[105]);
frame_554a1eb00a92548c88dcd434651cbcb9->m_frame.f_lineno = 458;
tmp_return_value = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 458;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_554a1eb00a92548c88dcd434651cbcb9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_554a1eb00a92548c88dcd434651cbcb9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_554a1eb00a92548c88dcd434651cbcb9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_554a1eb00a92548c88dcd434651cbcb9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_554a1eb00a92548c88dcd434651cbcb9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_554a1eb00a92548c88dcd434651cbcb9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_554a1eb00a92548c88dcd434651cbcb9,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_554a1eb00a92548c88dcd434651cbcb9 == cache_frame_554a1eb00a92548c88dcd434651cbcb9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_554a1eb00a92548c88dcd434651cbcb9);
cache_frame_554a1eb00a92548c88dcd434651cbcb9 = NULL;
}
assertFrameObject(frame_554a1eb00a92548c88dcd434651cbcb9);
// 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_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_oauthlib$common$$$function__30_duplicate_params(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *var_seen_keys = NULL;
PyObject *var_all_keys = NULL;
PyObject *var_k = NULL;
PyObject *outline_0_var_k = NULL;
PyObject *outline_0_var_c = 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_inplace_assign_subscr_1__subscript = NULL;
PyObject *tmp_inplace_assign_subscr_1__target = NULL;
PyObject *tmp_inplace_assign_subscr_1__value = 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_1__$0 = NULL;
PyObject *tmp_listcomp_1__contraction = NULL;
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
struct Nuitka_FrameObject *frame_316d79a96627fa700ff69130163830bf;
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 *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 *tmp_return_value = NULL;
struct Nuitka_FrameObject *frame_2f1b922aa32794e589d140df95a4264b_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
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;
static struct Nuitka_FrameObject *cache_frame_2f1b922aa32794e589d140df95a4264b_2 = 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;
static struct Nuitka_FrameObject *cache_frame_316d79a96627fa700ff69130163830bf = NULL;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_316d79a96627fa700ff69130163830bf)) {
Py_XDECREF(cache_frame_316d79a96627fa700ff69130163830bf);
#if _DEBUG_REFCOUNTS
if (cache_frame_316d79a96627fa700ff69130163830bf == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_316d79a96627fa700ff69130163830bf = MAKE_FUNCTION_FRAME(codeobj_316d79a96627fa700ff69130163830bf, module_oauthlib$common, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_316d79a96627fa700ff69130163830bf->m_type_description == NULL);
frame_316d79a96627fa700ff69130163830bf = cache_frame_316d79a96627fa700ff69130163830bf;
// Push the new frame as the currently active one.
pushFrameStack(frame_316d79a96627fa700ff69130163830bf);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_316d79a96627fa700ff69130163830bf) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[106]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[106]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 463;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_316d79a96627fa700ff69130163830bf->m_frame.f_lineno = 463;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[107],
PyTuple_GET_ITEM(mod_consts[108], 0)
);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 463;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_seen_keys == NULL);
var_seen_keys = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_or_left_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[90]);
if (tmp_or_left_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 465;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1);
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_1);
exception_lineno = 465;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
Py_DECREF(tmp_or_left_value_1);
tmp_or_right_value_1 = MAKE_LIST_EMPTY(0);
tmp_add_expr_left_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_add_expr_left_1 = tmp_or_left_value_1;
or_end_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_add_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[109]);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_add_expr_left_1);
exception_lineno = 465;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_iter_arg_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 465;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 464;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_1__$0 == NULL);
tmp_genexpr_1__$0 = tmp_assign_source_3;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_closure_1[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0);
tmp_assign_source_2 = MAKE_GENERATOR_oauthlib$common$$$function__30_duplicate_params$$$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:;
assert(var_all_keys == NULL);
var_all_keys = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(var_all_keys);
tmp_iter_arg_2 = var_all_keys;
tmp_assign_source_4 = MAKE_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 466;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_4;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_5 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_5 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 466;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_6 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_k;
var_k = tmp_assign_source_6;
Py_INCREF(var_k);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
if (var_seen_keys == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[110]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 467;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_assign_source_7 = var_seen_keys;
{
PyObject *old = tmp_inplace_assign_subscr_1__target;
tmp_inplace_assign_subscr_1__target = tmp_assign_source_7;
Py_INCREF(tmp_inplace_assign_subscr_1__target);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(var_k);
tmp_assign_source_8 = var_k;
{
PyObject *old = tmp_inplace_assign_subscr_1__subscript;
tmp_inplace_assign_subscr_1__subscript = tmp_assign_source_8;
Py_INCREF(tmp_inplace_assign_subscr_1__subscript);
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_9;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(tmp_inplace_assign_subscr_1__target);
tmp_expression_value_3 = tmp_inplace_assign_subscr_1__target;
CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript);
tmp_subscript_value_1 = tmp_inplace_assign_subscr_1__subscript;
tmp_assign_source_9 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_1);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
type_description_1 = "oooo";
goto try_except_handler_4;
}
{
PyObject *old = tmp_inplace_assign_subscr_1__value;
tmp_inplace_assign_subscr_1__value = tmp_assign_source_9;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(tmp_inplace_assign_subscr_1__value);
tmp_iadd_expr_left_1 = tmp_inplace_assign_subscr_1__value;
tmp_iadd_expr_right_1 = mod_consts[111];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&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 = 467;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_assign_source_10 = tmp_iadd_expr_left_1;
tmp_inplace_assign_subscr_1__value = tmp_assign_source_10;
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(tmp_inplace_assign_subscr_1__value);
tmp_ass_subvalue_1 = tmp_inplace_assign_subscr_1__value;
CHECK_OBJECT(tmp_inplace_assign_subscr_1__target);
tmp_ass_subscribed_1 = tmp_inplace_assign_subscr_1__target;
CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript);
tmp_ass_subscript_1 = tmp_inplace_assign_subscr_1__subscript;
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
type_description_1 = "oooo";
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_inplace_assign_subscr_1__target);
Py_DECREF(tmp_inplace_assign_subscr_1__target);
tmp_inplace_assign_subscr_1__target = NULL;
CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript);
Py_DECREF(tmp_inplace_assign_subscr_1__subscript);
tmp_inplace_assign_subscr_1__subscript = NULL;
Py_XDECREF(tmp_inplace_assign_subscr_1__value);
tmp_inplace_assign_subscr_1__value = 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_3;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_inplace_assign_subscr_1__target);
Py_DECREF(tmp_inplace_assign_subscr_1__target);
tmp_inplace_assign_subscr_1__target = NULL;
CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript);
Py_DECREF(tmp_inplace_assign_subscr_1__subscript);
tmp_inplace_assign_subscr_1__subscript = NULL;
CHECK_OBJECT(tmp_inplace_assign_subscr_1__value);
Py_DECREF(tmp_inplace_assign_subscr_1__value);
tmp_inplace_assign_subscr_1__value = NULL;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 466;
type_description_1 = "oooo";
goto try_except_handler_3;
}
goto loop_start_1;
loop_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_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:;
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;
// Tried code:
{
PyObject *tmp_assign_source_11;
PyObject *tmp_iter_arg_3;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_4;
if (var_seen_keys == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[110]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 468;
type_description_1 = "oooo";
goto try_except_handler_5;
}
tmp_expression_value_4 = var_seen_keys;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[28]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_1 = "oooo";
goto try_except_handler_5;
}
frame_316d79a96627fa700ff69130163830bf->m_frame.f_lineno = 468;
tmp_iter_arg_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_iter_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_1 = "oooo";
goto try_except_handler_5;
}
tmp_assign_source_11 = MAKE_ITERATOR(tmp_iter_arg_3);
Py_DECREF(tmp_iter_arg_3);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_1 = "oooo";
goto try_except_handler_5;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_11;
}
{
PyObject *tmp_assign_source_12;
tmp_assign_source_12 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_12;
}
if (isFrameUnusable(cache_frame_2f1b922aa32794e589d140df95a4264b_2)) {
Py_XDECREF(cache_frame_2f1b922aa32794e589d140df95a4264b_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_2f1b922aa32794e589d140df95a4264b_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2f1b922aa32794e589d140df95a4264b_2 = MAKE_FUNCTION_FRAME(codeobj_2f1b922aa32794e589d140df95a4264b, module_oauthlib$common, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2f1b922aa32794e589d140df95a4264b_2->m_type_description == NULL);
frame_2f1b922aa32794e589d140df95a4264b_2 = cache_frame_2f1b922aa32794e589d140df95a4264b_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_2f1b922aa32794e589d140df95a4264b_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2f1b922aa32794e589d140df95a4264b_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_13;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_2 = tmp_listcomp_1__$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 = 468;
goto try_except_handler_6;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__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_1__iter_value_0);
tmp_iter_arg_4 = tmp_listcomp_1__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 = 468;
type_description_2 = "oo";
goto try_except_handler_7;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__source_iter;
tmp_listcomp$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_listcomp$tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_listcomp$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_2 = "oo";
exception_lineno = 468;
goto try_except_handler_8;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__element_1;
tmp_listcomp$tuple_unpack_1__element_1 = tmp_assign_source_15;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_16;
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_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_2 = "oo";
exception_lineno = 468;
goto try_except_handler_8;
}
{
PyObject *old = tmp_listcomp$tuple_unpack_1__element_2;
tmp_listcomp$tuple_unpack_1__element_2 = tmp_assign_source_16;
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 = 468;
goto try_except_handler_8;
}
}
} 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_2 = "oo";
exception_lineno = 468;
goto try_except_handler_8;
}
}
goto try_end_3;
// Exception handler code:
try_except_handler_8:;
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$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_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_7;
// End of try:
try_end_3:;
goto try_end_4;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_6;
// End of try:
try_end_4:;
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_17;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__element_1);
tmp_assign_source_17 = tmp_listcomp$tuple_unpack_1__element_1;
{
PyObject *old = outline_0_var_k;
outline_0_var_k = tmp_assign_source_17;
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_18;
CHECK_OBJECT(tmp_listcomp$tuple_unpack_1__element_2);
tmp_assign_source_18 = tmp_listcomp$tuple_unpack_1__element_2;
{
PyObject *old = outline_0_var_c;
outline_0_var_c = tmp_assign_source_18;
Py_INCREF(outline_0_var_c);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_listcomp$tuple_unpack_1__element_2);
tmp_listcomp$tuple_unpack_1__element_2 = NULL;
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(outline_0_var_c);
tmp_cmp_expr_left_1 = outline_0_var_c;
tmp_cmp_expr_right_1 = mod_consts[111];
tmp_condition_result_1 = RICH_COMPARE_GT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_2 = "oo";
goto try_except_handler_6;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
CHECK_OBJECT(outline_0_var_k);
tmp_append_value_1 = outline_0_var_k;
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 = 468;
type_description_2 = "oo";
goto try_except_handler_6;
}
}
branch_no_1:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_2 = "oo";
goto try_except_handler_6;
}
goto loop_start_2;
loop_end_2:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_return_value = tmp_listcomp_1__contraction;
Py_INCREF(tmp_return_value);
goto try_return_handler_6;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_6:;
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_6:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_2f1b922aa32794e589d140df95a4264b_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_2f1b922aa32794e589d140df95a4264b_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_5;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2f1b922aa32794e589d140df95a4264b_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2f1b922aa32794e589d140df95a4264b_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2f1b922aa32794e589d140df95a4264b_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2f1b922aa32794e589d140df95a4264b_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2f1b922aa32794e589d140df95a4264b_2,
type_description_2,
outline_0_var_k,
outline_0_var_c
);
// Release cached frame if used for exception.
if (frame_2f1b922aa32794e589d140df95a4264b_2 == cache_frame_2f1b922aa32794e589d140df95a4264b_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2f1b922aa32794e589d140df95a4264b_2);
cache_frame_2f1b922aa32794e589d140df95a4264b_2 = NULL;
}
assertFrameObject(frame_2f1b922aa32794e589d140df95a4264b_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 = "oooo";
goto try_except_handler_5;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
Py_XDECREF(outline_0_var_k);
outline_0_var_k = NULL;
Py_XDECREF(outline_0_var_c);
outline_0_var_c = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_5:;
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(outline_0_var_k);
outline_0_var_k = NULL;
Py_XDECREF(outline_0_var_c);
outline_0_var_c = 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 468;
goto frame_exception_exit_1;
outline_result_2:;
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_316d79a96627fa700ff69130163830bf);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_316d79a96627fa700ff69130163830bf);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_316d79a96627fa700ff69130163830bf);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_316d79a96627fa700ff69130163830bf, exception_lineno);
} else if (exception_tb->tb_frame != &frame_316d79a96627fa700ff69130163830bf->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_316d79a96627fa700ff69130163830bf, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_316d79a96627fa700ff69130163830bf,
type_description_1,
par_self,
var_seen_keys,
var_all_keys,
var_k
);
// Release cached frame if used for exception.
if (frame_316d79a96627fa700ff69130163830bf == cache_frame_316d79a96627fa700ff69130163830bf) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_316d79a96627fa700ff69130163830bf);
cache_frame_316d79a96627fa700ff69130163830bf = NULL;
}
assertFrameObject(frame_316d79a96627fa700ff69130163830bf);
// 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(var_seen_keys);
var_seen_keys = NULL;
CHECK_OBJECT(var_all_keys);
Py_DECREF(var_all_keys);
var_all_keys = NULL;
Py_XDECREF(var_k);
var_k = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_seen_keys);
var_seen_keys = NULL;
Py_XDECREF(var_all_keys);
var_all_keys = NULL;
Py_XDECREF(var_k);
var_k = NULL;
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
struct oauthlib$common$$$function__30_duplicate_params$$$genexpr__1_genexpr_locals {
PyObject *var_p;
PyObject *tmp_iter_value_0;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
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;
};
static PyObject *oauthlib$common$$$function__30_duplicate_params$$$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$common$$$function__30_duplicate_params$$$genexpr__1_genexpr_locals *generator_heap = (struct oauthlib$common$$$function__30_duplicate_params$$$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_p = NULL;
generator_heap->tmp_iter_value_0 = 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_dd59f10c040afca3e90f5b12f9c1be4c, module_oauthlib$common, 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 = "No";
generator_heap->exception_lineno = 464;
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);
}
}
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_assign_source_2 = generator_heap->tmp_iter_value_0;
{
PyObject *old = generator_heap->var_p;
generator_heap->var_p = tmp_assign_source_2;
Py_INCREF(generator_heap->var_p);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_p);
tmp_expression_value_2 = generator_heap->var_p;
tmp_subscript_value_1 = mod_consts[46];
tmp_expression_value_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_1, 0);
if (tmp_expression_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 = 464;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_expression_value_2, sizeof(PyObject *), &tmp_subscript_value_1, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_expression_value_2, sizeof(PyObject *), &tmp_subscript_value_1, 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 = 464;
generator_heap->type_description_1 = "No";
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 = 464;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
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;
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_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 frame_exception_exit_1;
// End of try:
try_end_1:;
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_p
);
// 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_2;
// Exception handler code:
try_except_handler_1:;
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->var_p);
generator_heap->var_p = 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 function_exception_exit;
// End of try:
try_end_2:;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
Py_XDECREF(generator_heap->var_p);
generator_heap->var_p = 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$common$$$function__30_duplicate_params$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
oauthlib$common$$$function__30_duplicate_params$$$genexpr__1_genexpr_context,
module_oauthlib$common,
mod_consts[43],
#if PYTHON_VERSION >= 0x350
mod_consts[112],
#endif
codeobj_dd59f10c040afca3e90f5b12f9c1be4c,
closure,
1,
sizeof(struct oauthlib$common$$$function__30_duplicate_params$$$genexpr__1_genexpr_locals)
);
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__10_generate_token(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__10_generate_token,
mod_consts[59],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_bb9ccf55144e74d3a1033f36f0aa2ddb,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
mod_consts[39],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__11_generate_signed_token() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__11_generate_signed_token,
mod_consts[158],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_a0117d54b364880f4e1f6597de857551,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__12_verify_signed_token() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__12_verify_signed_token,
mod_consts[159],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_67e60620825d712bff57998a20fc83e0,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__13_generate_client_id(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__13_generate_client_id,
mod_consts[160],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_5dfde497fc71bbcf219c4562893f4a29,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
mod_consts[60],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__14_add_params_to_qs() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__14_add_params_to_qs,
mod_consts[65],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_5bd7a7123460a9f10b00f1b4881a222f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
mod_consts[63],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__15_add_params_to_uri(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__15_add_params_to_uri,
mod_consts[162],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_8fb912d9ee42d5d38697d0c5c53ec350,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
mod_consts[67],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__16_safe_string_equals() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__16_safe_string_equals,
mod_consts[163],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_a6cd53db2eb962bb2d38943eb046f728,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
mod_consts[69],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__17_to_unicode(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__17_to_unicode,
mod_consts[56],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_6f6109227b8483279fdb33f10db04bf2,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
mod_consts[71],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__18___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__18___init__,
mod_consts[175],
#if PYTHON_VERSION >= 0x300
mod_consts[176],
#endif
codeobj_56f5010210da71b6e781c95efe9d80cf,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__19___contains__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__19___contains__,
mod_consts[177],
#if PYTHON_VERSION >= 0x300
mod_consts[178],
#endif
codeobj_518454eda33a1b6e43a7e09f7cf0b346,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__1_quote(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__1_quote,
mod_consts[135],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_bce18c2d8d72b5189a5f75997a727d0e,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__20___delitem__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__20___delitem__,
mod_consts[79],
#if PYTHON_VERSION >= 0x300
mod_consts[179],
#endif
codeobj_480954c0c411a62b72e94e02095bb06b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__21___getitem__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__21___getitem__,
mod_consts[80],
#if PYTHON_VERSION >= 0x300
mod_consts[180],
#endif
codeobj_5941041d3968778d5224caf026f7a79d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__22_get(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__22_get,
mod_consts[182],
#if PYTHON_VERSION >= 0x300
mod_consts[183],
#endif
codeobj_315de562040631c8c7e2026c83d32d38,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__23___setitem__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__23___setitem__,
mod_consts[81],
#if PYTHON_VERSION >= 0x300
mod_consts[184],
#endif
codeobj_fc955e7ad71995e21a95fe88ef97c288,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__24_update() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__24_update,
mod_consts[82],
#if PYTHON_VERSION >= 0x300
mod_consts[185],
#endif
codeobj_bb543f5362ae2edbe27d391eff664f60,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__25___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__25___init__,
mod_consts[175],
#if PYTHON_VERSION >= 0x300
mod_consts[191],
#endif
codeobj_7c2ea9f46b5f8e2d28ba1300c5dd1851,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__25___init__$$$function__1_lambda(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__25___init__$$$function__1_lambda,
mod_consts[83],
#if PYTHON_VERSION >= 0x300
mod_consts[84],
#endif
codeobj_d10d19834635164bee2541bce57a719e,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__26___getattr__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__26___getattr__,
mod_consts[192],
#if PYTHON_VERSION >= 0x300
mod_consts[193],
#endif
codeobj_a51f4314fe4f6b62cd6b10703800bb98,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__27___repr__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__27___repr__,
mod_consts[194],
#if PYTHON_VERSION >= 0x300
mod_consts[195],
#endif
codeobj_9f8f749a63da8edce5bc52929c868ddc,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__28_uri_query() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__28_uri_query,
mod_consts[95],
#if PYTHON_VERSION >= 0x300
mod_consts[197],
#endif
codeobj_dfff941c43c8896c81552cac605cbd1b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__29_uri_query_params() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__29_uri_query_params,
mod_consts[109],
#if PYTHON_VERSION >= 0x300
mod_consts[198],
#endif
codeobj_554a1eb00a92548c88dcd434651cbcb9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__2_unquote() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__2_unquote,
mod_consts[137],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_c3c46f27e800c6ced5014a1d293a43c2,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__30_duplicate_params() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__30_duplicate_params,
mod_consts[199],
#if PYTHON_VERSION >= 0x300
mod_consts[200],
#endif
codeobj_316d79a96627fa700ff69130163830bf,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__3_urlencode() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__3_urlencode,
mod_consts[62],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_2d289723e0040a0d2eea82fc0a6fd185,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__4_encode_params_utf8() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__4_encode_params_utf8,
mod_consts[6],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_afe63300c37a64e65b4b7ae6acf62383,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
mod_consts[11],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__5_decode_params_utf8() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__5_decode_params_utf8,
mod_consts[24],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_273e97f960237ab987ec7f51b4026569,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
mod_consts[13],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__6_urldecode() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__6_urldecode,
mod_consts[26],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_eb6cf0ae6b7933b382e487a9a3dca5ce,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
mod_consts[25],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__7_extract_params() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__7_extract_params,
mod_consts[89],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_239bba38afe4a7297d37f53266bdec8a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
mod_consts[30],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__8_generate_nonce() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__8_generate_nonce,
mod_consts[156],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_e3b443eec9b3b805f2f61f5de18638d9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
mod_consts[34],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_oauthlib$common$$$function__9_generate_timestamp() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_oauthlib$common$$$function__9_generate_timestamp,
mod_consts[33],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_bf55902468626d957a7bb3f13b228476,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_oauthlib$common,
mod_consts[36],
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$common[] = {
impl_oauthlib$common$$$function__25___init__$$$function__1_lambda,
impl_oauthlib$common$$$function__1_quote,
impl_oauthlib$common$$$function__2_unquote,
impl_oauthlib$common$$$function__3_urlencode,
impl_oauthlib$common$$$function__4_encode_params_utf8,
impl_oauthlib$common$$$function__5_decode_params_utf8,
impl_oauthlib$common$$$function__6_urldecode,
impl_oauthlib$common$$$function__7_extract_params,
impl_oauthlib$common$$$function__8_generate_nonce,
impl_oauthlib$common$$$function__9_generate_timestamp,
impl_oauthlib$common$$$function__10_generate_token,
impl_oauthlib$common$$$function__11_generate_signed_token,
impl_oauthlib$common$$$function__12_verify_signed_token,
impl_oauthlib$common$$$function__13_generate_client_id,
impl_oauthlib$common$$$function__14_add_params_to_qs,
impl_oauthlib$common$$$function__15_add_params_to_uri,
impl_oauthlib$common$$$function__16_safe_string_equals,
impl_oauthlib$common$$$function__17_to_unicode,
impl_oauthlib$common$$$function__18___init__,
impl_oauthlib$common$$$function__19___contains__,
impl_oauthlib$common$$$function__20___delitem__,
impl_oauthlib$common$$$function__21___getitem__,
impl_oauthlib$common$$$function__22_get,
impl_oauthlib$common$$$function__23___setitem__,
impl_oauthlib$common$$$function__24_update,
impl_oauthlib$common$$$function__25___init__,
impl_oauthlib$common$$$function__26___getattr__,
impl_oauthlib$common$$$function__27___repr__,
impl_oauthlib$common$$$function__28_uri_query,
impl_oauthlib$common$$$function__29_uri_query_params,
impl_oauthlib$common$$$function__30_duplicate_params,
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$common;
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$common) || 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$common[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$common,
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$common(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("oauthlib.common");
// Store the module for future use.
module_oauthlib$common = 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.common: 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.common: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("oauthlib.common: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in initoauthlib$common\n");
moduledict_oauthlib$common = MODULE_DICT(module_oauthlib$common);
#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$common,
(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$common,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[38]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_oauthlib$common,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (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$common,
(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$common, (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$common,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_oauthlib$common);
// 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$common, (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$common, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_oauthlib$common, (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$common, (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$common);
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$common, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
PyObject *outline_1_var___class__ = NULL;
PyObject *tmp_class_creation_1__bases = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
PyObject *tmp_class_creation_2__bases = NULL;
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
PyObject *tmp_class_creation_2__metaclass = NULL;
PyObject *tmp_class_creation_2__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
struct Nuitka_FrameObject *frame_4b270c9fd96ff2e7b0bd0f66f266a44e;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
struct Nuitka_ExceptionStackItem exception_preserved_3;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_0947087aa04a21af4a561aa8095fcd4a_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_0947087aa04a21af4a561aa8095fcd4a_2 = NULL;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
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 *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *locals_oauthlib$common$$$class__2_Request_367 = NULL;
struct Nuitka_FrameObject *frame_6276cde4ca021867067ea5e30db4a680_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_6276cde4ca021867067ea5e30db4a680_3 = NULL;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[113];
UPDATE_STRING_DICT0(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[114], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[115];
UPDATE_STRING_DICT0(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[116], tmp_assign_source_2);
}
// Frame without reuse.
frame_4b270c9fd96ff2e7b0bd0f66f266a44e = MAKE_MODULE_FRAME(codeobj_4b270c9fd96ff2e7b0bd0f66f266a44e, module_oauthlib$common);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_4b270c9fd96ff2e7b0bd0f66f266a44e);
assert(Py_REFCNT(frame_4b270c9fd96ff2e7b0bd0f66f266a44e) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[115];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[117]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[117]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[118], 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$common, (Nuitka_StringObject *)mod_consts[117]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[117]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[119], 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$common, (Nuitka_StringObject *)mod_consts[120], 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[121]);
}
assert(!(tmp_assign_source_5 == NULL));
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[121], 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[122]);
}
assert(!(tmp_assign_source_6 == NULL));
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[122], 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[106];
tmp_globals_arg_value_1 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 11;
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);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[106], 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[47];
tmp_globals_arg_value_2 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 12;
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 = 12;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[47], 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[123];
tmp_globals_arg_value_3 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 13;
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 = 13;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[123], 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[124];
tmp_globals_arg_value_4 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = Py_None;
tmp_level_value_4 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 14;
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 = 14;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[124], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
tmp_assign_source_11 = IMPORT_HARD_SYS();
assert(!(tmp_assign_source_11 == NULL));
UPDATE_STRING_DICT0(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[125], tmp_assign_source_11);
}
{
PyObject *tmp_assign_source_12;
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[35];
tmp_globals_arg_value_5 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = Py_None;
tmp_level_value_5 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 16;
tmp_assign_source_12 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
assert(!(tmp_assign_source_12 == NULL));
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[35], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_1;
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[38];
tmp_globals_arg_value_6 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = mod_consts[126];
tmp_level_value_6 = mod_consts[111];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 17;
tmp_import_name_from_1 = 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_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 17;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_oauthlib$common,
mod_consts[96],
mod_consts[46]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[96]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 17;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[96], tmp_assign_source_13);
}
// Tried code:
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_2;
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[127];
tmp_globals_arg_value_7 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[128];
tmp_level_value_7 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 20;
tmp_import_name_from_2 = 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_import_name_from_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 20;
goto try_except_handler_1;
}
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_oauthlib$common,
mod_consts[31],
mod_consts[46]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[31]);
}
Py_DECREF(tmp_import_name_from_2);
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 20;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[31], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_3;
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[127];
tmp_globals_arg_value_8 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = mod_consts[129];
tmp_level_value_8 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 21;
tmp_import_name_from_3 = 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_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 21;
goto try_except_handler_1;
}
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_oauthlib$common,
mod_consts[37],
mod_consts[46]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[37]);
}
Py_DECREF(tmp_import_name_from_3);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 21;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[37], 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;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_4b270c9fd96ff2e7b0bd0f66f266a44e, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_4b270c9fd96ff2e7b0bd0f66f266a44e, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_4;
PyObject *tmp_name_value_9;
PyObject *tmp_globals_arg_value_9;
PyObject *tmp_locals_arg_value_9;
PyObject *tmp_fromlist_value_9;
PyObject *tmp_level_value_9;
tmp_name_value_9 = mod_consts[130];
tmp_globals_arg_value_9 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_9 = Py_None;
tmp_fromlist_value_9 = mod_consts[131];
tmp_level_value_9 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 23;
tmp_import_name_from_4 = IMPORT_MODULE5(tmp_name_value_9, tmp_globals_arg_value_9, tmp_locals_arg_value_9, tmp_fromlist_value_9, tmp_level_value_9);
if (tmp_import_name_from_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 23;
goto try_except_handler_2;
}
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_oauthlib$common,
mod_consts[132],
mod_consts[46]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[132]);
}
Py_DECREF(tmp_import_name_from_4);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 23;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[31], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_5;
PyObject *tmp_name_value_10;
PyObject *tmp_globals_arg_value_10;
PyObject *tmp_locals_arg_value_10;
PyObject *tmp_fromlist_value_10;
PyObject *tmp_level_value_10;
tmp_name_value_10 = mod_consts[130];
tmp_globals_arg_value_10 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_10 = Py_None;
tmp_fromlist_value_10 = mod_consts[129];
tmp_level_value_10 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 24;
tmp_import_name_from_5 = IMPORT_MODULE5(tmp_name_value_10, tmp_globals_arg_value_10, tmp_locals_arg_value_10, tmp_fromlist_value_10, tmp_level_value_10);
if (tmp_import_name_from_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 24;
goto try_except_handler_2;
}
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_oauthlib$common,
mod_consts[37],
mod_consts[46]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[37]);
}
Py_DECREF(tmp_import_name_from_5);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 24;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[37], tmp_assign_source_17);
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 19;
}
if (exception_tb && exception_tb->tb_frame == &frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame) frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_2;
branch_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
// Tried code:
{
PyObject *tmp_assign_source_18;
PyObject *tmp_import_name_from_6;
PyObject *tmp_name_value_11;
PyObject *tmp_globals_arg_value_11;
PyObject *tmp_locals_arg_value_11;
PyObject *tmp_fromlist_value_11;
PyObject *tmp_level_value_11;
tmp_name_value_11 = mod_consts[133];
tmp_globals_arg_value_11 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_11 = Py_None;
tmp_fromlist_value_11 = mod_consts[134];
tmp_level_value_11 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 26;
tmp_import_name_from_6 = IMPORT_MODULE5(tmp_name_value_11, tmp_globals_arg_value_11, tmp_locals_arg_value_11, tmp_fromlist_value_11, tmp_level_value_11);
if (tmp_import_name_from_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
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$common,
mod_consts[135],
mod_consts[46]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[135]);
}
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 = 26;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_18);
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_import_name_from_7;
PyObject *tmp_name_value_12;
PyObject *tmp_globals_arg_value_12;
PyObject *tmp_locals_arg_value_12;
PyObject *tmp_fromlist_value_12;
PyObject *tmp_level_value_12;
tmp_name_value_12 = mod_consts[133];
tmp_globals_arg_value_12 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_12 = Py_None;
tmp_fromlist_value_12 = mod_consts[136];
tmp_level_value_12 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 27;
tmp_import_name_from_7 = IMPORT_MODULE5(tmp_name_value_12, tmp_globals_arg_value_12, tmp_locals_arg_value_12, tmp_fromlist_value_12, tmp_level_value_12);
if (tmp_import_name_from_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 27;
goto try_except_handler_3;
}
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_19 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_oauthlib$common,
mod_consts[137],
mod_consts[46]
);
} else {
tmp_assign_source_19 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[137]);
}
Py_DECREF(tmp_import_name_from_7);
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 27;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_19);
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_8;
PyObject *tmp_name_value_13;
PyObject *tmp_globals_arg_value_13;
PyObject *tmp_locals_arg_value_13;
PyObject *tmp_fromlist_value_13;
PyObject *tmp_level_value_13;
tmp_name_value_13 = mod_consts[133];
tmp_globals_arg_value_13 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_13 = Py_None;
tmp_fromlist_value_13 = mod_consts[138];
tmp_level_value_13 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 28;
tmp_import_name_from_8 = IMPORT_MODULE5(tmp_name_value_13, tmp_globals_arg_value_13, tmp_locals_arg_value_13, tmp_fromlist_value_13, tmp_level_value_13);
if (tmp_import_name_from_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 28;
goto try_except_handler_3;
}
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_oauthlib$common,
mod_consts[62],
mod_consts[46]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[62]);
}
Py_DECREF(tmp_import_name_from_8);
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 28;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[7], tmp_assign_source_20);
}
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_4b270c9fd96ff2e7b0bd0f66f266a44e, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_4b270c9fd96ff2e7b0bd0f66f266a44e, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_21;
PyObject *tmp_import_name_from_9;
PyObject *tmp_name_value_14;
PyObject *tmp_globals_arg_value_14;
PyObject *tmp_locals_arg_value_14;
PyObject *tmp_fromlist_value_14;
PyObject *tmp_level_value_14;
tmp_name_value_14 = mod_consts[139];
tmp_globals_arg_value_14 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_14 = Py_None;
tmp_fromlist_value_14 = mod_consts[134];
tmp_level_value_14 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 30;
tmp_import_name_from_9 = IMPORT_MODULE5(tmp_name_value_14, tmp_globals_arg_value_14, tmp_locals_arg_value_14, tmp_fromlist_value_14, tmp_level_value_14);
if (tmp_import_name_from_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 30;
goto try_except_handler_4;
}
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_21 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_oauthlib$common,
mod_consts[135],
mod_consts[46]
);
} else {
tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[135]);
}
Py_DECREF(tmp_import_name_from_9);
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 30;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_import_name_from_10;
PyObject *tmp_name_value_15;
PyObject *tmp_globals_arg_value_15;
PyObject *tmp_locals_arg_value_15;
PyObject *tmp_fromlist_value_15;
PyObject *tmp_level_value_15;
tmp_name_value_15 = mod_consts[139];
tmp_globals_arg_value_15 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_15 = Py_None;
tmp_fromlist_value_15 = mod_consts[136];
tmp_level_value_15 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 31;
tmp_import_name_from_10 = IMPORT_MODULE5(tmp_name_value_15, tmp_globals_arg_value_15, tmp_locals_arg_value_15, tmp_fromlist_value_15, tmp_level_value_15);
if (tmp_import_name_from_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_4;
}
if (PyModule_Check(tmp_import_name_from_10)) {
tmp_assign_source_22 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_oauthlib$common,
mod_consts[137],
mod_consts[46]
);
} else {
tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[137]);
}
Py_DECREF(tmp_import_name_from_10);
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_22);
}
{
PyObject *tmp_assign_source_23;
PyObject *tmp_import_name_from_11;
PyObject *tmp_name_value_16;
PyObject *tmp_globals_arg_value_16;
PyObject *tmp_locals_arg_value_16;
PyObject *tmp_fromlist_value_16;
PyObject *tmp_level_value_16;
tmp_name_value_16 = mod_consts[139];
tmp_globals_arg_value_16 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_16 = Py_None;
tmp_fromlist_value_16 = mod_consts[138];
tmp_level_value_16 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 32;
tmp_import_name_from_11 = IMPORT_MODULE5(tmp_name_value_16, tmp_globals_arg_value_16, tmp_locals_arg_value_16, tmp_fromlist_value_16, tmp_level_value_16);
if (tmp_import_name_from_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto try_except_handler_4;
}
if (PyModule_Check(tmp_import_name_from_11)) {
tmp_assign_source_23 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_11,
(PyObject *)moduledict_oauthlib$common,
mod_consts[62],
mod_consts[46]
);
} else {
tmp_assign_source_23 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[62]);
}
Py_DECREF(tmp_import_name_from_11);
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[7], tmp_assign_source_23);
}
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 25;
}
if (exception_tb && exception_tb->tb_frame == &frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame) frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_4;
branch_end_2:;
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;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_3;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_3:;
// Tried code:
{
PyObject *tmp_assign_source_24;
PyObject *tmp_name_value_17;
PyObject *tmp_globals_arg_value_17;
PyObject *tmp_locals_arg_value_17;
PyObject *tmp_fromlist_value_17;
PyObject *tmp_level_value_17;
tmp_name_value_17 = mod_consts[21];
tmp_globals_arg_value_17 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_17 = Py_None;
tmp_fromlist_value_17 = Py_None;
tmp_level_value_17 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 34;
tmp_assign_source_24 = IMPORT_MODULE5(tmp_name_value_17, tmp_globals_arg_value_17, tmp_locals_arg_value_17, tmp_fromlist_value_17, tmp_level_value_17);
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 34;
goto try_except_handler_5;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[21], tmp_assign_source_24);
}
goto try_end_5;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 3.
exception_preserved_3 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_5 == NULL) {
exception_keeper_tb_5 = MAKE_TRACEBACK(frame_4b270c9fd96ff2e7b0bd0f66f266a44e, exception_keeper_lineno_5);
} else if (exception_keeper_lineno_5 != 0) {
exception_keeper_tb_5 = ADD_TRACEBACK(exception_keeper_tb_5, frame_4b270c9fd96ff2e7b0bd0f66f266a44e, exception_keeper_lineno_5);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_5, &exception_keeper_value_5, &exception_keeper_tb_5);
// Tried code:
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_25;
PyObject *tmp_import_name_from_12;
PyObject *tmp_name_value_18;
PyObject *tmp_globals_arg_value_18;
PyObject *tmp_locals_arg_value_18;
PyObject *tmp_fromlist_value_18;
PyObject *tmp_level_value_18;
tmp_name_value_18 = mod_consts[139];
tmp_globals_arg_value_18 = (PyObject *)moduledict_oauthlib$common;
tmp_locals_arg_value_18 = Py_None;
tmp_fromlist_value_18 = Py_None;
tmp_level_value_18 = mod_consts[46];
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 36;
tmp_import_name_from_12 = IMPORT_MODULE5(tmp_name_value_18, tmp_globals_arg_value_18, tmp_locals_arg_value_18, tmp_fromlist_value_18, tmp_level_value_18);
if (tmp_import_name_from_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
goto try_except_handler_6;
}
if (PyModule_Check(tmp_import_name_from_12)) {
tmp_assign_source_25 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_12,
(PyObject *)moduledict_oauthlib$common,
mod_consts[140],
mod_consts[46]
);
} else {
tmp_assign_source_25 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[140]);
}
Py_DECREF(tmp_import_name_from_12);
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[21], tmp_assign_source_25);
}
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 33;
}
if (exception_tb && exception_tb->tb_frame == &frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame) frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_6;
branch_end_3:;
goto try_end_6;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
goto try_end_5;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_5:;
{
PyObject *tmp_assign_source_26;
tmp_assign_source_26 = mod_consts[141];
UPDATE_STRING_DICT0(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[142], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
tmp_assign_source_27 = mod_consts[143];
UPDATE_STRING_DICT0(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[144], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[124]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[124]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 45;
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[145]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 45;
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[146];
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[124]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[124]);
}
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 = 45;
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[147]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 45;
goto frame_exception_exit_1;
}
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 45;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_28 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 45;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[99], tmp_assign_source_28);
}
{
PyObject *tmp_assign_source_29;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[124]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[124]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
goto frame_exception_exit_1;
}
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 46;
tmp_assign_source_29 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[145],
PyTuple_GET_ITEM(mod_consts[148], 0)
);
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[17], tmp_assign_source_29);
}
{
PyObject *tmp_assign_source_30;
tmp_assign_source_30 = mod_consts[149];
UPDATE_STRING_DICT0(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[150], tmp_assign_source_30);
}
{
PyObject *tmp_assign_source_31;
PyObject *tmp_called_instance_2;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[123]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[123]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto frame_exception_exit_1;
}
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 52;
tmp_assign_source_31 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[151],
PyTuple_GET_ITEM(mod_consts[152], 0)
);
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[153], tmp_assign_source_31);
}
{
PyObject *tmp_assign_source_32;
tmp_assign_source_32 = Py_True;
UPDATE_STRING_DICT0(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[20], tmp_assign_source_32);
}
{
PyObject *tmp_assign_source_33;
tmp_assign_source_33 = (PyObject *)&PyUnicode_Type;
UPDATE_STRING_DICT0(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_33);
}
{
PyObject *tmp_assign_source_34;
PyObject *tmp_defaults_1;
tmp_defaults_1 = mod_consts[154];
Py_INCREF(tmp_defaults_1);
tmp_assign_source_34 = MAKE_FUNCTION_oauthlib$common$$$function__1_quote(tmp_defaults_1);
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[135], tmp_assign_source_34);
}
{
PyObject *tmp_assign_source_35;
tmp_assign_source_35 = MAKE_FUNCTION_oauthlib$common$$$function__2_unquote();
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[137], tmp_assign_source_35);
}
{
PyObject *tmp_assign_source_36;
tmp_assign_source_36 = MAKE_FUNCTION_oauthlib$common$$$function__3_urlencode();
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[62], tmp_assign_source_36);
}
{
PyObject *tmp_assign_source_37;
tmp_assign_source_37 = MAKE_FUNCTION_oauthlib$common$$$function__4_encode_params_utf8();
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_37);
}
{
PyObject *tmp_assign_source_38;
tmp_assign_source_38 = MAKE_FUNCTION_oauthlib$common$$$function__5_decode_params_utf8();
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[24], tmp_assign_source_38);
}
{
PyObject *tmp_assign_source_39;
PyObject *tmp_bitor_expr_left_1;
PyObject *tmp_bitor_expr_right_1;
PyObject *tmp_set_arg_1;
tmp_set_arg_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[150]);
if (unlikely(tmp_set_arg_1 == NULL)) {
tmp_set_arg_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[150]);
}
if (tmp_set_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
goto frame_exception_exit_1;
}
tmp_bitor_expr_left_1 = PySet_New(tmp_set_arg_1);
if (tmp_bitor_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
goto frame_exception_exit_1;
}
tmp_bitor_expr_right_1 = PySet_New(mod_consts[155]);
tmp_assign_source_39 = BINARY_OPERATION_BITOR_OBJECT_OBJECT_OBJECT(tmp_bitor_expr_left_1, tmp_bitor_expr_right_1);
Py_DECREF(tmp_bitor_expr_left_1);
Py_DECREF(tmp_bitor_expr_right_1);
assert(!(tmp_assign_source_39 == NULL));
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[14], tmp_assign_source_39);
}
{
PyObject *tmp_assign_source_40;
tmp_assign_source_40 = MAKE_FUNCTION_oauthlib$common$$$function__6_urldecode();
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[26], tmp_assign_source_40);
}
{
PyObject *tmp_assign_source_41;
tmp_assign_source_41 = MAKE_FUNCTION_oauthlib$common$$$function__7_extract_params();
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[89], tmp_assign_source_41);
}
{
PyObject *tmp_assign_source_42;
tmp_assign_source_42 = MAKE_FUNCTION_oauthlib$common$$$function__8_generate_nonce();
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[156], tmp_assign_source_42);
}
{
PyObject *tmp_assign_source_43;
tmp_assign_source_43 = MAKE_FUNCTION_oauthlib$common$$$function__9_generate_timestamp();
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[33], tmp_assign_source_43);
}
{
PyObject *tmp_assign_source_44;
PyObject *tmp_defaults_2;
PyObject *tmp_tuple_element_1;
tmp_tuple_element_1 = mod_consts[157];
tmp_defaults_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_defaults_2, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[142]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[142]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_defaults_2, 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_defaults_2);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_assign_source_44 = MAKE_FUNCTION_oauthlib$common$$$function__10_generate_token(tmp_defaults_2);
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[59], tmp_assign_source_44);
}
{
PyObject *tmp_assign_source_45;
tmp_assign_source_45 = MAKE_FUNCTION_oauthlib$common$$$function__11_generate_signed_token();
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[158], tmp_assign_source_45);
}
{
PyObject *tmp_assign_source_46;
tmp_assign_source_46 = MAKE_FUNCTION_oauthlib$common$$$function__12_verify_signed_token();
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[159], tmp_assign_source_46);
}
{
PyObject *tmp_assign_source_47;
PyObject *tmp_defaults_3;
PyObject *tmp_tuple_element_2;
tmp_tuple_element_2 = mod_consts[157];
tmp_defaults_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_defaults_3, 0, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[144]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[144]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 260;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM0(tmp_defaults_3, 1, tmp_tuple_element_2);
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_defaults_3);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_assign_source_47 = MAKE_FUNCTION_oauthlib$common$$$function__13_generate_client_id(tmp_defaults_3);
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[160], tmp_assign_source_47);
}
{
PyObject *tmp_assign_source_48;
tmp_assign_source_48 = MAKE_FUNCTION_oauthlib$common$$$function__14_add_params_to_qs();
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[65], tmp_assign_source_48);
}
{
PyObject *tmp_assign_source_49;
PyObject *tmp_defaults_4;
tmp_defaults_4 = mod_consts[161];
Py_INCREF(tmp_defaults_4);
tmp_assign_source_49 = MAKE_FUNCTION_oauthlib$common$$$function__15_add_params_to_uri(tmp_defaults_4);
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[162], tmp_assign_source_49);
}
{
PyObject *tmp_assign_source_50;
tmp_assign_source_50 = MAKE_FUNCTION_oauthlib$common$$$function__16_safe_string_equals();
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[163], tmp_assign_source_50);
}
{
PyObject *tmp_assign_source_51;
PyObject *tmp_defaults_5;
tmp_defaults_5 = mod_consts[164];
Py_INCREF(tmp_defaults_5);
tmp_assign_source_51 = MAKE_FUNCTION_oauthlib$common$$$function__17_to_unicode(tmp_defaults_5);
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[56], tmp_assign_source_51);
}
// Tried code:
{
PyObject *tmp_assign_source_52;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[165];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_52 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_7;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_52;
}
{
PyObject *tmp_assign_source_53;
tmp_assign_source_53 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_53;
}
{
PyObject *tmp_assign_source_54;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_4;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
nuitka_bool tmp_condition_result_5;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[166];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_1, tmp_key_value_1);
assert(!(tmp_res == -1));
tmp_condition_result_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_value_2 = mod_consts[166];
tmp_metaclass_value_1 = DICT_GET_ITEM0(tmp_dict_arg_value_2, tmp_key_value_2);
if (tmp_metaclass_value_1 == NULL) {
tmp_metaclass_value_1 = Py_None;
}
assert(!(tmp_metaclass_value_1 == NULL));
Py_INCREF(tmp_metaclass_value_1);
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_class_creation_1__bases);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_7;
}
tmp_condition_result_5 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_expression_value_3 = tmp_class_creation_1__bases;
tmp_subscript_value_1 = mod_consts[46];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_3, tmp_subscript_value_1, 0);
if (tmp_type_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_7;
}
tmp_metaclass_value_1 = BUILTIN_TYPE1(tmp_type_arg_1);
Py_DECREF(tmp_type_arg_1);
if (tmp_metaclass_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_7;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_value_1 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_1);
condexpr_end_2:;
condexpr_end_1:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_bases_value_1 = tmp_class_creation_1__bases;
tmp_assign_source_54 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_7;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_54;
}
{
bool tmp_condition_result_6;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[166];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_3, tmp_key_value_3);
assert(!(tmp_res == -1));
tmp_condition_result_6 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[166];
tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_7;
}
branch_no_4:;
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_4 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_4, mod_consts[167]);
tmp_condition_result_7 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_55;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_3;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_5 = tmp_class_creation_1__metaclass;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[167]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_7;
}
tmp_tuple_element_3 = mod_consts[78];
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_3 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 331;
tmp_assign_source_55 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_value_1);
if (tmp_assign_source_55 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_7;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_55;
}
{
bool tmp_condition_result_8;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_6 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_6, mod_consts[80]);
tmp_operand_value_1 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_7;
}
tmp_condition_result_8 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_4;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
tmp_raise_type_1 = PyExc_TypeError;
tmp_mod_expr_left_1 = mod_consts[168];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[169];
tmp_getattr_default_1 = mod_consts[170];
tmp_tuple_element_4 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_7;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_7;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_expression_value_7 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_7 == NULL));
tmp_tuple_element_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[169]);
Py_DECREF(tmp_expression_value_7);
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_4);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_mod_expr_right_1);
goto try_except_handler_7;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_raise_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_7;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 331;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_7;
}
branch_no_6:;
goto branch_end_5;
branch_no_5:;
{
PyObject *tmp_assign_source_56;
tmp_assign_source_56 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_56;
}
branch_end_5:;
{
PyObject *tmp_assign_source_57;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[171];
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331, mod_consts[172], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_9;
}
tmp_dictset_value = mod_consts[173];
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331, mod_consts[114], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_9;
}
tmp_dictset_value = mod_consts[78];
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_9;
}
if (isFrameUnusable(cache_frame_0947087aa04a21af4a561aa8095fcd4a_2)) {
Py_XDECREF(cache_frame_0947087aa04a21af4a561aa8095fcd4a_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_0947087aa04a21af4a561aa8095fcd4a_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0947087aa04a21af4a561aa8095fcd4a_2 = MAKE_CLASS_FRAME(codeobj_0947087aa04a21af4a561aa8095fcd4a, module_oauthlib$common, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0947087aa04a21af4a561aa8095fcd4a_2->m_type_description == NULL);
frame_0947087aa04a21af4a561aa8095fcd4a_2 = cache_frame_0947087aa04a21af4a561aa8095fcd4a_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_0947087aa04a21af4a561aa8095fcd4a_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0947087aa04a21af4a561aa8095fcd4a_2) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_DICT_EMPTY();
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331, mod_consts[74], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 335;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_oauthlib$common$$$function__18___init__();
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331, mod_consts[175], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_oauthlib$common$$$function__19___contains__();
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331, mod_consts[177], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 342;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_oauthlib$common$$$function__20___delitem__();
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331, mod_consts[79], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 345;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_oauthlib$common$$$function__21___getitem__();
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331, mod_consts[80], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 350;
type_description_2 = "o";
goto frame_exception_exit_2;
}
{
PyObject *tmp_defaults_6;
tmp_defaults_6 = mod_consts[181];
Py_INCREF(tmp_defaults_6);
tmp_dictset_value = MAKE_FUNCTION_oauthlib$common$$$function__22_get(tmp_defaults_6);
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331, mod_consts[182], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 354;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
tmp_dictset_value = MAKE_FUNCTION_oauthlib$common$$$function__23___setitem__();
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 357;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_oauthlib$common$$$function__24_update();
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331, mod_consts[82], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 361;
type_description_2 = "o";
goto frame_exception_exit_2;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0947087aa04a21af4a561aa8095fcd4a_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0947087aa04a21af4a561aa8095fcd4a_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0947087aa04a21af4a561aa8095fcd4a_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0947087aa04a21af4a561aa8095fcd4a_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0947087aa04a21af4a561aa8095fcd4a_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0947087aa04a21af4a561aa8095fcd4a_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_0947087aa04a21af4a561aa8095fcd4a_2 == cache_frame_0947087aa04a21af4a561aa8095fcd4a_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0947087aa04a21af4a561aa8095fcd4a_2);
cache_frame_0947087aa04a21af4a561aa8095fcd4a_2 = NULL;
}
assertFrameObject(frame_0947087aa04a21af4a561aa8095fcd4a_2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
goto try_except_handler_9;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_4 = tmp_class_creation_1__bases;
tmp_cmp_expr_right_4 = mod_consts[165];
tmp_condition_result_9 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_9 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_9;
}
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
tmp_dictset_value = mod_consts[165];
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331, mod_consts[186], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_9;
}
branch_no_7:;
{
PyObject *tmp_assign_source_58;
PyObject *tmp_called_value_3;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_5;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_3 = tmp_class_creation_1__metaclass;
tmp_tuple_element_5 = mod_consts[78];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_5 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_5);
tmp_tuple_element_5 = locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 331;
tmp_assign_source_58 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
goto try_except_handler_9;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_58;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_57 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_57);
goto try_return_handler_9;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_9:;
Py_DECREF(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331);
locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331 = NULL;
goto try_return_handler_8;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331);
locals_oauthlib$common$$$class__1_CaseInsensitiveDict_331 = 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 try_except_handler_8;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_8:;
CHECK_OBJECT(outline_0_var___class__);
Py_DECREF(outline_0_var___class__);
outline_0_var___class__ = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_8:;
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;
// 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_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 331;
goto try_except_handler_7;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[78], tmp_assign_source_57);
}
goto try_end_7;
// Exception handler code:
try_except_handler_7:;
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(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
Py_XDECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
Py_XDECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto frame_exception_exit_1;
// End of try:
try_end_7:;
CHECK_OBJECT(tmp_class_creation_1__bases);
Py_DECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
Py_DECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_1__prepared);
Py_DECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_59;
PyObject *tmp_dircall_arg1_2;
tmp_dircall_arg1_2 = mod_consts[187];
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_59 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_10;
}
assert(tmp_class_creation_2__bases == NULL);
tmp_class_creation_2__bases = tmp_assign_source_59;
}
{
PyObject *tmp_assign_source_60;
tmp_assign_source_60 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_60;
}
{
PyObject *tmp_assign_source_61;
PyObject *tmp_metaclass_value_2;
bool tmp_condition_result_10;
PyObject *tmp_key_value_4;
PyObject *tmp_dict_arg_value_4;
PyObject *tmp_dict_arg_value_5;
PyObject *tmp_key_value_5;
nuitka_bool tmp_condition_result_11;
int tmp_truth_name_2;
PyObject *tmp_type_arg_3;
PyObject *tmp_expression_value_8;
PyObject *tmp_subscript_value_2;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[166];
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_4 = tmp_class_creation_2__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_4, tmp_key_value_4);
assert(!(tmp_res == -1));
tmp_condition_result_10 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_10 != false) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_5 = tmp_class_creation_2__class_decl_dict;
tmp_key_value_5 = mod_consts[166];
tmp_metaclass_value_2 = DICT_GET_ITEM0(tmp_dict_arg_value_5, tmp_key_value_5);
if (tmp_metaclass_value_2 == NULL) {
tmp_metaclass_value_2 = Py_None;
}
assert(!(tmp_metaclass_value_2 == NULL));
Py_INCREF(tmp_metaclass_value_2);
goto condexpr_end_3;
condexpr_false_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_class_creation_2__bases);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_10;
}
tmp_condition_result_11 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_expression_value_8 = tmp_class_creation_2__bases;
tmp_subscript_value_2 = mod_consts[46];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_8, tmp_subscript_value_2, 0);
if (tmp_type_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_10;
}
tmp_metaclass_value_2 = BUILTIN_TYPE1(tmp_type_arg_3);
Py_DECREF(tmp_type_arg_3);
if (tmp_metaclass_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_10;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_2);
condexpr_end_4:;
condexpr_end_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_bases_value_2 = tmp_class_creation_2__bases;
tmp_assign_source_61 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
Py_DECREF(tmp_metaclass_value_2);
if (tmp_assign_source_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_10;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_61;
}
{
bool tmp_condition_result_12;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[166];
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_6 = tmp_class_creation_2__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_6, tmp_key_value_6);
assert(!(tmp_res == -1));
tmp_condition_result_12 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_12 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = mod_consts[166];
tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_10;
}
branch_no_8:;
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_9 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_9, mod_consts[167]);
tmp_condition_result_13 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_assign_source_62;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_10;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_10 = tmp_class_creation_2__metaclass;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[167]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_10;
}
tmp_tuple_element_6 = mod_consts[188];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_6 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 367;
tmp_assign_source_62 = CALL_FUNCTION(tmp_called_value_4, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_value_3);
if (tmp_assign_source_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_10;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_62;
}
{
bool tmp_condition_result_14;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_11 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_11, mod_consts[80]);
tmp_operand_value_2 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_10;
}
tmp_condition_result_14 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_14 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_7;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
tmp_raise_type_2 = PyExc_TypeError;
tmp_mod_expr_left_2 = mod_consts[168];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[169];
tmp_getattr_default_2 = mod_consts[170];
tmp_tuple_element_7 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_10;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_12;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_expression_value_12 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_12 == NULL));
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[169]);
Py_DECREF(tmp_expression_value_12);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_7);
}
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_mod_expr_right_2);
goto try_except_handler_10;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_raise_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_10;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 367;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_10;
}
branch_no_10:;
goto branch_end_9;
branch_no_9:;
{
PyObject *tmp_assign_source_63;
tmp_assign_source_63 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_63;
}
branch_end_9:;
{
PyObject *tmp_assign_source_64;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_oauthlib$common$$$class__2_Request_367 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[171];
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[172], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_12;
}
tmp_dictset_value = mod_consts[189];
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[114], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_12;
}
tmp_dictset_value = mod_consts[188];
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[174], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_12;
}
if (isFrameUnusable(cache_frame_6276cde4ca021867067ea5e30db4a680_3)) {
Py_XDECREF(cache_frame_6276cde4ca021867067ea5e30db4a680_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_6276cde4ca021867067ea5e30db4a680_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6276cde4ca021867067ea5e30db4a680_3 = MAKE_CLASS_FRAME(codeobj_6276cde4ca021867067ea5e30db4a680, module_oauthlib$common, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6276cde4ca021867067ea5e30db4a680_3->m_type_description == NULL);
frame_6276cde4ca021867067ea5e30db4a680_3 = cache_frame_6276cde4ca021867067ea5e30db4a680_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_6276cde4ca021867067ea5e30db4a680_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6276cde4ca021867067ea5e30db4a680_3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_7;
tmp_defaults_7 = mod_consts[190];
Py_INCREF(tmp_defaults_7);
tmp_dictset_value = MAKE_FUNCTION_oauthlib$common$$$function__25___init__(tmp_defaults_7);
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[175], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 382;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
tmp_dictset_value = MAKE_FUNCTION_oauthlib$common$$$function__26___getattr__();
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[192], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 432;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_oauthlib$common$$$function__27___repr__();
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[194], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 438;
type_description_2 = "o";
goto frame_exception_exit_3;
}
{
nuitka_bool tmp_condition_result_15;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_3;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_4;
tmp_res = MAPPING_HAS_ITEM(locals_oauthlib$common$$$class__2_Request_367, mod_consts[196]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 450;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_condition_result_15 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
tmp_called_value_5 = PyObject_GetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[196]);
if (unlikely(tmp_called_value_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[196]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 450;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 450;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_args_element_value_3 = MAKE_FUNCTION_oauthlib$common$$$function__28_uri_query();
frame_6276cde4ca021867067ea5e30db4a680_3->m_frame.f_lineno = 450;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_3);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 450;
type_description_2 = "o";
goto frame_exception_exit_3;
}
goto condexpr_end_5;
condexpr_false_5:;
tmp_called_value_6 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_4 = MAKE_FUNCTION_oauthlib$common$$$function__28_uri_query();
frame_6276cde4ca021867067ea5e30db4a680_3->m_frame.f_lineno = 450;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_4);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 450;
type_description_2 = "o";
goto frame_exception_exit_3;
}
condexpr_end_5:;
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[95], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 451;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
nuitka_bool tmp_condition_result_16;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_5;
PyObject *tmp_called_value_8;
PyObject *tmp_args_element_value_6;
tmp_res = MAPPING_HAS_ITEM(locals_oauthlib$common$$$class__2_Request_367, mod_consts[196]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 454;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_condition_result_16 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) {
goto condexpr_true_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
tmp_called_value_7 = PyObject_GetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[196]);
if (unlikely(tmp_called_value_7 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[196]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 454;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 454;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_args_element_value_5 = MAKE_FUNCTION_oauthlib$common$$$function__29_uri_query_params();
frame_6276cde4ca021867067ea5e30db4a680_3->m_frame.f_lineno = 454;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_5);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 454;
type_description_2 = "o";
goto frame_exception_exit_3;
}
goto condexpr_end_6;
condexpr_false_6:;
tmp_called_value_8 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_6 = MAKE_FUNCTION_oauthlib$common$$$function__29_uri_query_params();
frame_6276cde4ca021867067ea5e30db4a680_3->m_frame.f_lineno = 454;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_8, tmp_args_element_value_6);
Py_DECREF(tmp_args_element_value_6);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 454;
type_description_2 = "o";
goto frame_exception_exit_3;
}
condexpr_end_6:;
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[109], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 455;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
nuitka_bool tmp_condition_result_17;
PyObject *tmp_called_value_9;
PyObject *tmp_args_element_value_7;
PyObject *tmp_called_value_10;
PyObject *tmp_args_element_value_8;
tmp_res = MAPPING_HAS_ITEM(locals_oauthlib$common$$$class__2_Request_367, mod_consts[196]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 461;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_condition_result_17 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) {
goto condexpr_true_7;
} else {
goto condexpr_false_7;
}
condexpr_true_7:;
tmp_called_value_9 = PyObject_GetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[196]);
if (unlikely(tmp_called_value_9 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[196]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 461;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 461;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_args_element_value_7 = MAKE_FUNCTION_oauthlib$common$$$function__30_duplicate_params();
frame_6276cde4ca021867067ea5e30db4a680_3->m_frame.f_lineno = 461;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_9, tmp_args_element_value_7);
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_args_element_value_7);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 461;
type_description_2 = "o";
goto frame_exception_exit_3;
}
goto condexpr_end_7;
condexpr_false_7:;
tmp_called_value_10 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_8 = MAKE_FUNCTION_oauthlib$common$$$function__30_duplicate_params();
frame_6276cde4ca021867067ea5e30db4a680_3->m_frame.f_lineno = 461;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_10, tmp_args_element_value_8);
Py_DECREF(tmp_args_element_value_8);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 461;
type_description_2 = "o";
goto frame_exception_exit_3;
}
condexpr_end_7:;
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[199], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6276cde4ca021867067ea5e30db4a680_3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_exception_exit_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6276cde4ca021867067ea5e30db4a680_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6276cde4ca021867067ea5e30db4a680_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6276cde4ca021867067ea5e30db4a680_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6276cde4ca021867067ea5e30db4a680_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6276cde4ca021867067ea5e30db4a680_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_6276cde4ca021867067ea5e30db4a680_3 == cache_frame_6276cde4ca021867067ea5e30db4a680_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6276cde4ca021867067ea5e30db4a680_3);
cache_frame_6276cde4ca021867067ea5e30db4a680_3 = NULL;
}
assertFrameObject(frame_6276cde4ca021867067ea5e30db4a680_3);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_2;
frame_no_exception_2:;
goto skip_nested_handling_2;
nested_frame_exit_2:;
goto try_except_handler_12;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_cmp_expr_left_5 = tmp_class_creation_2__bases;
tmp_cmp_expr_right_5 = mod_consts[187];
tmp_condition_result_18 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_18 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_12;
}
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
tmp_dictset_value = mod_consts[187];
tmp_res = PyObject_SetItem(locals_oauthlib$common$$$class__2_Request_367, mod_consts[186], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_12;
}
branch_no_11:;
{
PyObject *tmp_assign_source_65;
PyObject *tmp_called_value_11;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_8;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_11 = tmp_class_creation_2__metaclass;
tmp_tuple_element_8 = mod_consts[188];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_8 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_8);
tmp_tuple_element_8 = locals_oauthlib$common$$$class__2_Request_367;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame.f_lineno = 367;
tmp_assign_source_65 = CALL_FUNCTION(tmp_called_value_11, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_65 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
goto try_except_handler_12;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_65;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_64 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_64);
goto try_return_handler_12;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_12:;
Py_DECREF(locals_oauthlib$common$$$class__2_Request_367);
locals_oauthlib$common$$$class__2_Request_367 = NULL;
goto try_return_handler_11;
// Exception handler code:
try_except_handler_12:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_oauthlib$common$$$class__2_Request_367);
locals_oauthlib$common$$$class__2_Request_367 = NULL;
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto try_except_handler_11;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_11:;
CHECK_OBJECT(outline_1_var___class__);
Py_DECREF(outline_1_var___class__);
outline_1_var___class__ = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 367;
goto try_except_handler_10;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_oauthlib$common, (Nuitka_StringObject *)mod_consts[188], tmp_assign_source_64);
}
goto try_end_8;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_12 = exception_type;
exception_keeper_value_12 = exception_value;
exception_keeper_tb_12 = exception_tb;
exception_keeper_lineno_12 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_2__bases);
tmp_class_creation_2__bases = NULL;
Py_XDECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
Py_XDECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto frame_exception_exit_1;
// End of try:
try_end_8:;
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_4b270c9fd96ff2e7b0bd0f66f266a44e);
#endif
popFrameStack();
goto frame_no_exception_3;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4b270c9fd96ff2e7b0bd0f66f266a44e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4b270c9fd96ff2e7b0bd0f66f266a44e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4b270c9fd96ff2e7b0bd0f66f266a44e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4b270c9fd96ff2e7b0bd0f66f266a44e, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
Py_DECREF(tmp_class_creation_2__bases);
tmp_class_creation_2__bases = NULL;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
Py_DECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
Py_DECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_2__prepared);
Py_DECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("oauthlib.common", false);
Py_INCREF(module_oauthlib$common);
return module_oauthlib$common;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_oauthlib$common, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("oauthlib$common", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}