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 'requests.models'
* 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_requests$models" 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_requests$models;
PyDictObject *moduledict_requests$models;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[404];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[404];
#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("requests.models"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 404; 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_requests$models(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 404; 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_f686c9a138c90220a0651df082ce7903;
static PyCodeObject *codeobj_5d7efa73db97d75782f3a2ac543103b2;
static PyCodeObject *codeobj_51444825c9a5198f623d248658adae87;
static PyCodeObject *codeobj_378872544ac8d9e3a1bd76437ff81127;
static PyCodeObject *codeobj_5aed3b176021ea41833105c411aa98ee;
static PyCodeObject *codeobj_0f5ce25d5bc5e2e38c732df910215a94;
static PyCodeObject *codeobj_56a12d2809ff26d5cf752c8824c53811;
static PyCodeObject *codeobj_4bb039bda945473d8156c26771dbcf99;
static PyCodeObject *codeobj_a511fdfb4954983c61a6b870d89e5902;
static PyCodeObject *codeobj_675fbdb52a48d624a8c697cf385eec3c;
static PyCodeObject *codeobj_3333536072dc4275875c2a30865d5681;
static PyCodeObject *codeobj_78cbe34d571a814a06e69dd225d4cc49;
static PyCodeObject *codeobj_9f6828949af4164c4521381d16d9f211;
static PyCodeObject *codeobj_0b2ae2e33e2e352089aaa99c31d12a1e;
static PyCodeObject *codeobj_02a1059045e54ce0c2c2e60a2648ad63;
static PyCodeObject *codeobj_20b5760eb9ffcf3bd83f9d6cae339f6d;
static PyCodeObject *codeobj_95cae83f78ad185411640a2432d531fe;
static PyCodeObject *codeobj_d37bef45d2689ae2c1b9c6cb9c14ac98;
static PyCodeObject *codeobj_de1cb68a04a936d56bea5888e3da82d1;
static PyCodeObject *codeobj_0f1334a3d61c580420f3e30275650b47;
static PyCodeObject *codeobj_602934f6e8661875901a20623e889f8f;
static PyCodeObject *codeobj_7317d8f451794aa2e997ebe3244a8fd7;
static PyCodeObject *codeobj_0963078e90142a621b8732efbb7b4b32;
static PyCodeObject *codeobj_79f4a5fb1901046f706f1a1b785d5219;
static PyCodeObject *codeobj_47ae20e1b80f9128654b503f1b642e1f;
static PyCodeObject *codeobj_456e70c020587f916730e6f7bd7a2657;
static PyCodeObject *codeobj_18e3550ea33a5a4ef13297bf8f8bdca7;
static PyCodeObject *codeobj_b2abaacc2bfc499e92ebf3d6ce1d2d36;
static PyCodeObject *codeobj_3b7071338589f3ba7c6f5837609b2da4;
static PyCodeObject *codeobj_7b9d5043a9683ebcc994fd2e1ace3883;
static PyCodeObject *codeobj_85048466da88f08d969225b5f6d6928f;
static PyCodeObject *codeobj_b84f2ce1ea66b77b6dd681df4752c88e;
static PyCodeObject *codeobj_bb8a0f3fc298d6282ae4b589d86e3755;
static PyCodeObject *codeobj_75b5ee167b0b549be904e69f6e51d969;
static PyCodeObject *codeobj_cdc0114f9f7edc9d0a39c5d988ceca26;
static PyCodeObject *codeobj_190218a846a431e82a477bdeee4716a1;
static PyCodeObject *codeobj_f199683ab0cd61435a067dd360dcfd05;
static PyCodeObject *codeobj_14cf80b52271d34dbf07a628be133af5;
static PyCodeObject *codeobj_a45eddef1de3abacc02b086c28220170;
static PyCodeObject *codeobj_1c7ed350145b9a70a5e560eb4d517932;
static PyCodeObject *codeobj_8e8aa26540a6117f933ba59f503e88f8;
static PyCodeObject *codeobj_c1a08eb2e379237acb274d07ee9ab155;
static PyCodeObject *codeobj_b9e8e6dcb71d78cd2aa3b14390ed2921;
static PyCodeObject *codeobj_8b76ced077ff45370d95f824f758b4e6;
static PyCodeObject *codeobj_4a526cbf1efe3c4ac6c170663a9fa3d3;
static PyCodeObject *codeobj_836ebbb6c6c8f89e4be5c86ea8db4dec;
static PyCodeObject *codeobj_df14be24c420a238fc70ee6f0d2d7ffd;
static PyCodeObject *codeobj_cabb9fe4b2f0fd0b857ae0214e3b8839;
static PyCodeObject *codeobj_f17490b0af410405f38c2f6ab8ecce7d;
static PyCodeObject *codeobj_e865086c736fd7a2a24b3c0fc7f13dab;
static PyCodeObject *codeobj_26da3240b2a91615a059388794c443a1;
static PyCodeObject *codeobj_baa0b0271964fbcc399707ea6de8b36e;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[248]; CHECK_OBJECT(module_filename_obj);
codeobj_f686c9a138c90220a0651df082ce7903 = MAKE_CODE_OBJECT(module_filename_obj, 655, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[371], mod_consts[371], mod_consts[372], NULL, 1, 0, 0);
codeobj_5d7efa73db97d75782f3a2ac543103b2 = MAKE_CODE_OBJECT(module_filename_obj, 184, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[43], mod_consts[43], mod_consts[373], NULL, 1, 0, 0);
codeobj_51444825c9a5198f623d248658adae87 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[374], mod_consts[374], NULL, NULL, 0, 0, 0);
codeobj_378872544ac8d9e3a1bd76437ff81127 = MAKE_CODE_OBJECT(module_filename_obj, 272, CO_NOFREE, mod_consts[61], mod_consts[61], mod_consts[375], NULL, 0, 0, 0);
codeobj_5aed3b176021ea41833105c411aa98ee = MAKE_CODE_OBJECT(module_filename_obj, 198, CO_NOFREE, mod_consts[313], mod_consts[313], mod_consts[375], NULL, 0, 0, 0);
codeobj_0f5ce25d5bc5e2e38c732df910215a94 = MAKE_CODE_OBJECT(module_filename_obj, 60, CO_NOFREE, mod_consts[294], mod_consts[294], mod_consts[375], NULL, 0, 0, 0);
codeobj_56a12d2809ff26d5cf752c8824c53811 = MAKE_CODE_OBJECT(module_filename_obj, 174, CO_NOFREE, mod_consts[309], mod_consts[309], mod_consts[375], NULL, 0, 0, 0);
codeobj_4bb039bda945473d8156c26771dbcf99 = MAKE_CODE_OBJECT(module_filename_obj, 586, CO_NOFREE, mod_consts[336], mod_consts[336], mod_consts[375], NULL, 0, 0, 0);
codeobj_a511fdfb4954983c61a6b870d89e5902 = MAKE_CODE_OBJECT(module_filename_obj, 668, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[349], mod_consts[349], mod_consts[376], NULL, 1, 0, 0);
codeobj_675fbdb52a48d624a8c697cf385eec3c = MAKE_CODE_OBJECT(module_filename_obj, 643, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[340], mod_consts[340], mod_consts[376], NULL, 1, 0, 0);
codeobj_3333536072dc4275875c2a30865d5681 = MAKE_CODE_OBJECT(module_filename_obj, 646, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE, mod_consts[342], mod_consts[342], mod_consts[377], NULL, 1, 0, 0);
codeobj_78cbe34d571a814a06e69dd225d4cc49 = MAKE_CODE_OBJECT(module_filename_obj, 649, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[344], mod_consts[344], mod_consts[376], NULL, 1, 0, 0);
codeobj_9f6828949af4164c4521381d16d9f211 = MAKE_CODE_OBJECT(module_filename_obj, 290, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[316], mod_consts[316], mod_consts[376], NULL, 1, 0, 0);
codeobj_0b2ae2e33e2e352089aaa99c31d12a1e = MAKE_CODE_OBJECT(module_filename_obj, 596, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[316], mod_consts[316], mod_consts[376], NULL, 1, 0, 0);
codeobj_02a1059045e54ce0c2c2e60a2648ad63 = MAKE_CODE_OBJECT(module_filename_obj, 226, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[316], mod_consts[316], mod_consts[378], NULL, 11, 0, 0);
codeobj_20b5760eb9ffcf3bd83f9d6cae339f6d = MAKE_CODE_OBJECT(module_filename_obj, 688, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[12], mod_consts[12], mod_consts[376], NULL, 1, 0, 0);
codeobj_95cae83f78ad185411640a2432d531fe = MAKE_CODE_OBJECT(module_filename_obj, 678, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[351], mod_consts[351], mod_consts[376], NULL, 1, 0, 0);
codeobj_d37bef45d2689ae2c1b9c6cb9c14ac98 = MAKE_CODE_OBJECT(module_filename_obj, 251, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[318], mod_consts[318], mod_consts[376], NULL, 1, 0, 0);
codeobj_de1cb68a04a936d56bea5888e3da82d1 = MAKE_CODE_OBJECT(module_filename_obj, 325, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[318], mod_consts[318], mod_consts[376], NULL, 1, 0, 0);
codeobj_0f1334a3d61c580420f3e30275650b47 = MAKE_CODE_OBJECT(module_filename_obj, 665, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[318], mod_consts[318], mod_consts[376], NULL, 1, 0, 0);
codeobj_602934f6e8661875901a20623e889f8f = MAKE_CODE_OBJECT(module_filename_obj, 657, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[346], mod_consts[346], mod_consts[379], NULL, 2, 0, 0);
codeobj_7317d8f451794aa2e997ebe3244a8fd7 = MAKE_CODE_OBJECT(module_filename_obj, 110, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[130], mod_consts[130], mod_consts[380], NULL, 2, 0, 0);
codeobj_0963078e90142a621b8732efbb7b4b32 = MAKE_CODE_OBJECT(module_filename_obj, 83, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[109], mod_consts[109], mod_consts[381], NULL, 1, 0, 0);
codeobj_79f4a5fb1901046f706f1a1b785d5219 = MAKE_CODE_OBJECT(module_filename_obj, 346, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[104], mod_consts[104], mod_consts[382], NULL, 1, 0, 0);
codeobj_47ae20e1b80f9128654b503f1b642e1f = MAKE_CODE_OBJECT(module_filename_obj, 725, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[222], mod_consts[222], mod_consts[376], NULL, 1, 0, 0);
codeobj_456e70c020587f916730e6f7bd7a2657 = MAKE_CODE_OBJECT(module_filename_obj, 942, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[165], mod_consts[165], mod_consts[383], NULL, 1, 0, 0);
codeobj_18e3550ea33a5a4ef13297bf8f8bdca7 = MAKE_CODE_OBJECT(module_filename_obj, 816, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[166], mod_consts[166], mod_consts[376], NULL, 1, 0, 0);
codeobj_b2abaacc2bfc499e92ebf3d6ce1d2d36 = MAKE_CODE_OBJECT(module_filename_obj, 328, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[77], mod_consts[77], mod_consts[384], NULL, 1, 0, 0);
codeobj_3b7071338589f3ba7c6f5837609b2da4 = MAKE_CODE_OBJECT(module_filename_obj, 186, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[311], mod_consts[311], mod_consts[385], NULL, 3, 0, 0);
codeobj_7b9d5043a9683ebcc994fd2e1ace3883 = MAKE_CODE_OBJECT(module_filename_obj, 746, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[188], mod_consts[188], mod_consts[386], mod_consts[387], 0, 0, 0);
codeobj_85048466da88f08d969225b5f6d6928f = MAKE_CODE_OBJECT(module_filename_obj, 715, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[357], mod_consts[357], mod_consts[376], NULL, 1, 0, 0);
codeobj_b84f2ce1ea66b77b6dd681df4752c88e = MAKE_CODE_OBJECT(module_filename_obj, 708, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[355], mod_consts[355], mod_consts[376], NULL, 1, 0, 0);
codeobj_bb8a0f3fc298d6282ae4b589d86e3755 = MAKE_CODE_OBJECT(module_filename_obj, 729, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[171], mod_consts[171], mod_consts[388], NULL, 3, 0, 0);
codeobj_75b5ee167b0b549be904e69f6e51d969 = MAKE_CODE_OBJECT(module_filename_obj, 784, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[214], mod_consts[214], mod_consts[389], NULL, 4, 0, 0);
codeobj_cdc0114f9f7edc9d0a39c5d988ceca26 = MAKE_CODE_OBJECT(module_filename_obj, 873, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[56], mod_consts[56], mod_consts[390], NULL, 1, 0, 0);
codeobj_190218a846a431e82a477bdeee4716a1 = MAKE_CODE_OBJECT(module_filename_obj, 900, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[367], mod_consts[367], mod_consts[391], NULL, 1, 0, 0);
codeobj_f199683ab0cd61435a067dd360dcfd05 = MAKE_CODE_OBJECT(module_filename_obj, 720, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[359], mod_consts[359], mod_consts[376], NULL, 1, 0, 0);
codeobj_14cf80b52271d34dbf07a628be133af5 = MAKE_CODE_OBJECT(module_filename_obj, 693, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[169], mod_consts[169], mod_consts[376], NULL, 1, 0, 0);
codeobj_a45eddef1de3abacc02b086c28220170 = MAKE_CODE_OBJECT(module_filename_obj, 62, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[303], mod_consts[303], mod_consts[392], NULL, 1, 0, 0);
codeobj_1c7ed350145b9a70a5e560eb4d517932 = MAKE_CODE_OBJECT(module_filename_obj, 307, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[62], mod_consts[62], mod_consts[393], NULL, 11, 0, 0);
codeobj_8e8aa26540a6117f933ba59f503e88f8 = MAKE_CODE_OBJECT(module_filename_obj, 254, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[62], mod_consts[62], mod_consts[384], NULL, 1, 0, 0);
codeobj_c1a08eb2e379237acb274d07ee9ab155 = MAKE_CODE_OBJECT(module_filename_obj, 534, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[73], mod_consts[73], mod_consts[394], NULL, 3, 0, 0);
codeobj_b9e8e6dcb71d78cd2aa3b14390ed2921 = MAKE_CODE_OBJECT(module_filename_obj, 452, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[72], mod_consts[72], mod_consts[395], NULL, 4, 0, 0);
codeobj_8b76ced077ff45370d95f824f758b4e6 = MAKE_CODE_OBJECT(module_filename_obj, 521, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[132], mod_consts[132], mod_consts[396], NULL, 2, 0, 0);
codeobj_4a526cbf1efe3c4ac6c170663a9fa3d3 = MAKE_CODE_OBJECT(module_filename_obj, 556, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[71], mod_consts[71], mod_consts[397], NULL, 2, 0, 0);
codeobj_836ebbb6c6c8f89e4be5c86ea8db4dec = MAKE_CODE_OBJECT(module_filename_obj, 441, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[70], mod_consts[70], mod_consts[398], NULL, 2, 0, 0);
codeobj_df14be24c420a238fc70ee6f0d2d7ffd = MAKE_CODE_OBJECT(module_filename_obj, 576, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[74], mod_consts[74], mod_consts[399], NULL, 2, 0, 0);
codeobj_cabb9fe4b2f0fd0b857ae0214e3b8839 = MAKE_CODE_OBJECT(module_filename_obj, 339, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[68], mod_consts[68], mod_consts[400], NULL, 2, 0, 0);
codeobj_f17490b0af410405f38c2f6ab8ecce7d = MAKE_CODE_OBJECT(module_filename_obj, 355, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[69], mod_consts[69], mod_consts[401], NULL, 3, 0, 0);
codeobj_e865086c736fd7a2a24b3c0fc7f13dab = MAKE_CODE_OBJECT(module_filename_obj, 917, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[174], mod_consts[174], mod_consts[402], NULL, 1, 0, 0);
codeobj_26da3240b2a91615a059388794c443a1 = MAKE_CODE_OBJECT(module_filename_obj, 175, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[50], mod_consts[50], mod_consts[385], NULL, 3, 0, 0);
codeobj_baa0b0271964fbcc399707ea6de8b36e = MAKE_CODE_OBJECT(module_filename_obj, 836, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[228], mod_consts[228], mod_consts[403], NULL, 1, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_GENERATOR_requests$models$$$function__4_register_hook$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_requests$models$$$function__36_iter_content$$$function__1_generate$$$genobj__1_generate(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_requests$models$$$function__37_iter_lines$$$genobj__1_iter_lines(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__2_complex_call_helper_star_list(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__6_complex_call_helper_pos_star_dict(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_requests$models$$$function__10_prepare(PyObject *defaults);
static PyObject *MAKE_FUNCTION_requests$models$$$function__11___repr__();
static PyObject *MAKE_FUNCTION_requests$models$$$function__12_copy();
static PyObject *MAKE_FUNCTION_requests$models$$$function__13_prepare_method();
static PyObject *MAKE_FUNCTION_requests$models$$$function__14__get_idna_encoded_host();
static PyObject *MAKE_FUNCTION_requests$models$$$function__15_prepare_url();
static PyObject *MAKE_FUNCTION_requests$models$$$function__16_prepare_headers();
static PyObject *MAKE_FUNCTION_requests$models$$$function__17_prepare_body(PyObject *defaults);
static PyObject *MAKE_FUNCTION_requests$models$$$function__18_prepare_content_length();
static PyObject *MAKE_FUNCTION_requests$models$$$function__19_prepare_auth(PyObject *defaults);
static PyObject *MAKE_FUNCTION_requests$models$$$function__1_path_url();
static PyObject *MAKE_FUNCTION_requests$models$$$function__20_prepare_cookies();
static PyObject *MAKE_FUNCTION_requests$models$$$function__21_prepare_hooks();
static PyObject *MAKE_FUNCTION_requests$models$$$function__22___init__();
static PyObject *MAKE_FUNCTION_requests$models$$$function__23___enter__();
static PyObject *MAKE_FUNCTION_requests$models$$$function__24___exit__();
static PyObject *MAKE_FUNCTION_requests$models$$$function__25___getstate__();
static PyObject *MAKE_FUNCTION_requests$models$$$function__26___setstate__();
static PyObject *MAKE_FUNCTION_requests$models$$$function__27___repr__();
static PyObject *MAKE_FUNCTION_requests$models$$$function__28___bool__();
static PyObject *MAKE_FUNCTION_requests$models$$$function__29___nonzero__();
static PyObject *MAKE_FUNCTION_requests$models$$$function__2__encode_params();
static PyObject *MAKE_FUNCTION_requests$models$$$function__30___iter__();
static PyObject *MAKE_FUNCTION_requests$models$$$function__31_ok();
static PyObject *MAKE_FUNCTION_requests$models$$$function__32_is_redirect();
static PyObject *MAKE_FUNCTION_requests$models$$$function__33_is_permanent_redirect();
static PyObject *MAKE_FUNCTION_requests$models$$$function__34_next();
static PyObject *MAKE_FUNCTION_requests$models$$$function__35_apparent_encoding();
static PyObject *MAKE_FUNCTION_requests$models$$$function__36_iter_content(PyObject *defaults);
static PyObject *MAKE_FUNCTION_requests$models$$$function__36_iter_content$$$function__1_generate(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_requests$models$$$function__37_iter_lines(PyObject *defaults);
static PyObject *MAKE_FUNCTION_requests$models$$$function__38_content();
static PyObject *MAKE_FUNCTION_requests$models$$$function__39_text();
static PyObject *MAKE_FUNCTION_requests$models$$$function__3__encode_files();
static PyObject *MAKE_FUNCTION_requests$models$$$function__40_json();
static PyObject *MAKE_FUNCTION_requests$models$$$function__41_links();
static PyObject *MAKE_FUNCTION_requests$models$$$function__42_raise_for_status();
static PyObject *MAKE_FUNCTION_requests$models$$$function__43_close();
static PyObject *MAKE_FUNCTION_requests$models$$$function__4_register_hook();
static PyObject *MAKE_FUNCTION_requests$models$$$function__5_deregister_hook();
static PyObject *MAKE_FUNCTION_requests$models$$$function__6___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_requests$models$$$function__7___repr__();
static PyObject *MAKE_FUNCTION_requests$models$$$function__8_prepare();
static PyObject *MAKE_FUNCTION_requests$models$$$function__9___init__();
// The module function definitions.
static PyObject *impl_requests$models$$$function__1_path_url(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_url = NULL;
PyObject *var_p = NULL;
PyObject *var_path = NULL;
PyObject *var_query = NULL;
struct Nuitka_FrameObject *frame_a45eddef1de3abacc02b086c28220170;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_a45eddef1de3abacc02b086c28220170 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_url == NULL);
var_url = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_a45eddef1de3abacc02b086c28220170)) {
Py_XDECREF(cache_frame_a45eddef1de3abacc02b086c28220170);
#if _DEBUG_REFCOUNTS
if (cache_frame_a45eddef1de3abacc02b086c28220170 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a45eddef1de3abacc02b086c28220170 = MAKE_FUNCTION_FRAME(codeobj_a45eddef1de3abacc02b086c28220170, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a45eddef1de3abacc02b086c28220170->m_type_description == NULL);
frame_a45eddef1de3abacc02b086c28220170 = cache_frame_a45eddef1de3abacc02b086c28220170;
// Push the new frame as the currently active one.
pushFrameStack(frame_a45eddef1de3abacc02b086c28220170);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a45eddef1de3abacc02b086c28220170) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (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 = 67;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 67;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_a45eddef1de3abacc02b086c28220170->m_frame.f_lineno = 67;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 67;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_p == NULL);
var_p = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(var_p);
tmp_expression_value_2 = var_p;
tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[2]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 69;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_path == NULL);
var_path = tmp_assign_source_3;
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(var_path);
tmp_operand_value_1 = var_path;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = mod_consts[3];
{
PyObject *old = var_path;
assert(old != NULL);
var_path = tmp_assign_source_4;
Py_INCREF(var_path);
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(var_url);
tmp_called_instance_1 = var_url;
CHECK_OBJECT(var_path);
tmp_args_element_value_2 = var_path;
frame_a45eddef1de3abacc02b086c28220170->m_frame.f_lineno = 73;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[4], tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_p);
tmp_expression_value_3 = var_p;
tmp_assign_source_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[5]);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_query == NULL);
var_query = tmp_assign_source_5;
}
{
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
CHECK_OBJECT(var_query);
tmp_truth_name_1 = CHECK_IF_TRUE(var_query);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 76;
type_description_1 = "ooooo";
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_called_instance_2;
PyObject *tmp_call_result_2;
CHECK_OBJECT(var_url);
tmp_called_instance_2 = var_url;
frame_a45eddef1de3abacc02b086c28220170->m_frame.f_lineno = 77;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[4],
PyTuple_GET_ITEM(mod_consts[6], 0)
);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 77;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(var_url);
tmp_called_instance_3 = var_url;
CHECK_OBJECT(var_query);
tmp_args_element_value_3 = var_query;
frame_a45eddef1de3abacc02b086c28220170->m_frame.f_lineno = 78;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[4], tmp_args_element_value_3);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 78;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_2:;
{
PyObject *tmp_str_arg_value_1;
PyObject *tmp_iterable_value_1;
tmp_str_arg_value_1 = mod_consts[7];
CHECK_OBJECT(var_url);
tmp_iterable_value_1 = var_url;
tmp_return_value = UNICODE_JOIN(tmp_str_arg_value_1, tmp_iterable_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 80;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a45eddef1de3abacc02b086c28220170);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a45eddef1de3abacc02b086c28220170);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a45eddef1de3abacc02b086c28220170);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a45eddef1de3abacc02b086c28220170, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a45eddef1de3abacc02b086c28220170->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a45eddef1de3abacc02b086c28220170, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a45eddef1de3abacc02b086c28220170,
type_description_1,
par_self,
var_url,
var_p,
var_path,
var_query
);
// Release cached frame if used for exception.
if (frame_a45eddef1de3abacc02b086c28220170 == cache_frame_a45eddef1de3abacc02b086c28220170) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a45eddef1de3abacc02b086c28220170);
cache_frame_a45eddef1de3abacc02b086c28220170 = NULL;
}
assertFrameObject(frame_a45eddef1de3abacc02b086c28220170);
// 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_url);
Py_DECREF(var_url);
var_url = NULL;
CHECK_OBJECT(var_p);
Py_DECREF(var_p);
var_p = NULL;
CHECK_OBJECT(var_path);
Py_DECREF(var_path);
var_path = NULL;
Py_XDECREF(var_query);
var_query = 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_url);
Py_DECREF(var_url);
var_url = NULL;
Py_XDECREF(var_p);
var_p = NULL;
Py_XDECREF(var_path);
var_path = NULL;
Py_XDECREF(var_query);
var_query = 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_requests$models$$$function__2__encode_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_data = python_pars[0];
PyObject *var_result = NULL;
PyObject *var_k = NULL;
PyObject *var_vs = NULL;
PyObject *var_v = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_for_loop_2__for_iterator = NULL;
PyObject *tmp_for_loop_2__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_0963078e90142a621b8732efbb7b4b32;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_0963078e90142a621b8732efbb7b4b32 = 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_0963078e90142a621b8732efbb7b4b32)) {
Py_XDECREF(cache_frame_0963078e90142a621b8732efbb7b4b32);
#if _DEBUG_REFCOUNTS
if (cache_frame_0963078e90142a621b8732efbb7b4b32 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0963078e90142a621b8732efbb7b4b32 = MAKE_FUNCTION_FRAME(codeobj_0963078e90142a621b8732efbb7b4b32, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0963078e90142a621b8732efbb7b4b32->m_type_description == NULL);
frame_0963078e90142a621b8732efbb7b4b32 = cache_frame_0963078e90142a621b8732efbb7b4b32;
// Push the new frame as the currently active one.
pushFrameStack(frame_0963078e90142a621b8732efbb7b4b32);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0963078e90142a621b8732efbb7b4b32) == 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_data);
tmp_isinstance_inst_1 = par_data;
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 91;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
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_requests$models, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 91;
type_description_1 = "ooooo";
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 = 91;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
CHECK_OBJECT(par_data);
tmp_return_value = par_data;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
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[11];
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 = 93;
type_description_1 = "ooooo";
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:;
CHECK_OBJECT(par_data);
tmp_return_value = par_data;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_2;
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
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[12];
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 = 95;
type_description_1 = "ooooo";
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:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_result == NULL);
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;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[13]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_data);
tmp_args_element_value_1 = par_data;
frame_0963078e90142a621b8732efbb7b4b32->m_frame.f_lineno = 97;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, 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 = 97;
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 = 97;
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 = 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 = "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 = 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 = "ooooo";
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 = "ooooo";
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[14];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooo";
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_vs;
var_vs = tmp_assign_source_8;
Py_INCREF(var_vs);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
nuitka_bool tmp_condition_result_4;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_attribute_value_3;
CHECK_OBJECT(var_vs);
tmp_isinstance_inst_2 = var_vs;
tmp_isinstance_cls_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[15]);
if (unlikely(tmp_isinstance_cls_2 == NULL)) {
tmp_isinstance_cls_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]);
}
if (tmp_isinstance_cls_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
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 = 98;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_or_left_value_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(var_vs);
tmp_expression_value_3 = var_vs;
tmp_attribute_value_3 = mod_consts[12];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_3, tmp_attribute_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_operand_value_1 = (tmp_res != 0) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_or_right_value_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_4 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_4 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_list_element_1;
CHECK_OBJECT(var_vs);
tmp_list_element_1 = var_vs;
tmp_assign_source_9 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM0(tmp_assign_source_9, 0, tmp_list_element_1);
{
PyObject *old = var_vs;
assert(old != NULL);
var_vs = tmp_assign_source_9;
Py_DECREF(old);
}
}
branch_no_4:;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_iter_arg_3;
CHECK_OBJECT(var_vs);
tmp_iter_arg_3 = var_vs;
tmp_assign_source_10 = MAKE_ITERATOR(tmp_iter_arg_3);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 100;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
{
PyObject *old = tmp_for_loop_2__for_iterator;
tmp_for_loop_2__for_iterator = tmp_assign_source_10;
Py_XDECREF(old);
}
}
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_11;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
tmp_assign_source_11 = ITERATOR_NEXT(tmp_next_source_2);
if (tmp_assign_source_11 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_2;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
exception_lineno = 100;
goto try_except_handler_5;
}
}
{
PyObject *old = tmp_for_loop_2__iter_value;
tmp_for_loop_2__iter_value = tmp_assign_source_11;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_12;
CHECK_OBJECT(tmp_for_loop_2__iter_value);
tmp_assign_source_12 = tmp_for_loop_2__iter_value;
{
PyObject *old = var_v;
var_v = tmp_assign_source_12;
Py_INCREF(var_v);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_v);
tmp_cmp_expr_left_1 = var_v;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_tuple_element_2;
nuitka_bool tmp_condition_result_6;
PyObject *tmp_isinstance_inst_3;
PyObject *tmp_isinstance_cls_3;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_5;
if (var_result == 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 = 102;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
tmp_expression_value_4 = var_result;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[4]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 102;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
if (var_k == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[17]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 103;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
tmp_isinstance_inst_3 = var_k;
tmp_isinstance_cls_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_isinstance_cls_3 == NULL)) {
tmp_isinstance_cls_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_isinstance_cls_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 103;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_3, tmp_isinstance_cls_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 103;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
tmp_condition_result_6 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
if (var_k == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[17]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 103;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
tmp_expression_value_5 = var_k;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[18]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 103;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
frame_0963078e90142a621b8732efbb7b4b32->m_frame.f_lineno = 103;
tmp_tuple_element_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[19]);
Py_DECREF(tmp_called_value_3);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 103;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
goto condexpr_end_1;
condexpr_false_1:;
if (var_k == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[17]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 103;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
tmp_tuple_element_2 = var_k;
Py_INCREF(tmp_tuple_element_2);
condexpr_end_1:;
tmp_args_element_value_2 = MAKE_TUPLE_EMPTY(2);
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_isinstance_inst_4;
PyObject *tmp_isinstance_cls_4;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_6;
PyTuple_SET_ITEM(tmp_args_element_value_2, 0, tmp_tuple_element_2);
CHECK_OBJECT(var_v);
tmp_isinstance_inst_4 = var_v;
tmp_isinstance_cls_4 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_isinstance_cls_4 == NULL)) {
tmp_isinstance_cls_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_isinstance_cls_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_1 = "ooooo";
goto tuple_build_exception_2;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_4, tmp_isinstance_cls_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_1 = "ooooo";
goto tuple_build_exception_2;
}
tmp_condition_result_7 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(var_v);
tmp_expression_value_6 = var_v;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[18]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_1 = "ooooo";
goto tuple_build_exception_2;
}
frame_0963078e90142a621b8732efbb7b4b32->m_frame.f_lineno = 104;
tmp_tuple_element_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[19]);
Py_DECREF(tmp_called_value_4);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_1 = "ooooo";
goto tuple_build_exception_2;
}
goto condexpr_end_2;
condexpr_false_2:;
CHECK_OBJECT(var_v);
tmp_tuple_element_2 = var_v;
Py_INCREF(tmp_tuple_element_2);
condexpr_end_2:;
PyTuple_SET_ITEM(tmp_args_element_value_2, 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_called_value_2);
Py_DECREF(tmp_args_element_value_2);
goto try_except_handler_5;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
frame_0963078e90142a621b8732efbb7b4b32->m_frame.f_lineno = 102;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 102;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_5:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 100;
type_description_1 = "ooooo";
goto try_except_handler_5;
}
goto loop_start_2;
loop_end_2:;
goto try_end_3;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_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_2__iter_value);
tmp_for_loop_2__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
Py_DECREF(tmp_for_loop_2__for_iterator);
tmp_for_loop_2__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 try_except_handler_2;
// End of try:
try_end_3:;
Py_XDECREF(tmp_for_loop_2__iter_value);
tmp_for_loop_2__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
Py_DECREF(tmp_for_loop_2__for_iterator);
tmp_for_loop_2__for_iterator = NULL;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_4;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_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_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_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:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
PyObject *tmp_called_value_5;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_3;
PyObject *tmp_kwargs_value_1;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 105;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (var_result == 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 = 105;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_tuple_element_3 = var_result;
tmp_args_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_3);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[21]);
frame_0963078e90142a621b8732efbb7b4b32->m_frame.f_lineno = 105;
tmp_return_value = CALL_FUNCTION(tmp_called_value_5, tmp_args_value_1, tmp_kwargs_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 = 105;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_3;
branch_no_3:;
CHECK_OBJECT(par_data);
tmp_return_value = par_data;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_end_3:;
branch_end_2:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0963078e90142a621b8732efbb7b4b32);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0963078e90142a621b8732efbb7b4b32);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0963078e90142a621b8732efbb7b4b32);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0963078e90142a621b8732efbb7b4b32, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0963078e90142a621b8732efbb7b4b32->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0963078e90142a621b8732efbb7b4b32, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0963078e90142a621b8732efbb7b4b32,
type_description_1,
par_data,
var_result,
var_k,
var_vs,
var_v
);
// Release cached frame if used for exception.
if (frame_0963078e90142a621b8732efbb7b4b32 == cache_frame_0963078e90142a621b8732efbb7b4b32) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0963078e90142a621b8732efbb7b4b32);
cache_frame_0963078e90142a621b8732efbb7b4b32 = NULL;
}
assertFrameObject(frame_0963078e90142a621b8732efbb7b4b32);
// 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_k);
var_k = NULL;
Py_XDECREF(var_vs);
var_vs = NULL;
Py_XDECREF(var_v);
var_v = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_result);
var_result = NULL;
Py_XDECREF(var_k);
var_k = NULL;
Py_XDECREF(var_vs);
var_vs = NULL;
Py_XDECREF(var_v);
var_v = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_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_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;
}
static PyObject *impl_requests$models$$$function__3__encode_files(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_files = python_pars[0];
PyObject *par_data = python_pars[1];
PyObject *var_new_fields = NULL;
PyObject *var_fields = NULL;
PyObject *var_field = NULL;
PyObject *var_val = NULL;
PyObject *var_v = NULL;
PyObject *var_k = NULL;
PyObject *var_ft = NULL;
PyObject *var_fh = NULL;
PyObject *var_fn = NULL;
PyObject *var_fp = NULL;
PyObject *var_fdata = NULL;
PyObject *var_rf = NULL;
PyObject *var_body = NULL;
PyObject *var_content_type = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_for_loop_2__for_iterator = NULL;
PyObject *tmp_for_loop_2__iter_value = NULL;
PyObject *tmp_for_loop_3__for_iterator = NULL;
PyObject *tmp_for_loop_3__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;
PyObject *tmp_tuple_unpack_2__element_1 = NULL;
PyObject *tmp_tuple_unpack_2__element_2 = NULL;
PyObject *tmp_tuple_unpack_2__source_iter = NULL;
PyObject *tmp_tuple_unpack_3__element_1 = NULL;
PyObject *tmp_tuple_unpack_3__element_2 = NULL;
PyObject *tmp_tuple_unpack_3__source_iter = NULL;
PyObject *tmp_tuple_unpack_4__element_1 = NULL;
PyObject *tmp_tuple_unpack_4__element_2 = NULL;
PyObject *tmp_tuple_unpack_4__element_3 = NULL;
PyObject *tmp_tuple_unpack_4__source_iter = NULL;
PyObject *tmp_tuple_unpack_5__element_1 = NULL;
PyObject *tmp_tuple_unpack_5__element_2 = NULL;
PyObject *tmp_tuple_unpack_5__element_3 = NULL;
PyObject *tmp_tuple_unpack_5__element_4 = NULL;
PyObject *tmp_tuple_unpack_5__source_iter = NULL;
PyObject *tmp_tuple_unpack_6__element_1 = NULL;
PyObject *tmp_tuple_unpack_6__element_2 = NULL;
PyObject *tmp_tuple_unpack_6__source_iter = NULL;
struct Nuitka_FrameObject *frame_7317d8f451794aa2e997ebe3244a8fd7;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
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 *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;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
PyObject *exception_keeper_type_14;
PyObject *exception_keeper_value_14;
PyTracebackObject *exception_keeper_tb_14;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14;
PyObject *exception_keeper_type_15;
PyObject *exception_keeper_value_15;
PyTracebackObject *exception_keeper_tb_15;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15;
static struct Nuitka_FrameObject *cache_frame_7317d8f451794aa2e997ebe3244a8fd7 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_16;
PyObject *exception_keeper_value_16;
PyTracebackObject *exception_keeper_tb_16;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_7317d8f451794aa2e997ebe3244a8fd7)) {
Py_XDECREF(cache_frame_7317d8f451794aa2e997ebe3244a8fd7);
#if _DEBUG_REFCOUNTS
if (cache_frame_7317d8f451794aa2e997ebe3244a8fd7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7317d8f451794aa2e997ebe3244a8fd7 = MAKE_FUNCTION_FRAME(codeobj_7317d8f451794aa2e997ebe3244a8fd7, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7317d8f451794aa2e997ebe3244a8fd7->m_type_description == NULL);
frame_7317d8f451794aa2e997ebe3244a8fd7 = cache_frame_7317d8f451794aa2e997ebe3244a8fd7;
// Push the new frame as the currently active one.
pushFrameStack(frame_7317d8f451794aa2e997ebe3244a8fd7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7317d8f451794aa2e997ebe3244a8fd7) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(par_files);
tmp_operand_value_1 = par_files;
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 = 119;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[23];
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 120;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 120;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
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_requests$models, (Nuitka_StringObject *)mod_consts[15]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
type_description_1 = "oooooooooooooooo";
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 = 121;
type_description_1 = "oooooooooooooooo";
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_raise_type_2;
PyObject *tmp_make_exception_arg_2;
tmp_make_exception_arg_2 = mod_consts[24];
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 122;
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 = 122;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
branch_no_2:;
branch_end_1:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_new_fields == NULL);
var_new_fields = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[13]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_data);
tmp_or_left_value_1 = par_data;
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 = 125;
type_description_1 = "oooooooooooooooo";
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_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
Py_INCREF(tmp_or_left_value_1);
tmp_args_element_value_1 = tmp_or_left_value_1;
or_end_1:;
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 125;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_fields == NULL);
var_fields = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[13]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[13]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_files);
tmp_or_left_value_2 = par_files;
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);
exception_lineno = 126;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
tmp_or_right_value_2 = MAKE_DICT_EMPTY();
tmp_args_element_value_2 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
Py_INCREF(tmp_or_left_value_2);
tmp_args_element_value_2 = tmp_or_left_value_2;
or_end_2:;
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 126;
tmp_assign_source_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_files;
assert(old != NULL);
par_files = tmp_assign_source_3;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(var_fields);
tmp_iter_arg_1 = var_fields;
tmp_assign_source_4 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "oooooooooooooooo";
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 = "oooooooooooooooo";
exception_lineno = 128;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_5;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_6;
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_6 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_6;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_7 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooooo";
exception_lineno = 128;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_8 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_8 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooooo";
exception_lineno = 128;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooooo";
exception_lineno = 128;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[14];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooooo";
exception_lineno = 128;
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_9;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_9 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_field;
var_field = tmp_assign_source_9;
Py_INCREF(var_field);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_10;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_10 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_val;
var_val = tmp_assign_source_10;
Py_INCREF(var_val);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
nuitka_bool tmp_condition_result_3;
int tmp_or_left_truth_3;
nuitka_bool tmp_or_left_value_3;
nuitka_bool tmp_or_right_value_3;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(var_val);
tmp_isinstance_inst_2 = var_val;
tmp_isinstance_cls_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[15]);
if (unlikely(tmp_isinstance_cls_2 == NULL)) {
tmp_isinstance_cls_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]);
}
if (tmp_isinstance_cls_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_2;
}
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 = 129;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_2;
}
tmp_or_left_value_3 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_or_left_truth_3 = tmp_or_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_2;
}
if (tmp_or_left_truth_3 == 1) {
goto or_left_3;
} else {
goto or_right_3;
}
or_right_3:;
CHECK_OBJECT(var_val);
tmp_expression_value_1 = var_val;
tmp_attribute_value_1 = mod_consts[12];
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 = 129;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_2;
}
tmp_operand_value_2 = (tmp_res != 0) ? 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 = 129;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_2;
}
tmp_or_right_value_3 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_3 = tmp_or_right_value_3;
goto or_end_3;
or_left_3:;
tmp_condition_result_3 = tmp_or_left_value_3;
or_end_3:;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_11;
PyObject *tmp_list_element_1;
CHECK_OBJECT(var_val);
tmp_list_element_1 = var_val;
tmp_assign_source_11 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM0(tmp_assign_source_11, 0, tmp_list_element_1);
{
PyObject *old = var_val;
assert(old != NULL);
var_val = tmp_assign_source_11;
Py_DECREF(old);
}
}
branch_no_3:;
{
PyObject *tmp_assign_source_12;
PyObject *tmp_iter_arg_3;
CHECK_OBJECT(var_val);
tmp_iter_arg_3 = var_val;
tmp_assign_source_12 = MAKE_ITERATOR(tmp_iter_arg_3);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_2;
}
{
PyObject *old = tmp_for_loop_2__for_iterator;
tmp_for_loop_2__for_iterator = tmp_assign_source_12;
Py_XDECREF(old);
}
}
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_13;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
tmp_assign_source_13 = ITERATOR_NEXT(tmp_next_source_2);
if (tmp_assign_source_13 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_2;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooooo";
exception_lineno = 131;
goto try_except_handler_5;
}
}
{
PyObject *old = tmp_for_loop_2__iter_value;
tmp_for_loop_2__iter_value = tmp_assign_source_13;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_14;
CHECK_OBJECT(tmp_for_loop_2__iter_value);
tmp_assign_source_14 = tmp_for_loop_2__iter_value;
{
PyObject *old = var_v;
var_v = tmp_assign_source_14;
Py_INCREF(var_v);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_v);
tmp_cmp_expr_left_1 = var_v;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_3;
PyObject *tmp_isinstance_inst_3;
PyObject *tmp_isinstance_cls_3;
CHECK_OBJECT(var_v);
tmp_isinstance_inst_3 = var_v;
tmp_isinstance_cls_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_isinstance_cls_3 == NULL)) {
tmp_isinstance_cls_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_isinstance_cls_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_3, tmp_isinstance_cls_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
tmp_operand_value_3 = (tmp_res != 0) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
CHECK_OBJECT(var_v);
tmp_args_element_value_3 = var_v;
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 135;
tmp_assign_source_15 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_3);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
{
PyObject *old = var_v;
assert(old != NULL);
var_v = tmp_assign_source_15;
Py_DECREF(old);
}
}
branch_no_5:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_4;
PyObject *tmp_tuple_element_1;
nuitka_bool tmp_condition_result_6;
PyObject *tmp_isinstance_inst_4;
PyObject *tmp_isinstance_cls_4;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_3;
if (var_new_fields == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[25]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 137;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
tmp_expression_value_2 = var_new_fields;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[4]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
if (var_field == NULL) {
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 138;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
tmp_isinstance_inst_4 = var_field;
tmp_isinstance_cls_4 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_isinstance_cls_4 == NULL)) {
tmp_isinstance_cls_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_isinstance_cls_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 138;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_4, tmp_isinstance_cls_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 138;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
tmp_condition_result_6 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
if (var_field == NULL) {
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 138;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
tmp_expression_value_3 = var_field;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[27]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 138;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 138;
tmp_tuple_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_5, mod_consts[19]);
Py_DECREF(tmp_called_value_5);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 138;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
goto condexpr_end_1;
condexpr_false_1:;
if (var_field == NULL) {
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[26]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 138;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
tmp_tuple_element_1 = var_field;
Py_INCREF(tmp_tuple_element_1);
condexpr_end_1:;
tmp_args_element_value_4 = MAKE_TUPLE_EMPTY(2);
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_isinstance_inst_5;
PyObject *tmp_isinstance_cls_5;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_4;
PyTuple_SET_ITEM(tmp_args_element_value_4, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_v);
tmp_isinstance_inst_5 = var_v;
tmp_isinstance_cls_5 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_isinstance_cls_5 == NULL)) {
tmp_isinstance_cls_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_isinstance_cls_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "oooooooooooooooo";
goto tuple_build_exception_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_5, tmp_isinstance_cls_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "oooooooooooooooo";
goto tuple_build_exception_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_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(var_v);
tmp_expression_value_4 = var_v;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[18]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "oooooooooooooooo";
goto tuple_build_exception_1;
}
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 139;
tmp_tuple_element_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_6, mod_consts[19]);
Py_DECREF(tmp_called_value_6);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "oooooooooooooooo";
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_4, 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_4);
Py_DECREF(tmp_args_element_value_4);
goto try_except_handler_5;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 137;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_4:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_5;
}
goto loop_start_2;
loop_end_2:;
goto try_end_3;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_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_2__iter_value);
tmp_for_loop_2__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
Py_DECREF(tmp_for_loop_2__for_iterator);
tmp_for_loop_2__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 try_except_handler_2;
// End of try:
try_end_3:;
Py_XDECREF(tmp_for_loop_2__iter_value);
tmp_for_loop_2__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
Py_DECREF(tmp_for_loop_2__for_iterator);
tmp_for_loop_2__for_iterator = NULL;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_4;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_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_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_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:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
PyObject *tmp_assign_source_16;
PyObject *tmp_iter_arg_4;
CHECK_OBJECT(par_files);
tmp_iter_arg_4 = par_files;
tmp_assign_source_16 = MAKE_ITERATOR(tmp_iter_arg_4);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "oooooooooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_3__for_iterator == NULL);
tmp_for_loop_3__for_iterator = tmp_assign_source_16;
}
// Tried code:
loop_start_3:;
{
PyObject *tmp_next_source_3;
PyObject *tmp_assign_source_17;
CHECK_OBJECT(tmp_for_loop_3__for_iterator);
tmp_next_source_3 = tmp_for_loop_3__for_iterator;
tmp_assign_source_17 = ITERATOR_NEXT(tmp_next_source_3);
if (tmp_assign_source_17 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_3;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooooo";
exception_lineno = 141;
goto try_except_handler_6;
}
}
{
PyObject *old = tmp_for_loop_3__iter_value;
tmp_for_loop_3__iter_value = tmp_assign_source_17;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_18;
PyObject *tmp_iter_arg_5;
CHECK_OBJECT(tmp_for_loop_3__iter_value);
tmp_iter_arg_5 = tmp_for_loop_3__iter_value;
tmp_assign_source_18 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_5);
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_7;
}
{
PyObject *old = tmp_tuple_unpack_2__source_iter;
tmp_tuple_unpack_2__source_iter = tmp_assign_source_18;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_19;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_19 = UNPACK_NEXT(tmp_unpack_3, 0, 2);
if (tmp_assign_source_19 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooooo";
exception_lineno = 141;
goto try_except_handler_8;
}
{
PyObject *old = tmp_tuple_unpack_2__element_1;
tmp_tuple_unpack_2__element_1 = tmp_assign_source_19;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_4 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_20 = UNPACK_NEXT(tmp_unpack_4, 1, 2);
if (tmp_assign_source_20 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooooo";
exception_lineno = 141;
goto try_except_handler_8;
}
{
PyObject *old = tmp_tuple_unpack_2__element_2;
tmp_tuple_unpack_2__element_2 = tmp_assign_source_20;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_2;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_2); assert(HAS_ITERNEXT(tmp_iterator_name_2));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_2)->tp_iternext)(tmp_iterator_name_2);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooooo";
exception_lineno = 141;
goto try_except_handler_8;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[14];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooooo";
exception_lineno = 141;
goto try_except_handler_8;
}
}
goto try_end_5;
// Exception handler code:
try_except_handler_8:;
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_tuple_unpack_2__source_iter);
Py_DECREF(tmp_tuple_unpack_2__source_iter);
tmp_tuple_unpack_2__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_7;
// End of try:
try_end_5:;
goto try_end_6;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto try_except_handler_6;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
Py_DECREF(tmp_tuple_unpack_2__source_iter);
tmp_tuple_unpack_2__source_iter = NULL;
{
PyObject *tmp_assign_source_21;
CHECK_OBJECT(tmp_tuple_unpack_2__element_1);
tmp_assign_source_21 = tmp_tuple_unpack_2__element_1;
{
PyObject *old = var_k;
var_k = tmp_assign_source_21;
Py_INCREF(var_k);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
{
PyObject *tmp_assign_source_22;
CHECK_OBJECT(tmp_tuple_unpack_2__element_2);
tmp_assign_source_22 = tmp_tuple_unpack_2__element_2;
{
PyObject *old = var_v;
var_v = tmp_assign_source_22;
Py_INCREF(var_v);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
{
PyObject *tmp_assign_source_23;
tmp_assign_source_23 = Py_None;
{
PyObject *old = var_ft;
var_ft = tmp_assign_source_23;
Py_INCREF(var_ft);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_24;
tmp_assign_source_24 = Py_None;
{
PyObject *old = var_fh;
var_fh = tmp_assign_source_24;
Py_INCREF(var_fh);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_isinstance_inst_6;
PyObject *tmp_isinstance_cls_6;
CHECK_OBJECT(var_v);
tmp_isinstance_inst_6 = var_v;
tmp_isinstance_cls_6 = mod_consts[28];
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_6, tmp_isinstance_cls_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
tmp_condition_result_8 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_2;
nuitka_digit tmp_cmp_expr_right_2;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(var_v);
tmp_len_arg_1 = var_v;
tmp_cmp_expr_left_2 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 146;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
tmp_cmp_expr_right_2 = 2;
tmp_condition_result_9 = RICH_COMPARE_EQ_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_9 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
// Tried code:
{
PyObject *tmp_assign_source_25;
PyObject *tmp_iter_arg_6;
CHECK_OBJECT(var_v);
tmp_iter_arg_6 = var_v;
tmp_assign_source_25 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_6);
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_9;
}
{
PyObject *old = tmp_tuple_unpack_3__source_iter;
tmp_tuple_unpack_3__source_iter = tmp_assign_source_25;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_26;
PyObject *tmp_unpack_5;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
tmp_unpack_5 = tmp_tuple_unpack_3__source_iter;
tmp_assign_source_26 = UNPACK_NEXT(tmp_unpack_5, 0, 2);
if (tmp_assign_source_26 == 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 = "oooooooooooooooo";
exception_lineno = 147;
goto try_except_handler_10;
}
{
PyObject *old = tmp_tuple_unpack_3__element_1;
tmp_tuple_unpack_3__element_1 = tmp_assign_source_26;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_27;
PyObject *tmp_unpack_6;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
tmp_unpack_6 = tmp_tuple_unpack_3__source_iter;
tmp_assign_source_27 = UNPACK_NEXT(tmp_unpack_6, 1, 2);
if (tmp_assign_source_27 == 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 = "oooooooooooooooo";
exception_lineno = 147;
goto try_except_handler_10;
}
{
PyObject *old = tmp_tuple_unpack_3__element_2;
tmp_tuple_unpack_3__element_2 = tmp_assign_source_27;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_3;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_3); assert(HAS_ITERNEXT(tmp_iterator_name_3));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_3)->tp_iternext)(tmp_iterator_name_3);
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 = "oooooooooooooooo";
exception_lineno = 147;
goto try_except_handler_10;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[14];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooooo";
exception_lineno = 147;
goto try_except_handler_10;
}
}
goto try_end_7;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
Py_DECREF(tmp_tuple_unpack_3__source_iter);
tmp_tuple_unpack_3__source_iter = 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_9;
// End of try:
try_end_7:;
goto try_end_8;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_3__element_1);
tmp_tuple_unpack_3__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_3__element_2);
tmp_tuple_unpack_3__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_6;
// End of try:
try_end_8:;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
Py_DECREF(tmp_tuple_unpack_3__source_iter);
tmp_tuple_unpack_3__source_iter = NULL;
{
PyObject *tmp_assign_source_28;
CHECK_OBJECT(tmp_tuple_unpack_3__element_1);
tmp_assign_source_28 = tmp_tuple_unpack_3__element_1;
{
PyObject *old = var_fn;
var_fn = tmp_assign_source_28;
Py_INCREF(var_fn);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_3__element_1);
tmp_tuple_unpack_3__element_1 = NULL;
{
PyObject *tmp_assign_source_29;
CHECK_OBJECT(tmp_tuple_unpack_3__element_2);
tmp_assign_source_29 = tmp_tuple_unpack_3__element_2;
{
PyObject *old = var_fp;
var_fp = tmp_assign_source_29;
Py_INCREF(var_fp);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_3__element_2);
tmp_tuple_unpack_3__element_2 = NULL;
goto branch_end_7;
branch_no_7:;
{
bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_3;
nuitka_digit tmp_cmp_expr_right_3;
PyObject *tmp_len_arg_2;
CHECK_OBJECT(var_v);
tmp_len_arg_2 = var_v;
tmp_cmp_expr_left_3 = BUILTIN_LEN(tmp_len_arg_2);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 148;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
tmp_cmp_expr_right_3 = 3;
tmp_condition_result_10 = RICH_COMPARE_EQ_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_10 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
// Tried code:
{
PyObject *tmp_assign_source_30;
PyObject *tmp_iter_arg_7;
CHECK_OBJECT(var_v);
tmp_iter_arg_7 = var_v;
tmp_assign_source_30 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_7);
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_11;
}
{
PyObject *old = tmp_tuple_unpack_4__source_iter;
tmp_tuple_unpack_4__source_iter = tmp_assign_source_30;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_31;
PyObject *tmp_unpack_7;
CHECK_OBJECT(tmp_tuple_unpack_4__source_iter);
tmp_unpack_7 = tmp_tuple_unpack_4__source_iter;
tmp_assign_source_31 = UNPACK_NEXT(tmp_unpack_7, 0, 3);
if (tmp_assign_source_31 == 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 = "oooooooooooooooo";
exception_lineno = 149;
goto try_except_handler_12;
}
{
PyObject *old = tmp_tuple_unpack_4__element_1;
tmp_tuple_unpack_4__element_1 = tmp_assign_source_31;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_32;
PyObject *tmp_unpack_8;
CHECK_OBJECT(tmp_tuple_unpack_4__source_iter);
tmp_unpack_8 = tmp_tuple_unpack_4__source_iter;
tmp_assign_source_32 = UNPACK_NEXT(tmp_unpack_8, 1, 3);
if (tmp_assign_source_32 == 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 = "oooooooooooooooo";
exception_lineno = 149;
goto try_except_handler_12;
}
{
PyObject *old = tmp_tuple_unpack_4__element_2;
tmp_tuple_unpack_4__element_2 = tmp_assign_source_32;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_33;
PyObject *tmp_unpack_9;
CHECK_OBJECT(tmp_tuple_unpack_4__source_iter);
tmp_unpack_9 = tmp_tuple_unpack_4__source_iter;
tmp_assign_source_33 = UNPACK_NEXT(tmp_unpack_9, 2, 3);
if (tmp_assign_source_33 == 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 = "oooooooooooooooo";
exception_lineno = 149;
goto try_except_handler_12;
}
{
PyObject *old = tmp_tuple_unpack_4__element_3;
tmp_tuple_unpack_4__element_3 = tmp_assign_source_33;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_4;
CHECK_OBJECT(tmp_tuple_unpack_4__source_iter);
tmp_iterator_name_4 = tmp_tuple_unpack_4__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_4); assert(HAS_ITERNEXT(tmp_iterator_name_4));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_4)->tp_iternext)(tmp_iterator_name_4);
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 = "oooooooooooooooo";
exception_lineno = 149;
goto try_except_handler_12;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[29];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooooo";
exception_lineno = 149;
goto try_except_handler_12;
}
}
goto try_end_9;
// Exception handler code:
try_except_handler_12:;
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;
CHECK_OBJECT(tmp_tuple_unpack_4__source_iter);
Py_DECREF(tmp_tuple_unpack_4__source_iter);
tmp_tuple_unpack_4__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto try_except_handler_11;
// End of try:
try_end_9:;
goto try_end_10;
// Exception handler code:
try_except_handler_11:;
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_XDECREF(tmp_tuple_unpack_4__element_1);
tmp_tuple_unpack_4__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_4__element_2);
tmp_tuple_unpack_4__element_2 = NULL;
Py_XDECREF(tmp_tuple_unpack_4__element_3);
tmp_tuple_unpack_4__element_3 = 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_6;
// End of try:
try_end_10:;
CHECK_OBJECT(tmp_tuple_unpack_4__source_iter);
Py_DECREF(tmp_tuple_unpack_4__source_iter);
tmp_tuple_unpack_4__source_iter = NULL;
{
PyObject *tmp_assign_source_34;
CHECK_OBJECT(tmp_tuple_unpack_4__element_1);
tmp_assign_source_34 = tmp_tuple_unpack_4__element_1;
{
PyObject *old = var_fn;
var_fn = tmp_assign_source_34;
Py_INCREF(var_fn);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_4__element_1);
tmp_tuple_unpack_4__element_1 = NULL;
{
PyObject *tmp_assign_source_35;
CHECK_OBJECT(tmp_tuple_unpack_4__element_2);
tmp_assign_source_35 = tmp_tuple_unpack_4__element_2;
{
PyObject *old = var_fp;
var_fp = tmp_assign_source_35;
Py_INCREF(var_fp);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_4__element_2);
tmp_tuple_unpack_4__element_2 = NULL;
{
PyObject *tmp_assign_source_36;
CHECK_OBJECT(tmp_tuple_unpack_4__element_3);
tmp_assign_source_36 = tmp_tuple_unpack_4__element_3;
{
PyObject *old = var_ft;
assert(old != NULL);
var_ft = tmp_assign_source_36;
Py_INCREF(var_ft);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_4__element_3);
tmp_tuple_unpack_4__element_3 = NULL;
goto branch_end_8;
branch_no_8:;
// Tried code:
{
PyObject *tmp_assign_source_37;
PyObject *tmp_iter_arg_8;
CHECK_OBJECT(var_v);
tmp_iter_arg_8 = var_v;
tmp_assign_source_37 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_8);
if (tmp_assign_source_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_13;
}
{
PyObject *old = tmp_tuple_unpack_5__source_iter;
tmp_tuple_unpack_5__source_iter = tmp_assign_source_37;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_38;
PyObject *tmp_unpack_10;
CHECK_OBJECT(tmp_tuple_unpack_5__source_iter);
tmp_unpack_10 = tmp_tuple_unpack_5__source_iter;
tmp_assign_source_38 = UNPACK_NEXT(tmp_unpack_10, 0, 4);
if (tmp_assign_source_38 == 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 = "oooooooooooooooo";
exception_lineno = 151;
goto try_except_handler_14;
}
{
PyObject *old = tmp_tuple_unpack_5__element_1;
tmp_tuple_unpack_5__element_1 = tmp_assign_source_38;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_39;
PyObject *tmp_unpack_11;
CHECK_OBJECT(tmp_tuple_unpack_5__source_iter);
tmp_unpack_11 = tmp_tuple_unpack_5__source_iter;
tmp_assign_source_39 = UNPACK_NEXT(tmp_unpack_11, 1, 4);
if (tmp_assign_source_39 == 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 = "oooooooooooooooo";
exception_lineno = 151;
goto try_except_handler_14;
}
{
PyObject *old = tmp_tuple_unpack_5__element_2;
tmp_tuple_unpack_5__element_2 = tmp_assign_source_39;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_40;
PyObject *tmp_unpack_12;
CHECK_OBJECT(tmp_tuple_unpack_5__source_iter);
tmp_unpack_12 = tmp_tuple_unpack_5__source_iter;
tmp_assign_source_40 = UNPACK_NEXT(tmp_unpack_12, 2, 4);
if (tmp_assign_source_40 == 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 = "oooooooooooooooo";
exception_lineno = 151;
goto try_except_handler_14;
}
{
PyObject *old = tmp_tuple_unpack_5__element_3;
tmp_tuple_unpack_5__element_3 = tmp_assign_source_40;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_41;
PyObject *tmp_unpack_13;
CHECK_OBJECT(tmp_tuple_unpack_5__source_iter);
tmp_unpack_13 = tmp_tuple_unpack_5__source_iter;
tmp_assign_source_41 = UNPACK_NEXT(tmp_unpack_13, 3, 4);
if (tmp_assign_source_41 == 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 = "oooooooooooooooo";
exception_lineno = 151;
goto try_except_handler_14;
}
{
PyObject *old = tmp_tuple_unpack_5__element_4;
tmp_tuple_unpack_5__element_4 = tmp_assign_source_41;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_5;
CHECK_OBJECT(tmp_tuple_unpack_5__source_iter);
tmp_iterator_name_5 = tmp_tuple_unpack_5__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_5); assert(HAS_ITERNEXT(tmp_iterator_name_5));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_5)->tp_iternext)(tmp_iterator_name_5);
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 = "oooooooooooooooo";
exception_lineno = 151;
goto try_except_handler_14;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[30];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooooo";
exception_lineno = 151;
goto try_except_handler_14;
}
}
goto try_end_11;
// Exception handler code:
try_except_handler_14:;
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;
CHECK_OBJECT(tmp_tuple_unpack_5__source_iter);
Py_DECREF(tmp_tuple_unpack_5__source_iter);
tmp_tuple_unpack_5__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto try_except_handler_13;
// End of try:
try_end_11:;
goto try_end_12;
// Exception handler code:
try_except_handler_13:;
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_tuple_unpack_5__element_1);
tmp_tuple_unpack_5__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_5__element_2);
tmp_tuple_unpack_5__element_2 = NULL;
Py_XDECREF(tmp_tuple_unpack_5__element_3);
tmp_tuple_unpack_5__element_3 = NULL;
Py_XDECREF(tmp_tuple_unpack_5__element_4);
tmp_tuple_unpack_5__element_4 = NULL;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto try_except_handler_6;
// End of try:
try_end_12:;
CHECK_OBJECT(tmp_tuple_unpack_5__source_iter);
Py_DECREF(tmp_tuple_unpack_5__source_iter);
tmp_tuple_unpack_5__source_iter = NULL;
{
PyObject *tmp_assign_source_42;
CHECK_OBJECT(tmp_tuple_unpack_5__element_1);
tmp_assign_source_42 = tmp_tuple_unpack_5__element_1;
{
PyObject *old = var_fn;
var_fn = tmp_assign_source_42;
Py_INCREF(var_fn);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_5__element_1);
tmp_tuple_unpack_5__element_1 = NULL;
{
PyObject *tmp_assign_source_43;
CHECK_OBJECT(tmp_tuple_unpack_5__element_2);
tmp_assign_source_43 = tmp_tuple_unpack_5__element_2;
{
PyObject *old = var_fp;
var_fp = tmp_assign_source_43;
Py_INCREF(var_fp);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_5__element_2);
tmp_tuple_unpack_5__element_2 = NULL;
{
PyObject *tmp_assign_source_44;
CHECK_OBJECT(tmp_tuple_unpack_5__element_3);
tmp_assign_source_44 = tmp_tuple_unpack_5__element_3;
{
PyObject *old = var_ft;
assert(old != NULL);
var_ft = tmp_assign_source_44;
Py_INCREF(var_ft);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_5__element_3);
tmp_tuple_unpack_5__element_3 = NULL;
{
PyObject *tmp_assign_source_45;
CHECK_OBJECT(tmp_tuple_unpack_5__element_4);
tmp_assign_source_45 = tmp_tuple_unpack_5__element_4;
{
PyObject *old = var_fh;
assert(old != NULL);
var_fh = tmp_assign_source_45;
Py_INCREF(var_fh);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_5__element_4);
tmp_tuple_unpack_5__element_4 = NULL;
branch_end_8:;
branch_end_7:;
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_assign_source_46;
int tmp_or_left_truth_4;
PyObject *tmp_or_left_value_4;
PyObject *tmp_or_right_value_4;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_5;
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[31]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[31]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
CHECK_OBJECT(var_v);
tmp_args_element_value_5 = var_v;
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 153;
tmp_or_left_value_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_5);
if (tmp_or_left_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 153;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
tmp_or_left_truth_4 = CHECK_IF_TRUE(tmp_or_left_value_4);
if (tmp_or_left_truth_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_4);
exception_lineno = 153;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
if (tmp_or_left_truth_4 == 1) {
goto or_left_4;
} else {
goto or_right_4;
}
or_right_4:;
Py_DECREF(tmp_or_left_value_4);
CHECK_OBJECT(var_k);
tmp_or_right_value_4 = var_k;
Py_INCREF(tmp_or_right_value_4);
tmp_assign_source_46 = tmp_or_right_value_4;
goto or_end_4;
or_left_4:;
tmp_assign_source_46 = tmp_or_left_value_4;
or_end_4:;
{
PyObject *old = var_fn;
var_fn = tmp_assign_source_46;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_47;
CHECK_OBJECT(var_v);
tmp_assign_source_47 = var_v;
{
PyObject *old = var_fp;
var_fp = tmp_assign_source_47;
Py_INCREF(var_fp);
Py_XDECREF(old);
}
}
branch_end_6:;
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_isinstance_inst_7;
PyObject *tmp_isinstance_cls_7;
PyObject *tmp_tuple_element_2;
CHECK_OBJECT(var_fp);
tmp_isinstance_inst_7 = var_fp;
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
tmp_isinstance_cls_7 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_isinstance_cls_7, 0, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "oooooooooooooooo";
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM0(tmp_isinstance_cls_7, 1, tmp_tuple_element_2);
tmp_tuple_element_2 = (PyObject *)&PyByteArray_Type;
PyTuple_SET_ITEM0(tmp_isinstance_cls_7, 2, tmp_tuple_element_2);
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_isinstance_cls_7);
goto try_except_handler_6;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_7, tmp_isinstance_cls_7);
Py_DECREF(tmp_isinstance_cls_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
tmp_condition_result_11 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_assign_source_48;
CHECK_OBJECT(var_fp);
tmp_assign_source_48 = var_fp;
{
PyObject *old = var_fdata;
var_fdata = tmp_assign_source_48;
Py_INCREF(var_fdata);
Py_XDECREF(old);
}
}
goto branch_end_9;
branch_no_9:;
{
nuitka_bool tmp_condition_result_12;
PyObject *tmp_expression_value_5;
PyObject *tmp_attribute_value_2;
CHECK_OBJECT(var_fp);
tmp_expression_value_5 = var_fp;
tmp_attribute_value_2 = mod_consts[11];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_5, tmp_attribute_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
tmp_condition_result_12 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_49;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(var_fp);
tmp_called_instance_1 = var_fp;
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 159;
tmp_assign_source_49 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[11]);
if (tmp_assign_source_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 159;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
{
PyObject *old = var_fdata;
var_fdata = tmp_assign_source_49;
Py_XDECREF(old);
}
}
goto branch_end_10;
branch_no_10:;
{
bool tmp_condition_result_13;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(var_fp);
tmp_cmp_expr_left_4 = var_fp;
tmp_cmp_expr_right_4 = Py_None;
tmp_condition_result_13 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_13 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
goto loop_start_3;
goto branch_end_11;
branch_no_11:;
{
PyObject *tmp_assign_source_50;
CHECK_OBJECT(var_fp);
tmp_assign_source_50 = var_fp;
{
PyObject *old = var_fdata;
var_fdata = tmp_assign_source_50;
Py_INCREF(var_fdata);
Py_XDECREF(old);
}
}
branch_end_11:;
branch_end_10:;
branch_end_9:;
{
PyObject *tmp_assign_source_51;
PyObject *tmp_called_value_8;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_kw_call_value_1_1;
PyObject *tmp_kw_call_value_2_1;
PyObject *tmp_kw_call_value_3_1;
tmp_called_value_8 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[32]);
if (unlikely(tmp_called_value_8 == NULL)) {
tmp_called_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[32]);
}
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
CHECK_OBJECT(var_k);
tmp_kw_call_value_0_1 = var_k;
CHECK_OBJECT(var_fdata);
tmp_kw_call_value_1_1 = var_fdata;
CHECK_OBJECT(var_fn);
tmp_kw_call_value_2_1 = var_fn;
CHECK_OBJECT(var_fh);
tmp_kw_call_value_3_1 = var_fh;
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 165;
{
PyObject *kw_values[4] = {tmp_kw_call_value_0_1, tmp_kw_call_value_1_1, tmp_kw_call_value_2_1, tmp_kw_call_value_3_1};
tmp_assign_source_51 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_8, kw_values, mod_consts[33]);
}
if (tmp_assign_source_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
{
PyObject *old = var_rf;
var_rf = tmp_assign_source_51;
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_2;
PyObject *tmp_kw_call_value_0_2;
CHECK_OBJECT(var_rf);
tmp_expression_value_6 = var_rf;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[34]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
CHECK_OBJECT(var_ft);
tmp_kw_call_value_0_2 = var_ft;
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 166;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_2};
tmp_call_result_2 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_9, kw_values, mod_consts[35]);
}
Py_DECREF(tmp_called_value_9);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_6;
if (var_new_fields == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[25]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 167;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
tmp_called_instance_2 = var_new_fields;
CHECK_OBJECT(var_rf);
tmp_args_element_value_6 = var_rf;
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 167;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[4], tmp_args_element_value_6);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 167;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
Py_DECREF(tmp_call_result_3);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_6;
}
goto loop_start_3;
loop_end_3:;
goto try_end_13;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_3__iter_value);
tmp_for_loop_3__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_3__for_iterator);
Py_DECREF(tmp_for_loop_3__for_iterator);
tmp_for_loop_3__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_13;
exception_value = exception_keeper_value_13;
exception_tb = exception_keeper_tb_13;
exception_lineno = exception_keeper_lineno_13;
goto frame_exception_exit_1;
// End of try:
try_end_13:;
Py_XDECREF(tmp_for_loop_3__iter_value);
tmp_for_loop_3__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_3__for_iterator);
Py_DECREF(tmp_for_loop_3__for_iterator);
tmp_for_loop_3__for_iterator = NULL;
// Tried code:
{
PyObject *tmp_assign_source_52;
PyObject *tmp_iter_arg_9;
PyObject *tmp_called_value_10;
PyObject *tmp_args_element_value_7;
tmp_called_value_10 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_called_value_10 == NULL)) {
tmp_called_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 169;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_15;
}
if (var_new_fields == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[25]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 169;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_15;
}
tmp_args_element_value_7 = var_new_fields;
frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame.f_lineno = 169;
tmp_iter_arg_9 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_10, tmp_args_element_value_7);
if (tmp_iter_arg_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 169;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_15;
}
tmp_assign_source_52 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_9);
Py_DECREF(tmp_iter_arg_9);
if (tmp_assign_source_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 169;
type_description_1 = "oooooooooooooooo";
goto try_except_handler_15;
}
assert(tmp_tuple_unpack_6__source_iter == NULL);
tmp_tuple_unpack_6__source_iter = tmp_assign_source_52;
}
// Tried code:
{
PyObject *tmp_assign_source_53;
PyObject *tmp_unpack_14;
CHECK_OBJECT(tmp_tuple_unpack_6__source_iter);
tmp_unpack_14 = tmp_tuple_unpack_6__source_iter;
tmp_assign_source_53 = UNPACK_NEXT(tmp_unpack_14, 0, 2);
if (tmp_assign_source_53 == 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 = "oooooooooooooooo";
exception_lineno = 169;
goto try_except_handler_16;
}
assert(tmp_tuple_unpack_6__element_1 == NULL);
tmp_tuple_unpack_6__element_1 = tmp_assign_source_53;
}
{
PyObject *tmp_assign_source_54;
PyObject *tmp_unpack_15;
CHECK_OBJECT(tmp_tuple_unpack_6__source_iter);
tmp_unpack_15 = tmp_tuple_unpack_6__source_iter;
tmp_assign_source_54 = UNPACK_NEXT(tmp_unpack_15, 1, 2);
if (tmp_assign_source_54 == 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 = "oooooooooooooooo";
exception_lineno = 169;
goto try_except_handler_16;
}
assert(tmp_tuple_unpack_6__element_2 == NULL);
tmp_tuple_unpack_6__element_2 = tmp_assign_source_54;
}
{
PyObject *tmp_iterator_name_6;
CHECK_OBJECT(tmp_tuple_unpack_6__source_iter);
tmp_iterator_name_6 = tmp_tuple_unpack_6__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_6); assert(HAS_ITERNEXT(tmp_iterator_name_6));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_6)->tp_iternext)(tmp_iterator_name_6);
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 = "oooooooooooooooo";
exception_lineno = 169;
goto try_except_handler_16;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[14];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooooo";
exception_lineno = 169;
goto try_except_handler_16;
}
}
goto try_end_14;
// Exception handler code:
try_except_handler_16:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_6__source_iter);
Py_DECREF(tmp_tuple_unpack_6__source_iter);
tmp_tuple_unpack_6__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto try_except_handler_15;
// End of try:
try_end_14:;
goto try_end_15;
// Exception handler code:
try_except_handler_15:;
exception_keeper_type_15 = exception_type;
exception_keeper_value_15 = exception_value;
exception_keeper_tb_15 = exception_tb;
exception_keeper_lineno_15 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_6__element_1);
tmp_tuple_unpack_6__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_6__element_2);
tmp_tuple_unpack_6__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_15;
exception_value = exception_keeper_value_15;
exception_tb = exception_keeper_tb_15;
exception_lineno = exception_keeper_lineno_15;
goto frame_exception_exit_1;
// End of try:
try_end_15:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7317d8f451794aa2e997ebe3244a8fd7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7317d8f451794aa2e997ebe3244a8fd7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7317d8f451794aa2e997ebe3244a8fd7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7317d8f451794aa2e997ebe3244a8fd7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7317d8f451794aa2e997ebe3244a8fd7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7317d8f451794aa2e997ebe3244a8fd7,
type_description_1,
par_files,
par_data,
var_new_fields,
var_fields,
var_field,
var_val,
var_v,
var_k,
var_ft,
var_fh,
var_fn,
var_fp,
var_fdata,
var_rf,
var_body,
var_content_type
);
// Release cached frame if used for exception.
if (frame_7317d8f451794aa2e997ebe3244a8fd7 == cache_frame_7317d8f451794aa2e997ebe3244a8fd7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7317d8f451794aa2e997ebe3244a8fd7);
cache_frame_7317d8f451794aa2e997ebe3244a8fd7 = NULL;
}
assertFrameObject(frame_7317d8f451794aa2e997ebe3244a8fd7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(tmp_tuple_unpack_6__source_iter);
Py_DECREF(tmp_tuple_unpack_6__source_iter);
tmp_tuple_unpack_6__source_iter = NULL;
{
PyObject *tmp_assign_source_55;
CHECK_OBJECT(tmp_tuple_unpack_6__element_1);
tmp_assign_source_55 = tmp_tuple_unpack_6__element_1;
assert(var_body == NULL);
Py_INCREF(tmp_assign_source_55);
var_body = tmp_assign_source_55;
}
Py_XDECREF(tmp_tuple_unpack_6__element_1);
tmp_tuple_unpack_6__element_1 = NULL;
{
PyObject *tmp_assign_source_56;
CHECK_OBJECT(tmp_tuple_unpack_6__element_2);
tmp_assign_source_56 = tmp_tuple_unpack_6__element_2;
assert(var_content_type == NULL);
Py_INCREF(tmp_assign_source_56);
var_content_type = tmp_assign_source_56;
}
Py_XDECREF(tmp_tuple_unpack_6__element_2);
tmp_tuple_unpack_6__element_2 = NULL;
{
PyObject *tmp_tuple_element_3;
CHECK_OBJECT(var_body);
tmp_tuple_element_3 = var_body;
tmp_return_value = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_3);
CHECK_OBJECT(var_content_type);
tmp_tuple_element_3 = var_content_type;
PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_3);
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_files);
Py_DECREF(par_files);
par_files = NULL;
Py_XDECREF(var_new_fields);
var_new_fields = NULL;
CHECK_OBJECT(var_fields);
Py_DECREF(var_fields);
var_fields = NULL;
Py_XDECREF(var_field);
var_field = NULL;
Py_XDECREF(var_val);
var_val = NULL;
Py_XDECREF(var_v);
var_v = NULL;
Py_XDECREF(var_k);
var_k = NULL;
Py_XDECREF(var_ft);
var_ft = NULL;
Py_XDECREF(var_fh);
var_fh = NULL;
Py_XDECREF(var_fn);
var_fn = NULL;
Py_XDECREF(var_fp);
var_fp = NULL;
Py_XDECREF(var_fdata);
var_fdata = NULL;
Py_XDECREF(var_rf);
var_rf = NULL;
CHECK_OBJECT(var_body);
Py_DECREF(var_body);
var_body = NULL;
CHECK_OBJECT(var_content_type);
Py_DECREF(var_content_type);
var_content_type = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_16 = exception_type;
exception_keeper_value_16 = exception_value;
exception_keeper_tb_16 = exception_tb;
exception_keeper_lineno_16 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_files);
par_files = NULL;
Py_XDECREF(var_new_fields);
var_new_fields = NULL;
Py_XDECREF(var_fields);
var_fields = NULL;
Py_XDECREF(var_field);
var_field = NULL;
Py_XDECREF(var_val);
var_val = NULL;
Py_XDECREF(var_v);
var_v = NULL;
Py_XDECREF(var_k);
var_k = NULL;
Py_XDECREF(var_ft);
var_ft = NULL;
Py_XDECREF(var_fh);
var_fh = NULL;
Py_XDECREF(var_fn);
var_fn = NULL;
Py_XDECREF(var_fp);
var_fp = NULL;
Py_XDECREF(var_fdata);
var_fdata = NULL;
Py_XDECREF(var_rf);
var_rf = NULL;
// Re-raise.
exception_type = exception_keeper_type_16;
exception_value = exception_keeper_value_16;
exception_tb = exception_keeper_tb_16;
exception_lineno = exception_keeper_lineno_16;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
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_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;
}
static PyObject *impl_requests$models$$$function__4_register_hook(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_event = python_pars[1];
PyObject *par_hook = python_pars[2];
PyObject *tmp_genexpr_1__$0 = NULL;
struct Nuitka_FrameObject *frame_26da3240b2a91615a059388794c443a1;
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_26da3240b2a91615a059388794c443a1 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_26da3240b2a91615a059388794c443a1)) {
Py_XDECREF(cache_frame_26da3240b2a91615a059388794c443a1);
#if _DEBUG_REFCOUNTS
if (cache_frame_26da3240b2a91615a059388794c443a1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_26da3240b2a91615a059388794c443a1 = MAKE_FUNCTION_FRAME(codeobj_26da3240b2a91615a059388794c443a1, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_26da3240b2a91615a059388794c443a1->m_type_description == NULL);
frame_26da3240b2a91615a059388794c443a1 = cache_frame_26da3240b2a91615a059388794c443a1;
// Push the new frame as the currently active one.
pushFrameStack(frame_26da3240b2a91615a059388794c443a1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_26da3240b2a91615a059388794c443a1) == 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_event);
tmp_cmp_expr_left_1 = par_event;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[38]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
type_description_1 = "ooo";
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 = 178;
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:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_mod_expr_left_1 = mod_consts[39];
CHECK_OBJECT(par_event);
tmp_mod_expr_right_1 = par_event;
tmp_make_exception_arg_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, 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 = 179;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_26da3240b2a91615a059388794c443a1->m_frame.f_lineno = 179;
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 = 179;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_hook);
tmp_isinstance_inst_1 = par_hook;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[40]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[40]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
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 = 181;
type_description_1 = "ooo";
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_instance_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[38]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_event);
tmp_subscript_value_1 = par_event;
tmp_called_instance_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_hook);
tmp_args_element_value_1 = par_hook;
frame_26da3240b2a91615a059388794c443a1->m_frame.f_lineno = 182;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[4], 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 = 182;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
goto branch_end_2;
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_hook);
tmp_expression_value_4 = par_hook;
tmp_attribute_value_1 = mod_consts[12];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_4, tmp_attribute_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 183;
type_description_1 = "ooo";
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:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_2;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[38]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_event);
tmp_subscript_value_2 = par_event;
tmp_expression_value_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_6, tmp_subscript_value_2);
Py_DECREF(tmp_expression_value_6);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[41]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(par_hook);
tmp_iter_arg_1 = par_hook;
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 = 184;
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_args_element_value_2 = MAKE_GENERATOR_requests$models$$$function__4_register_hook$$$genexpr__1_genexpr(tmp_closure_1);
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(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:;
frame_26da3240b2a91615a059388794c443a1->m_frame.f_lineno = 184;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_3:;
branch_end_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_26da3240b2a91615a059388794c443a1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_26da3240b2a91615a059388794c443a1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_26da3240b2a91615a059388794c443a1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_26da3240b2a91615a059388794c443a1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_26da3240b2a91615a059388794c443a1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_26da3240b2a91615a059388794c443a1,
type_description_1,
par_self,
par_event,
par_hook
);
// Release cached frame if used for exception.
if (frame_26da3240b2a91615a059388794c443a1 == cache_frame_26da3240b2a91615a059388794c443a1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_26da3240b2a91615a059388794c443a1);
cache_frame_26da3240b2a91615a059388794c443a1 = NULL;
}
assertFrameObject(frame_26da3240b2a91615a059388794c443a1);
// 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_event);
Py_DECREF(par_event);
CHECK_OBJECT(par_hook);
Py_DECREF(par_hook);
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_event);
Py_DECREF(par_event);
CHECK_OBJECT(par_hook);
Py_DECREF(par_hook);
// 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 requests$models$$$function__4_register_hook$$$genexpr__1_genexpr_locals {
PyObject *var_h;
PyObject *tmp_iter_value_0;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
int tmp_res;
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 *requests$models$$$function__4_register_hook$$$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 requests$models$$$function__4_register_hook$$$genexpr__1_genexpr_locals *generator_heap = (struct requests$models$$$function__4_register_hook$$$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_h = 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_5d7efa73db97d75782f3a2ac543103b2, module_requests$models, 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 = 184;
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_h;
generator_heap->var_h = tmp_assign_source_2;
Py_INCREF(generator_heap->var_h);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(generator_heap->var_h);
tmp_isinstance_inst_1 = generator_heap->var_h;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[40]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[40]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 184;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
generator_heap->tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (generator_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 184;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_condition_result_1 = (generator_heap->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_expression_value_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_h);
tmp_expression_value_1 = generator_heap->var_h;
Py_INCREF(tmp_expression_value_1);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
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 = 184;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_yield_result_1 = yield_return_value;
}
branch_no_1:;
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 = 184;
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_h
);
// 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_h);
generator_heap->var_h = 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_h);
generator_heap->var_h = 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_requests$models$$$function__4_register_hook$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
requests$models$$$function__4_register_hook$$$genexpr__1_genexpr_context,
module_requests$models,
mod_consts[43],
#if PYTHON_VERSION >= 0x350
mod_consts[44],
#endif
codeobj_5d7efa73db97d75782f3a2ac543103b2,
closure,
1,
sizeof(struct requests$models$$$function__4_register_hook$$$genexpr__1_genexpr_locals)
);
}
static PyObject *impl_requests$models$$$function__5_deregister_hook(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_event = python_pars[1];
PyObject *par_hook = python_pars[2];
struct Nuitka_FrameObject *frame_3b7071338589f3ba7c6f5837609b2da4;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *tmp_return_value = NULL;
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_3b7071338589f3ba7c6f5837609b2da4 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_3b7071338589f3ba7c6f5837609b2da4)) {
Py_XDECREF(cache_frame_3b7071338589f3ba7c6f5837609b2da4);
#if _DEBUG_REFCOUNTS
if (cache_frame_3b7071338589f3ba7c6f5837609b2da4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3b7071338589f3ba7c6f5837609b2da4 = MAKE_FUNCTION_FRAME(codeobj_3b7071338589f3ba7c6f5837609b2da4, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3b7071338589f3ba7c6f5837609b2da4->m_type_description == NULL);
frame_3b7071338589f3ba7c6f5837609b2da4 = cache_frame_3b7071338589f3ba7c6f5837609b2da4;
// Push the new frame as the currently active one.
pushFrameStack(frame_3b7071338589f3ba7c6f5837609b2da4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3b7071338589f3ba7c6f5837609b2da4) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[38]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 192;
type_description_1 = "ooo";
goto try_except_handler_1;
}
CHECK_OBJECT(par_event);
tmp_subscript_value_1 = par_event;
tmp_called_instance_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 192;
type_description_1 = "ooo";
goto try_except_handler_1;
}
CHECK_OBJECT(par_hook);
tmp_args_element_value_1 = par_hook;
frame_3b7071338589f3ba7c6f5837609b2da4->m_frame.f_lineno = 192;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[45], 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 = 192;
type_description_1 = "ooo";
goto try_except_handler_1;
}
Py_DECREF(tmp_call_result_1);
}
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_3b7071338589f3ba7c6f5837609b2da4, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_3b7071338589f3ba7c6f5837609b2da4, 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_ValueError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_False;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 191;
}
if (exception_tb && exception_tb->tb_frame == &frame_3b7071338589f3ba7c6f5837609b2da4->m_frame) frame_3b7071338589f3ba7c6f5837609b2da4->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_2;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3b7071338589f3ba7c6f5837609b2da4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3b7071338589f3ba7c6f5837609b2da4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3b7071338589f3ba7c6f5837609b2da4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3b7071338589f3ba7c6f5837609b2da4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3b7071338589f3ba7c6f5837609b2da4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3b7071338589f3ba7c6f5837609b2da4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3b7071338589f3ba7c6f5837609b2da4,
type_description_1,
par_self,
par_event,
par_hook
);
// Release cached frame if used for exception.
if (frame_3b7071338589f3ba7c6f5837609b2da4 == cache_frame_3b7071338589f3ba7c6f5837609b2da4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3b7071338589f3ba7c6f5837609b2da4);
cache_frame_3b7071338589f3ba7c6f5837609b2da4 = NULL;
}
assertFrameObject(frame_3b7071338589f3ba7c6f5837609b2da4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_True;
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_event);
Py_DECREF(par_event);
CHECK_OBJECT(par_hook);
Py_DECREF(par_hook);
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_event);
Py_DECREF(par_event);
CHECK_OBJECT(par_hook);
Py_DECREF(par_hook);
// 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_requests$models$$$function__6___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_method = python_pars[1];
PyObject *par_url = python_pars[2];
PyObject *par_headers = python_pars[3];
PyObject *par_files = python_pars[4];
PyObject *par_data = python_pars[5];
PyObject *par_params = python_pars[6];
PyObject *par_auth = python_pars[7];
PyObject *par_cookies = python_pars[8];
PyObject *par_hooks = python_pars[9];
PyObject *par_json = python_pars[10];
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_02a1059045e54ce0c2c2e60a2648ad63;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
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;
static struct Nuitka_FrameObject *cache_frame_02a1059045e54ce0c2c2e60a2648ad63 = NULL;
PyObject *tmp_return_value = 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;
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_data);
tmp_cmp_expr_left_1 = par_data;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(par_data);
tmp_assign_source_1 = par_data;
Py_INCREF(tmp_assign_source_1);
condexpr_end_1:;
{
PyObject *old = par_data;
assert(old != NULL);
par_data = tmp_assign_source_1;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_files);
tmp_cmp_expr_left_2 = par_files;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
tmp_assign_source_2 = MAKE_LIST_EMPTY(0);
goto condexpr_end_2;
condexpr_false_2:;
CHECK_OBJECT(par_files);
tmp_assign_source_2 = par_files;
Py_INCREF(tmp_assign_source_2);
condexpr_end_2:;
{
PyObject *old = par_files;
assert(old != NULL);
par_files = tmp_assign_source_2;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_headers);
tmp_cmp_expr_left_3 = par_headers;
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_3 != false) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
tmp_assign_source_3 = MAKE_DICT_EMPTY();
goto condexpr_end_3;
condexpr_false_3:;
CHECK_OBJECT(par_headers);
tmp_assign_source_3 = par_headers;
Py_INCREF(tmp_assign_source_3);
condexpr_end_3:;
{
PyObject *old = par_headers;
assert(old != NULL);
par_headers = tmp_assign_source_3;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(par_params);
tmp_cmp_expr_left_4 = par_params;
tmp_cmp_expr_right_4 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_4 != false) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
tmp_assign_source_4 = MAKE_DICT_EMPTY();
goto condexpr_end_4;
condexpr_false_4:;
CHECK_OBJECT(par_params);
tmp_assign_source_4 = par_params;
Py_INCREF(tmp_assign_source_4);
condexpr_end_4:;
{
PyObject *old = par_params;
assert(old != NULL);
par_params = tmp_assign_source_4;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(par_hooks);
tmp_cmp_expr_left_5 = par_hooks;
tmp_cmp_expr_right_5 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_5 == tmp_cmp_expr_right_5) ? true : false;
if (tmp_condition_result_5 != false) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
tmp_assign_source_5 = MAKE_DICT_EMPTY();
goto condexpr_end_5;
condexpr_false_5:;
CHECK_OBJECT(par_hooks);
tmp_assign_source_5 = par_hooks;
Py_INCREF(tmp_assign_source_5);
condexpr_end_5:;
{
PyObject *old = par_hooks;
assert(old != NULL);
par_hooks = tmp_assign_source_5;
Py_DECREF(old);
}
}
// Tried code:
if (isFrameUnusable(cache_frame_02a1059045e54ce0c2c2e60a2648ad63)) {
Py_XDECREF(cache_frame_02a1059045e54ce0c2c2e60a2648ad63);
#if _DEBUG_REFCOUNTS
if (cache_frame_02a1059045e54ce0c2c2e60a2648ad63 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_02a1059045e54ce0c2c2e60a2648ad63 = MAKE_FUNCTION_FRAME(codeobj_02a1059045e54ce0c2c2e60a2648ad63, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_02a1059045e54ce0c2c2e60a2648ad63->m_type_description == NULL);
frame_02a1059045e54ce0c2c2e60a2648ad63 = cache_frame_02a1059045e54ce0c2c2e60a2648ad63;
// Push the new frame as the currently active one.
pushFrameStack(frame_02a1059045e54ce0c2c2e60a2648ad63);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_02a1059045e54ce0c2c2e60a2648ad63) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_assattr_target_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[47]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[47]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
frame_02a1059045e54ce0c2c2e60a2648ad63->m_frame.f_lineno = 237;
tmp_assattr_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "ooooooooooooo";
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[38], 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 = 237;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_iter_arg_1;
PyObject *tmp_list_arg_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_hooks);
tmp_expression_value_1 = par_hooks;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[48]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 238;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
frame_02a1059045e54ce0c2c2e60a2648ad63->m_frame.f_lineno = 238;
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 = 238;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_iter_arg_1 = MAKE_LIST(tmp_list_arg_1);
Py_DECREF(tmp_list_arg_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 238;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_6 = MAKE_ITERATOR_INFALLIBLE(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
assert(!(tmp_assign_source_6 == NULL));
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_6;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_7 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_7 == 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 = "ooooooooooooo";
exception_lineno = 238;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_7;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_8;
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_8 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 238;
type_description_1 = "ooooooooooooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_8;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_9;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_9 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_9 == 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 = "ooooooooooooo";
exception_lineno = 238;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_9;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_10 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_10 == 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 = "ooooooooooooo";
exception_lineno = 238;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_10;
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 = "ooooooooooooo";
exception_lineno = 238;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[14];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooooooooooo";
exception_lineno = 238;
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_11;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_11 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_k;
var_k = tmp_assign_source_11;
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_12;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_12 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_v;
var_v = tmp_assign_source_12;
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_3;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_kw_call_value_1_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 239;
type_description_1 = "ooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_2 = par_self;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[50]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "ooooooooooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_k);
tmp_kw_call_value_0_1 = var_k;
CHECK_OBJECT(var_v);
tmp_kw_call_value_1_1 = var_v;
frame_02a1059045e54ce0c2c2e60a2648ad63->m_frame.f_lineno = 239;
{
PyObject *kw_values[2] = {tmp_kw_call_value_0_1, tmp_kw_call_value_1_1};
tmp_call_result_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_3, kw_values, mod_consts[51]);
}
Py_DECREF(tmp_called_value_3);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "ooooooooooooo";
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 = 238;
type_description_1 = "ooooooooooooo";
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_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_method);
tmp_assattr_value_2 = par_method;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 241;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[52], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_url);
tmp_assattr_value_3 = par_url;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 242;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[1], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 242;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_headers);
tmp_assattr_value_4 = par_headers;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 243;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[53], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
CHECK_OBJECT(par_files);
tmp_assattr_value_5 = par_files;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 244;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[54], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 244;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
CHECK_OBJECT(par_data);
tmp_assattr_value_6 = par_data;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 245;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[55], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 245;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_assattr_target_7;
CHECK_OBJECT(par_json);
tmp_assattr_value_7 = par_json;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 246;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[56], tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_8;
PyObject *tmp_assattr_target_8;
CHECK_OBJECT(par_params);
tmp_assattr_value_8 = par_params;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 247;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_8 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[57], tmp_assattr_value_8);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_9;
PyObject *tmp_assattr_target_9;
CHECK_OBJECT(par_auth);
tmp_assattr_value_9 = par_auth;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 248;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_9 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[58], tmp_assattr_value_9);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_10;
PyObject *tmp_assattr_target_10;
CHECK_OBJECT(par_cookies);
tmp_assattr_value_10 = par_cookies;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 249;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_10 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_10, mod_consts[59], tmp_assattr_value_10);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_02a1059045e54ce0c2c2e60a2648ad63);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_02a1059045e54ce0c2c2e60a2648ad63);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_02a1059045e54ce0c2c2e60a2648ad63, exception_lineno);
} else if (exception_tb->tb_frame != &frame_02a1059045e54ce0c2c2e60a2648ad63->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_02a1059045e54ce0c2c2e60a2648ad63, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_02a1059045e54ce0c2c2e60a2648ad63,
type_description_1,
par_self,
par_method,
par_url,
par_headers,
par_files,
par_data,
par_params,
par_auth,
par_cookies,
par_hooks,
par_json,
var_k,
var_v
);
// Release cached frame if used for exception.
if (frame_02a1059045e54ce0c2c2e60a2648ad63 == cache_frame_02a1059045e54ce0c2c2e60a2648ad63) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_02a1059045e54ce0c2c2e60a2648ad63);
cache_frame_02a1059045e54ce0c2c2e60a2648ad63 = NULL;
}
assertFrameObject(frame_02a1059045e54ce0c2c2e60a2648ad63);
// 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(par_headers);
Py_DECREF(par_headers);
par_headers = NULL;
CHECK_OBJECT(par_files);
Py_DECREF(par_files);
par_files = NULL;
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
par_data = NULL;
CHECK_OBJECT(par_params);
Py_DECREF(par_params);
par_params = NULL;
CHECK_OBJECT(par_hooks);
Py_DECREF(par_hooks);
par_hooks = 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;
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
par_headers = NULL;
CHECK_OBJECT(par_files);
Py_DECREF(par_files);
par_files = NULL;
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
par_data = NULL;
CHECK_OBJECT(par_params);
Py_DECREF(par_params);
par_params = NULL;
CHECK_OBJECT(par_hooks);
Py_DECREF(par_hooks);
par_hooks = 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_method);
Py_DECREF(par_method);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
CHECK_OBJECT(par_auth);
Py_DECREF(par_auth);
CHECK_OBJECT(par_cookies);
Py_DECREF(par_cookies);
CHECK_OBJECT(par_json);
Py_DECREF(par_json);
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_method);
Py_DECREF(par_method);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
CHECK_OBJECT(par_auth);
Py_DECREF(par_auth);
CHECK_OBJECT(par_cookies);
Py_DECREF(par_cookies);
CHECK_OBJECT(par_json);
Py_DECREF(par_json);
// 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_requests$models$$$function__7___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];
struct Nuitka_FrameObject *frame_d37bef45d2689ae2c1b9c6cb9c14ac98;
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_d37bef45d2689ae2c1b9c6cb9c14ac98 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_d37bef45d2689ae2c1b9c6cb9c14ac98)) {
Py_XDECREF(cache_frame_d37bef45d2689ae2c1b9c6cb9c14ac98);
#if _DEBUG_REFCOUNTS
if (cache_frame_d37bef45d2689ae2c1b9c6cb9c14ac98 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d37bef45d2689ae2c1b9c6cb9c14ac98 = MAKE_FUNCTION_FRAME(codeobj_d37bef45d2689ae2c1b9c6cb9c14ac98, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d37bef45d2689ae2c1b9c6cb9c14ac98->m_type_description == NULL);
frame_d37bef45d2689ae2c1b9c6cb9c14ac98 = cache_frame_d37bef45d2689ae2c1b9c6cb9c14ac98;
// Push the new frame as the currently active one.
pushFrameStack(frame_d37bef45d2689ae2c1b9c6cb9c14ac98);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d37bef45d2689ae2c1b9c6cb9c14ac98) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_1;
tmp_mod_expr_left_1 = mod_consts[60];
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_mod_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[52]);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d37bef45d2689ae2c1b9c6cb9c14ac98);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d37bef45d2689ae2c1b9c6cb9c14ac98);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d37bef45d2689ae2c1b9c6cb9c14ac98);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d37bef45d2689ae2c1b9c6cb9c14ac98, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d37bef45d2689ae2c1b9c6cb9c14ac98->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d37bef45d2689ae2c1b9c6cb9c14ac98, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d37bef45d2689ae2c1b9c6cb9c14ac98,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_d37bef45d2689ae2c1b9c6cb9c14ac98 == cache_frame_d37bef45d2689ae2c1b9c6cb9c14ac98) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d37bef45d2689ae2c1b9c6cb9c14ac98);
cache_frame_d37bef45d2689ae2c1b9c6cb9c14ac98 = NULL;
}
assertFrameObject(frame_d37bef45d2689ae2c1b9c6cb9c14ac98);
// 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_requests$models$$$function__8_prepare(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_p = NULL;
struct Nuitka_FrameObject *frame_8e8aa26540a6117f933ba59f503e88f8;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_8e8aa26540a6117f933ba59f503e88f8 = 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_8e8aa26540a6117f933ba59f503e88f8)) {
Py_XDECREF(cache_frame_8e8aa26540a6117f933ba59f503e88f8);
#if _DEBUG_REFCOUNTS
if (cache_frame_8e8aa26540a6117f933ba59f503e88f8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8e8aa26540a6117f933ba59f503e88f8 = MAKE_FUNCTION_FRAME(codeobj_8e8aa26540a6117f933ba59f503e88f8, module_requests$models, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8e8aa26540a6117f933ba59f503e88f8->m_type_description == NULL);
frame_8e8aa26540a6117f933ba59f503e88f8 = cache_frame_8e8aa26540a6117f933ba59f503e88f8;
// Push the new frame as the currently active one.
pushFrameStack(frame_8e8aa26540a6117f933ba59f503e88f8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8e8aa26540a6117f933ba59f503e88f8) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[61]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[61]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 256;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_8e8aa26540a6117f933ba59f503e88f8->m_frame.f_lineno = 256;
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 = 256;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_p == NULL);
var_p = tmp_assign_source_1;
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_kw_call_value_1_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_kw_call_value_2_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_kw_call_value_3_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_kw_call_value_4_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_kw_call_value_5_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_kw_call_value_6_1;
PyObject *tmp_expression_value_8;
PyObject *tmp_kw_call_value_7_1;
PyObject *tmp_expression_value_9;
PyObject *tmp_kw_call_value_8_1;
PyObject *tmp_expression_value_10;
PyObject *tmp_kw_call_value_9_1;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(var_p);
tmp_expression_value_1 = var_p;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[62]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 257;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_kw_call_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, 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_2);
exception_lineno = 258;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_kw_call_value_1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[1]);
if (tmp_kw_call_value_1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_value_0_1);
exception_lineno = 259;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_kw_call_value_2_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[53]);
if (tmp_kw_call_value_2_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
exception_lineno = 260;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_kw_call_value_3_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[54]);
if (tmp_kw_call_value_3_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
exception_lineno = 261;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_kw_call_value_4_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[55]);
if (tmp_kw_call_value_4_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
Py_DECREF(tmp_kw_call_value_3_1);
exception_lineno = 262;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_kw_call_value_5_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[56]);
if (tmp_kw_call_value_5_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
Py_DECREF(tmp_kw_call_value_3_1);
Py_DECREF(tmp_kw_call_value_4_1);
exception_lineno = 263;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_kw_call_value_6_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[57]);
if (tmp_kw_call_value_6_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
Py_DECREF(tmp_kw_call_value_3_1);
Py_DECREF(tmp_kw_call_value_4_1);
Py_DECREF(tmp_kw_call_value_5_1);
exception_lineno = 264;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_kw_call_value_7_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[58]);
if (tmp_kw_call_value_7_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
Py_DECREF(tmp_kw_call_value_3_1);
Py_DECREF(tmp_kw_call_value_4_1);
Py_DECREF(tmp_kw_call_value_5_1);
Py_DECREF(tmp_kw_call_value_6_1);
exception_lineno = 265;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_kw_call_value_8_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[59]);
if (tmp_kw_call_value_8_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
Py_DECREF(tmp_kw_call_value_3_1);
Py_DECREF(tmp_kw_call_value_4_1);
Py_DECREF(tmp_kw_call_value_5_1);
Py_DECREF(tmp_kw_call_value_6_1);
Py_DECREF(tmp_kw_call_value_7_1);
exception_lineno = 266;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_11 = par_self;
tmp_kw_call_value_9_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[38]);
if (tmp_kw_call_value_9_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
Py_DECREF(tmp_kw_call_value_3_1);
Py_DECREF(tmp_kw_call_value_4_1);
Py_DECREF(tmp_kw_call_value_5_1);
Py_DECREF(tmp_kw_call_value_6_1);
Py_DECREF(tmp_kw_call_value_7_1);
Py_DECREF(tmp_kw_call_value_8_1);
exception_lineno = 267;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_8e8aa26540a6117f933ba59f503e88f8->m_frame.f_lineno = 257;
{
PyObject *kw_values[10] = {tmp_kw_call_value_0_1, tmp_kw_call_value_1_1, tmp_kw_call_value_2_1, tmp_kw_call_value_3_1, tmp_kw_call_value_4_1, tmp_kw_call_value_5_1, tmp_kw_call_value_6_1, tmp_kw_call_value_7_1, tmp_kw_call_value_8_1, tmp_kw_call_value_9_1};
tmp_call_result_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_2, kw_values, mod_consts[63]);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
Py_DECREF(tmp_kw_call_value_3_1);
Py_DECREF(tmp_kw_call_value_4_1);
Py_DECREF(tmp_kw_call_value_5_1);
Py_DECREF(tmp_kw_call_value_6_1);
Py_DECREF(tmp_kw_call_value_7_1);
Py_DECREF(tmp_kw_call_value_8_1);
Py_DECREF(tmp_kw_call_value_9_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 257;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8e8aa26540a6117f933ba59f503e88f8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8e8aa26540a6117f933ba59f503e88f8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8e8aa26540a6117f933ba59f503e88f8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8e8aa26540a6117f933ba59f503e88f8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8e8aa26540a6117f933ba59f503e88f8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8e8aa26540a6117f933ba59f503e88f8,
type_description_1,
par_self,
var_p
);
// Release cached frame if used for exception.
if (frame_8e8aa26540a6117f933ba59f503e88f8 == cache_frame_8e8aa26540a6117f933ba59f503e88f8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8e8aa26540a6117f933ba59f503e88f8);
cache_frame_8e8aa26540a6117f933ba59f503e88f8 = NULL;
}
assertFrameObject(frame_8e8aa26540a6117f933ba59f503e88f8);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_p);
tmp_return_value = var_p;
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_p);
Py_DECREF(var_p);
var_p = 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_p);
var_p = 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_requests$models$$$function__9___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];
struct Nuitka_FrameObject *frame_9f6828949af4164c4521381d16d9f211;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_9f6828949af4164c4521381d16d9f211 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_9f6828949af4164c4521381d16d9f211)) {
Py_XDECREF(cache_frame_9f6828949af4164c4521381d16d9f211);
#if _DEBUG_REFCOUNTS
if (cache_frame_9f6828949af4164c4521381d16d9f211 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_9f6828949af4164c4521381d16d9f211 = MAKE_FUNCTION_FRAME(codeobj_9f6828949af4164c4521381d16d9f211, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_9f6828949af4164c4521381d16d9f211->m_type_description == NULL);
frame_9f6828949af4164c4521381d16d9f211 = cache_frame_9f6828949af4164c4521381d16d9f211;
// Push the new frame as the currently active one.
pushFrameStack(frame_9f6828949af4164c4521381d16d9f211);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_9f6828949af4164c4521381d16d9f211) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[52], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 292;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[1], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[53], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 296;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[65], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 299;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
tmp_assattr_value_5 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[66], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_called_value_1;
PyObject *tmp_assattr_target_6;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[47]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[47]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_9f6828949af4164c4521381d16d9f211->m_frame.f_lineno = 303;
tmp_assattr_value_6 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assattr_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[38], 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 = 303;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_assattr_target_7;
tmp_assattr_value_7 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[67], tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 305;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_9f6828949af4164c4521381d16d9f211);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_9f6828949af4164c4521381d16d9f211);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_9f6828949af4164c4521381d16d9f211, exception_lineno);
} else if (exception_tb->tb_frame != &frame_9f6828949af4164c4521381d16d9f211->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_9f6828949af4164c4521381d16d9f211, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_9f6828949af4164c4521381d16d9f211,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_9f6828949af4164c4521381d16d9f211 == cache_frame_9f6828949af4164c4521381d16d9f211) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_9f6828949af4164c4521381d16d9f211);
cache_frame_9f6828949af4164c4521381d16d9f211 = NULL;
}
assertFrameObject(frame_9f6828949af4164c4521381d16d9f211);
// 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);
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_requests$models$$$function__10_prepare(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_method = python_pars[1];
PyObject *par_url = python_pars[2];
PyObject *par_headers = python_pars[3];
PyObject *par_files = python_pars[4];
PyObject *par_data = python_pars[5];
PyObject *par_params = python_pars[6];
PyObject *par_auth = python_pars[7];
PyObject *par_cookies = python_pars[8];
PyObject *par_hooks = python_pars[9];
PyObject *par_json = python_pars[10];
struct Nuitka_FrameObject *frame_1c7ed350145b9a70a5e560eb4d517932;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_1c7ed350145b9a70a5e560eb4d517932 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_1c7ed350145b9a70a5e560eb4d517932)) {
Py_XDECREF(cache_frame_1c7ed350145b9a70a5e560eb4d517932);
#if _DEBUG_REFCOUNTS
if (cache_frame_1c7ed350145b9a70a5e560eb4d517932 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1c7ed350145b9a70a5e560eb4d517932 = MAKE_FUNCTION_FRAME(codeobj_1c7ed350145b9a70a5e560eb4d517932, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1c7ed350145b9a70a5e560eb4d517932->m_type_description == NULL);
frame_1c7ed350145b9a70a5e560eb4d517932 = cache_frame_1c7ed350145b9a70a5e560eb4d517932;
// Push the new frame as the currently active one.
pushFrameStack(frame_1c7ed350145b9a70a5e560eb4d517932);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1c7ed350145b9a70a5e560eb4d517932) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_method);
tmp_args_element_value_1 = par_method;
frame_1c7ed350145b9a70a5e560eb4d517932->m_frame.f_lineno = 312;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[68], 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 = 312;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
CHECK_OBJECT(par_url);
tmp_args_element_value_2 = par_url;
CHECK_OBJECT(par_params);
tmp_args_element_value_3 = par_params;
frame_1c7ed350145b9a70a5e560eb4d517932->m_frame.f_lineno = 313;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_2 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_2,
mod_consts[69],
call_args
);
}
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 313;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_4;
CHECK_OBJECT(par_self);
tmp_called_instance_3 = par_self;
CHECK_OBJECT(par_headers);
tmp_args_element_value_4 = par_headers;
frame_1c7ed350145b9a70a5e560eb4d517932->m_frame.f_lineno = 314;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[70], tmp_args_element_value_4);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(par_self);
tmp_called_instance_4 = par_self;
CHECK_OBJECT(par_cookies);
tmp_args_element_value_5 = par_cookies;
frame_1c7ed350145b9a70a5e560eb4d517932->m_frame.f_lineno = 315;
tmp_call_result_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[71], tmp_args_element_value_5);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 315;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
{
PyObject *tmp_called_instance_5;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
CHECK_OBJECT(par_self);
tmp_called_instance_5 = par_self;
CHECK_OBJECT(par_data);
tmp_args_element_value_6 = par_data;
CHECK_OBJECT(par_files);
tmp_args_element_value_7 = par_files;
CHECK_OBJECT(par_json);
tmp_args_element_value_8 = par_json;
frame_1c7ed350145b9a70a5e560eb4d517932->m_frame.f_lineno = 316;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8};
tmp_call_result_5 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_5,
mod_consts[72],
call_args
);
}
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 316;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
{
PyObject *tmp_called_instance_6;
PyObject *tmp_call_result_6;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
CHECK_OBJECT(par_self);
tmp_called_instance_6 = par_self;
CHECK_OBJECT(par_auth);
tmp_args_element_value_9 = par_auth;
CHECK_OBJECT(par_url);
tmp_args_element_value_10 = par_url;
frame_1c7ed350145b9a70a5e560eb4d517932->m_frame.f_lineno = 317;
{
PyObject *call_args[] = {tmp_args_element_value_9, tmp_args_element_value_10};
tmp_call_result_6 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_6,
mod_consts[73],
call_args
);
}
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 317;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_6);
}
{
PyObject *tmp_called_instance_7;
PyObject *tmp_call_result_7;
PyObject *tmp_args_element_value_11;
CHECK_OBJECT(par_self);
tmp_called_instance_7 = par_self;
CHECK_OBJECT(par_hooks);
tmp_args_element_value_11 = par_hooks;
frame_1c7ed350145b9a70a5e560eb4d517932->m_frame.f_lineno = 323;
tmp_call_result_7 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_7, mod_consts[74], tmp_args_element_value_11);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 323;
type_description_1 = "ooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_7);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1c7ed350145b9a70a5e560eb4d517932);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1c7ed350145b9a70a5e560eb4d517932);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1c7ed350145b9a70a5e560eb4d517932, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1c7ed350145b9a70a5e560eb4d517932->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1c7ed350145b9a70a5e560eb4d517932, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1c7ed350145b9a70a5e560eb4d517932,
type_description_1,
par_self,
par_method,
par_url,
par_headers,
par_files,
par_data,
par_params,
par_auth,
par_cookies,
par_hooks,
par_json
);
// Release cached frame if used for exception.
if (frame_1c7ed350145b9a70a5e560eb4d517932 == cache_frame_1c7ed350145b9a70a5e560eb4d517932) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1c7ed350145b9a70a5e560eb4d517932);
cache_frame_1c7ed350145b9a70a5e560eb4d517932 = NULL;
}
assertFrameObject(frame_1c7ed350145b9a70a5e560eb4d517932);
// 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_method);
Py_DECREF(par_method);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
CHECK_OBJECT(par_files);
Py_DECREF(par_files);
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
CHECK_OBJECT(par_params);
Py_DECREF(par_params);
CHECK_OBJECT(par_auth);
Py_DECREF(par_auth);
CHECK_OBJECT(par_cookies);
Py_DECREF(par_cookies);
CHECK_OBJECT(par_hooks);
Py_DECREF(par_hooks);
CHECK_OBJECT(par_json);
Py_DECREF(par_json);
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_method);
Py_DECREF(par_method);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
CHECK_OBJECT(par_files);
Py_DECREF(par_files);
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
CHECK_OBJECT(par_params);
Py_DECREF(par_params);
CHECK_OBJECT(par_auth);
Py_DECREF(par_auth);
CHECK_OBJECT(par_cookies);
Py_DECREF(par_cookies);
CHECK_OBJECT(par_hooks);
Py_DECREF(par_hooks);
CHECK_OBJECT(par_json);
Py_DECREF(par_json);
// 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_requests$models$$$function__11___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];
struct Nuitka_FrameObject *frame_de1cb68a04a936d56bea5888e3da82d1;
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_de1cb68a04a936d56bea5888e3da82d1 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_de1cb68a04a936d56bea5888e3da82d1)) {
Py_XDECREF(cache_frame_de1cb68a04a936d56bea5888e3da82d1);
#if _DEBUG_REFCOUNTS
if (cache_frame_de1cb68a04a936d56bea5888e3da82d1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_de1cb68a04a936d56bea5888e3da82d1 = MAKE_FUNCTION_FRAME(codeobj_de1cb68a04a936d56bea5888e3da82d1, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_de1cb68a04a936d56bea5888e3da82d1->m_type_description == NULL);
frame_de1cb68a04a936d56bea5888e3da82d1 = cache_frame_de1cb68a04a936d56bea5888e3da82d1;
// Push the new frame as the currently active one.
pushFrameStack(frame_de1cb68a04a936d56bea5888e3da82d1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_de1cb68a04a936d56bea5888e3da82d1) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_1;
tmp_mod_expr_left_1 = mod_consts[76];
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_mod_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[52]);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_de1cb68a04a936d56bea5888e3da82d1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_de1cb68a04a936d56bea5888e3da82d1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_de1cb68a04a936d56bea5888e3da82d1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_de1cb68a04a936d56bea5888e3da82d1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_de1cb68a04a936d56bea5888e3da82d1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_de1cb68a04a936d56bea5888e3da82d1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_de1cb68a04a936d56bea5888e3da82d1,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_de1cb68a04a936d56bea5888e3da82d1 == cache_frame_de1cb68a04a936d56bea5888e3da82d1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_de1cb68a04a936d56bea5888e3da82d1);
cache_frame_de1cb68a04a936d56bea5888e3da82d1 = NULL;
}
assertFrameObject(frame_de1cb68a04a936d56bea5888e3da82d1);
// 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_requests$models$$$function__12_copy(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_p = NULL;
struct Nuitka_FrameObject *frame_b2abaacc2bfc499e92ebf3d6ce1d2d36;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_b2abaacc2bfc499e92ebf3d6ce1d2d36 = 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_b2abaacc2bfc499e92ebf3d6ce1d2d36)) {
Py_XDECREF(cache_frame_b2abaacc2bfc499e92ebf3d6ce1d2d36);
#if _DEBUG_REFCOUNTS
if (cache_frame_b2abaacc2bfc499e92ebf3d6ce1d2d36 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b2abaacc2bfc499e92ebf3d6ce1d2d36 = MAKE_FUNCTION_FRAME(codeobj_b2abaacc2bfc499e92ebf3d6ce1d2d36, module_requests$models, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b2abaacc2bfc499e92ebf3d6ce1d2d36->m_type_description == NULL);
frame_b2abaacc2bfc499e92ebf3d6ce1d2d36 = cache_frame_b2abaacc2bfc499e92ebf3d6ce1d2d36;
// Push the new frame as the currently active one.
pushFrameStack(frame_b2abaacc2bfc499e92ebf3d6ce1d2d36);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b2abaacc2bfc499e92ebf3d6ce1d2d36) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[61]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[61]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 329;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_b2abaacc2bfc499e92ebf3d6ce1d2d36->m_frame.f_lineno = 329;
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 = 329;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_p == NULL);
var_p = tmp_assign_source_1;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assattr_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[52]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_p);
tmp_assattr_target_1 = var_p;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[52], 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 = 330;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_assattr_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[1]);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_p);
tmp_assattr_target_2 = var_p;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[1], 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 = 331;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[53]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[53]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[77]);
Py_DECREF(tmp_expression_value_4);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_b2abaacc2bfc499e92ebf3d6ce1d2d36->m_frame.f_lineno = 332;
tmp_assattr_value_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto condexpr_end_1;
condexpr_false_1:;
tmp_assattr_value_3 = Py_None;
Py_INCREF(tmp_assattr_value_3);
condexpr_end_1:;
CHECK_OBJECT(var_p);
tmp_assattr_target_3 = var_p;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[53], 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 = 332;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_assattr_target_4;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (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 = 333;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[65]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 333;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_b2abaacc2bfc499e92ebf3d6ce1d2d36->m_frame.f_lineno = 333;
tmp_assattr_value_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assattr_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 333;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_p);
tmp_assattr_target_4 = var_p;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[65], 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 = 333;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_expression_value_7;
PyObject *tmp_assattr_target_5;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_assattr_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[66]);
if (tmp_assattr_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_p);
tmp_assattr_target_5 = var_p;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[66], 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 = 334;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_expression_value_8;
PyObject *tmp_assattr_target_6;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_assattr_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[38]);
if (tmp_assattr_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 335;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_p);
tmp_assattr_target_6 = var_p;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[38], 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 = 335;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_expression_value_9;
PyObject *tmp_assattr_target_7;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_assattr_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[67]);
if (tmp_assattr_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_p);
tmp_assattr_target_7 = var_p;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[67], 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 = 336;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b2abaacc2bfc499e92ebf3d6ce1d2d36);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b2abaacc2bfc499e92ebf3d6ce1d2d36);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b2abaacc2bfc499e92ebf3d6ce1d2d36, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b2abaacc2bfc499e92ebf3d6ce1d2d36->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b2abaacc2bfc499e92ebf3d6ce1d2d36, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b2abaacc2bfc499e92ebf3d6ce1d2d36,
type_description_1,
par_self,
var_p
);
// Release cached frame if used for exception.
if (frame_b2abaacc2bfc499e92ebf3d6ce1d2d36 == cache_frame_b2abaacc2bfc499e92ebf3d6ce1d2d36) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b2abaacc2bfc499e92ebf3d6ce1d2d36);
cache_frame_b2abaacc2bfc499e92ebf3d6ce1d2d36 = NULL;
}
assertFrameObject(frame_b2abaacc2bfc499e92ebf3d6ce1d2d36);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_p);
tmp_return_value = var_p;
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_p);
Py_DECREF(var_p);
var_p = 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_p);
var_p = 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_requests$models$$$function__13_prepare_method(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_method = python_pars[1];
struct Nuitka_FrameObject *frame_cabb9fe4b2f0fd0b857ae0214e3b8839;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_cabb9fe4b2f0fd0b857ae0214e3b8839 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_cabb9fe4b2f0fd0b857ae0214e3b8839)) {
Py_XDECREF(cache_frame_cabb9fe4b2f0fd0b857ae0214e3b8839);
#if _DEBUG_REFCOUNTS
if (cache_frame_cabb9fe4b2f0fd0b857ae0214e3b8839 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_cabb9fe4b2f0fd0b857ae0214e3b8839 = MAKE_FUNCTION_FRAME(codeobj_cabb9fe4b2f0fd0b857ae0214e3b8839, module_requests$models, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_cabb9fe4b2f0fd0b857ae0214e3b8839->m_type_description == NULL);
frame_cabb9fe4b2f0fd0b857ae0214e3b8839 = cache_frame_cabb9fe4b2f0fd0b857ae0214e3b8839;
// Push the new frame as the currently active one.
pushFrameStack(frame_cabb9fe4b2f0fd0b857ae0214e3b8839);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_cabb9fe4b2f0fd0b857ae0214e3b8839) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_method);
tmp_assattr_value_1 = par_method;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[52], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 341;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[52]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 342;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_assattr_target_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[52]);
if (tmp_expression_value_2 == 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;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[80]);
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 = 343;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_cabb9fe4b2f0fd0b857ae0214e3b8839->m_frame.f_lineno = 343;
tmp_args_element_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_cabb9fe4b2f0fd0b857ae0214e3b8839->m_frame.f_lineno = 343;
tmp_assattr_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assattr_value_2 == 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_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[52], 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 = 343;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cabb9fe4b2f0fd0b857ae0214e3b8839);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cabb9fe4b2f0fd0b857ae0214e3b8839);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_cabb9fe4b2f0fd0b857ae0214e3b8839, exception_lineno);
} else if (exception_tb->tb_frame != &frame_cabb9fe4b2f0fd0b857ae0214e3b8839->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_cabb9fe4b2f0fd0b857ae0214e3b8839, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_cabb9fe4b2f0fd0b857ae0214e3b8839,
type_description_1,
par_self,
par_method
);
// Release cached frame if used for exception.
if (frame_cabb9fe4b2f0fd0b857ae0214e3b8839 == cache_frame_cabb9fe4b2f0fd0b857ae0214e3b8839) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_cabb9fe4b2f0fd0b857ae0214e3b8839);
cache_frame_cabb9fe4b2f0fd0b857ae0214e3b8839 = NULL;
}
assertFrameObject(frame_cabb9fe4b2f0fd0b857ae0214e3b8839);
// 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_method);
Py_DECREF(par_method);
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_method);
Py_DECREF(par_method);
// 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_requests$models$$$function__14__get_idna_encoded_host(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_host = python_pars[0];
PyObject *var_idna = NULL;
struct Nuitka_FrameObject *frame_79f4a5fb1901046f706f1a1b785d5219;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_79f4a5fb1901046f706f1a1b785d5219 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_79f4a5fb1901046f706f1a1b785d5219)) {
Py_XDECREF(cache_frame_79f4a5fb1901046f706f1a1b785d5219);
#if _DEBUG_REFCOUNTS
if (cache_frame_79f4a5fb1901046f706f1a1b785d5219 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_79f4a5fb1901046f706f1a1b785d5219 = MAKE_FUNCTION_FRAME(codeobj_79f4a5fb1901046f706f1a1b785d5219, module_requests$models, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_79f4a5fb1901046f706f1a1b785d5219->m_type_description == NULL);
frame_79f4a5fb1901046f706f1a1b785d5219 = cache_frame_79f4a5fb1901046f706f1a1b785d5219;
// Push the new frame as the currently active one.
pushFrameStack(frame_79f4a5fb1901046f706f1a1b785d5219);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_79f4a5fb1901046f706f1a1b785d5219) == 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[82];
tmp_globals_arg_value_1 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[83];
frame_79f4a5fb1901046f706f1a1b785d5219->m_frame.f_lineno = 347;
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 = 347;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_idna == NULL);
var_idna = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
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;
CHECK_OBJECT(var_idna);
tmp_expression_value_2 = var_idna;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[18]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 350;
type_description_1 = "oo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_host);
tmp_tuple_element_1 = par_host;
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[84]);
frame_79f4a5fb1901046f706f1a1b785d5219->m_frame.f_lineno = 350;
tmp_expression_value_1 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 350;
type_description_1 = "oo";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[27]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 350;
type_description_1 = "oo";
goto try_except_handler_2;
}
frame_79f4a5fb1901046f706f1a1b785d5219->m_frame.f_lineno = 350;
tmp_assign_source_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[19]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 350;
type_description_1 = "oo";
goto try_except_handler_2;
}
{
PyObject *old = par_host;
assert(old != NULL);
par_host = tmp_assign_source_2;
Py_DECREF(old);
}
}
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_79f4a5fb1901046f706f1a1b785d5219, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_79f4a5fb1901046f706f1a1b785d5219, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_3;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
CHECK_OBJECT(var_idna);
tmp_expression_value_3 = var_idna;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[85]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_UnicodeError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 352;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto try_except_handler_3;
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 349;
}
if (exception_tb && exception_tb->tb_frame == &frame_79f4a5fb1901046f706f1a1b785d5219->m_frame) frame_79f4a5fb1901046f706f1a1b785d5219->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_3;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_79f4a5fb1901046f706f1a1b785d5219);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_79f4a5fb1901046f706f1a1b785d5219);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_79f4a5fb1901046f706f1a1b785d5219, exception_lineno);
} else if (exception_tb->tb_frame != &frame_79f4a5fb1901046f706f1a1b785d5219->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_79f4a5fb1901046f706f1a1b785d5219, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_79f4a5fb1901046f706f1a1b785d5219,
type_description_1,
par_host,
var_idna
);
// Release cached frame if used for exception.
if (frame_79f4a5fb1901046f706f1a1b785d5219 == cache_frame_79f4a5fb1901046f706f1a1b785d5219) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_79f4a5fb1901046f706f1a1b785d5219);
cache_frame_79f4a5fb1901046f706f1a1b785d5219 = NULL;
}
assertFrameObject(frame_79f4a5fb1901046f706f1a1b785d5219);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(par_host);
tmp_return_value = par_host;
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_host);
Py_DECREF(par_host);
par_host = NULL;
CHECK_OBJECT(var_idna);
Py_DECREF(var_idna);
var_idna = 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_host);
par_host = NULL;
Py_XDECREF(var_idna);
var_idna = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_requests$models$$$function__15_prepare_url(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_url = python_pars[1];
PyObject *par_params = python_pars[2];
PyObject *var_scheme = NULL;
PyObject *var_auth = NULL;
PyObject *var_host = NULL;
PyObject *var_port = NULL;
PyObject *var_path = NULL;
PyObject *var_query = NULL;
PyObject *var_fragment = NULL;
PyObject *var_e = NULL;
PyObject *var_error = NULL;
PyObject *var_netloc = NULL;
PyObject *var_enc_params = 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__element_7 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_f17490b0af410405f38c2f6ab8ecce7d;
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;
bool tmp_result;
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;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_1;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
static struct Nuitka_FrameObject *cache_frame_f17490b0af410405f38c2f6ab8ecce7d = NULL;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_f17490b0af410405f38c2f6ab8ecce7d)) {
Py_XDECREF(cache_frame_f17490b0af410405f38c2f6ab8ecce7d);
#if _DEBUG_REFCOUNTS
if (cache_frame_f17490b0af410405f38c2f6ab8ecce7d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f17490b0af410405f38c2f6ab8ecce7d = MAKE_FUNCTION_FRAME(codeobj_f17490b0af410405f38c2f6ab8ecce7d, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f17490b0af410405f38c2f6ab8ecce7d->m_type_description == NULL);
frame_f17490b0af410405f38c2f6ab8ecce7d = cache_frame_f17490b0af410405f38c2f6ab8ecce7d;
// Push the new frame as the currently active one.
pushFrameStack(frame_f17490b0af410405f38c2f6ab8ecce7d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f17490b0af410405f38c2f6ab8ecce7d) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_url);
tmp_isinstance_inst_1 = par_url;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "oooooooooooooo";
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 = 362;
type_description_1 = "oooooooooooooo";
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_url);
tmp_expression_value_1 = par_url;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[27]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 363;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 363;
tmp_assign_source_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[86]);
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 = 363;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_url;
assert(old != NULL);
par_url = tmp_assign_source_1;
Py_DECREF(old);
}
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_2;
nuitka_bool tmp_condition_result_2;
PyObject *tmp_mvar_value_1;
int tmp_truth_name_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[87]);
if (unlikely(tmp_mvar_value_1 == NULL)) {
tmp_mvar_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[87]);
}
if (tmp_mvar_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_mvar_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "oooooooooooooo";
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 condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[88]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[88]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_url);
tmp_args_element_value_1 = par_url;
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 365;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
goto condexpr_end_1;
condexpr_false_1:;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_url);
tmp_args_element_value_2 = par_url;
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 365;
tmp_assign_source_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, 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 = 365;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
condexpr_end_1:;
{
PyObject *old = par_url;
par_url = tmp_assign_source_2;
Py_XDECREF(old);
}
}
branch_end_1:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_url);
tmp_expression_value_2 = par_url;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[89]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 368;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 368;
tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 368;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_url;
assert(old != NULL);
par_url = tmp_assign_source_3;
Py_DECREF(old);
}
}
{
bool tmp_condition_result_3;
int tmp_and_left_truth_1;
bool tmp_and_left_value_1;
bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_3;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_4;
tmp_cmp_expr_left_1 = mod_consts[90];
CHECK_OBJECT(par_url);
tmp_cmp_expr_right_1 = par_url;
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 = 373;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res == 1) ? true : false;
tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_url);
tmp_expression_value_4 = par_url;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[91]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 373;
tmp_expression_value_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_6);
Py_DECREF(tmp_called_value_6);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[92]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 373;
tmp_operand_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_5, mod_consts[93]);
Py_DECREF(tmp_called_value_5);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "oooooooooooooo";
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 = 373;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 0) ? true : false;
tmp_condition_result_3 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_3 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_3 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
if (par_url == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[1]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 374;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_1 = par_url;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[1], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 374;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
}
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_2:;
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_3;
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[94]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[94]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_1 = "oooooooooooooo";
goto try_except_handler_3;
}
if (par_url == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[1]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 379;
type_description_1 = "oooooooooooooo";
goto try_except_handler_3;
}
tmp_args_element_value_3 = par_url;
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 379;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_3);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_1 = "oooooooooooooo";
goto try_except_handler_3;
}
tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_1 = "oooooooooooooo";
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_4;
}
// 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, 7);
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 = "oooooooooooooo";
exception_lineno = 379;
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_5;
}
{
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, 7);
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 = "oooooooooooooo";
exception_lineno = 379;
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_3, 2, 7);
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 = "oooooooooooooo";
exception_lineno = 379;
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_1__element_3 == NULL);
tmp_tuple_unpack_1__element_3 = tmp_assign_source_7;
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_4 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_8 = UNPACK_NEXT(tmp_unpack_4, 3, 7);
if (tmp_assign_source_8 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooo";
exception_lineno = 379;
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_1__element_4 == NULL);
tmp_tuple_unpack_1__element_4 = tmp_assign_source_8;
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_unpack_5;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_5 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_9 = UNPACK_NEXT(tmp_unpack_5, 4, 7);
if (tmp_assign_source_9 == 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 = "oooooooooooooo";
exception_lineno = 379;
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_1__element_5 == NULL);
tmp_tuple_unpack_1__element_5 = tmp_assign_source_9;
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_unpack_6;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_6 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_10 = UNPACK_NEXT(tmp_unpack_6, 5, 7);
if (tmp_assign_source_10 == 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 = "oooooooooooooo";
exception_lineno = 379;
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_1__element_6 == NULL);
tmp_tuple_unpack_1__element_6 = tmp_assign_source_10;
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_unpack_7;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_7 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_11 = UNPACK_NEXT(tmp_unpack_7, 6, 7);
if (tmp_assign_source_11 == 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 = "oooooooooooooo";
exception_lineno = 379;
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_1__element_7 == NULL);
tmp_tuple_unpack_1__element_7 = tmp_assign_source_11;
}
{
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 = "oooooooooooooo";
exception_lineno = 379;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[95];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooo";
exception_lineno = 379;
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;
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;
Py_XDECREF(tmp_tuple_unpack_1__element_7);
tmp_tuple_unpack_1__element_7 = 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:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_f17490b0af410405f38c2f6ab8ecce7d, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_f17490b0af410405f38c2f6ab8ecce7d, 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 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[96]);
if (unlikely(tmp_cmp_expr_right_2 == NULL)) {
tmp_cmp_expr_right_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[96]);
}
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 380;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 380;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
tmp_condition_result_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_12;
tmp_assign_source_12 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_12);
var_e = tmp_assign_source_12;
}
// Tried code:
{
PyObject *tmp_raise_type_1;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_expression_value_5;
tmp_dircall_arg1_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[97]);
if (unlikely(tmp_dircall_arg1_1 == NULL)) {
tmp_dircall_arg1_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[97]);
}
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_1 = "oooooooooooooo";
goto try_except_handler_6;
}
CHECK_OBJECT(var_e);
tmp_expression_value_5 = var_e;
tmp_dircall_arg2_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[98]);
if (tmp_dircall_arg2_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_1 = "oooooooooooooo";
goto try_except_handler_6;
}
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
tmp_raise_type_1 = impl___main__$$$function__2_complex_call_helper_star_list(dir_call_args);
}
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 381;
type_description_1 = "oooooooooooooo";
goto try_except_handler_6;
}
exception_type = tmp_raise_type_1;
exception_lineno = 381;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooo";
goto try_except_handler_6;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_5;
// End of try:
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 378;
}
if (exception_tb && exception_tb->tb_frame == &frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame) frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
branch_end_3:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_13;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_13 = tmp_tuple_unpack_1__element_1;
assert(var_scheme == NULL);
Py_INCREF(tmp_assign_source_13);
var_scheme = tmp_assign_source_13;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_14;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_14 = tmp_tuple_unpack_1__element_2;
assert(var_auth == NULL);
Py_INCREF(tmp_assign_source_14);
var_auth = tmp_assign_source_14;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_15;
CHECK_OBJECT(tmp_tuple_unpack_1__element_3);
tmp_assign_source_15 = tmp_tuple_unpack_1__element_3;
assert(var_host == NULL);
Py_INCREF(tmp_assign_source_15);
var_host = tmp_assign_source_15;
}
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
{
PyObject *tmp_assign_source_16;
CHECK_OBJECT(tmp_tuple_unpack_1__element_4);
tmp_assign_source_16 = tmp_tuple_unpack_1__element_4;
assert(var_port == NULL);
Py_INCREF(tmp_assign_source_16);
var_port = tmp_assign_source_16;
}
Py_XDECREF(tmp_tuple_unpack_1__element_4);
tmp_tuple_unpack_1__element_4 = NULL;
{
PyObject *tmp_assign_source_17;
CHECK_OBJECT(tmp_tuple_unpack_1__element_5);
tmp_assign_source_17 = tmp_tuple_unpack_1__element_5;
assert(var_path == NULL);
Py_INCREF(tmp_assign_source_17);
var_path = tmp_assign_source_17;
}
Py_XDECREF(tmp_tuple_unpack_1__element_5);
tmp_tuple_unpack_1__element_5 = NULL;
{
PyObject *tmp_assign_source_18;
CHECK_OBJECT(tmp_tuple_unpack_1__element_6);
tmp_assign_source_18 = tmp_tuple_unpack_1__element_6;
assert(var_query == NULL);
Py_INCREF(tmp_assign_source_18);
var_query = tmp_assign_source_18;
}
Py_XDECREF(tmp_tuple_unpack_1__element_6);
tmp_tuple_unpack_1__element_6 = NULL;
{
PyObject *tmp_assign_source_19;
CHECK_OBJECT(tmp_tuple_unpack_1__element_7);
tmp_assign_source_19 = tmp_tuple_unpack_1__element_7;
assert(var_fragment == NULL);
Py_INCREF(tmp_assign_source_19);
var_fragment = tmp_assign_source_19;
}
Py_XDECREF(tmp_tuple_unpack_1__element_7);
tmp_tuple_unpack_1__element_7 = NULL;
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_2;
CHECK_OBJECT(var_scheme);
tmp_operand_value_2 = var_scheme;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 383;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_20;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_called_value_8;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
tmp_kw_call_arg_value_0_1 = mod_consts[99];
tmp_called_value_8 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_value_8 == NULL)) {
tmp_called_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
if (par_url == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[1]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 385;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = par_url;
tmp_args_element_value_5 = mod_consts[100];
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 385;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_kw_call_arg_value_1_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_8, call_args);
}
if (tmp_kw_call_arg_value_1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 385;
{
PyObject *call_args[] = {tmp_kw_call_arg_value_0_1, tmp_kw_call_arg_value_1_1};
tmp_assign_source_20 = CALL_FUNCTION_WITH_ARGS2(unicode_builtin_format, call_args);
}
Py_DECREF(tmp_kw_call_arg_value_1_1);
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_error == NULL);
var_error = tmp_assign_source_20;
}
{
PyObject *tmp_raise_type_2;
PyObject *tmp_called_value_9;
PyObject *tmp_args_element_value_6;
tmp_called_value_9 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[101]);
if (unlikely(tmp_called_value_9 == NULL)) {
tmp_called_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[101]);
}
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_error);
tmp_args_element_value_6 = var_error;
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 387;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_9, tmp_args_element_value_6);
if (tmp_raise_type_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_2;
exception_lineno = 387;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
branch_no_4:;
{
bool tmp_condition_result_6;
PyObject *tmp_operand_value_3;
CHECK_OBJECT(var_host);
tmp_operand_value_3 = var_host;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_6 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_called_value_10;
PyObject *tmp_args_element_value_7;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_called_value_10 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[97]);
if (unlikely(tmp_called_value_10 == NULL)) {
tmp_called_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[97]);
}
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[102];
if (par_url == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[1]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 390;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = par_url;
tmp_args_element_value_7 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 390;
tmp_raise_type_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_10, tmp_args_element_value_7);
Py_DECREF(tmp_args_element_value_7);
if (tmp_raise_type_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_3;
exception_lineno = 390;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
branch_no_5:;
{
bool tmp_condition_result_7;
PyObject *tmp_operand_value_4;
PyObject *tmp_called_value_11;
PyObject *tmp_args_element_value_8;
tmp_called_value_11 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_called_value_11 == NULL)) {
tmp_called_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_host);
tmp_args_element_value_8 = var_host;
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 396;
tmp_operand_value_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_11, tmp_args_element_value_8);
if (tmp_operand_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_4);
Py_DECREF(tmp_operand_value_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_7 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
// Tried code:
{
PyObject *tmp_assign_source_21;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_9;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(var_host);
tmp_args_element_value_9 = var_host;
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 398;
tmp_assign_source_21 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[104], tmp_args_element_value_9);
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 398;
type_description_1 = "oooooooooooooo";
goto try_except_handler_7;
}
{
PyObject *old = var_host;
assert(old != NULL);
var_host = tmp_assign_source_21;
Py_DECREF(old);
}
}
goto try_end_4;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_6 == NULL) {
exception_keeper_tb_6 = MAKE_TRACEBACK(frame_f17490b0af410405f38c2f6ab8ecce7d, exception_keeper_lineno_6);
} else if (exception_keeper_lineno_6 != 0) {
exception_keeper_tb_6 = ADD_TRACEBACK(exception_keeper_tb_6, frame_f17490b0af410405f38c2f6ab8ecce7d, exception_keeper_lineno_6);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_6, &exception_keeper_value_6, &exception_keeper_tb_6);
// Tried code:
{
bool tmp_condition_result_8;
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_UnicodeError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_8 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_raise_type_4;
PyObject *tmp_called_value_12;
tmp_called_value_12 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[97]);
if (unlikely(tmp_called_value_12 == NULL)) {
tmp_called_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[97]);
}
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_1 = "oooooooooooooo";
goto try_except_handler_8;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 400;
tmp_raise_type_4 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_12, mod_consts[105]);
if (tmp_raise_type_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_1 = "oooooooooooooo";
goto try_except_handler_8;
}
exception_type = tmp_raise_type_4;
exception_lineno = 400;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooo";
goto try_except_handler_8;
}
goto branch_end_7;
branch_no_7:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 397;
}
if (exception_tb && exception_tb->tb_frame == &frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame) frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooooooo";
goto try_except_handler_8;
branch_end_7:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_4:;
goto branch_end_6;
branch_no_6:;
{
nuitka_bool tmp_condition_result_9;
PyObject *tmp_called_value_13;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_1;
int tmp_truth_name_2;
CHECK_OBJECT(var_host);
tmp_expression_value_6 = var_host;
tmp_called_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[92]);
if (tmp_called_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 401;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_13, mod_consts[106]);
Py_DECREF(tmp_called_value_13);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_1 = "oooooooooooooo";
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 = 401;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_9 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_raise_type_5;
PyObject *tmp_called_value_14;
tmp_called_value_14 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[97]);
if (unlikely(tmp_called_value_14 == NULL)) {
tmp_called_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[97]);
}
if (tmp_called_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 402;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 402;
tmp_raise_type_5 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_14, mod_consts[105]);
if (tmp_raise_type_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 402;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_5;
exception_lineno = 402;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
branch_no_8:;
branch_end_6:;
{
PyObject *tmp_assign_source_22;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
CHECK_OBJECT(var_auth);
tmp_or_left_value_1 = var_auth;
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 = 405;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_or_right_value_1 = mod_consts[7];
tmp_assign_source_22 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_assign_source_22 = tmp_or_left_value_1;
or_end_1:;
assert(var_netloc == NULL);
Py_INCREF(tmp_assign_source_22);
var_netloc = tmp_assign_source_22;
}
{
nuitka_bool tmp_condition_result_10;
int tmp_truth_name_3;
CHECK_OBJECT(var_netloc);
tmp_truth_name_3 = CHECK_IF_TRUE(var_netloc);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 406;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_10 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_assign_source_23;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(var_netloc);
tmp_iadd_expr_left_1 = var_netloc;
tmp_iadd_expr_right_1 = mod_consts[107];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_UNICODE(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 407;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_23 = tmp_iadd_expr_left_1;
var_netloc = tmp_assign_source_23;
}
branch_no_9:;
{
PyObject *tmp_assign_source_24;
PyObject *tmp_iadd_expr_left_2;
PyObject *tmp_iadd_expr_right_2;
CHECK_OBJECT(var_netloc);
tmp_iadd_expr_left_2 = var_netloc;
if (var_host == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[108]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 408;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_iadd_expr_right_2 = var_host;
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_2, tmp_iadd_expr_right_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_24 = tmp_iadd_expr_left_2;
var_netloc = tmp_assign_source_24;
}
{
nuitka_bool tmp_condition_result_11;
int tmp_truth_name_4;
CHECK_OBJECT(var_port);
tmp_truth_name_4 = CHECK_IF_TRUE(var_port);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 409;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_11 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_25;
PyObject *tmp_iadd_expr_left_3;
PyObject *tmp_iadd_expr_right_3;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_called_value_15;
PyObject *tmp_args_element_value_10;
CHECK_OBJECT(var_netloc);
tmp_iadd_expr_left_3 = var_netloc;
tmp_add_expr_left_1 = mod_consts[90];
tmp_called_value_15 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_called_value_15 == NULL)) {
tmp_called_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_called_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 410;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_port);
tmp_args_element_value_10 = var_port;
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 410;
tmp_add_expr_right_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_15, tmp_args_element_value_10);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 410;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_iadd_expr_right_3 = BINARY_OPERATION_ADD_OBJECT_UNICODE_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_iadd_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 410;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_3, tmp_iadd_expr_right_3);
Py_DECREF(tmp_iadd_expr_right_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 410;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_25 = tmp_iadd_expr_left_3;
var_netloc = tmp_assign_source_25;
}
branch_no_10:;
{
bool tmp_condition_result_12;
PyObject *tmp_operand_value_5;
CHECK_OBJECT(var_path);
tmp_operand_value_5 = var_path;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_12 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_12 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_assign_source_26;
tmp_assign_source_26 = mod_consts[3];
{
PyObject *old = var_path;
assert(old != NULL);
var_path = tmp_assign_source_26;
Py_INCREF(var_path);
Py_DECREF(old);
}
}
branch_no_11:;
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_mvar_value_2;
int tmp_truth_name_5;
tmp_mvar_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[87]);
if (unlikely(tmp_mvar_value_2 == NULL)) {
tmp_mvar_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[87]);
}
if (tmp_mvar_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 416;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_5 = CHECK_IF_TRUE(tmp_mvar_value_2);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 416;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_13 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
nuitka_bool tmp_condition_result_14;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
CHECK_OBJECT(var_scheme);
tmp_isinstance_inst_2 = var_scheme;
tmp_isinstance_cls_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_isinstance_cls_2 == NULL)) {
tmp_isinstance_cls_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_isinstance_cls_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 417;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_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 = 417;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_14 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
{
PyObject *tmp_assign_source_27;
PyObject *tmp_called_value_16;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(var_scheme);
tmp_expression_value_7 = var_scheme;
tmp_called_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[18]);
if (tmp_called_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 418;
tmp_assign_source_27 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_16, mod_consts[19]);
Py_DECREF(tmp_called_value_16);
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_scheme;
assert(old != NULL);
var_scheme = tmp_assign_source_27;
Py_DECREF(old);
}
}
branch_no_13:;
{
nuitka_bool tmp_condition_result_15;
PyObject *tmp_isinstance_inst_3;
PyObject *tmp_isinstance_cls_3;
CHECK_OBJECT(var_netloc);
tmp_isinstance_inst_3 = var_netloc;
tmp_isinstance_cls_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_isinstance_cls_3 == NULL)) {
tmp_isinstance_cls_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_isinstance_cls_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 419;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_3, tmp_isinstance_cls_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 419;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_15 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
PyObject *tmp_assign_source_28;
PyObject *tmp_called_value_17;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(var_netloc);
tmp_expression_value_8 = var_netloc;
tmp_called_value_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[18]);
if (tmp_called_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 420;
tmp_assign_source_28 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_17, mod_consts[19]);
Py_DECREF(tmp_called_value_17);
if (tmp_assign_source_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_netloc;
assert(old != NULL);
var_netloc = tmp_assign_source_28;
Py_DECREF(old);
}
}
branch_no_14:;
{
nuitka_bool tmp_condition_result_16;
PyObject *tmp_isinstance_inst_4;
PyObject *tmp_isinstance_cls_4;
CHECK_OBJECT(var_path);
tmp_isinstance_inst_4 = var_path;
tmp_isinstance_cls_4 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_isinstance_cls_4 == NULL)) {
tmp_isinstance_cls_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_isinstance_cls_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 421;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_4, tmp_isinstance_cls_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 421;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_16 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
PyObject *tmp_assign_source_29;
PyObject *tmp_called_value_18;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(var_path);
tmp_expression_value_9 = var_path;
tmp_called_value_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[18]);
if (tmp_called_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 422;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 422;
tmp_assign_source_29 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_18, mod_consts[19]);
Py_DECREF(tmp_called_value_18);
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 422;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_path;
assert(old != NULL);
var_path = tmp_assign_source_29;
Py_DECREF(old);
}
}
branch_no_15:;
{
nuitka_bool tmp_condition_result_17;
PyObject *tmp_isinstance_inst_5;
PyObject *tmp_isinstance_cls_5;
CHECK_OBJECT(var_query);
tmp_isinstance_inst_5 = var_query;
tmp_isinstance_cls_5 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_isinstance_cls_5 == NULL)) {
tmp_isinstance_cls_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_isinstance_cls_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_5, tmp_isinstance_cls_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_17 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
{
PyObject *tmp_assign_source_30;
PyObject *tmp_called_value_19;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(var_query);
tmp_expression_value_10 = var_query;
tmp_called_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[18]);
if (tmp_called_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 424;
tmp_assign_source_30 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_19, mod_consts[19]);
Py_DECREF(tmp_called_value_19);
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_query;
assert(old != NULL);
var_query = tmp_assign_source_30;
Py_DECREF(old);
}
}
branch_no_16:;
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_isinstance_inst_6;
PyObject *tmp_isinstance_cls_6;
CHECK_OBJECT(var_fragment);
tmp_isinstance_inst_6 = var_fragment;
tmp_isinstance_cls_6 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_isinstance_cls_6 == NULL)) {
tmp_isinstance_cls_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_isinstance_cls_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 425;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_6, tmp_isinstance_cls_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 425;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_18 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
{
PyObject *tmp_assign_source_31;
PyObject *tmp_called_value_20;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(var_fragment);
tmp_expression_value_11 = var_fragment;
tmp_called_value_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[18]);
if (tmp_called_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 426;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 426;
tmp_assign_source_31 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_20, mod_consts[19]);
Py_DECREF(tmp_called_value_20);
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 426;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_fragment;
assert(old != NULL);
var_fragment = tmp_assign_source_31;
Py_DECREF(old);
}
}
branch_no_17:;
branch_no_12:;
{
nuitka_bool tmp_condition_result_19;
PyObject *tmp_isinstance_inst_7;
PyObject *tmp_isinstance_cls_7;
PyObject *tmp_tuple_element_1;
CHECK_OBJECT(par_params);
tmp_isinstance_inst_7 = par_params;
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_isinstance_cls_7, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_1 = "oooooooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_isinstance_cls_7, 1, tmp_tuple_element_1);
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_isinstance_cls_7);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_7, tmp_isinstance_cls_7);
Py_DECREF(tmp_isinstance_cls_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_19 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_19 == NUITKA_BOOL_TRUE) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
{
PyObject *tmp_assign_source_32;
PyObject *tmp_called_value_21;
PyObject *tmp_args_element_value_11;
tmp_called_value_21 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_value_21 == NULL)) {
tmp_called_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 429;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_params);
tmp_args_element_value_11 = par_params;
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 429;
tmp_assign_source_32 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_21, tmp_args_element_value_11);
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 429;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_params;
assert(old != NULL);
par_params = tmp_assign_source_32;
Py_DECREF(old);
}
}
branch_no_18:;
{
PyObject *tmp_assign_source_33;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_12;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
CHECK_OBJECT(par_params);
tmp_args_element_value_12 = par_params;
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 431;
tmp_assign_source_33 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[109], tmp_args_element_value_12);
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 431;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_enc_params == NULL);
var_enc_params = tmp_assign_source_33;
}
{
nuitka_bool tmp_condition_result_20;
int tmp_truth_name_6;
CHECK_OBJECT(var_enc_params);
tmp_truth_name_6 = CHECK_IF_TRUE(var_enc_params);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 432;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_20 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
{
nuitka_bool tmp_condition_result_21;
int tmp_truth_name_7;
CHECK_OBJECT(var_query);
tmp_truth_name_7 = CHECK_IF_TRUE(var_query);
if (tmp_truth_name_7 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 433;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_21 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_21 == NUITKA_BOOL_TRUE) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
{
PyObject *tmp_assign_source_34;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_2;
tmp_mod_expr_left_2 = mod_consts[110];
CHECK_OBJECT(var_query);
tmp_tuple_element_2 = var_query;
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_mod_expr_right_2, 0, tmp_tuple_element_2);
CHECK_OBJECT(var_enc_params);
tmp_tuple_element_2 = var_enc_params;
PyTuple_SET_ITEM0(tmp_mod_expr_right_2, 1, tmp_tuple_element_2);
tmp_assign_source_34 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_assign_source_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 434;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_query;
assert(old != NULL);
var_query = tmp_assign_source_34;
Py_DECREF(old);
}
}
goto branch_end_20;
branch_no_20:;
{
PyObject *tmp_assign_source_35;
CHECK_OBJECT(var_enc_params);
tmp_assign_source_35 = var_enc_params;
{
PyObject *old = var_query;
assert(old != NULL);
var_query = tmp_assign_source_35;
Py_INCREF(var_query);
Py_DECREF(old);
}
}
branch_end_20:;
branch_no_19:;
{
PyObject *tmp_assign_source_36;
PyObject *tmp_called_value_22;
PyObject *tmp_args_element_value_13;
PyObject *tmp_called_value_23;
PyObject *tmp_args_element_value_14;
PyObject *tmp_list_element_1;
tmp_called_value_22 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[111]);
if (unlikely(tmp_called_value_22 == NULL)) {
tmp_called_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[111]);
}
if (tmp_called_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 438;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_23 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[112]);
if (unlikely(tmp_called_value_23 == NULL)) {
tmp_called_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[112]);
}
if (tmp_called_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 438;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_scheme);
tmp_list_element_1 = var_scheme;
tmp_args_element_value_14 = MAKE_LIST_EMPTY(6);
PyList_SET_ITEM0(tmp_args_element_value_14, 0, tmp_list_element_1);
CHECK_OBJECT(var_netloc);
tmp_list_element_1 = var_netloc;
PyList_SET_ITEM0(tmp_args_element_value_14, 1, tmp_list_element_1);
CHECK_OBJECT(var_path);
tmp_list_element_1 = var_path;
PyList_SET_ITEM0(tmp_args_element_value_14, 2, tmp_list_element_1);
tmp_list_element_1 = Py_None;
PyList_SET_ITEM0(tmp_args_element_value_14, 3, tmp_list_element_1);
CHECK_OBJECT(var_query);
tmp_list_element_1 = var_query;
PyList_SET_ITEM0(tmp_args_element_value_14, 4, tmp_list_element_1);
CHECK_OBJECT(var_fragment);
tmp_list_element_1 = var_fragment;
PyList_SET_ITEM0(tmp_args_element_value_14, 5, tmp_list_element_1);
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 438;
tmp_args_element_value_13 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_23, tmp_args_element_value_14);
Py_DECREF(tmp_args_element_value_14);
if (tmp_args_element_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 438;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame.f_lineno = 438;
tmp_assign_source_36 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_22, tmp_args_element_value_13);
Py_DECREF(tmp_args_element_value_13);
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 438;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_url;
par_url = tmp_assign_source_36;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_url);
tmp_assattr_value_2 = par_url;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[1], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f17490b0af410405f38c2f6ab8ecce7d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f17490b0af410405f38c2f6ab8ecce7d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f17490b0af410405f38c2f6ab8ecce7d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f17490b0af410405f38c2f6ab8ecce7d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f17490b0af410405f38c2f6ab8ecce7d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f17490b0af410405f38c2f6ab8ecce7d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f17490b0af410405f38c2f6ab8ecce7d,
type_description_1,
par_self,
par_url,
par_params,
var_scheme,
var_auth,
var_host,
var_port,
var_path,
var_query,
var_fragment,
var_e,
var_error,
var_netloc,
var_enc_params
);
// Release cached frame if used for exception.
if (frame_f17490b0af410405f38c2f6ab8ecce7d == cache_frame_f17490b0af410405f38c2f6ab8ecce7d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f17490b0af410405f38c2f6ab8ecce7d);
cache_frame_f17490b0af410405f38c2f6ab8ecce7d = NULL;
}
assertFrameObject(frame_f17490b0af410405f38c2f6ab8ecce7d);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_url);
par_url = NULL;
Py_XDECREF(par_params);
par_params = NULL;
Py_XDECREF(var_scheme);
var_scheme = NULL;
Py_XDECREF(var_auth);
var_auth = NULL;
Py_XDECREF(var_host);
var_host = NULL;
Py_XDECREF(var_port);
var_port = NULL;
Py_XDECREF(var_path);
var_path = NULL;
Py_XDECREF(var_query);
var_query = NULL;
Py_XDECREF(var_fragment);
var_fragment = NULL;
Py_XDECREF(var_netloc);
var_netloc = NULL;
Py_XDECREF(var_enc_params);
var_enc_params = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_url);
par_url = NULL;
Py_XDECREF(par_params);
par_params = NULL;
Py_XDECREF(var_scheme);
var_scheme = NULL;
Py_XDECREF(var_auth);
var_auth = NULL;
Py_XDECREF(var_host);
var_host = NULL;
Py_XDECREF(var_port);
var_port = NULL;
Py_XDECREF(var_path);
var_path = NULL;
Py_XDECREF(var_query);
var_query = NULL;
Py_XDECREF(var_fragment);
var_fragment = NULL;
Py_XDECREF(var_error);
var_error = NULL;
Py_XDECREF(var_netloc);
var_netloc = NULL;
Py_XDECREF(var_enc_params);
var_enc_params = NULL;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto 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_requests$models$$$function__16_prepare_headers(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_headers = python_pars[1];
PyObject *var_header = NULL;
PyObject *var_name = NULL;
PyObject *var_value = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_836ebbb6c6c8f89e4be5c86ea8db4dec;
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;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
static struct Nuitka_FrameObject *cache_frame_836ebbb6c6c8f89e4be5c86ea8db4dec = NULL;
PyObject *tmp_return_value = 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_836ebbb6c6c8f89e4be5c86ea8db4dec)) {
Py_XDECREF(cache_frame_836ebbb6c6c8f89e4be5c86ea8db4dec);
#if _DEBUG_REFCOUNTS
if (cache_frame_836ebbb6c6c8f89e4be5c86ea8db4dec == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_836ebbb6c6c8f89e4be5c86ea8db4dec = MAKE_FUNCTION_FRAME(codeobj_836ebbb6c6c8f89e4be5c86ea8db4dec, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_836ebbb6c6c8f89e4be5c86ea8db4dec->m_type_description == NULL);
frame_836ebbb6c6c8f89e4be5c86ea8db4dec = cache_frame_836ebbb6c6c8f89e4be5c86ea8db4dec;
// Push the new frame as the currently active one.
pushFrameStack(frame_836ebbb6c6c8f89e4be5c86ea8db4dec);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_836ebbb6c6c8f89e4be5c86ea8db4dec) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_assattr_target_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[114]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[114]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 444;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_836ebbb6c6c8f89e4be5c86ea8db4dec->m_frame.f_lineno = 444;
tmp_assattr_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 444;
type_description_1 = "ooooo";
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[53], 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 = 444;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_headers);
tmp_truth_name_1 = CHECK_IF_TRUE(par_headers);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "ooooo";
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_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_headers);
tmp_expression_value_1 = par_headers;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[48]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_836ebbb6c6c8f89e4be5c86ea8db4dec->m_frame.f_lineno = 446;
tmp_iter_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
type_description_1 = "ooooo";
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 = 446;
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_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 = "ooooo";
exception_lineno = 446;
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_header;
var_header = tmp_assign_source_3;
Py_INCREF(var_header);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[115]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[115]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 448;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_header);
tmp_args_element_value_1 = var_header;
frame_836ebbb6c6c8f89e4be5c86ea8db4dec->m_frame.f_lineno = 448;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, 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 = 448;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(var_header);
tmp_iter_arg_2 = var_header;
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 = 449;
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 = 449;
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 = 449;
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 = 449;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[14];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooo";
exception_lineno = 449;
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_name;
var_name = tmp_assign_source_7;
Py_INCREF(var_name);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_value;
var_value = tmp_assign_source_8;
Py_INCREF(var_value);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_ass_subscript_1;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(var_value);
tmp_ass_subvalue_1 = var_value;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 450;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_2 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[53]);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 450;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subscribed_1);
exception_lineno = 450;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_name);
tmp_args_element_value_2 = var_name;
frame_836ebbb6c6c8f89e4be5c86ea8db4dec->m_frame.f_lineno = 450;
tmp_ass_subscript_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_2);
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 = 450;
type_description_1 = "ooooo";
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 = 450;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 446;
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;
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_836ebbb6c6c8f89e4be5c86ea8db4dec);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_836ebbb6c6c8f89e4be5c86ea8db4dec);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_836ebbb6c6c8f89e4be5c86ea8db4dec, exception_lineno);
} else if (exception_tb->tb_frame != &frame_836ebbb6c6c8f89e4be5c86ea8db4dec->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_836ebbb6c6c8f89e4be5c86ea8db4dec, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_836ebbb6c6c8f89e4be5c86ea8db4dec,
type_description_1,
par_self,
par_headers,
var_header,
var_name,
var_value
);
// Release cached frame if used for exception.
if (frame_836ebbb6c6c8f89e4be5c86ea8db4dec == cache_frame_836ebbb6c6c8f89e4be5c86ea8db4dec) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_836ebbb6c6c8f89e4be5c86ea8db4dec);
cache_frame_836ebbb6c6c8f89e4be5c86ea8db4dec = NULL;
}
assertFrameObject(frame_836ebbb6c6c8f89e4be5c86ea8db4dec);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_header);
var_header = NULL;
Py_XDECREF(var_name);
var_name = NULL;
Py_XDECREF(var_value);
var_value = 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_header);
var_header = NULL;
Py_XDECREF(var_name);
var_name = NULL;
Py_XDECREF(var_value);
var_value = 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_requests$models$$$function__17_prepare_body(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 *par_files = python_pars[2];
PyObject *par_json = python_pars[3];
PyObject *var_body = NULL;
PyObject *var_content_type = NULL;
nuitka_bool var_is_stream = NUITKA_BOOL_UNASSIGNED;
PyObject *var_length = 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_b9e8e6dcb71d78cd2aa3b14390ed2921;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
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_iterator_attempt;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_b9e8e6dcb71d78cd2aa3b14390ed2921 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = Py_None;
assert(var_body == NULL);
Py_INCREF(tmp_assign_source_1);
var_body = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = Py_None;
assert(var_content_type == NULL);
Py_INCREF(tmp_assign_source_2);
var_content_type = tmp_assign_source_2;
}
// Tried code:
if (isFrameUnusable(cache_frame_b9e8e6dcb71d78cd2aa3b14390ed2921)) {
Py_XDECREF(cache_frame_b9e8e6dcb71d78cd2aa3b14390ed2921);
#if _DEBUG_REFCOUNTS
if (cache_frame_b9e8e6dcb71d78cd2aa3b14390ed2921 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b9e8e6dcb71d78cd2aa3b14390ed2921 = MAKE_FUNCTION_FRAME(codeobj_b9e8e6dcb71d78cd2aa3b14390ed2921, module_requests$models, sizeof(nuitka_bool)+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_b9e8e6dcb71d78cd2aa3b14390ed2921->m_type_description == NULL);
frame_b9e8e6dcb71d78cd2aa3b14390ed2921 = cache_frame_b9e8e6dcb71d78cd2aa3b14390ed2921;
// Push the new frame as the currently active one.
pushFrameStack(frame_b9e8e6dcb71d78cd2aa3b14390ed2921);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b9e8e6dcb71d78cd2aa3b14390ed2921) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
int tmp_and_left_truth_1;
bool tmp_and_left_value_1;
bool tmp_and_right_value_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_data);
tmp_operand_value_1 = par_data;
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 = 462;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res == 0) ? true : false;
tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_json);
tmp_cmp_expr_left_1 = par_json;
tmp_cmp_expr_right_1 = Py_None;
tmp_and_right_value_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : 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 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = mod_consts[117];
{
PyObject *old = var_content_type;
assert(old != NULL);
var_content_type = tmp_assign_source_3;
Py_INCREF(var_content_type);
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[118]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[118]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 466;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_json);
tmp_args_element_value_1 = par_json;
frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame.f_lineno = 466;
tmp_assign_source_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[119], tmp_args_element_value_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 466;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_body;
assert(old != NULL);
var_body = tmp_assign_source_4;
Py_DECREF(old);
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_body);
tmp_isinstance_inst_1 = var_body;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
type_description_1 = "oooooobo";
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 = 467;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_operand_value_2 = (tmp_res != 0) ? 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 = 467;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_body);
tmp_expression_value_1 = var_body;
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 = 468;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame.f_lineno = 468;
tmp_assign_source_5 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[19]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_body;
assert(old != NULL);
var_body = tmp_assign_source_5;
Py_DECREF(old);
}
}
branch_no_2:;
branch_no_1:;
{
nuitka_bool tmp_assign_source_6;
PyObject *tmp_all_arg_1;
PyObject *tmp_list_element_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_1;
PyObject *tmp_capi_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_data);
tmp_expression_value_2 = par_data;
tmp_attribute_value_1 = mod_consts[12];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_2, tmp_attribute_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 471;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_list_element_1 = (tmp_res != 0) ? Py_True : Py_False;
tmp_all_arg_1 = MAKE_LIST_EMPTY(2);
{
PyObject *tmp_operand_value_3;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
PyObject *tmp_tuple_element_1;
PyList_SET_ITEM0(tmp_all_arg_1, 0, tmp_list_element_1);
CHECK_OBJECT(par_data);
tmp_isinstance_inst_2 = par_data;
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[15]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "oooooobo";
goto list_build_exception_1;
}
tmp_isinstance_cls_2 = MAKE_TUPLE_EMPTY(4);
PyTuple_SET_ITEM0(tmp_isinstance_cls_2, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = (PyObject *)&PyList_Type;
PyTuple_SET_ITEM0(tmp_isinstance_cls_2, 1, tmp_tuple_element_1);
tmp_tuple_element_1 = (PyObject *)&PyTuple_Type;
PyTuple_SET_ITEM0(tmp_isinstance_cls_2, 2, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[120]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[120]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "oooooobo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_isinstance_cls_2, 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_isinstance_cls_2);
goto list_build_exception_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2);
Py_DECREF(tmp_isinstance_cls_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "oooooobo";
goto list_build_exception_1;
}
tmp_operand_value_3 = (tmp_res != 0) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "oooooobo";
goto list_build_exception_1;
}
tmp_list_element_1 = (tmp_res == 0) ? Py_True : Py_False;
PyList_SET_ITEM0(tmp_all_arg_1, 1, tmp_list_element_1);
}
goto list_build_noexception_1;
// Exception handling pass through code for list_build:
list_build_exception_1:;
Py_DECREF(tmp_all_arg_1);
goto frame_exception_exit_1;
// Finished with no exception for list_build:
list_build_noexception_1:;
tmp_capi_result_1 = BUILTIN_ALL(tmp_all_arg_1);
Py_DECREF(tmp_all_arg_1);
if (tmp_capi_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 470;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_capi_result_1);
assert(!(tmp_truth_name_1 == -1));
tmp_assign_source_6 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_capi_result_1);
var_is_stream = tmp_assign_source_6;
}
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[121]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[121]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 476;
type_description_1 = "oooooobo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_data);
tmp_args_element_value_2 = par_data;
frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame.f_lineno = 476;
tmp_assign_source_7 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 476;
type_description_1 = "oooooobo";
goto try_except_handler_2;
}
assert(var_length == NULL);
var_length = tmp_assign_source_7;
}
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_b9e8e6dcb71d78cd2aa3b14390ed2921, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_b9e8e6dcb71d78cd2aa3b14390ed2921, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_tuple_element_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_tuple_element_2 = PyExc_TypeError;
tmp_cmp_expr_right_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_cmp_expr_right_2, 0, tmp_tuple_element_2);
tmp_tuple_element_2 = PyExc_AttributeError;
PyTuple_SET_ITEM0(tmp_cmp_expr_right_2, 1, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_1 = "oooooobo";
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_2, 2, tmp_tuple_element_2);
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_cmp_expr_right_2);
goto try_except_handler_3;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_1 = "oooooobo";
goto try_except_handler_3;
}
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_8;
tmp_assign_source_8 = Py_None;
assert(var_length == NULL);
Py_INCREF(tmp_assign_source_8);
var_length = tmp_assign_source_8;
}
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 475;
}
if (exception_tb && exception_tb->tb_frame == &frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame) frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooobo";
goto try_except_handler_3;
branch_end_3:;
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:;
{
bool tmp_condition_result_4;
assert(var_is_stream != NUITKA_BOOL_UNASSIGNED);
tmp_condition_result_4 = var_is_stream == NUITKA_BOOL_TRUE;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_9;
if (par_data == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 481;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_assign_source_9 = par_data;
{
PyObject *old = var_body;
assert(old != NULL);
var_body = tmp_assign_source_9;
Py_INCREF(var_body);
Py_DECREF(old);
}
}
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
CHECK_OBJECT(var_body);
tmp_getattr_target_1 = var_body;
tmp_getattr_attr_1 = mod_consts[123];
tmp_getattr_default_1 = Py_None;
tmp_cmp_expr_left_3 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 483;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_3 != tmp_cmp_expr_right_3) ? true : false;
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
// Tried code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(var_body);
tmp_called_instance_2 = var_body;
frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame.f_lineno = 488;
tmp_assattr_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[123]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 488;
type_description_1 = "oooooobo";
goto try_except_handler_4;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[67], 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 = 488;
type_description_1 = "oooooobo";
goto try_except_handler_4;
}
}
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;
// 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_b9e8e6dcb71d78cd2aa3b14390ed2921, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_b9e8e6dcb71d78cd2aa3b14390ed2921, 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_6;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
tmp_cmp_expr_left_4 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_4 = mod_consts[124];
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 489;
type_description_1 = "oooooobo";
goto try_except_handler_5;
}
tmp_condition_result_6 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_value_3;
PyObject *tmp_assattr_target_2;
tmp_called_value_3 = (PyObject *)&PyBaseObject_Type;
frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame.f_lineno = 492;
tmp_assattr_value_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 492;
type_description_1 = "oooooobo";
goto try_except_handler_5;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[67], 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 = 492;
type_description_1 = "oooooobo";
goto try_except_handler_5;
}
}
goto branch_end_6;
branch_no_6:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 487;
}
if (exception_tb && exception_tb->tb_frame == &frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame) frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooobo";
goto try_except_handler_5;
branch_end_6:;
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:;
branch_no_5:;
{
nuitka_bool tmp_condition_result_7;
int tmp_truth_name_2;
CHECK_OBJECT(par_files);
tmp_truth_name_2 = CHECK_IF_TRUE(par_files);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 494;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_7 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[125];
frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame.f_lineno = 495;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_NotImplementedError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 495;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
branch_no_7:;
{
nuitka_bool tmp_condition_result_8;
int tmp_truth_name_3;
CHECK_OBJECT(var_length);
tmp_truth_name_3 = CHECK_IF_TRUE(var_length);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 497;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_8 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_3;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_ass_subscript_1;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[126]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[126]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 498;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_length);
tmp_args_element_value_3 = var_length;
frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame.f_lineno = 498;
tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_3);
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 498;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[53]);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subvalue_1);
exception_lineno = 498;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_ass_subscript_1 = mod_consts[127];
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_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 498;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
}
goto branch_end_8;
branch_no_8:;
{
PyObject *tmp_ass_subvalue_2;
PyObject *tmp_ass_subscribed_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_ass_subscript_2;
tmp_ass_subvalue_2 = mod_consts[128];
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_ass_subscribed_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[53]);
if (tmp_ass_subscribed_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_ass_subscript_2 = mod_consts[129];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2);
Py_DECREF(tmp_ass_subscribed_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
}
branch_end_8:;
goto branch_end_4;
branch_no_4:;
{
nuitka_bool tmp_condition_result_9;
int tmp_truth_name_4;
CHECK_OBJECT(par_files);
tmp_truth_name_4 = CHECK_IF_TRUE(par_files);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_9 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
// Tried code:
{
PyObject *tmp_assign_source_10;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[130]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 504;
type_description_1 = "oooooobo";
goto try_except_handler_6;
}
CHECK_OBJECT(par_files);
tmp_args_element_value_4 = par_files;
if (par_data == NULL) {
Py_DECREF(tmp_called_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 504;
type_description_1 = "oooooobo";
goto try_except_handler_6;
}
tmp_args_element_value_5 = par_data;
frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame.f_lineno = 504;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 504;
type_description_1 = "oooooobo";
goto try_except_handler_6;
}
tmp_assign_source_10 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 504;
type_description_1 = "oooooobo";
goto try_except_handler_6;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_10;
}
// Tried code:
{
PyObject *tmp_assign_source_11;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_11 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_11 == 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 = "oooooobo";
exception_lineno = 504;
goto try_except_handler_7;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_11;
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_12 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_12 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooobo";
exception_lineno = 504;
goto try_except_handler_7;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_12;
}
{
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 = "oooooobo";
exception_lineno = 504;
goto try_except_handler_7;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[14];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooobo";
exception_lineno = 504;
goto try_except_handler_7;
}
}
goto try_end_5;
// Exception handler code:
try_except_handler_7:;
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_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_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_6;
// End of try:
try_end_5:;
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;
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_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:;
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_13;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_13 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_body;
assert(old != NULL);
var_body = tmp_assign_source_13;
Py_INCREF(var_body);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_14;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_14 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_content_type;
assert(old != NULL);
var_content_type = tmp_assign_source_14;
Py_INCREF(var_content_type);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
goto branch_end_9;
branch_no_9:;
{
nuitka_bool tmp_condition_result_10;
int tmp_truth_name_5;
if (par_data == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 506;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_truth_name_5 = CHECK_IF_TRUE(par_data);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 506;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_condition_result_10 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_6;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[109]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 507;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
if (par_data == NULL) {
Py_DECREF(tmp_called_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 507;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = par_data;
frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame.f_lineno = 507;
tmp_assign_source_15 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_6);
Py_DECREF(tmp_called_value_6);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 507;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_body;
assert(old != NULL);
var_body = tmp_assign_source_15;
Py_DECREF(old);
}
}
{
nuitka_bool tmp_condition_result_11;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_isinstance_inst_3;
PyObject *tmp_isinstance_cls_3;
PyObject *tmp_expression_value_7;
PyObject *tmp_attribute_value_2;
if (par_data == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 508;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_isinstance_inst_3 = par_data;
tmp_isinstance_cls_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[15]);
if (unlikely(tmp_isinstance_cls_3 == NULL)) {
tmp_isinstance_cls_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]);
}
if (tmp_isinstance_cls_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 508;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_3, tmp_isinstance_cls_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 508;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 508;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
if (par_data == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 508;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_expression_value_7 = par_data;
tmp_attribute_value_2 = mod_consts[11];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_7, tmp_attribute_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 508;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_11 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_11 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_assign_source_16;
tmp_assign_source_16 = Py_None;
{
PyObject *old = var_content_type;
assert(old != NULL);
var_content_type = tmp_assign_source_16;
Py_INCREF(var_content_type);
Py_DECREF(old);
}
}
goto branch_end_11;
branch_no_11:;
{
PyObject *tmp_assign_source_17;
tmp_assign_source_17 = mod_consts[131];
{
PyObject *old = var_content_type;
assert(old != NULL);
var_content_type = tmp_assign_source_17;
Py_INCREF(var_content_type);
Py_DECREF(old);
}
}
branch_end_11:;
branch_no_10:;
branch_end_9:;
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_7;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 513;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_called_instance_3 = par_self;
CHECK_OBJECT(var_body);
tmp_args_element_value_7 = var_body;
frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame.f_lineno = 513;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[132], 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 = 513;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
nuitka_bool tmp_condition_result_12;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
int tmp_truth_name_6;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(var_content_type);
tmp_truth_name_6 = CHECK_IF_TRUE(var_content_type);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 516;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 516;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
tmp_cmp_expr_left_5 = mod_consts[133];
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 516;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_expression_value_8 = par_self;
tmp_cmp_expr_right_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[53]);
if (tmp_cmp_expr_right_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 516;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_5, tmp_cmp_expr_left_5);
Py_DECREF(tmp_cmp_expr_right_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 516;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_12 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_condition_result_12 = tmp_and_left_value_2;
and_end_2:;
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
PyObject *tmp_ass_subvalue_3;
PyObject *tmp_ass_subscribed_3;
PyObject *tmp_expression_value_9;
PyObject *tmp_ass_subscript_3;
CHECK_OBJECT(var_content_type);
tmp_ass_subvalue_3 = var_content_type;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 517;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_expression_value_9 = par_self;
tmp_ass_subscribed_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[53]);
if (tmp_ass_subscribed_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_ass_subscript_3 = mod_consts[134];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3);
Py_DECREF(tmp_ass_subscribed_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
}
branch_no_12:;
branch_end_4:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
if (var_body == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[66]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 519;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_assattr_value_3 = var_body;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 519;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[66], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 519;
type_description_1 = "oooooobo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b9e8e6dcb71d78cd2aa3b14390ed2921);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b9e8e6dcb71d78cd2aa3b14390ed2921);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b9e8e6dcb71d78cd2aa3b14390ed2921, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b9e8e6dcb71d78cd2aa3b14390ed2921->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b9e8e6dcb71d78cd2aa3b14390ed2921, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b9e8e6dcb71d78cd2aa3b14390ed2921,
type_description_1,
par_self,
par_data,
par_files,
par_json,
var_body,
var_content_type,
(int)var_is_stream,
var_length
);
// Release cached frame if used for exception.
if (frame_b9e8e6dcb71d78cd2aa3b14390ed2921 == cache_frame_b9e8e6dcb71d78cd2aa3b14390ed2921) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b9e8e6dcb71d78cd2aa3b14390ed2921);
cache_frame_b9e8e6dcb71d78cd2aa3b14390ed2921 = NULL;
}
assertFrameObject(frame_b9e8e6dcb71d78cd2aa3b14390ed2921);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_body);
var_body = NULL;
CHECK_OBJECT(var_content_type);
Py_DECREF(var_content_type);
var_content_type = NULL;
assert(var_is_stream != NUITKA_BOOL_UNASSIGNED);
var_is_stream = NUITKA_BOOL_UNASSIGNED;
CHECK_OBJECT(var_length);
Py_DECREF(var_length);
var_length = 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_body);
var_body = NULL;
CHECK_OBJECT(var_content_type);
Py_DECREF(var_content_type);
var_content_type = NULL;
var_is_stream = NUITKA_BOOL_UNASSIGNED;
Py_XDECREF(var_length);
var_length = 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);
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
CHECK_OBJECT(par_files);
Py_DECREF(par_files);
CHECK_OBJECT(par_json);
Py_DECREF(par_json);
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);
CHECK_OBJECT(par_files);
Py_DECREF(par_files);
CHECK_OBJECT(par_json);
Py_DECREF(par_json);
// 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_requests$models$$$function__18_prepare_content_length(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_body = python_pars[1];
PyObject *var_length = NULL;
struct Nuitka_FrameObject *frame_8b76ced077ff45370d95f824f758b4e6;
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;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_8b76ced077ff45370d95f824f758b4e6 = 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_8b76ced077ff45370d95f824f758b4e6)) {
Py_XDECREF(cache_frame_8b76ced077ff45370d95f824f758b4e6);
#if _DEBUG_REFCOUNTS
if (cache_frame_8b76ced077ff45370d95f824f758b4e6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8b76ced077ff45370d95f824f758b4e6 = MAKE_FUNCTION_FRAME(codeobj_8b76ced077ff45370d95f824f758b4e6, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8b76ced077ff45370d95f824f758b4e6->m_type_description == NULL);
frame_8b76ced077ff45370d95f824f758b4e6 = cache_frame_8b76ced077ff45370d95f824f758b4e6;
// Push the new frame as the currently active one.
pushFrameStack(frame_8b76ced077ff45370d95f824f758b4e6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8b76ced077ff45370d95f824f758b4e6) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_body);
tmp_cmp_expr_left_1 = par_body;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[121]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[121]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_body);
tmp_args_element_value_1 = par_body;
frame_8b76ced077ff45370d95f824f758b4e6->m_frame.f_lineno = 524;
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 = 524;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_length == NULL);
var_length = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
CHECK_OBJECT(var_length);
tmp_truth_name_1 = CHECK_IF_TRUE(var_length);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 525;
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_ass_subvalue_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_ass_subscript_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[126]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[126]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_length);
tmp_args_element_value_2 = var_length;
frame_8b76ced077ff45370d95f824f758b4e6->m_frame.f_lineno = 528;
tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[53]);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subvalue_1);
exception_lineno = 528;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_ass_subscript_1 = mod_consts[127];
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_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
branch_no_2:;
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_3;
int tmp_and_left_truth_1;
bool tmp_and_left_value_1;
bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[52]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = mod_consts[136];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res == 0) ? true : false;
tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[53]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[137]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_8b76ced077ff45370d95f824f758b4e6->m_frame.f_lineno = 529;
tmp_cmp_expr_left_3 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[138]);
Py_DECREF(tmp_called_value_3);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = Py_None;
tmp_and_right_value_1 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
Py_DECREF(tmp_cmp_expr_left_3);
tmp_condition_result_3 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_3 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_ass_subvalue_2;
PyObject *tmp_ass_subscribed_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_ass_subscript_2;
tmp_ass_subvalue_2 = mod_consts[139];
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_ass_subscribed_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[53]);
if (tmp_ass_subscribed_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_ass_subscript_2 = mod_consts[127];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2);
Py_DECREF(tmp_ass_subscribed_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
branch_no_3:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8b76ced077ff45370d95f824f758b4e6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8b76ced077ff45370d95f824f758b4e6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8b76ced077ff45370d95f824f758b4e6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8b76ced077ff45370d95f824f758b4e6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8b76ced077ff45370d95f824f758b4e6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8b76ced077ff45370d95f824f758b4e6,
type_description_1,
par_self,
par_body,
var_length
);
// Release cached frame if used for exception.
if (frame_8b76ced077ff45370d95f824f758b4e6 == cache_frame_8b76ced077ff45370d95f824f758b4e6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8b76ced077ff45370d95f824f758b4e6);
cache_frame_8b76ced077ff45370d95f824f758b4e6 = NULL;
}
assertFrameObject(frame_8b76ced077ff45370d95f824f758b4e6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_length);
var_length = 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_length);
var_length = 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_body);
Py_DECREF(par_body);
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_body);
Py_DECREF(par_body);
// 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_requests$models$$$function__19_prepare_auth(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_auth = python_pars[1];
PyObject *par_url = python_pars[2];
PyObject *var_url_auth = NULL;
PyObject *var_r = NULL;
struct Nuitka_FrameObject *frame_c1a08eb2e379237acb274d07ee9ab155;
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_c1a08eb2e379237acb274d07ee9ab155 = 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_c1a08eb2e379237acb274d07ee9ab155)) {
Py_XDECREF(cache_frame_c1a08eb2e379237acb274d07ee9ab155);
#if _DEBUG_REFCOUNTS
if (cache_frame_c1a08eb2e379237acb274d07ee9ab155 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c1a08eb2e379237acb274d07ee9ab155 = MAKE_FUNCTION_FRAME(codeobj_c1a08eb2e379237acb274d07ee9ab155, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c1a08eb2e379237acb274d07ee9ab155->m_type_description == NULL);
frame_c1a08eb2e379237acb274d07ee9ab155 = cache_frame_c1a08eb2e379237acb274d07ee9ab155;
// Push the new frame as the currently active one.
pushFrameStack(frame_c1a08eb2e379237acb274d07ee9ab155);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c1a08eb2e379237acb274d07ee9ab155) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_auth);
tmp_cmp_expr_left_1 = par_auth;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[141]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[141]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_c1a08eb2e379237acb274d07ee9ab155->m_frame.f_lineno = 539;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_url_auth == NULL);
var_url_auth = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
bool tmp_condition_result_2;
PyObject *tmp_any_arg_1;
PyObject *tmp_capi_result_1;
CHECK_OBJECT(var_url_auth);
tmp_any_arg_1 = var_url_auth;
tmp_capi_result_1 = BUILTIN_ANY(tmp_any_arg_1);
if (tmp_capi_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 540;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = CHECK_IF_TRUE(tmp_capi_result_1) == 1;
Py_DECREF(tmp_capi_result_1);
if (tmp_condition_result_2 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(var_url_auth);
tmp_assign_source_2 = var_url_auth;
goto condexpr_end_1;
condexpr_false_1:;
tmp_assign_source_2 = Py_None;
condexpr_end_1:;
{
PyObject *old = par_auth;
assert(old != NULL);
par_auth = tmp_assign_source_2;
Py_INCREF(par_auth);
Py_DECREF(old);
}
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_3;
int tmp_truth_name_1;
CHECK_OBJECT(par_auth);
tmp_truth_name_1 = CHECK_IF_TRUE(par_auth);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 542;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
nuitka_bool tmp_condition_result_4;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_cmp_expr_left_2;
nuitka_digit tmp_cmp_expr_right_2;
PyObject *tmp_len_arg_1;
bool tmp_tmp_and_right_value_1_cbool_1;
CHECK_OBJECT(par_auth);
tmp_isinstance_inst_1 = par_auth;
tmp_isinstance_cls_1 = (PyObject *)&PyTuple_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 = 543;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
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 = 543;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_auth);
tmp_len_arg_1 = par_auth;
tmp_cmp_expr_left_2 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 543;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = 2;
tmp_tmp_and_right_value_1_cbool_1 = RICH_COMPARE_EQ_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
tmp_and_right_value_1 = tmp_tmp_and_right_value_1_cbool_1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_4 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_4 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
tmp_dircall_arg1_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[142]);
if (unlikely(tmp_dircall_arg1_1 == NULL)) {
tmp_dircall_arg1_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[142]);
}
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 545;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (par_auth == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[58]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 545;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg2_1 = par_auth;
Py_INCREF(tmp_dircall_arg1_1);
Py_INCREF(tmp_dircall_arg2_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
tmp_assign_source_3 = impl___main__$$$function__2_complex_call_helper_star_list(dir_call_args);
}
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 545;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_auth;
par_auth = tmp_assign_source_3;
Py_XDECREF(old);
}
}
branch_no_3:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
if (par_auth == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[58]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 548;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = par_auth;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 548;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = par_self;
frame_c1a08eb2e379237acb274d07ee9ab155->m_frame.f_lineno = 548;
tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 548;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_r == NULL);
var_r = tmp_assign_source_4;
}
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_4;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 551;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE_DICT_SLOT(tmp_expression_value_3);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 551;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[143]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 551;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_r);
tmp_expression_value_4 = var_r;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE_DICT_SLOT(tmp_expression_value_4);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 551;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_c1a08eb2e379237acb274d07ee9ab155->m_frame.f_lineno = 551;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_3);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 551;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_6;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 554;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = par_self;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[132]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 554;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 554;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = par_self;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[66]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 554;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_c1a08eb2e379237acb274d07ee9ab155->m_frame.f_lineno = 554;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 554;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c1a08eb2e379237acb274d07ee9ab155);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c1a08eb2e379237acb274d07ee9ab155);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c1a08eb2e379237acb274d07ee9ab155, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c1a08eb2e379237acb274d07ee9ab155->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c1a08eb2e379237acb274d07ee9ab155, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c1a08eb2e379237acb274d07ee9ab155,
type_description_1,
par_self,
par_auth,
par_url,
var_url_auth,
var_r
);
// Release cached frame if used for exception.
if (frame_c1a08eb2e379237acb274d07ee9ab155 == cache_frame_c1a08eb2e379237acb274d07ee9ab155) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c1a08eb2e379237acb274d07ee9ab155);
cache_frame_c1a08eb2e379237acb274d07ee9ab155 = NULL;
}
assertFrameObject(frame_c1a08eb2e379237acb274d07ee9ab155);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_auth);
par_auth = NULL;
Py_XDECREF(var_url_auth);
var_url_auth = NULL;
Py_XDECREF(var_r);
var_r = 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_auth);
par_auth = NULL;
Py_XDECREF(var_url_auth);
var_url_auth = NULL;
Py_XDECREF(var_r);
var_r = 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_url);
Py_DECREF(par_url);
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_url);
Py_DECREF(par_url);
// 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_requests$models$$$function__20_prepare_cookies(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_cookies = python_pars[1];
PyObject *var_cookie_header = NULL;
struct Nuitka_FrameObject *frame_4a526cbf1efe3c4ac6c170663a9fa3d3;
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;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_4a526cbf1efe3c4ac6c170663a9fa3d3 = 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_4a526cbf1efe3c4ac6c170663a9fa3d3)) {
Py_XDECREF(cache_frame_4a526cbf1efe3c4ac6c170663a9fa3d3);
#if _DEBUG_REFCOUNTS
if (cache_frame_4a526cbf1efe3c4ac6c170663a9fa3d3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4a526cbf1efe3c4ac6c170663a9fa3d3 = MAKE_FUNCTION_FRAME(codeobj_4a526cbf1efe3c4ac6c170663a9fa3d3, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4a526cbf1efe3c4ac6c170663a9fa3d3->m_type_description == NULL);
frame_4a526cbf1efe3c4ac6c170663a9fa3d3 = cache_frame_4a526cbf1efe3c4ac6c170663a9fa3d3;
// Push the new frame as the currently active one.
pushFrameStack(frame_4a526cbf1efe3c4ac6c170663a9fa3d3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4a526cbf1efe3c4ac6c170663a9fa3d3) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_cookies);
tmp_isinstance_inst_1 = par_cookies;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[145]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[145]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 567;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[146]);
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 567;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
Py_DECREF(tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 567;
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_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_cookies);
tmp_assattr_value_1 = par_cookies;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[65], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 568;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_assattr_target_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_cookies);
tmp_args_element_value_1 = par_cookies;
frame_4a526cbf1efe3c4ac6c170663a9fa3d3->m_frame.f_lineno = 570;
tmp_assattr_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_1 = "ooo";
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[65], 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 = 570;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
branch_end_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 572;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[65]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 572;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_3 = par_self;
frame_4a526cbf1efe3c4ac6c170663a9fa3d3->m_frame.f_lineno = 572;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 572;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_cookie_header == NULL);
var_cookie_header = tmp_assign_source_1;
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_cookie_header);
tmp_cmp_expr_left_1 = var_cookie_header;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(var_cookie_header);
tmp_ass_subvalue_1 = var_cookie_header;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[53]);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_ass_subscript_1 = mod_consts[149];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscribed_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
branch_no_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4a526cbf1efe3c4ac6c170663a9fa3d3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4a526cbf1efe3c4ac6c170663a9fa3d3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4a526cbf1efe3c4ac6c170663a9fa3d3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4a526cbf1efe3c4ac6c170663a9fa3d3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4a526cbf1efe3c4ac6c170663a9fa3d3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4a526cbf1efe3c4ac6c170663a9fa3d3,
type_description_1,
par_self,
par_cookies,
var_cookie_header
);
// Release cached frame if used for exception.
if (frame_4a526cbf1efe3c4ac6c170663a9fa3d3 == cache_frame_4a526cbf1efe3c4ac6c170663a9fa3d3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4a526cbf1efe3c4ac6c170663a9fa3d3);
cache_frame_4a526cbf1efe3c4ac6c170663a9fa3d3 = NULL;
}
assertFrameObject(frame_4a526cbf1efe3c4ac6c170663a9fa3d3);
// 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_cookie_header);
Py_DECREF(var_cookie_header);
var_cookie_header = 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_cookie_header);
var_cookie_header = 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_cookies);
Py_DECREF(par_cookies);
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_cookies);
Py_DECREF(par_cookies);
// 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_requests$models$$$function__21_prepare_hooks(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_hooks = python_pars[1];
PyObject *var_event = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_df14be24c420a238fc70ee6f0d2d7ffd;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_df14be24c420a238fc70ee6f0d2d7ffd = 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_df14be24c420a238fc70ee6f0d2d7ffd)) {
Py_XDECREF(cache_frame_df14be24c420a238fc70ee6f0d2d7ffd);
#if _DEBUG_REFCOUNTS
if (cache_frame_df14be24c420a238fc70ee6f0d2d7ffd == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_df14be24c420a238fc70ee6f0d2d7ffd = MAKE_FUNCTION_FRAME(codeobj_df14be24c420a238fc70ee6f0d2d7ffd, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_df14be24c420a238fc70ee6f0d2d7ffd->m_type_description == NULL);
frame_df14be24c420a238fc70ee6f0d2d7ffd = cache_frame_df14be24c420a238fc70ee6f0d2d7ffd;
// Push the new frame as the currently active one.
pushFrameStack(frame_df14be24c420a238fc70ee6f0d2d7ffd);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_df14be24c420a238fc70ee6f0d2d7ffd) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
CHECK_OBJECT(par_hooks);
tmp_or_left_value_1 = par_hooks;
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 = 581;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_or_right_value_1 = MAKE_LIST_EMPTY(0);
tmp_assign_source_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
Py_INCREF(tmp_or_left_value_1);
tmp_assign_source_1 = tmp_or_left_value_1;
or_end_1:;
{
PyObject *old = par_hooks;
assert(old != NULL);
par_hooks = tmp_assign_source_1;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(par_hooks);
tmp_iter_arg_1 = par_hooks;
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 = 582;
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 = 582;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_event;
var_event = tmp_assign_source_4;
Py_INCREF(var_event);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[49]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 583;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_expression_value_1 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[50]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 583;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_event);
tmp_args_element_value_1 = var_event;
CHECK_OBJECT(par_hooks);
tmp_expression_value_2 = par_hooks;
CHECK_OBJECT(var_event);
tmp_subscript_value_1 = var_event;
tmp_args_element_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_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_1);
exception_lineno = 583;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_df14be24c420a238fc70ee6f0d2d7ffd->m_frame.f_lineno = 583;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 583;
type_description_1 = "ooo";
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 = 582;
type_description_1 = "ooo";
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_df14be24c420a238fc70ee6f0d2d7ffd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_df14be24c420a238fc70ee6f0d2d7ffd);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_df14be24c420a238fc70ee6f0d2d7ffd, exception_lineno);
} else if (exception_tb->tb_frame != &frame_df14be24c420a238fc70ee6f0d2d7ffd->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_df14be24c420a238fc70ee6f0d2d7ffd, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_df14be24c420a238fc70ee6f0d2d7ffd,
type_description_1,
par_self,
par_hooks,
var_event
);
// Release cached frame if used for exception.
if (frame_df14be24c420a238fc70ee6f0d2d7ffd == cache_frame_df14be24c420a238fc70ee6f0d2d7ffd) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_df14be24c420a238fc70ee6f0d2d7ffd);
cache_frame_df14be24c420a238fc70ee6f0d2d7ffd = NULL;
}
assertFrameObject(frame_df14be24c420a238fc70ee6f0d2d7ffd);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_hooks);
Py_DECREF(par_hooks);
par_hooks = NULL;
Py_XDECREF(var_event);
var_event = 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(par_hooks);
par_hooks = NULL;
Py_XDECREF(var_event);
var_event = 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);
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_requests$models$$$function__22___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];
struct Nuitka_FrameObject *frame_0b2ae2e33e2e352089aaa99c31d12a1e;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_0b2ae2e33e2e352089aaa99c31d12a1e = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_0b2ae2e33e2e352089aaa99c31d12a1e)) {
Py_XDECREF(cache_frame_0b2ae2e33e2e352089aaa99c31d12a1e);
#if _DEBUG_REFCOUNTS
if (cache_frame_0b2ae2e33e2e352089aaa99c31d12a1e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0b2ae2e33e2e352089aaa99c31d12a1e = MAKE_FUNCTION_FRAME(codeobj_0b2ae2e33e2e352089aaa99c31d12a1e, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0b2ae2e33e2e352089aaa99c31d12a1e->m_type_description == NULL);
frame_0b2ae2e33e2e352089aaa99c31d12a1e = cache_frame_0b2ae2e33e2e352089aaa99c31d12a1e;
// Push the new frame as the currently active one.
pushFrameStack(frame_0b2ae2e33e2e352089aaa99c31d12a1e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0b2ae2e33e2e352089aaa99c31d12a1e) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[152], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 597;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[153], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 598;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[154], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 599;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[155], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 602;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_called_value_1;
PyObject *tmp_assattr_target_5;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[114]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[114]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 607;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_0b2ae2e33e2e352089aaa99c31d12a1e->m_frame.f_lineno = 607;
tmp_assattr_value_5 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assattr_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 607;
type_description_1 = "o";
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[53], 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 = 607;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
tmp_assattr_value_6 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[156], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 612;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_assattr_target_7;
tmp_assattr_value_7 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[1], tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 615;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_8;
PyObject *tmp_assattr_target_8;
tmp_assattr_value_8 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_8 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[157], tmp_assattr_value_8);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 618;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_9;
PyObject *tmp_assattr_target_9;
tmp_assattr_value_9 = MAKE_LIST_EMPTY(0);
CHECK_OBJECT(par_self);
tmp_assattr_target_9 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[158], tmp_assattr_value_9);
Py_DECREF(tmp_assattr_value_9);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 623;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_10;
PyObject *tmp_assattr_target_10;
tmp_assattr_value_10 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_10 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_10, mod_consts[159], tmp_assattr_value_10);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 626;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_11;
PyObject *tmp_called_value_2;
PyObject *tmp_call_arg_element_1;
PyObject *tmp_assattr_target_11;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 629;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_call_arg_element_1 = MAKE_DICT_EMPTY();
frame_0b2ae2e33e2e352089aaa99c31d12a1e->m_frame.f_lineno = 629;
tmp_assattr_value_11 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_call_arg_element_1);
Py_DECREF(tmp_call_arg_element_1);
if (tmp_assattr_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 629;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_11 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_11, mod_consts[59], tmp_assattr_value_11);
Py_DECREF(tmp_assattr_value_11);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 629;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_12;
PyObject *tmp_called_instance_1;
PyObject *tmp_assattr_target_12;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[160]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[160]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 637;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_0b2ae2e33e2e352089aaa99c31d12a1e->m_frame.f_lineno = 637;
tmp_assattr_value_12 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[161],
PyTuple_GET_ITEM(mod_consts[162], 0)
);
if (tmp_assattr_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 637;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_12 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_12, mod_consts[163], tmp_assattr_value_12);
Py_DECREF(tmp_assattr_value_12);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 637;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_13;
PyObject *tmp_assattr_target_13;
tmp_assattr_value_13 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_13 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_13, mod_consts[164], tmp_assattr_value_13);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 641;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0b2ae2e33e2e352089aaa99c31d12a1e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0b2ae2e33e2e352089aaa99c31d12a1e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0b2ae2e33e2e352089aaa99c31d12a1e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0b2ae2e33e2e352089aaa99c31d12a1e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0b2ae2e33e2e352089aaa99c31d12a1e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0b2ae2e33e2e352089aaa99c31d12a1e,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_0b2ae2e33e2e352089aaa99c31d12a1e == cache_frame_0b2ae2e33e2e352089aaa99c31d12a1e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0b2ae2e33e2e352089aaa99c31d12a1e);
cache_frame_0b2ae2e33e2e352089aaa99c31d12a1e = NULL;
}
assertFrameObject(frame_0b2ae2e33e2e352089aaa99c31d12a1e);
// 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);
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_requests$models$$$function__23___enter__(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 *tmp_return_value = NULL;
// Actual function body.
CHECK_OBJECT(par_self);
tmp_return_value = par_self;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
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_requests$models$$$function__24___exit__(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];
struct Nuitka_FrameObject *frame_3333536072dc4275875c2a30865d5681;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_3333536072dc4275875c2a30865d5681 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_3333536072dc4275875c2a30865d5681)) {
Py_XDECREF(cache_frame_3333536072dc4275875c2a30865d5681);
#if _DEBUG_REFCOUNTS
if (cache_frame_3333536072dc4275875c2a30865d5681 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3333536072dc4275875c2a30865d5681 = MAKE_FUNCTION_FRAME(codeobj_3333536072dc4275875c2a30865d5681, module_requests$models, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3333536072dc4275875c2a30865d5681->m_type_description == NULL);
frame_3333536072dc4275875c2a30865d5681 = cache_frame_3333536072dc4275875c2a30865d5681;
// Push the new frame as the currently active one.
pushFrameStack(frame_3333536072dc4275875c2a30865d5681);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3333536072dc4275875c2a30865d5681) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_3333536072dc4275875c2a30865d5681->m_frame.f_lineno = 647;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[165]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 647;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3333536072dc4275875c2a30865d5681);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3333536072dc4275875c2a30865d5681);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3333536072dc4275875c2a30865d5681, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3333536072dc4275875c2a30865d5681->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3333536072dc4275875c2a30865d5681, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3333536072dc4275875c2a30865d5681,
type_description_1,
par_self,
par_args
);
// Release cached frame if used for exception.
if (frame_3333536072dc4275875c2a30865d5681 == cache_frame_3333536072dc4275875c2a30865d5681) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3333536072dc4275875c2a30865d5681);
cache_frame_3333536072dc4275875c2a30865d5681 = NULL;
}
assertFrameObject(frame_3333536072dc4275875c2a30865d5681);
// 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_args);
Py_DECREF(par_args);
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);
// 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_requests$models$$$function__25___getstate__(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 *outline_0_var_attr = NULL;
PyObject *tmp_dictcontraction_1__$0 = NULL;
PyObject *tmp_dictcontraction_1__contraction = NULL;
PyObject *tmp_dictcontraction_1__iter_value_0 = NULL;
struct Nuitka_FrameObject *frame_78cbe34d571a814a06e69dd225d4cc49;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
struct Nuitka_FrameObject *frame_f686c9a138c90220a0651df082ce7903_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_f686c9a138c90220a0651df082ce7903_2 = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_78cbe34d571a814a06e69dd225d4cc49 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_78cbe34d571a814a06e69dd225d4cc49)) {
Py_XDECREF(cache_frame_78cbe34d571a814a06e69dd225d4cc49);
#if _DEBUG_REFCOUNTS
if (cache_frame_78cbe34d571a814a06e69dd225d4cc49 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_78cbe34d571a814a06e69dd225d4cc49 = MAKE_FUNCTION_FRAME(codeobj_78cbe34d571a814a06e69dd225d4cc49, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_78cbe34d571a814a06e69dd225d4cc49->m_type_description == NULL);
frame_78cbe34d571a814a06e69dd225d4cc49 = cache_frame_78cbe34d571a814a06e69dd225d4cc49;
// Push the new frame as the currently active one.
pushFrameStack(frame_78cbe34d571a814a06e69dd225d4cc49);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_78cbe34d571a814a06e69dd225d4cc49) == 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[153]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 652;
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 = 652;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[166]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 653;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_attribute_value_1);
}
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_iter_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[167]);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 655;
type_description_1 = "o";
goto try_except_handler_1;
}
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 655;
type_description_1 = "o";
goto try_except_handler_1;
}
assert(tmp_dictcontraction_1__$0 == NULL);
tmp_dictcontraction_1__$0 = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_DICT_EMPTY();
assert(tmp_dictcontraction_1__contraction == NULL);
tmp_dictcontraction_1__contraction = tmp_assign_source_2;
}
if (isFrameUnusable(cache_frame_f686c9a138c90220a0651df082ce7903_2)) {
Py_XDECREF(cache_frame_f686c9a138c90220a0651df082ce7903_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_f686c9a138c90220a0651df082ce7903_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f686c9a138c90220a0651df082ce7903_2 = MAKE_FUNCTION_FRAME(codeobj_f686c9a138c90220a0651df082ce7903, module_requests$models, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f686c9a138c90220a0651df082ce7903_2->m_type_description == NULL);
frame_f686c9a138c90220a0651df082ce7903_2 = cache_frame_f686c9a138c90220a0651df082ce7903_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_f686c9a138c90220a0651df082ce7903_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f686c9a138c90220a0651df082ce7903_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_dictcontraction_1__$0);
tmp_next_source_1 = tmp_dictcontraction_1__$0;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_2 = "oo";
exception_lineno = 655;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_dictcontraction_1__iter_value_0;
tmp_dictcontraction_1__iter_value_0 = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_dictcontraction_1__iter_value_0);
tmp_assign_source_4 = tmp_dictcontraction_1__iter_value_0;
{
PyObject *old = outline_0_var_attr;
outline_0_var_attr = tmp_assign_source_4;
Py_INCREF(outline_0_var_attr);
Py_XDECREF(old);
}
}
{
PyObject *tmp_dictset38_key_1;
PyObject *tmp_dictset38_value_1;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
PyObject *tmp_dictset38_dict_1;
CHECK_OBJECT(outline_0_var_attr);
tmp_dictset38_key_1 = outline_0_var_attr;
CHECK_OBJECT(par_self);
tmp_getattr_target_1 = par_self;
CHECK_OBJECT(outline_0_var_attr);
tmp_getattr_attr_1 = outline_0_var_attr;
tmp_getattr_default_1 = Py_None;
tmp_dictset38_value_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_dictset38_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 655;
type_description_2 = "oo";
goto try_except_handler_2;
}
CHECK_OBJECT(tmp_dictcontraction_1__contraction);
tmp_dictset38_dict_1 = tmp_dictcontraction_1__contraction;
assert(PyDict_CheckExact(tmp_dictset38_dict_1));
tmp_res = PyDict_SetItem(tmp_dictset38_dict_1, tmp_dictset38_key_1, tmp_dictset38_value_1);
Py_DECREF(tmp_dictset38_value_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 655;
type_description_2 = "oo";
goto try_except_handler_2;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 655;
type_description_2 = "oo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
CHECK_OBJECT(tmp_dictcontraction_1__contraction);
tmp_return_value = tmp_dictcontraction_1__contraction;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_dictcontraction_1__$0);
Py_DECREF(tmp_dictcontraction_1__$0);
tmp_dictcontraction_1__$0 = NULL;
CHECK_OBJECT(tmp_dictcontraction_1__contraction);
Py_DECREF(tmp_dictcontraction_1__contraction);
tmp_dictcontraction_1__contraction = NULL;
Py_XDECREF(tmp_dictcontraction_1__iter_value_0);
tmp_dictcontraction_1__iter_value_0 = NULL;
goto frame_return_exit_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_dictcontraction_1__$0);
Py_DECREF(tmp_dictcontraction_1__$0);
tmp_dictcontraction_1__$0 = NULL;
CHECK_OBJECT(tmp_dictcontraction_1__contraction);
Py_DECREF(tmp_dictcontraction_1__contraction);
tmp_dictcontraction_1__contraction = NULL;
Py_XDECREF(tmp_dictcontraction_1__iter_value_0);
tmp_dictcontraction_1__iter_value_0 = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_f686c9a138c90220a0651df082ce7903_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_f686c9a138c90220a0651df082ce7903_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f686c9a138c90220a0651df082ce7903_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f686c9a138c90220a0651df082ce7903_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f686c9a138c90220a0651df082ce7903_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f686c9a138c90220a0651df082ce7903_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f686c9a138c90220a0651df082ce7903_2,
type_description_2,
outline_0_var_attr,
par_self
);
// Release cached frame if used for exception.
if (frame_f686c9a138c90220a0651df082ce7903_2 == cache_frame_f686c9a138c90220a0651df082ce7903_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f686c9a138c90220a0651df082ce7903_2);
cache_frame_f686c9a138c90220a0651df082ce7903_2 = NULL;
}
assertFrameObject(frame_f686c9a138c90220a0651df082ce7903_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 = "o";
goto try_except_handler_1;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(outline_0_var_attr);
outline_0_var_attr = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(outline_0_var_attr);
outline_0_var_attr = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 655;
goto frame_exception_exit_1;
outline_result_1:;
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_78cbe34d571a814a06e69dd225d4cc49);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_78cbe34d571a814a06e69dd225d4cc49);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_78cbe34d571a814a06e69dd225d4cc49);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_78cbe34d571a814a06e69dd225d4cc49, exception_lineno);
} else if (exception_tb->tb_frame != &frame_78cbe34d571a814a06e69dd225d4cc49->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_78cbe34d571a814a06e69dd225d4cc49, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_78cbe34d571a814a06e69dd225d4cc49,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_78cbe34d571a814a06e69dd225d4cc49 == cache_frame_78cbe34d571a814a06e69dd225d4cc49) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_78cbe34d571a814a06e69dd225d4cc49);
cache_frame_78cbe34d571a814a06e69dd225d4cc49 = NULL;
}
assertFrameObject(frame_78cbe34d571a814a06e69dd225d4cc49);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_2:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
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_requests$models$$$function__26___setstate__(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_state = python_pars[1];
PyObject *var_name = NULL;
PyObject *var_value = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_602934f6e8661875901a20623e889f8f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *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_602934f6e8661875901a20623e889f8f = NULL;
PyObject *tmp_return_value = 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_602934f6e8661875901a20623e889f8f)) {
Py_XDECREF(cache_frame_602934f6e8661875901a20623e889f8f);
#if _DEBUG_REFCOUNTS
if (cache_frame_602934f6e8661875901a20623e889f8f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_602934f6e8661875901a20623e889f8f = MAKE_FUNCTION_FRAME(codeobj_602934f6e8661875901a20623e889f8f, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_602934f6e8661875901a20623e889f8f->m_type_description == NULL);
frame_602934f6e8661875901a20623e889f8f = cache_frame_602934f6e8661875901a20623e889f8f;
// Push the new frame as the currently active one.
pushFrameStack(frame_602934f6e8661875901a20623e889f8f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_602934f6e8661875901a20623e889f8f) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_state);
tmp_expression_value_1 = par_state;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[48]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 658;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_602934f6e8661875901a20623e889f8f->m_frame.f_lineno = 658;
tmp_iter_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 658;
type_description_1 = "oooo";
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 = 658;
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_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 = "oooo";
exception_lineno = 658;
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);
}
}
// Tried code:
{
PyObject *tmp_assign_source_3;
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_3 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 658;
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_3;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
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 = "oooo";
exception_lineno = 658;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_2, 1, 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 = 658;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_5;
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 = 658;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[14];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooo";
exception_lineno = 658;
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_6;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_6 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_name;
var_name = tmp_assign_source_6;
Py_INCREF(var_name);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_value;
var_value = tmp_assign_source_7;
Py_INCREF(var_value);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_setattr_target_1;
PyObject *tmp_setattr_attr_1;
PyObject *tmp_setattr_value_1;
PyObject *tmp_capi_result_1;
CHECK_OBJECT(par_self);
tmp_setattr_target_1 = par_self;
CHECK_OBJECT(var_name);
tmp_setattr_attr_1 = var_name;
CHECK_OBJECT(var_value);
tmp_setattr_value_1 = var_value;
tmp_capi_result_1 = BUILTIN_SETATTR(tmp_setattr_target_1, tmp_setattr_attr_1, tmp_setattr_value_1);
if (tmp_capi_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 659;
type_description_1 = "oooo";
goto try_except_handler_2;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 658;
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;
{
PyObject *tmp_setattr_target_2;
PyObject *tmp_setattr_attr_2;
PyObject *tmp_setattr_value_2;
PyObject *tmp_capi_result_2;
CHECK_OBJECT(par_self);
tmp_setattr_target_2 = par_self;
tmp_setattr_attr_2 = mod_consts[153];
tmp_setattr_value_2 = Py_True;
tmp_capi_result_2 = BUILTIN_SETATTR(tmp_setattr_target_2, tmp_setattr_attr_2, tmp_setattr_value_2);
if (tmp_capi_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 662;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_setattr_target_3;
PyObject *tmp_setattr_attr_3;
PyObject *tmp_setattr_value_3;
PyObject *tmp_capi_result_3;
CHECK_OBJECT(par_self);
tmp_setattr_target_3 = par_self;
tmp_setattr_attr_3 = mod_consts[156];
tmp_setattr_value_3 = Py_None;
tmp_capi_result_3 = BUILTIN_SETATTR(tmp_setattr_target_3, tmp_setattr_attr_3, tmp_setattr_value_3);
if (tmp_capi_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 663;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_602934f6e8661875901a20623e889f8f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_602934f6e8661875901a20623e889f8f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_602934f6e8661875901a20623e889f8f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_602934f6e8661875901a20623e889f8f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_602934f6e8661875901a20623e889f8f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_602934f6e8661875901a20623e889f8f,
type_description_1,
par_self,
par_state,
var_name,
var_value
);
// Release cached frame if used for exception.
if (frame_602934f6e8661875901a20623e889f8f == cache_frame_602934f6e8661875901a20623e889f8f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_602934f6e8661875901a20623e889f8f);
cache_frame_602934f6e8661875901a20623e889f8f = NULL;
}
assertFrameObject(frame_602934f6e8661875901a20623e889f8f);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_name);
var_name = NULL;
Py_XDECREF(var_value);
var_value = 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_name);
var_name = NULL;
Py_XDECREF(var_value);
var_value = 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_state);
Py_DECREF(par_state);
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_state);
Py_DECREF(par_state);
// 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_requests$models$$$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];
struct Nuitka_FrameObject *frame_0f1334a3d61c580420f3e30275650b47;
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_0f1334a3d61c580420f3e30275650b47 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_0f1334a3d61c580420f3e30275650b47)) {
Py_XDECREF(cache_frame_0f1334a3d61c580420f3e30275650b47);
#if _DEBUG_REFCOUNTS
if (cache_frame_0f1334a3d61c580420f3e30275650b47 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0f1334a3d61c580420f3e30275650b47 = MAKE_FUNCTION_FRAME(codeobj_0f1334a3d61c580420f3e30275650b47, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0f1334a3d61c580420f3e30275650b47->m_type_description == NULL);
frame_0f1334a3d61c580420f3e30275650b47 = cache_frame_0f1334a3d61c580420f3e30275650b47;
// Push the new frame as the currently active one.
pushFrameStack(frame_0f1334a3d61c580420f3e30275650b47);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0f1334a3d61c580420f3e30275650b47) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_1;
tmp_mod_expr_left_1 = mod_consts[168];
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_mod_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[155]);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 666;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 666;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0f1334a3d61c580420f3e30275650b47);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0f1334a3d61c580420f3e30275650b47);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0f1334a3d61c580420f3e30275650b47);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0f1334a3d61c580420f3e30275650b47, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0f1334a3d61c580420f3e30275650b47->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0f1334a3d61c580420f3e30275650b47, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0f1334a3d61c580420f3e30275650b47,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_0f1334a3d61c580420f3e30275650b47 == cache_frame_0f1334a3d61c580420f3e30275650b47) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0f1334a3d61c580420f3e30275650b47);
cache_frame_0f1334a3d61c580420f3e30275650b47 = NULL;
}
assertFrameObject(frame_0f1334a3d61c580420f3e30275650b47);
// 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_requests$models$$$function__28___bool__(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_a511fdfb4954983c61a6b870d89e5902;
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_a511fdfb4954983c61a6b870d89e5902 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a511fdfb4954983c61a6b870d89e5902)) {
Py_XDECREF(cache_frame_a511fdfb4954983c61a6b870d89e5902);
#if _DEBUG_REFCOUNTS
if (cache_frame_a511fdfb4954983c61a6b870d89e5902 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a511fdfb4954983c61a6b870d89e5902 = MAKE_FUNCTION_FRAME(codeobj_a511fdfb4954983c61a6b870d89e5902, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a511fdfb4954983c61a6b870d89e5902->m_type_description == NULL);
frame_a511fdfb4954983c61a6b870d89e5902 = cache_frame_a511fdfb4954983c61a6b870d89e5902;
// Push the new frame as the currently active one.
pushFrameStack(frame_a511fdfb4954983c61a6b870d89e5902);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a511fdfb4954983c61a6b870d89e5902) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[169]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 676;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a511fdfb4954983c61a6b870d89e5902);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a511fdfb4954983c61a6b870d89e5902);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a511fdfb4954983c61a6b870d89e5902);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a511fdfb4954983c61a6b870d89e5902, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a511fdfb4954983c61a6b870d89e5902->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a511fdfb4954983c61a6b870d89e5902, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a511fdfb4954983c61a6b870d89e5902,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_a511fdfb4954983c61a6b870d89e5902 == cache_frame_a511fdfb4954983c61a6b870d89e5902) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a511fdfb4954983c61a6b870d89e5902);
cache_frame_a511fdfb4954983c61a6b870d89e5902 = NULL;
}
assertFrameObject(frame_a511fdfb4954983c61a6b870d89e5902);
// 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_requests$models$$$function__29___nonzero__(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_95cae83f78ad185411640a2432d531fe;
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_95cae83f78ad185411640a2432d531fe = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_95cae83f78ad185411640a2432d531fe)) {
Py_XDECREF(cache_frame_95cae83f78ad185411640a2432d531fe);
#if _DEBUG_REFCOUNTS
if (cache_frame_95cae83f78ad185411640a2432d531fe == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_95cae83f78ad185411640a2432d531fe = MAKE_FUNCTION_FRAME(codeobj_95cae83f78ad185411640a2432d531fe, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_95cae83f78ad185411640a2432d531fe->m_type_description == NULL);
frame_95cae83f78ad185411640a2432d531fe = cache_frame_95cae83f78ad185411640a2432d531fe;
// Push the new frame as the currently active one.
pushFrameStack(frame_95cae83f78ad185411640a2432d531fe);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_95cae83f78ad185411640a2432d531fe) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[169]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 686;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_95cae83f78ad185411640a2432d531fe);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_95cae83f78ad185411640a2432d531fe);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_95cae83f78ad185411640a2432d531fe);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_95cae83f78ad185411640a2432d531fe, exception_lineno);
} else if (exception_tb->tb_frame != &frame_95cae83f78ad185411640a2432d531fe->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_95cae83f78ad185411640a2432d531fe, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_95cae83f78ad185411640a2432d531fe,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_95cae83f78ad185411640a2432d531fe == cache_frame_95cae83f78ad185411640a2432d531fe) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_95cae83f78ad185411640a2432d531fe);
cache_frame_95cae83f78ad185411640a2432d531fe = NULL;
}
assertFrameObject(frame_95cae83f78ad185411640a2432d531fe);
// 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_requests$models$$$function__30___iter__(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_20b5760eb9ffcf3bd83f9d6cae339f6d;
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_20b5760eb9ffcf3bd83f9d6cae339f6d = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_20b5760eb9ffcf3bd83f9d6cae339f6d)) {
Py_XDECREF(cache_frame_20b5760eb9ffcf3bd83f9d6cae339f6d);
#if _DEBUG_REFCOUNTS
if (cache_frame_20b5760eb9ffcf3bd83f9d6cae339f6d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_20b5760eb9ffcf3bd83f9d6cae339f6d = MAKE_FUNCTION_FRAME(codeobj_20b5760eb9ffcf3bd83f9d6cae339f6d, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_20b5760eb9ffcf3bd83f9d6cae339f6d->m_type_description == NULL);
frame_20b5760eb9ffcf3bd83f9d6cae339f6d = cache_frame_20b5760eb9ffcf3bd83f9d6cae339f6d;
// Push the new frame as the currently active one.
pushFrameStack(frame_20b5760eb9ffcf3bd83f9d6cae339f6d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_20b5760eb9ffcf3bd83f9d6cae339f6d) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_20b5760eb9ffcf3bd83f9d6cae339f6d->m_frame.f_lineno = 690;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[171],
PyTuple_GET_ITEM(mod_consts[172], 0)
);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 690;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_20b5760eb9ffcf3bd83f9d6cae339f6d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_20b5760eb9ffcf3bd83f9d6cae339f6d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_20b5760eb9ffcf3bd83f9d6cae339f6d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_20b5760eb9ffcf3bd83f9d6cae339f6d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_20b5760eb9ffcf3bd83f9d6cae339f6d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_20b5760eb9ffcf3bd83f9d6cae339f6d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_20b5760eb9ffcf3bd83f9d6cae339f6d,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_20b5760eb9ffcf3bd83f9d6cae339f6d == cache_frame_20b5760eb9ffcf3bd83f9d6cae339f6d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_20b5760eb9ffcf3bd83f9d6cae339f6d);
cache_frame_20b5760eb9ffcf3bd83f9d6cae339f6d = NULL;
}
assertFrameObject(frame_20b5760eb9ffcf3bd83f9d6cae339f6d);
// 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_requests$models$$$function__31_ok(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_14cf80b52271d34dbf07a628be133af5;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *tmp_return_value = NULL;
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_14cf80b52271d34dbf07a628be133af5 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_14cf80b52271d34dbf07a628be133af5)) {
Py_XDECREF(cache_frame_14cf80b52271d34dbf07a628be133af5);
#if _DEBUG_REFCOUNTS
if (cache_frame_14cf80b52271d34dbf07a628be133af5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_14cf80b52271d34dbf07a628be133af5 = MAKE_FUNCTION_FRAME(codeobj_14cf80b52271d34dbf07a628be133af5, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_14cf80b52271d34dbf07a628be133af5->m_type_description == NULL);
frame_14cf80b52271d34dbf07a628be133af5 = cache_frame_14cf80b52271d34dbf07a628be133af5;
// Push the new frame as the currently active one.
pushFrameStack(frame_14cf80b52271d34dbf07a628be133af5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_14cf80b52271d34dbf07a628be133af5) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
frame_14cf80b52271d34dbf07a628be133af5->m_frame.f_lineno = 702;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[174]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 702;
type_description_1 = "o";
goto try_except_handler_1;
}
Py_DECREF(tmp_call_result_1);
}
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_14cf80b52271d34dbf07a628be133af5, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_14cf80b52271d34dbf07a628be133af5, 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 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[175]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[175]);
}
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 703;
type_description_1 = "o";
goto try_except_handler_2;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 703;
type_description_1 = "o";
goto try_except_handler_2;
}
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_False;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 701;
}
if (exception_tb && exception_tb->tb_frame == &frame_14cf80b52271d34dbf07a628be133af5->m_frame) frame_14cf80b52271d34dbf07a628be133af5->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "o";
goto try_except_handler_2;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_14cf80b52271d34dbf07a628be133af5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_14cf80b52271d34dbf07a628be133af5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_14cf80b52271d34dbf07a628be133af5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_14cf80b52271d34dbf07a628be133af5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_14cf80b52271d34dbf07a628be133af5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_14cf80b52271d34dbf07a628be133af5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_14cf80b52271d34dbf07a628be133af5,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_14cf80b52271d34dbf07a628be133af5 == cache_frame_14cf80b52271d34dbf07a628be133af5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_14cf80b52271d34dbf07a628be133af5);
cache_frame_14cf80b52271d34dbf07a628be133af5 = NULL;
}
assertFrameObject(frame_14cf80b52271d34dbf07a628be133af5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_True;
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);
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_requests$models$$$function__32_is_redirect(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_b84f2ce1ea66b77b6dd681df4752c88e;
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_b84f2ce1ea66b77b6dd681df4752c88e = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b84f2ce1ea66b77b6dd681df4752c88e)) {
Py_XDECREF(cache_frame_b84f2ce1ea66b77b6dd681df4752c88e);
#if _DEBUG_REFCOUNTS
if (cache_frame_b84f2ce1ea66b77b6dd681df4752c88e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b84f2ce1ea66b77b6dd681df4752c88e = MAKE_FUNCTION_FRAME(codeobj_b84f2ce1ea66b77b6dd681df4752c88e, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b84f2ce1ea66b77b6dd681df4752c88e->m_type_description == NULL);
frame_b84f2ce1ea66b77b6dd681df4752c88e = cache_frame_b84f2ce1ea66b77b6dd681df4752c88e;
// Push the new frame as the currently active one.
pushFrameStack(frame_b84f2ce1ea66b77b6dd681df4752c88e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b84f2ce1ea66b77b6dd681df4752c88e) == 2); // Frame stack
// Framed code:
{
int tmp_and_left_truth_1;
PyObject *tmp_and_left_value_1;
PyObject *tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_2;
tmp_cmp_expr_left_1 = mod_consts[177];
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[53]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 712;
type_description_1 = "o";
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 = 712;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res == 1) ? Py_True : Py_False;
tmp_and_left_truth_1 = CHECK_IF_TRUE(tmp_and_left_value_1);
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[155]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 712;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[178]);
if (unlikely(tmp_cmp_expr_right_2 == NULL)) {
tmp_cmp_expr_right_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[178]);
}
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_2);
exception_lineno = 712;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 712;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 1) ? Py_True : Py_False;
tmp_return_value = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_return_value = tmp_and_left_value_1;
and_end_1:;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b84f2ce1ea66b77b6dd681df4752c88e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b84f2ce1ea66b77b6dd681df4752c88e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b84f2ce1ea66b77b6dd681df4752c88e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b84f2ce1ea66b77b6dd681df4752c88e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b84f2ce1ea66b77b6dd681df4752c88e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b84f2ce1ea66b77b6dd681df4752c88e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b84f2ce1ea66b77b6dd681df4752c88e,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_b84f2ce1ea66b77b6dd681df4752c88e == cache_frame_b84f2ce1ea66b77b6dd681df4752c88e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b84f2ce1ea66b77b6dd681df4752c88e);
cache_frame_b84f2ce1ea66b77b6dd681df4752c88e = NULL;
}
assertFrameObject(frame_b84f2ce1ea66b77b6dd681df4752c88e);
// 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_requests$models$$$function__33_is_permanent_redirect(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_85048466da88f08d969225b5f6d6928f;
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_85048466da88f08d969225b5f6d6928f = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_85048466da88f08d969225b5f6d6928f)) {
Py_XDECREF(cache_frame_85048466da88f08d969225b5f6d6928f);
#if _DEBUG_REFCOUNTS
if (cache_frame_85048466da88f08d969225b5f6d6928f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_85048466da88f08d969225b5f6d6928f = MAKE_FUNCTION_FRAME(codeobj_85048466da88f08d969225b5f6d6928f, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_85048466da88f08d969225b5f6d6928f->m_type_description == NULL);
frame_85048466da88f08d969225b5f6d6928f = cache_frame_85048466da88f08d969225b5f6d6928f;
// Push the new frame as the currently active one.
pushFrameStack(frame_85048466da88f08d969225b5f6d6928f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_85048466da88f08d969225b5f6d6928f) == 2); // Frame stack
// Framed code:
{
int tmp_and_left_truth_1;
PyObject *tmp_and_left_value_1;
PyObject *tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_3;
tmp_cmp_expr_left_1 = mod_consts[177];
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[53]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "o";
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 = 717;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res == 1) ? Py_True : Py_False;
tmp_and_left_truth_1 = CHECK_IF_TRUE(tmp_and_left_value_1);
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[155]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_2);
exception_lineno = 717;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[181]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_2);
exception_lineno = 717;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_4;
PyTuple_SET_ITEM(tmp_cmp_expr_right_2, 0, tmp_tuple_element_1);
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "o";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[182]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_cmp_expr_right_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_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 1) ? Py_True : Py_False;
tmp_return_value = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_return_value = tmp_and_left_value_1;
and_end_1:;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_85048466da88f08d969225b5f6d6928f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_85048466da88f08d969225b5f6d6928f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_85048466da88f08d969225b5f6d6928f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_85048466da88f08d969225b5f6d6928f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_85048466da88f08d969225b5f6d6928f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_85048466da88f08d969225b5f6d6928f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_85048466da88f08d969225b5f6d6928f,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_85048466da88f08d969225b5f6d6928f == cache_frame_85048466da88f08d969225b5f6d6928f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_85048466da88f08d969225b5f6d6928f);
cache_frame_85048466da88f08d969225b5f6d6928f = NULL;
}
assertFrameObject(frame_85048466da88f08d969225b5f6d6928f);
// 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_requests$models$$$function__34_next(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_f199683ab0cd61435a067dd360dcfd05;
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_f199683ab0cd61435a067dd360dcfd05 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_f199683ab0cd61435a067dd360dcfd05)) {
Py_XDECREF(cache_frame_f199683ab0cd61435a067dd360dcfd05);
#if _DEBUG_REFCOUNTS
if (cache_frame_f199683ab0cd61435a067dd360dcfd05 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f199683ab0cd61435a067dd360dcfd05 = MAKE_FUNCTION_FRAME(codeobj_f199683ab0cd61435a067dd360dcfd05, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f199683ab0cd61435a067dd360dcfd05->m_type_description == NULL);
frame_f199683ab0cd61435a067dd360dcfd05 = cache_frame_f199683ab0cd61435a067dd360dcfd05;
// Push the new frame as the currently active one.
pushFrameStack(frame_f199683ab0cd61435a067dd360dcfd05);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f199683ab0cd61435a067dd360dcfd05) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[154]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 722;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f199683ab0cd61435a067dd360dcfd05);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f199683ab0cd61435a067dd360dcfd05);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f199683ab0cd61435a067dd360dcfd05);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f199683ab0cd61435a067dd360dcfd05, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f199683ab0cd61435a067dd360dcfd05->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f199683ab0cd61435a067dd360dcfd05, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f199683ab0cd61435a067dd360dcfd05,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_f199683ab0cd61435a067dd360dcfd05 == cache_frame_f199683ab0cd61435a067dd360dcfd05) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f199683ab0cd61435a067dd360dcfd05);
cache_frame_f199683ab0cd61435a067dd360dcfd05 = NULL;
}
assertFrameObject(frame_f199683ab0cd61435a067dd360dcfd05);
// 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_requests$models$$$function__35_apparent_encoding(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_47ae20e1b80f9128654b503f1b642e1f;
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_47ae20e1b80f9128654b503f1b642e1f = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_47ae20e1b80f9128654b503f1b642e1f)) {
Py_XDECREF(cache_frame_47ae20e1b80f9128654b503f1b642e1f);
#if _DEBUG_REFCOUNTS
if (cache_frame_47ae20e1b80f9128654b503f1b642e1f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_47ae20e1b80f9128654b503f1b642e1f = MAKE_FUNCTION_FRAME(codeobj_47ae20e1b80f9128654b503f1b642e1f, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_47ae20e1b80f9128654b503f1b642e1f->m_type_description == NULL);
frame_47ae20e1b80f9128654b503f1b642e1f = cache_frame_47ae20e1b80f9128654b503f1b642e1f;
// Push the new frame as the currently active one.
pushFrameStack(frame_47ae20e1b80f9128654b503f1b642e1f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_47ae20e1b80f9128654b503f1b642e1f) == 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;
PyObject *tmp_subscript_value_1;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[185]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[185]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 727;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[186]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 727;
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[166]);
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 = 727;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_47ae20e1b80f9128654b503f1b642e1f->m_frame.f_lineno = 727;
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 = 727;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[157];
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
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 = 727;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_47ae20e1b80f9128654b503f1b642e1f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_47ae20e1b80f9128654b503f1b642e1f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_47ae20e1b80f9128654b503f1b642e1f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_47ae20e1b80f9128654b503f1b642e1f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_47ae20e1b80f9128654b503f1b642e1f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_47ae20e1b80f9128654b503f1b642e1f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_47ae20e1b80f9128654b503f1b642e1f,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_47ae20e1b80f9128654b503f1b642e1f == cache_frame_47ae20e1b80f9128654b503f1b642e1f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_47ae20e1b80f9128654b503f1b642e1f);
cache_frame_47ae20e1b80f9128654b503f1b642e1f = NULL;
}
assertFrameObject(frame_47ae20e1b80f9128654b503f1b642e1f);
// 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_requests$models$$$function__36_iter_content(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_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
struct Nuitka_CellObject *par_chunk_size = Nuitka_Cell_New1(python_pars[1]);
PyObject *par_decode_unicode = python_pars[2];
PyObject *var_generate = NULL;
PyObject *var_reused_chunks = NULL;
PyObject *var_stream_chunks = NULL;
PyObject *var_chunks = NULL;
struct Nuitka_FrameObject *frame_bb8a0f3fc298d6282ae4b589d86e3755;
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_bb8a0f3fc298d6282ae4b589d86e3755 = 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[2];
tmp_closure_1[0] = par_chunk_size;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_self;
Py_INCREF(tmp_closure_1[1]);
tmp_assign_source_1 = MAKE_FUNCTION_requests$models$$$function__36_iter_content$$$function__1_generate(tmp_closure_1);
assert(var_generate == NULL);
var_generate = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_bb8a0f3fc298d6282ae4b589d86e3755)) {
Py_XDECREF(cache_frame_bb8a0f3fc298d6282ae4b589d86e3755);
#if _DEBUG_REFCOUNTS
if (cache_frame_bb8a0f3fc298d6282ae4b589d86e3755 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bb8a0f3fc298d6282ae4b589d86e3755 = MAKE_FUNCTION_FRAME(codeobj_bb8a0f3fc298d6282ae4b589d86e3755, module_requests$models, 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_bb8a0f3fc298d6282ae4b589d86e3755->m_type_description == NULL);
frame_bb8a0f3fc298d6282ae4b589d86e3755 = cache_frame_bb8a0f3fc298d6282ae4b589d86e3755;
// Push the new frame as the currently active one.
pushFrameStack(frame_bb8a0f3fc298d6282ae4b589d86e3755);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bb8a0f3fc298d6282ae4b589d86e3755) == 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;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_1 = Nuitka_Cell_GET(par_self);
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[153]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 768;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 768;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 768;
type_description_1 = "ccooooo";
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(Nuitka_Cell_GET(par_self));
tmp_expression_value_2 = Nuitka_Cell_GET(par_self);
tmp_isinstance_inst_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[152]);
if (tmp_isinstance_inst_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 768;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_1 = (PyObject *)&PyBool_Type;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
Py_DECREF(tmp_isinstance_inst_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 768;
type_description_1 = "ccooooo";
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_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[190]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[190]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 769;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
frame_bb8a0f3fc298d6282ae4b589d86e3755->m_frame.f_lineno = 769;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 769;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 769;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_2;
int tmp_and_left_truth_2;
bool tmp_and_left_value_2;
bool tmp_and_right_value_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
CHECK_OBJECT(Nuitka_Cell_GET(par_chunk_size));
tmp_cmp_expr_left_1 = Nuitka_Cell_GET(par_chunk_size);
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_2 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
tmp_and_left_truth_2 = tmp_and_left_value_2 != false ? 1 : 0;
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(Nuitka_Cell_GET(par_chunk_size));
tmp_isinstance_inst_2 = Nuitka_Cell_GET(par_chunk_size);
tmp_isinstance_cls_2 = (PyObject *)&PyLong_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 = 770;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = (tmp_res != 0) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = (tmp_res == 0) ? true : false;
tmp_condition_result_2 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_condition_result_2 = tmp_and_left_value_2;
and_end_2:;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_type_arg_1;
tmp_mod_expr_left_1 = mod_consts[191];
CHECK_OBJECT(Nuitka_Cell_GET(par_chunk_size));
tmp_type_arg_1 = Nuitka_Cell_GET(par_chunk_size);
tmp_mod_expr_right_1 = BUILTIN_TYPE1(tmp_type_arg_1);
assert(!(tmp_mod_expr_right_1 == NULL));
tmp_make_exception_arg_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_make_exception_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 771;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
frame_bb8a0f3fc298d6282ae4b589d86e3755->m_frame.f_lineno = 771;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_TypeError, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_2 == NULL));
exception_type = tmp_raise_type_2;
exception_lineno = 771;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
branch_no_2:;
branch_end_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[192]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[192]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 773;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_3 = Nuitka_Cell_GET(par_self);
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[152]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 773;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_chunk_size));
tmp_args_element_value_2 = Nuitka_Cell_GET(par_chunk_size);
frame_bb8a0f3fc298d6282ae4b589d86e3755->m_frame.f_lineno = 773;
{
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);
}
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 773;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
assert(var_reused_chunks == NULL);
var_reused_chunks = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_3;
CHECK_OBJECT(var_generate);
tmp_called_value_3 = var_generate;
frame_bb8a0f3fc298d6282ae4b589d86e3755->m_frame.f_lineno = 775;
tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 775;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
assert(var_stream_chunks == NULL);
var_stream_chunks = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
nuitka_bool tmp_condition_result_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_2;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_expression_value_4 = Nuitka_Cell_GET(par_self);
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[153]);
if (tmp_attribute_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 777;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_attribute_value_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_2);
exception_lineno = 777;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_2);
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(var_reused_chunks);
tmp_assign_source_4 = var_reused_chunks;
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(var_stream_chunks);
tmp_assign_source_4 = var_stream_chunks;
condexpr_end_1:;
assert(var_chunks == NULL);
Py_INCREF(tmp_assign_source_4);
var_chunks = tmp_assign_source_4;
}
{
nuitka_bool tmp_condition_result_4;
int tmp_truth_name_3;
CHECK_OBJECT(par_decode_unicode);
tmp_truth_name_3 = CHECK_IF_TRUE(par_decode_unicode);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 779;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[193]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[193]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 780;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_chunks);
tmp_args_element_value_3 = var_chunks;
CHECK_OBJECT(Nuitka_Cell_GET(par_self));
tmp_args_element_value_4 = Nuitka_Cell_GET(par_self);
frame_bb8a0f3fc298d6282ae4b589d86e3755->m_frame.f_lineno = 780;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 780;
type_description_1 = "ccooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_chunks;
assert(old != NULL);
var_chunks = tmp_assign_source_5;
Py_DECREF(old);
}
}
branch_no_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bb8a0f3fc298d6282ae4b589d86e3755);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bb8a0f3fc298d6282ae4b589d86e3755);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bb8a0f3fc298d6282ae4b589d86e3755, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bb8a0f3fc298d6282ae4b589d86e3755->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bb8a0f3fc298d6282ae4b589d86e3755, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bb8a0f3fc298d6282ae4b589d86e3755,
type_description_1,
par_self,
par_chunk_size,
par_decode_unicode,
var_generate,
var_reused_chunks,
var_stream_chunks,
var_chunks
);
// Release cached frame if used for exception.
if (frame_bb8a0f3fc298d6282ae4b589d86e3755 == cache_frame_bb8a0f3fc298d6282ae4b589d86e3755) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bb8a0f3fc298d6282ae4b589d86e3755);
cache_frame_bb8a0f3fc298d6282ae4b589d86e3755 = NULL;
}
assertFrameObject(frame_bb8a0f3fc298d6282ae4b589d86e3755);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_chunks);
tmp_return_value = var_chunks;
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_generate);
Py_DECREF(var_generate);
var_generate = NULL;
CHECK_OBJECT(var_reused_chunks);
Py_DECREF(var_reused_chunks);
var_reused_chunks = NULL;
CHECK_OBJECT(var_stream_chunks);
Py_DECREF(var_stream_chunks);
var_stream_chunks = NULL;
CHECK_OBJECT(var_chunks);
Py_DECREF(var_chunks);
var_chunks = 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_generate);
Py_DECREF(var_generate);
var_generate = NULL;
Py_XDECREF(var_reused_chunks);
var_reused_chunks = NULL;
Py_XDECREF(var_stream_chunks);
var_stream_chunks = NULL;
Py_XDECREF(var_chunks);
var_chunks = 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_chunk_size);
Py_DECREF(par_chunk_size);
CHECK_OBJECT(par_decode_unicode);
Py_DECREF(par_decode_unicode);
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_chunk_size);
Py_DECREF(par_chunk_size);
CHECK_OBJECT(par_decode_unicode);
Py_DECREF(par_decode_unicode);
// 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_requests$models$$$function__36_iter_content$$$function__1_generate(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 *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[2];
tmp_closure_1[0] = self->m_closure[0];
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = self->m_closure[1];
Py_INCREF(tmp_closure_1[1]);
tmp_return_value = MAKE_GENERATOR_requests$models$$$function__36_iter_content$$$function__1_generate$$$genobj__1_generate(tmp_closure_1);
goto function_return_exit;
}
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
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;
}
struct requests$models$$$function__36_iter_content$$$function__1_generate$$$genobj__1_generate_locals {
PyObject *var_chunk;
PyObject *var_e;
PyObject *tmp_for_loop_1__for_iterator;
PyObject *tmp_for_loop_1__iter_value;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
int tmp_res;
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;
struct Nuitka_ExceptionStackItem exception_preserved_1;
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;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
int exception_keeper_lineno_5;
bool tmp_result;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
int exception_keeper_lineno_7;
};
static PyObject *requests$models$$$function__36_iter_content$$$function__1_generate$$$genobj__1_generate_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 requests$models$$$function__36_iter_content$$$function__1_generate$$$genobj__1_generate_locals *generator_heap = (struct requests$models$$$function__36_iter_content$$$function__1_generate$$$genobj__1_generate_locals *)generator->m_heap_storage;
// Dispatch to yield based on return label index:
switch(generator->m_yield_return_index) {
case 2: goto yield_return_2;
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_chunk = NULL;
generator_heap->var_e = NULL;
generator_heap->tmp_for_loop_1__for_iterator = NULL;
generator_heap->tmp_for_loop_1__iter_value = 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_7b9d5043a9683ebcc994fd2e1ace3883, module_requests$models, 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:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_1;
if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[49]);
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 = 748;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = Nuitka_Cell_GET(generator->m_closure[1]);
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[156]);
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 = 748;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = mod_consts[195];
generator_heap->tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_1, tmp_attribute_value_1);
Py_DECREF(tmp_expression_value_1);
if (generator_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 748;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (generator_heap->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_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[49]);
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 = 750;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_2;
}
tmp_expression_value_4 = Nuitka_Cell_GET(generator->m_closure[1]);
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[156]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 750;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[195]);
Py_DECREF(tmp_expression_value_3);
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 = 750;
generator_heap->type_description_1 = "oocc";
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[196]);
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 = 750;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_2;
}
tmp_tuple_element_1 = Nuitka_Cell_GET(generator->m_closure[0]);
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[197]);
generator->m_frame->m_frame.f_lineno = 750;
tmp_iter_arg_1 = 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_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 750;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_2;
}
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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 750;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_2;
}
assert(generator_heap->tmp_for_loop_1__for_iterator == NULL);
generator_heap->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(generator_heap->tmp_for_loop_1__for_iterator);
tmp_next_source_1 = generator_heap->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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "oocc";
generator_heap->exception_lineno = 750;
goto try_except_handler_3;
}
}
{
PyObject *old = generator_heap->tmp_for_loop_1__iter_value;
generator_heap->tmp_for_loop_1__iter_value = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
CHECK_OBJECT(generator_heap->tmp_for_loop_1__iter_value);
tmp_assign_source_3 = generator_heap->tmp_for_loop_1__iter_value;
{
PyObject *old = generator_heap->var_chunk;
generator_heap->var_chunk = tmp_assign_source_3;
Py_INCREF(generator_heap->var_chunk);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_5;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_chunk);
tmp_expression_value_5 = generator_heap->var_chunk;
Py_INCREF(tmp_expression_value_5);
generator->m_yield_return_index = 1;
return tmp_expression_value_5;
yield_return_1:
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 = 751;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_3;
}
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 = 750;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_3;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
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_for_loop_1__iter_value);
generator_heap->tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(generator_heap->tmp_for_loop_1__for_iterator);
Py_DECREF(generator_heap->tmp_for_loop_1__for_iterator);
generator_heap->tmp_for_loop_1__for_iterator = 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_2;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
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;
// Preserve existing published exception id 1.
generator_heap->exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (generator_heap->exception_keeper_tb_2 == NULL) {
generator_heap->exception_keeper_tb_2 = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_keeper_lineno_2);
} else if (generator_heap->exception_keeper_lineno_2 != 0) {
generator_heap->exception_keeper_tb_2 = ADD_TRACEBACK(generator_heap->exception_keeper_tb_2, generator->m_frame, generator_heap->exception_keeper_lineno_2);
}
PUBLISH_CURRENT_EXCEPTION(&generator_heap->exception_keeper_type_2, &generator_heap->exception_keeper_value_2, &generator_heap->exception_keeper_tb_2);
// 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 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[198]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[198]);
}
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 752;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_4;
}
generator_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (generator_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 752;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_4;
}
tmp_condition_result_2 = (generator_heap->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_4;
tmp_assign_source_4 = EXC_VALUE(PyThreadState_GET());
assert(generator_heap->var_e == NULL);
Py_INCREF(tmp_assign_source_4);
generator_heap->var_e = tmp_assign_source_4;
}
// Tried code:
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[199]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[199]);
}
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 = 753;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_5;
}
CHECK_OBJECT(generator_heap->var_e);
tmp_args_element_value_1 = generator_heap->var_e;
generator->m_frame->m_frame.f_lineno = 753;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 753;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_5;
}
generator_heap->exception_type = tmp_raise_type_1;
generator_heap->exception_lineno = 753;
RAISE_EXCEPTION_WITH_TYPE(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "oocc";
goto try_except_handler_5;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_5:;
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->var_e);
generator_heap->var_e = 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 try_except_handler_4;
// End of try:
goto branch_end_2;
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[200]);
if (unlikely(tmp_cmp_expr_right_2 == NULL)) {
tmp_cmp_expr_right_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[200]);
}
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 754;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_4;
}
generator_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (generator_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 754;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_4;
}
tmp_condition_result_3 = (generator_heap->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_5;
tmp_assign_source_5 = EXC_VALUE(PyThreadState_GET());
assert(generator_heap->var_e == NULL);
Py_INCREF(tmp_assign_source_5);
generator_heap->var_e = tmp_assign_source_5;
}
// Tried code:
{
PyObject *tmp_raise_type_2;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[201]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[201]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 755;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_6;
}
CHECK_OBJECT(generator_heap->var_e);
tmp_args_element_value_2 = generator_heap->var_e;
generator->m_frame->m_frame.f_lineno = 755;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_2);
if (tmp_raise_type_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 755;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_6;
}
generator_heap->exception_type = tmp_raise_type_2;
generator_heap->exception_lineno = 755;
RAISE_EXCEPTION_WITH_TYPE(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "oocc";
goto try_except_handler_6;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_6:;
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_e);
generator_heap->var_e = 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 try_except_handler_4;
// End of try:
goto branch_end_3;
branch_no_3:;
{
bool tmp_condition_result_4;
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 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[202]);
if (unlikely(tmp_cmp_expr_right_3 == NULL)) {
tmp_cmp_expr_right_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[202]);
}
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 756;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_4;
}
generator_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (generator_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 756;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_4;
}
tmp_condition_result_4 = (generator_heap->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_6;
tmp_assign_source_6 = EXC_VALUE(PyThreadState_GET());
assert(generator_heap->var_e == NULL);
Py_INCREF(tmp_assign_source_6);
generator_heap->var_e = tmp_assign_source_6;
}
// Tried code:
{
PyObject *tmp_raise_type_3;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_3;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[203]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[203]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 757;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_7;
}
CHECK_OBJECT(generator_heap->var_e);
tmp_args_element_value_3 = generator_heap->var_e;
generator->m_frame->m_frame.f_lineno = 757;
tmp_raise_type_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_3);
if (tmp_raise_type_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 757;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_7;
}
generator_heap->exception_type = tmp_raise_type_3;
generator_heap->exception_lineno = 757;
RAISE_EXCEPTION_WITH_TYPE(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "oocc";
goto try_except_handler_7;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_7:;
generator_heap->exception_keeper_type_5 = generator_heap->exception_type;
generator_heap->exception_keeper_value_5 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_5 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_5 = 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_e);
generator_heap->var_e = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_5;
generator_heap->exception_value = generator_heap->exception_keeper_value_5;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_5;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_5;
goto try_except_handler_4;
// End of try:
goto branch_end_4;
branch_no_4:;
generator_heap->tmp_result = RERAISE_EXCEPTION(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
if (unlikely(generator_heap->tmp_result == false)) {
generator_heap->exception_lineno = 749;
}
if (generator_heap->exception_tb && generator_heap->exception_tb->tb_frame == &generator->m_frame->m_frame) generator->m_frame->m_frame.f_lineno = generator_heap->exception_tb->tb_lineno;
generator_heap->type_description_1 = "oocc";
goto try_except_handler_4;
branch_end_4:;
branch_end_3:;
branch_end_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_4:;
generator_heap->exception_keeper_type_6 = generator_heap->exception_type;
generator_heap->exception_keeper_value_6 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_6 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_6 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&generator_heap->exception_preserved_1);
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_6;
generator_heap->exception_value = generator_heap->exception_keeper_value_6;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_6;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_6;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_2:;
Py_XDECREF(generator_heap->tmp_for_loop_1__iter_value);
generator_heap->tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(generator_heap->tmp_for_loop_1__for_iterator);
Py_DECREF(generator_heap->tmp_for_loop_1__for_iterator);
generator_heap->tmp_for_loop_1__for_iterator = NULL;
goto branch_end_1;
branch_no_1:;
loop_start_2:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_4;
if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[49]);
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 = 761;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_expression_value_7 = Nuitka_Cell_GET(generator->m_closure[1]);
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[156]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 761;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[11]);
Py_DECREF(tmp_expression_value_6);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 761;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
Py_DECREF(tmp_called_value_5);
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[196]);
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 = 761;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = Nuitka_Cell_GET(generator->m_closure[0]);
generator->m_frame->m_frame.f_lineno = 761;
tmp_assign_source_7 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_5);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 761;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_1;
}
{
PyObject *old = generator_heap->var_chunk;
generator_heap->var_chunk = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(generator_heap->var_chunk);
tmp_operand_value_1 = generator_heap->var_chunk;
generator_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (generator_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 762;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = (generator_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
goto loop_end_2;
branch_no_5:;
{
PyObject *tmp_expression_value_8;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_2;
CHECK_OBJECT(generator_heap->var_chunk);
tmp_expression_value_8 = generator_heap->var_chunk;
Py_INCREF(tmp_expression_value_8);
generator->m_yield_return_index = 2;
return tmp_expression_value_8;
yield_return_2:
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 = 764;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_yield_result_2 = 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 = 760;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_1;
}
goto loop_start_2;
loop_end_2:;
branch_end_1:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_True;
if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[49]);
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 = 766;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = Nuitka_Cell_GET(generator->m_closure[1]);
generator_heap->tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[153], tmp_assattr_value_1);
if (generator_heap->tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 766;
generator_heap->type_description_1 = "oocc";
goto frame_exception_exit_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,
generator_heap->var_chunk,
generator_heap->var_e,
generator->m_closure[1],
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_3;
// Exception handler code:
try_except_handler_1:;
generator_heap->exception_keeper_type_7 = generator_heap->exception_type;
generator_heap->exception_keeper_value_7 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_7 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_7 = 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_chunk);
generator_heap->var_chunk = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_7;
generator_heap->exception_value = generator_heap->exception_keeper_value_7;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_7;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_7;
goto function_exception_exit;
// End of try:
try_end_3:;
Py_XDECREF(generator_heap->var_chunk);
generator_heap->var_chunk = 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_requests$models$$$function__36_iter_content$$$function__1_generate$$$genobj__1_generate(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
requests$models$$$function__36_iter_content$$$function__1_generate$$$genobj__1_generate_context,
module_requests$models,
mod_consts[188],
#if PYTHON_VERSION >= 0x350
mod_consts[189],
#endif
codeobj_7b9d5043a9683ebcc994fd2e1ace3883,
closure,
2,
sizeof(struct requests$models$$$function__36_iter_content$$$function__1_generate$$$genobj__1_generate_locals)
);
}
static PyObject *impl_requests$models$$$function__37_iter_lines(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_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
struct Nuitka_CellObject *par_chunk_size = Nuitka_Cell_New1(python_pars[1]);
struct Nuitka_CellObject *par_decode_unicode = Nuitka_Cell_New1(python_pars[2]);
struct Nuitka_CellObject *par_delimiter = Nuitka_Cell_New1(python_pars[3]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[4];
tmp_closure_1[0] = par_chunk_size;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_decode_unicode;
Py_INCREF(tmp_closure_1[1]);
tmp_closure_1[2] = par_delimiter;
Py_INCREF(tmp_closure_1[2]);
tmp_closure_1[3] = par_self;
Py_INCREF(tmp_closure_1[3]);
tmp_return_value = MAKE_GENERATOR_requests$models$$$function__37_iter_lines$$$genobj__1_iter_lines(tmp_closure_1);
goto function_return_exit;
}
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_chunk_size);
Py_DECREF(par_chunk_size);
CHECK_OBJECT(par_decode_unicode);
Py_DECREF(par_decode_unicode);
CHECK_OBJECT(par_delimiter);
Py_DECREF(par_delimiter);
// 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 requests$models$$$function__37_iter_lines$$$genobj__1_iter_lines_locals {
PyObject *var_pending;
PyObject *var_chunk;
PyObject *var_lines;
PyObject *var_line;
PyObject *tmp_for_loop_1__for_iterator;
PyObject *tmp_for_loop_1__iter_value;
PyObject *tmp_for_loop_2__for_iterator;
PyObject *tmp_for_loop_2__iter_value;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
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;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
int exception_keeper_lineno_3;
};
static PyObject *requests$models$$$function__37_iter_lines$$$genobj__1_iter_lines_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 requests$models$$$function__37_iter_lines$$$genobj__1_iter_lines_locals *generator_heap = (struct requests$models$$$function__37_iter_lines$$$genobj__1_iter_lines_locals *)generator->m_heap_storage;
// Dispatch to yield based on return label index:
switch(generator->m_yield_return_index) {
case 2: goto yield_return_2;
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_pending = NULL;
generator_heap->var_chunk = NULL;
generator_heap->var_lines = NULL;
generator_heap->var_line = NULL;
generator_heap->tmp_for_loop_1__for_iterator = NULL;
generator_heap->tmp_for_loop_1__iter_value = NULL;
generator_heap->tmp_for_loop_2__for_iterator = NULL;
generator_heap->tmp_for_loop_2__iter_value = 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.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = Py_None;
assert(generator_heap->var_pending == NULL);
Py_INCREF(tmp_assign_source_1);
generator_heap->var_pending = tmp_assign_source_1;
}
// 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_75b5ee167b0b549be904e69f6e51d969, module_requests$models, 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
}
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:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_kw_call_value_1_1;
if (Nuitka_Cell_GET(generator->m_closure[3]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[49]);
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 = 794;
generator_heap->type_description_1 = "ccccoooo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(generator->m_closure[3]);
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[171]);
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 = 794;
generator_heap->type_description_1 = "ccccoooo";
goto frame_exception_exit_1;
}
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[196]);
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 = 794;
generator_heap->type_description_1 = "ccccoooo";
goto frame_exception_exit_1;
}
tmp_kw_call_value_0_1 = Nuitka_Cell_GET(generator->m_closure[0]);
if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[205]);
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 = 794;
generator_heap->type_description_1 = "ccccoooo";
goto frame_exception_exit_1;
}
tmp_kw_call_value_1_1 = Nuitka_Cell_GET(generator->m_closure[1]);
generator->m_frame->m_frame.f_lineno = 794;
{
PyObject *kw_values[2] = {tmp_kw_call_value_0_1, tmp_kw_call_value_1_1};
tmp_iter_arg_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, kw_values, mod_consts[206]);
}
Py_DECREF(tmp_called_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 794;
generator_heap->type_description_1 = "ccccoooo";
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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 794;
generator_heap->type_description_1 = "ccccoooo";
goto frame_exception_exit_1;
}
assert(generator_heap->tmp_for_loop_1__for_iterator == NULL);
generator_heap->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(generator_heap->tmp_for_loop_1__for_iterator);
tmp_next_source_1 = generator_heap->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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "ccccoooo";
generator_heap->exception_lineno = 794;
goto try_except_handler_2;
}
}
{
PyObject *old = generator_heap->tmp_for_loop_1__iter_value;
generator_heap->tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(generator_heap->tmp_for_loop_1__iter_value);
tmp_assign_source_4 = generator_heap->tmp_for_loop_1__iter_value;
{
PyObject *old = generator_heap->var_chunk;
generator_heap->var_chunk = tmp_assign_source_4;
Py_INCREF(generator_heap->var_chunk);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
if (generator_heap->var_pending == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[207]);
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 = 796;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_cmp_expr_left_1 = generator_heap->var_pending;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
if (generator_heap->var_pending == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[207]);
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 = 797;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_add_expr_left_1 = generator_heap->var_pending;
CHECK_OBJECT(generator_heap->var_chunk);
tmp_add_expr_right_1 = generator_heap->var_chunk;
tmp_assign_source_5 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 797;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
{
PyObject *old = generator_heap->var_chunk;
assert(old != NULL);
generator_heap->var_chunk = tmp_assign_source_5;
Py_DECREF(old);
}
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[208]);
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 = 799;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE(Nuitka_Cell_GET(generator->m_closure[2]));
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 799;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
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_6;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(generator_heap->var_chunk);
tmp_expression_value_2 = generator_heap->var_chunk;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[209]);
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 = 800;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[208]);
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 = 800;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_args_element_value_1 = Nuitka_Cell_GET(generator->m_closure[2]);
generator->m_frame->m_frame.f_lineno = 800;
tmp_assign_source_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 800;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
{
PyObject *old = generator_heap->var_lines;
generator_heap->var_lines = tmp_assign_source_6;
Py_XDECREF(old);
}
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(generator_heap->var_chunk);
tmp_expression_value_3 = generator_heap->var_chunk;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[210]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 802;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
generator->m_frame->m_frame.f_lineno = 802;
tmp_assign_source_7 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 802;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
{
PyObject *old = generator_heap->var_lines;
generator_heap->var_lines = tmp_assign_source_7;
Py_XDECREF(old);
}
}
branch_end_2:;
{
nuitka_bool tmp_condition_result_3;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
int tmp_truth_name_2;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_1;
PyObject *tmp_subscript_result_1;
int tmp_truth_name_3;
int tmp_and_left_truth_3;
nuitka_bool tmp_and_left_value_3;
nuitka_bool tmp_and_right_value_3;
int tmp_truth_name_4;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_2;
PyObject *tmp_subscript_value_3;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_4;
CHECK_OBJECT(generator_heap->var_lines);
tmp_truth_name_2 = CHECK_IF_TRUE(generator_heap->var_lines);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_and_left_value_1 = tmp_truth_name_2 == 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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(generator_heap->var_lines);
tmp_expression_value_4 = generator_heap->var_lines;
tmp_subscript_value_1 = mod_consts[211];
tmp_subscript_result_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_1, -1);
if (tmp_subscript_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_subscript_result_1);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_subscript_result_1);
generator_heap->exception_lineno = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_and_left_value_2 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_subscript_result_1);
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
if (generator_heap->var_chunk == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[212]);
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 = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_truth_name_4 = CHECK_IF_TRUE(generator_heap->var_chunk);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_and_left_value_3 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
CHECK_OBJECT(generator_heap->var_lines);
tmp_expression_value_6 = generator_heap->var_lines;
tmp_subscript_value_2 = mod_consts[211];
tmp_expression_value_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_6, tmp_subscript_value_2, -1);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_subscript_value_3 = mod_consts[211];
tmp_cmp_expr_left_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_5, tmp_subscript_value_3, -1);
Py_DECREF(tmp_expression_value_5);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
if (generator_heap->var_chunk == NULL) {
Py_DECREF(tmp_cmp_expr_left_2);
FORMAT_UNBOUND_LOCAL_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[212]);
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 = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_expression_value_7 = generator_heap->var_chunk;
tmp_subscript_value_4 = mod_consts[211];
tmp_cmp_expr_right_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_7, tmp_subscript_value_4, -1);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_cmp_expr_left_2);
generator_heap->exception_lineno = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_and_right_value_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_and_right_value_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 804;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
tmp_and_right_value_2 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_and_right_value_2 = tmp_and_left_value_3;
and_end_3:;
tmp_and_right_value_1 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_and_right_value_1 = tmp_and_left_value_2;
and_end_2:;
tmp_condition_result_3 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_3 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(generator_heap->var_lines);
tmp_expression_value_8 = generator_heap->var_lines;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[213]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 805;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
generator->m_frame->m_frame.f_lineno = 805;
tmp_assign_source_8 = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 805;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
{
PyObject *old = generator_heap->var_pending;
generator_heap->var_pending = tmp_assign_source_8;
Py_XDECREF(old);
}
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_9;
tmp_assign_source_9 = Py_None;
{
PyObject *old = generator_heap->var_pending;
generator_heap->var_pending = tmp_assign_source_9;
Py_INCREF(generator_heap->var_pending);
Py_XDECREF(old);
}
}
branch_end_3:;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(generator_heap->var_lines);
tmp_iter_arg_2 = generator_heap->var_lines;
tmp_assign_source_10 = MAKE_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 809;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
{
PyObject *old = generator_heap->tmp_for_loop_2__for_iterator;
generator_heap->tmp_for_loop_2__for_iterator = tmp_assign_source_10;
Py_XDECREF(old);
}
}
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_11;
CHECK_OBJECT(generator_heap->tmp_for_loop_2__for_iterator);
tmp_next_source_2 = generator_heap->tmp_for_loop_2__for_iterator;
tmp_assign_source_11 = ITERATOR_NEXT(tmp_next_source_2);
if (tmp_assign_source_11 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_2;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "ccccoooo";
generator_heap->exception_lineno = 809;
goto try_except_handler_3;
}
}
{
PyObject *old = generator_heap->tmp_for_loop_2__iter_value;
generator_heap->tmp_for_loop_2__iter_value = tmp_assign_source_11;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_12;
CHECK_OBJECT(generator_heap->tmp_for_loop_2__iter_value);
tmp_assign_source_12 = generator_heap->tmp_for_loop_2__iter_value;
{
PyObject *old = generator_heap->var_line;
generator_heap->var_line = tmp_assign_source_12;
Py_INCREF(generator_heap->var_line);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_9;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_line);
tmp_expression_value_9 = generator_heap->var_line;
Py_INCREF(tmp_expression_value_9);
generator->m_yield_return_index = 1;
return tmp_expression_value_9;
yield_return_1:
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 = 810;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_3;
}
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 = 809;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_3;
}
goto loop_start_2;
loop_end_2:;
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
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_for_loop_2__iter_value);
generator_heap->tmp_for_loop_2__iter_value = NULL;
CHECK_OBJECT(generator_heap->tmp_for_loop_2__for_iterator);
Py_DECREF(generator_heap->tmp_for_loop_2__for_iterator);
generator_heap->tmp_for_loop_2__for_iterator = 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_2;
// End of try:
try_end_1:;
Py_XDECREF(generator_heap->tmp_for_loop_2__iter_value);
generator_heap->tmp_for_loop_2__iter_value = NULL;
CHECK_OBJECT(generator_heap->tmp_for_loop_2__for_iterator);
Py_DECREF(generator_heap->tmp_for_loop_2__for_iterator);
generator_heap->tmp_for_loop_2__for_iterator = NULL;
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 = 794;
generator_heap->type_description_1 = "ccccoooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
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_for_loop_1__iter_value);
generator_heap->tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(generator_heap->tmp_for_loop_1__for_iterator);
Py_DECREF(generator_heap->tmp_for_loop_1__for_iterator);
generator_heap->tmp_for_loop_1__for_iterator = 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 frame_exception_exit_1;
// End of try:
try_end_2:;
Py_XDECREF(generator_heap->tmp_for_loop_1__iter_value);
generator_heap->tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(generator_heap->tmp_for_loop_1__for_iterator);
Py_DECREF(generator_heap->tmp_for_loop_1__for_iterator);
generator_heap->tmp_for_loop_1__for_iterator = NULL;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
if (generator_heap->var_pending == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[207]);
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 = 812;
generator_heap->type_description_1 = "ccccoooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_3 = generator_heap->var_pending;
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 != tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_expression_value_10;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_2;
if (generator_heap->var_pending == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[207]);
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 = 813;
generator_heap->type_description_1 = "ccccoooo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = generator_heap->var_pending;
Py_INCREF(tmp_expression_value_10);
generator->m_yield_return_index = 2;
return tmp_expression_value_10;
yield_return_2:
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 = 813;
generator_heap->type_description_1 = "ccccoooo";
goto frame_exception_exit_1;
}
tmp_yield_result_2 = yield_return_value;
}
branch_no_4:;
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,
generator->m_closure[3],
generator->m_closure[0],
generator->m_closure[1],
generator->m_closure[2],
generator_heap->var_pending,
generator_heap->var_chunk,
generator_heap->var_lines,
generator_heap->var_line
);
// 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_3;
// Exception handler code:
try_except_handler_1:;
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->var_pending);
generator_heap->var_pending = NULL;
Py_XDECREF(generator_heap->var_chunk);
generator_heap->var_chunk = NULL;
Py_XDECREF(generator_heap->var_lines);
generator_heap->var_lines = NULL;
Py_XDECREF(generator_heap->var_line);
generator_heap->var_line = 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 function_exception_exit;
// End of try:
try_end_3:;
Py_XDECREF(generator_heap->var_pending);
generator_heap->var_pending = NULL;
Py_XDECREF(generator_heap->var_chunk);
generator_heap->var_chunk = NULL;
Py_XDECREF(generator_heap->var_lines);
generator_heap->var_lines = NULL;
Py_XDECREF(generator_heap->var_line);
generator_heap->var_line = 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_requests$models$$$function__37_iter_lines$$$genobj__1_iter_lines(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
requests$models$$$function__37_iter_lines$$$genobj__1_iter_lines_context,
module_requests$models,
mod_consts[214],
#if PYTHON_VERSION >= 0x350
mod_consts[215],
#endif
codeobj_75b5ee167b0b549be904e69f6e51d969,
closure,
4,
sizeof(struct requests$models$$$function__37_iter_lines$$$genobj__1_iter_lines_locals)
);
}
static PyObject *impl_requests$models$$$function__38_content(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_18e3550ea33a5a4ef13297bf8f8bdca7;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_18e3550ea33a5a4ef13297bf8f8bdca7 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_18e3550ea33a5a4ef13297bf8f8bdca7)) {
Py_XDECREF(cache_frame_18e3550ea33a5a4ef13297bf8f8bdca7);
#if _DEBUG_REFCOUNTS
if (cache_frame_18e3550ea33a5a4ef13297bf8f8bdca7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_18e3550ea33a5a4ef13297bf8f8bdca7 = MAKE_FUNCTION_FRAME(codeobj_18e3550ea33a5a4ef13297bf8f8bdca7, module_requests$models, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_18e3550ea33a5a4ef13297bf8f8bdca7->m_type_description == NULL);
frame_18e3550ea33a5a4ef13297bf8f8bdca7 = cache_frame_18e3550ea33a5a4ef13297bf8f8bdca7;
// Push the new frame as the currently active one.
pushFrameStack(frame_18e3550ea33a5a4ef13297bf8f8bdca7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_18e3550ea33a5a4ef13297bf8f8bdca7) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[152]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 819;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_False;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[153]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 821;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 821;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_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_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[216];
frame_18e3550ea33a5a4ef13297bf8f8bdca7->m_frame.f_lineno = 822;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_RuntimeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 822;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[155]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 825;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = mod_consts[83];
tmp_or_left_value_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_or_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 825;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 825;
type_description_1 = "o";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_cmp_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[156]);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 825;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = Py_None;
tmp_or_right_value_1 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF(tmp_cmp_expr_left_3);
tmp_condition_result_3 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_3 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[152], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 826;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assattr_value_2;
int tmp_or_left_truth_2;
PyObject *tmp_or_left_value_2;
PyObject *tmp_or_right_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_2;
PyObject *tmp_assattr_target_2;
tmp_expression_value_5 = mod_consts[217];
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[218]);
assert(!(tmp_called_value_1 == NULL));
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[171]);
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 = 828;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[219]);
if (unlikely(tmp_args_element_value_2 == NULL)) {
tmp_args_element_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[219]);
}
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_called_value_2);
exception_lineno = 828;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_18e3550ea33a5a4ef13297bf8f8bdca7->m_frame.f_lineno = 828;
tmp_args_element_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 828;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_18e3550ea33a5a4ef13297bf8f8bdca7->m_frame.f_lineno = 828;
tmp_or_left_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_or_left_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 828;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_or_left_truth_2 = CHECK_IF_TRUE(tmp_or_left_value_2);
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_or_left_value_2);
exception_lineno = 828;
type_description_1 = "o";
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 = mod_consts[217];
Py_INCREF(tmp_or_right_value_2);
tmp_assattr_value_2 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_assattr_value_2 = tmp_or_left_value_2;
or_end_2:;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[152], 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 = 828;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
branch_end_3:;
branch_no_1:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = Py_True;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[153], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 830;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[152]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 833;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_18e3550ea33a5a4ef13297bf8f8bdca7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_18e3550ea33a5a4ef13297bf8f8bdca7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_18e3550ea33a5a4ef13297bf8f8bdca7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_18e3550ea33a5a4ef13297bf8f8bdca7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_18e3550ea33a5a4ef13297bf8f8bdca7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_18e3550ea33a5a4ef13297bf8f8bdca7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_18e3550ea33a5a4ef13297bf8f8bdca7,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_18e3550ea33a5a4ef13297bf8f8bdca7 == cache_frame_18e3550ea33a5a4ef13297bf8f8bdca7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_18e3550ea33a5a4ef13297bf8f8bdca7);
cache_frame_18e3550ea33a5a4ef13297bf8f8bdca7 = NULL;
}
assertFrameObject(frame_18e3550ea33a5a4ef13297bf8f8bdca7);
// 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_requests$models$$$function__39_text(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_content = NULL;
PyObject *var_encoding = NULL;
struct Nuitka_FrameObject *frame_baa0b0271964fbcc399707ea6de8b36e;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_baa0b0271964fbcc399707ea6de8b36e = 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_baa0b0271964fbcc399707ea6de8b36e)) {
Py_XDECREF(cache_frame_baa0b0271964fbcc399707ea6de8b36e);
#if _DEBUG_REFCOUNTS
if (cache_frame_baa0b0271964fbcc399707ea6de8b36e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_baa0b0271964fbcc399707ea6de8b36e = MAKE_FUNCTION_FRAME(codeobj_baa0b0271964fbcc399707ea6de8b36e, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_baa0b0271964fbcc399707ea6de8b36e->m_type_description == NULL);
frame_baa0b0271964fbcc399707ea6de8b36e = cache_frame_baa0b0271964fbcc399707ea6de8b36e;
// Push the new frame as the currently active one.
pushFrameStack(frame_baa0b0271964fbcc399707ea6de8b36e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_baa0b0271964fbcc399707ea6de8b36e) == 2); // Frame stack
// Framed code:
{
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[157]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 850;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_encoding == NULL);
var_encoding = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[166]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
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 = 852;
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:;
{
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 853;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_baa0b0271964fbcc399707ea6de8b36e->m_frame.f_lineno = 853;
tmp_return_value = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[221]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 853;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[157]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 856;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[222]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 857;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_encoding;
assert(old != NULL);
var_encoding = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_2:;
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_2;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_kwargs_value_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 861;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[166]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 861;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_args_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_encoding);
tmp_tuple_element_1 = var_encoding;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_1);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[223]);
frame_baa0b0271964fbcc399707ea6de8b36e->m_frame.f_lineno = 861;
tmp_assign_source_3 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 861;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(var_content == NULL);
var_content = tmp_assign_source_3;
}
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_baa0b0271964fbcc399707ea6de8b36e, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_baa0b0271964fbcc399707ea6de8b36e, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = mod_consts[224];
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 862;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_3;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_kwargs_value_2;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 869;
type_description_1 = "ooo";
goto try_except_handler_3;
}
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[166]);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 869;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_args_value_2 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_args_value_2, 0, tmp_tuple_element_2);
tmp_kwargs_value_2 = DICT_COPY(mod_consts[223]);
frame_baa0b0271964fbcc399707ea6de8b36e->m_frame.f_lineno = 869;
tmp_assign_source_4 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
Py_DECREF(tmp_kwargs_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 869;
type_description_1 = "ooo";
goto try_except_handler_3;
}
assert(var_content == NULL);
var_content = tmp_assign_source_4;
}
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 860;
}
if (exception_tb && exception_tb->tb_frame == &frame_baa0b0271964fbcc399707ea6de8b36e->m_frame) frame_baa0b0271964fbcc399707ea6de8b36e->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_3;
branch_end_3:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_baa0b0271964fbcc399707ea6de8b36e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_baa0b0271964fbcc399707ea6de8b36e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_baa0b0271964fbcc399707ea6de8b36e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_baa0b0271964fbcc399707ea6de8b36e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_baa0b0271964fbcc399707ea6de8b36e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_baa0b0271964fbcc399707ea6de8b36e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_baa0b0271964fbcc399707ea6de8b36e,
type_description_1,
par_self,
var_content,
var_encoding
);
// Release cached frame if used for exception.
if (frame_baa0b0271964fbcc399707ea6de8b36e == cache_frame_baa0b0271964fbcc399707ea6de8b36e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_baa0b0271964fbcc399707ea6de8b36e);
cache_frame_baa0b0271964fbcc399707ea6de8b36e = NULL;
}
assertFrameObject(frame_baa0b0271964fbcc399707ea6de8b36e);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_content);
tmp_return_value = var_content;
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_content);
var_content = NULL;
Py_XDECREF(var_encoding);
var_encoding = 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_encoding);
var_encoding = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_requests$models$$$function__40_json(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_kwargs = python_pars[1];
PyObject *var_encoding = NULL;
struct Nuitka_FrameObject *frame_cdc0114f9f7edc9d0a39c5d988ceca26;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_cdc0114f9f7edc9d0a39c5d988ceca26 = 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_cdc0114f9f7edc9d0a39c5d988ceca26)) {
Py_XDECREF(cache_frame_cdc0114f9f7edc9d0a39c5d988ceca26);
#if _DEBUG_REFCOUNTS
if (cache_frame_cdc0114f9f7edc9d0a39c5d988ceca26 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_cdc0114f9f7edc9d0a39c5d988ceca26 = MAKE_FUNCTION_FRAME(codeobj_cdc0114f9f7edc9d0a39c5d988ceca26, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_cdc0114f9f7edc9d0a39c5d988ceca26->m_type_description == NULL);
frame_cdc0114f9f7edc9d0a39c5d988ceca26 = cache_frame_cdc0114f9f7edc9d0a39c5d988ceca26;
// Push the new frame as the currently active one.
pushFrameStack(frame_cdc0114f9f7edc9d0a39c5d988ceca26);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_cdc0114f9f7edc9d0a39c5d988ceca26) == 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;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_1;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
PyObject *tmp_cmp_expr_left_1;
nuitka_digit tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_3;
bool tmp_tmp_and_right_value_2_cbool_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[157]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 880;
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 = 880;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[166]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 880;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 880;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 880;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_len_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[166]);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 880;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 880;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = 3;
tmp_tmp_and_right_value_2_cbool_1 = RICH_COMPARE_GT_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
tmp_and_right_value_2 = tmp_tmp_and_right_value_2_cbool_1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_right_value_1 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_and_right_value_1 = tmp_and_left_value_2;
and_end_2:;
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_4;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[226]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[226]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 885;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[166]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 885;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_cdc0114f9f7edc9d0a39c5d988ceca26->m_frame.f_lineno = 885;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 885;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_encoding == NULL);
var_encoding = tmp_assign_source_1;
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_encoding);
tmp_cmp_expr_left_2 = var_encoding;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
// Tried code:
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_2;
PyObject *tmp_dircall_arg3_1;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[118]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[118]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 888;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[227]);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 888;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[166]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dircall_arg1_1);
exception_lineno = 889;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[27]);
Py_DECREF(tmp_expression_value_6);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dircall_arg1_1);
exception_lineno = 889;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_encoding);
tmp_args_element_value_2 = var_encoding;
frame_cdc0114f9f7edc9d0a39c5d988ceca26->m_frame.f_lineno = 889;
tmp_tuple_element_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_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_dircall_arg1_1);
exception_lineno = 889;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_dircall_arg2_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_dircall_arg2_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_kwargs);
tmp_dircall_arg3_1 = par_kwargs;
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_return_value = impl___main__$$$function__6_complex_call_helper_pos_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 888;
type_description_1 = "ooo";
goto try_except_handler_2;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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_cdc0114f9f7edc9d0a39c5d988ceca26, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_cdc0114f9f7edc9d0a39c5d988ceca26, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_UnicodeDecodeError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 887;
}
if (exception_tb && exception_tb->tb_frame == &frame_cdc0114f9f7edc9d0a39c5d988ceca26->m_frame) frame_cdc0114f9f7edc9d0a39c5d988ceca26->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_3;
branch_no_3:;
goto try_end_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_1:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_2;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_2:;
branch_no_2:;
branch_no_1:;
{
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_expression_value_8;
PyObject *tmp_dircall_arg2_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_expression_value_9;
PyObject *tmp_dircall_arg3_2;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[118]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[118]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 897;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[227]);
if (tmp_dircall_arg1_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 897;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[228]);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dircall_arg1_2);
exception_lineno = 897;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg2_2 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_dircall_arg2_2, 0, tmp_tuple_element_2);
CHECK_OBJECT(par_kwargs);
tmp_dircall_arg3_2 = par_kwargs;
Py_INCREF(tmp_dircall_arg3_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2};
tmp_return_value = impl___main__$$$function__6_complex_call_helper_pos_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 897;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_cdc0114f9f7edc9d0a39c5d988ceca26);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cdc0114f9f7edc9d0a39c5d988ceca26);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cdc0114f9f7edc9d0a39c5d988ceca26);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_cdc0114f9f7edc9d0a39c5d988ceca26, exception_lineno);
} else if (exception_tb->tb_frame != &frame_cdc0114f9f7edc9d0a39c5d988ceca26->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_cdc0114f9f7edc9d0a39c5d988ceca26, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_cdc0114f9f7edc9d0a39c5d988ceca26,
type_description_1,
par_self,
par_kwargs,
var_encoding
);
// Release cached frame if used for exception.
if (frame_cdc0114f9f7edc9d0a39c5d988ceca26 == cache_frame_cdc0114f9f7edc9d0a39c5d988ceca26) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_cdc0114f9f7edc9d0a39c5d988ceca26);
cache_frame_cdc0114f9f7edc9d0a39c5d988ceca26 = NULL;
}
assertFrameObject(frame_cdc0114f9f7edc9d0a39c5d988ceca26);
// 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_encoding);
var_encoding = 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_encoding);
var_encoding = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
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_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_requests$models$$$function__41_links(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_header = NULL;
PyObject *var_l = NULL;
PyObject *var_links = NULL;
PyObject *var_link = NULL;
PyObject *var_key = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_190218a846a431e82a477bdeee4716a1;
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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_190218a846a431e82a477bdeee4716a1 = 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_190218a846a431e82a477bdeee4716a1)) {
Py_XDECREF(cache_frame_190218a846a431e82a477bdeee4716a1);
#if _DEBUG_REFCOUNTS
if (cache_frame_190218a846a431e82a477bdeee4716a1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_190218a846a431e82a477bdeee4716a1 = MAKE_FUNCTION_FRAME(codeobj_190218a846a431e82a477bdeee4716a1, module_requests$models, 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_190218a846a431e82a477bdeee4716a1->m_type_description == NULL);
frame_190218a846a431e82a477bdeee4716a1 = cache_frame_190218a846a431e82a477bdeee4716a1;
// Push the new frame as the currently active one.
pushFrameStack(frame_190218a846a431e82a477bdeee4716a1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_190218a846a431e82a477bdeee4716a1) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[53]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 903;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[137]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 903;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_190218a846a431e82a477bdeee4716a1->m_frame.f_lineno = 903;
tmp_assign_source_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[230]);
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 = 903;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_header == NULL);
var_header = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_DICT_EMPTY();
assert(var_l == NULL);
var_l = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(var_header);
tmp_truth_name_1 = CHECK_IF_TRUE(var_header);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 908;
type_description_1 = "oooooo";
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_3;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[231]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[231]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 909;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_header);
tmp_args_element_value_1 = var_header;
frame_190218a846a431e82a477bdeee4716a1->m_frame.f_lineno = 909;
tmp_assign_source_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 909;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_links == NULL);
var_links = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(var_links);
tmp_iter_arg_1 = var_links;
tmp_assign_source_4 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 911;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_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 = "oooooo";
exception_lineno = 911;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_6 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_link;
var_link = tmp_assign_source_6;
Py_INCREF(var_link);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_link);
tmp_expression_value_3 = var_link;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[137]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 912;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_190218a846a431e82a477bdeee4716a1->m_frame.f_lineno = 912;
tmp_or_left_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[232]);
Py_DECREF(tmp_called_value_3);
if (tmp_or_left_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 912;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
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 = 912;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
Py_DECREF(tmp_or_left_value_1);
CHECK_OBJECT(var_link);
tmp_expression_value_4 = var_link;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[137]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 912;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
frame_190218a846a431e82a477bdeee4716a1->m_frame.f_lineno = 912;
tmp_or_right_value_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[233]);
Py_DECREF(tmp_called_value_4);
if (tmp_or_right_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 912;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_assign_source_7 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_assign_source_7 = tmp_or_left_value_1;
or_end_1:;
{
PyObject *old = var_key;
var_key = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(var_link);
tmp_ass_subvalue_1 = var_link;
if (var_l == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[234]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 913;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_ass_subscribed_1 = var_l;
CHECK_OBJECT(var_key);
tmp_ass_subscript_1 = var_key;
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 913;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 911;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
branch_no_1:;
if (var_l == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[234]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 915;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_l;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_190218a846a431e82a477bdeee4716a1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_190218a846a431e82a477bdeee4716a1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_190218a846a431e82a477bdeee4716a1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_190218a846a431e82a477bdeee4716a1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_190218a846a431e82a477bdeee4716a1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_190218a846a431e82a477bdeee4716a1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_190218a846a431e82a477bdeee4716a1,
type_description_1,
par_self,
var_header,
var_l,
var_links,
var_link,
var_key
);
// Release cached frame if used for exception.
if (frame_190218a846a431e82a477bdeee4716a1 == cache_frame_190218a846a431e82a477bdeee4716a1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_190218a846a431e82a477bdeee4716a1);
cache_frame_190218a846a431e82a477bdeee4716a1 = NULL;
}
assertFrameObject(frame_190218a846a431e82a477bdeee4716a1);
// 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_header);
var_header = NULL;
Py_XDECREF(var_l);
var_l = NULL;
Py_XDECREF(var_links);
var_links = NULL;
Py_XDECREF(var_link);
var_link = NULL;
Py_XDECREF(var_key);
var_key = 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_header);
var_header = NULL;
Py_XDECREF(var_l);
var_l = NULL;
Py_XDECREF(var_links);
var_links = NULL;
Py_XDECREF(var_link);
var_link = NULL;
Py_XDECREF(var_key);
var_key = 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);
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_requests$models$$$function__42_raise_for_status(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_http_error_msg = NULL;
PyObject *var_reason = NULL;
PyObject *tmp_comparison_chain_1__comparison_result = NULL;
PyObject *tmp_comparison_chain_1__operand_2 = NULL;
PyObject *tmp_comparison_chain_2__comparison_result = NULL;
PyObject *tmp_comparison_chain_2__operand_2 = NULL;
struct Nuitka_FrameObject *frame_e865086c736fd7a2a24b3c0fc7f13dab;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
static struct Nuitka_FrameObject *cache_frame_e865086c736fd7a2a24b3c0fc7f13dab = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
// Actual function body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[7];
assert(var_http_error_msg == NULL);
Py_INCREF(tmp_assign_source_1);
var_http_error_msg = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_e865086c736fd7a2a24b3c0fc7f13dab)) {
Py_XDECREF(cache_frame_e865086c736fd7a2a24b3c0fc7f13dab);
#if _DEBUG_REFCOUNTS
if (cache_frame_e865086c736fd7a2a24b3c0fc7f13dab == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e865086c736fd7a2a24b3c0fc7f13dab = MAKE_FUNCTION_FRAME(codeobj_e865086c736fd7a2a24b3c0fc7f13dab, module_requests$models, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e865086c736fd7a2a24b3c0fc7f13dab->m_type_description == NULL);
frame_e865086c736fd7a2a24b3c0fc7f13dab = cache_frame_e865086c736fd7a2a24b3c0fc7f13dab;
// Push the new frame as the currently active one.
pushFrameStack(frame_e865086c736fd7a2a24b3c0fc7f13dab);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e865086c736fd7a2a24b3c0fc7f13dab) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_isinstance_inst_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[159]);
if (tmp_isinstance_inst_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 921;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_isinstance_inst_1);
exception_lineno = 921;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
Py_DECREF(tmp_isinstance_inst_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 921;
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:;
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[159]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 927;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[27]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 927;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_e865086c736fd7a2a24b3c0fc7f13dab->m_frame.f_lineno = 927;
tmp_assign_source_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[19]);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 927;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(var_reason == NULL);
var_reason = tmp_assign_source_2;
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_e865086c736fd7a2a24b3c0fc7f13dab, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_e865086c736fd7a2a24b3c0fc7f13dab, 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_UnicodeDecodeError;
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_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[159]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 929;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[27]);
Py_DECREF(tmp_expression_value_4);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 929;
type_description_1 = "ooo";
goto try_except_handler_3;
}
frame_e865086c736fd7a2a24b3c0fc7f13dab->m_frame.f_lineno = 929;
tmp_assign_source_3 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[236]);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 929;
type_description_1 = "ooo";
goto try_except_handler_3;
}
assert(var_reason == NULL);
var_reason = tmp_assign_source_3;
}
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 926;
}
if (exception_tb && exception_tb->tb_frame == &frame_e865086c736fd7a2a24b3c0fc7f13dab->m_frame) frame_e865086c736fd7a2a24b3c0fc7f13dab->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
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:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_assign_source_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[159]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 931;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_reason == NULL);
var_reason = tmp_assign_source_4;
}
branch_end_1:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_outline_return_value_1;
int tmp_truth_name_1;
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_assign_source_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[155]);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 933;
type_description_1 = "ooo";
goto try_except_handler_4;
}
assert(tmp_comparison_chain_1__operand_2 == NULL);
tmp_comparison_chain_1__operand_2 = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = mod_consts[237];
CHECK_OBJECT(tmp_comparison_chain_1__operand_2);
tmp_cmp_expr_right_2 = tmp_comparison_chain_1__operand_2;
tmp_assign_source_6 = RICH_COMPARE_LE_OBJECT_LONG_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 933;
type_description_1 = "ooo";
goto try_except_handler_4;
}
assert(tmp_comparison_chain_1__comparison_result == NULL);
tmp_comparison_chain_1__comparison_result = tmp_assign_source_6;
}
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(tmp_comparison_chain_1__comparison_result);
tmp_operand_value_1 = tmp_comparison_chain_1__comparison_result;
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 = 933;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
CHECK_OBJECT(tmp_comparison_chain_1__comparison_result);
tmp_outline_return_value_1 = tmp_comparison_chain_1__comparison_result;
Py_INCREF(tmp_outline_return_value_1);
goto try_return_handler_4;
branch_no_4:;
{
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_comparison_chain_1__operand_2);
tmp_cmp_expr_left_3 = tmp_comparison_chain_1__operand_2;
tmp_cmp_expr_right_3 = mod_consts[238];
tmp_outline_return_value_1 = RICH_COMPARE_LT_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_outline_return_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 933;
type_description_1 = "ooo";
goto try_except_handler_4;
}
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_comparison_chain_1__operand_2);
Py_DECREF(tmp_comparison_chain_1__operand_2);
tmp_comparison_chain_1__operand_2 = NULL;
CHECK_OBJECT(tmp_comparison_chain_1__comparison_result);
Py_DECREF(tmp_comparison_chain_1__comparison_result);
tmp_comparison_chain_1__comparison_result = NULL;
goto outline_result_1;
// 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;
Py_XDECREF(tmp_comparison_chain_1__operand_2);
tmp_comparison_chain_1__operand_2 = NULL;
Py_XDECREF(tmp_comparison_chain_1__comparison_result);
tmp_comparison_chain_1__comparison_result = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_1:;
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_outline_return_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_outline_return_value_1);
exception_lineno = 933;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_outline_return_value_1);
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_8;
tmp_mod_expr_left_1 = mod_consts[239];
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[155]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 934;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_9;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_reason);
tmp_tuple_element_1 = var_reason;
PyTuple_SET_ITEM0(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[1]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 934;
type_description_1 = "ooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 2, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_assign_source_7 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 934;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_http_error_msg;
assert(old != NULL);
var_http_error_msg = tmp_assign_source_7;
Py_DECREF(old);
}
}
goto branch_end_3;
branch_no_3:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_outline_return_value_2;
int tmp_truth_name_2;
// Tried code:
{
PyObject *tmp_assign_source_8;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_assign_source_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[155]);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 936;
type_description_1 = "ooo";
goto try_except_handler_5;
}
assert(tmp_comparison_chain_2__operand_2 == NULL);
tmp_comparison_chain_2__operand_2 = tmp_assign_source_8;
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
tmp_cmp_expr_left_4 = mod_consts[238];
CHECK_OBJECT(tmp_comparison_chain_2__operand_2);
tmp_cmp_expr_right_4 = tmp_comparison_chain_2__operand_2;
tmp_assign_source_9 = RICH_COMPARE_LE_OBJECT_LONG_OBJECT(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 936;
type_description_1 = "ooo";
goto try_except_handler_5;
}
assert(tmp_comparison_chain_2__comparison_result == NULL);
tmp_comparison_chain_2__comparison_result = tmp_assign_source_9;
}
{
bool tmp_condition_result_6;
PyObject *tmp_operand_value_2;
CHECK_OBJECT(tmp_comparison_chain_2__comparison_result);
tmp_operand_value_2 = tmp_comparison_chain_2__comparison_result;
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 = 936;
type_description_1 = "ooo";
goto try_except_handler_5;
}
tmp_condition_result_6 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
CHECK_OBJECT(tmp_comparison_chain_2__comparison_result);
tmp_outline_return_value_2 = tmp_comparison_chain_2__comparison_result;
Py_INCREF(tmp_outline_return_value_2);
goto try_return_handler_5;
branch_no_6:;
{
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(tmp_comparison_chain_2__operand_2);
tmp_cmp_expr_left_5 = tmp_comparison_chain_2__operand_2;
tmp_cmp_expr_right_5 = mod_consts[240];
tmp_outline_return_value_2 = RICH_COMPARE_LT_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_outline_return_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 936;
type_description_1 = "ooo";
goto try_except_handler_5;
}
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_comparison_chain_2__operand_2);
Py_DECREF(tmp_comparison_chain_2__operand_2);
tmp_comparison_chain_2__operand_2 = NULL;
CHECK_OBJECT(tmp_comparison_chain_2__comparison_result);
Py_DECREF(tmp_comparison_chain_2__comparison_result);
tmp_comparison_chain_2__comparison_result = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_comparison_chain_2__operand_2);
tmp_comparison_chain_2__operand_2 = NULL;
Py_XDECREF(tmp_comparison_chain_2__comparison_result);
tmp_comparison_chain_2__comparison_result = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_2:;
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_outline_return_value_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_outline_return_value_2);
exception_lineno = 936;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_outline_return_value_2);
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_expression_value_11;
tmp_mod_expr_left_2 = mod_consts[241];
CHECK_OBJECT(par_self);
tmp_expression_value_11 = par_self;
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[155]);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 937;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_12;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_2);
CHECK_OBJECT(var_reason);
tmp_tuple_element_2 = var_reason;
PyTuple_SET_ITEM0(tmp_mod_expr_right_2, 1, tmp_tuple_element_2);
CHECK_OBJECT(par_self);
tmp_expression_value_12 = par_self;
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[1]);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 937;
type_description_1 = "ooo";
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 2, tmp_tuple_element_2);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_mod_expr_right_2);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_assign_source_10 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 937;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_http_error_msg;
assert(old != NULL);
var_http_error_msg = tmp_assign_source_10;
Py_DECREF(old);
}
}
branch_no_5:;
branch_end_3:;
{
bool tmp_condition_result_7;
CHECK_OBJECT(var_http_error_msg);
tmp_condition_result_7 = CHECK_IF_TRUE(var_http_error_msg) == 1;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_3;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_dict_value_0_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[175]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[175]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 940;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_http_error_msg);
tmp_kw_call_arg_value_0_1 = var_http_error_msg;
CHECK_OBJECT(par_self);
tmp_kw_call_dict_value_0_1 = par_self;
frame_e865086c736fd7a2a24b3c0fc7f13dab->m_frame.f_lineno = 940;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_3, args, kw_values, mod_consts[242]);
}
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 940;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 940;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_7:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e865086c736fd7a2a24b3c0fc7f13dab);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e865086c736fd7a2a24b3c0fc7f13dab);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e865086c736fd7a2a24b3c0fc7f13dab, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e865086c736fd7a2a24b3c0fc7f13dab->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e865086c736fd7a2a24b3c0fc7f13dab, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e865086c736fd7a2a24b3c0fc7f13dab,
type_description_1,
par_self,
var_http_error_msg,
var_reason
);
// Release cached frame if used for exception.
if (frame_e865086c736fd7a2a24b3c0fc7f13dab == cache_frame_e865086c736fd7a2a24b3c0fc7f13dab) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e865086c736fd7a2a24b3c0fc7f13dab);
cache_frame_e865086c736fd7a2a24b3c0fc7f13dab = NULL;
}
assertFrameObject(frame_e865086c736fd7a2a24b3c0fc7f13dab);
// 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_http_error_msg);
Py_DECREF(var_http_error_msg);
var_http_error_msg = NULL;
CHECK_OBJECT(var_reason);
Py_DECREF(var_reason);
var_reason = 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_http_error_msg);
var_http_error_msg = NULL;
Py_XDECREF(var_reason);
var_reason = 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_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_requests$models$$$function__43_close(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_release_conn = NULL;
struct Nuitka_FrameObject *frame_456e70c020587f916730e6f7bd7a2657;
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_456e70c020587f916730e6f7bd7a2657 = 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_456e70c020587f916730e6f7bd7a2657)) {
Py_XDECREF(cache_frame_456e70c020587f916730e6f7bd7a2657);
#if _DEBUG_REFCOUNTS
if (cache_frame_456e70c020587f916730e6f7bd7a2657 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_456e70c020587f916730e6f7bd7a2657 = MAKE_FUNCTION_FRAME(codeobj_456e70c020587f916730e6f7bd7a2657, module_requests$models, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_456e70c020587f916730e6f7bd7a2657->m_type_description == NULL);
frame_456e70c020587f916730e6f7bd7a2657 = cache_frame_456e70c020587f916730e6f7bd7a2657;
// Push the new frame as the currently active one.
pushFrameStack(frame_456e70c020587f916730e6f7bd7a2657);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_456e70c020587f916730e6f7bd7a2657) == 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[153]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 948;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 948;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[156]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 949;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_456e70c020587f916730e6f7bd7a2657->m_frame.f_lineno = 949;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[165]);
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 = 949;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_getattr_target_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_getattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[156]);
if (tmp_getattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 951;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_getattr_attr_1 = mod_consts[244];
tmp_getattr_default_1 = Py_None;
tmp_assign_source_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
Py_DECREF(tmp_getattr_target_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 951;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_release_conn == NULL);
var_release_conn = tmp_assign_source_1;
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_release_conn);
tmp_cmp_expr_left_1 = var_release_conn;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_2;
CHECK_OBJECT(var_release_conn);
tmp_called_value_1 = var_release_conn;
frame_456e70c020587f916730e6f7bd7a2657->m_frame.f_lineno = 953;
tmp_call_result_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 953;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_456e70c020587f916730e6f7bd7a2657);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_456e70c020587f916730e6f7bd7a2657);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_456e70c020587f916730e6f7bd7a2657, exception_lineno);
} else if (exception_tb->tb_frame != &frame_456e70c020587f916730e6f7bd7a2657->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_456e70c020587f916730e6f7bd7a2657, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_456e70c020587f916730e6f7bd7a2657,
type_description_1,
par_self,
var_release_conn
);
// Release cached frame if used for exception.
if (frame_456e70c020587f916730e6f7bd7a2657 == cache_frame_456e70c020587f916730e6f7bd7a2657) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_456e70c020587f916730e6f7bd7a2657);
cache_frame_456e70c020587f916730e6f7bd7a2657 = NULL;
}
assertFrameObject(frame_456e70c020587f916730e6f7bd7a2657);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_release_conn);
var_release_conn = 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_release_conn);
var_release_conn = 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 *MAKE_FUNCTION_requests$models$$$function__10_prepare(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__10_prepare,
mod_consts[62],
#if PYTHON_VERSION >= 0x300
mod_consts[323],
#endif
codeobj_1c7ed350145b9a70a5e560eb4d517932,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[75],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__11___repr__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__11___repr__,
mod_consts[318],
#if PYTHON_VERSION >= 0x300
mod_consts[324],
#endif
codeobj_de1cb68a04a936d56bea5888e3da82d1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__12_copy() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__12_copy,
mod_consts[77],
#if PYTHON_VERSION >= 0x300
mod_consts[325],
#endif
codeobj_b2abaacc2bfc499e92ebf3d6ce1d2d36,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__13_prepare_method() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__13_prepare_method,
mod_consts[68],
#if PYTHON_VERSION >= 0x300
mod_consts[326],
#endif
codeobj_cabb9fe4b2f0fd0b857ae0214e3b8839,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[81],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__14__get_idna_encoded_host() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__14__get_idna_encoded_host,
mod_consts[104],
#if PYTHON_VERSION >= 0x300
mod_consts[327],
#endif
codeobj_79f4a5fb1901046f706f1a1b785d5219,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__15_prepare_url() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__15_prepare_url,
mod_consts[69],
#if PYTHON_VERSION >= 0x300
mod_consts[328],
#endif
codeobj_f17490b0af410405f38c2f6ab8ecce7d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[113],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__16_prepare_headers() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__16_prepare_headers,
mod_consts[70],
#if PYTHON_VERSION >= 0x300
mod_consts[329],
#endif
codeobj_836ebbb6c6c8f89e4be5c86ea8db4dec,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[116],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__17_prepare_body(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__17_prepare_body,
mod_consts[72],
#if PYTHON_VERSION >= 0x300
mod_consts[331],
#endif
codeobj_b9e8e6dcb71d78cd2aa3b14390ed2921,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[135],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__18_prepare_content_length() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__18_prepare_content_length,
mod_consts[132],
#if PYTHON_VERSION >= 0x300
mod_consts[332],
#endif
codeobj_8b76ced077ff45370d95f824f758b4e6,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[140],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__19_prepare_auth(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__19_prepare_auth,
mod_consts[73],
#if PYTHON_VERSION >= 0x300
mod_consts[333],
#endif
codeobj_c1a08eb2e379237acb274d07ee9ab155,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[144],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__1_path_url() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__1_path_url,
mod_consts[303],
#if PYTHON_VERSION >= 0x300
mod_consts[304],
#endif
codeobj_a45eddef1de3abacc02b086c28220170,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[8],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__20_prepare_cookies() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__20_prepare_cookies,
mod_consts[71],
#if PYTHON_VERSION >= 0x300
mod_consts[334],
#endif
codeobj_4a526cbf1efe3c4ac6c170663a9fa3d3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[150],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__21_prepare_hooks() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__21_prepare_hooks,
mod_consts[74],
#if PYTHON_VERSION >= 0x300
mod_consts[335],
#endif
codeobj_df14be24c420a238fc70ee6f0d2d7ffd,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[151],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__22___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__22___init__,
mod_consts[316],
#if PYTHON_VERSION >= 0x300
mod_consts[339],
#endif
codeobj_0b2ae2e33e2e352089aaa99c31d12a1e,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__23___enter__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__23___enter__,
mod_consts[340],
#if PYTHON_VERSION >= 0x300
mod_consts[341],
#endif
codeobj_675fbdb52a48d624a8c697cf385eec3c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__24___exit__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__24___exit__,
mod_consts[342],
#if PYTHON_VERSION >= 0x300
mod_consts[343],
#endif
codeobj_3333536072dc4275875c2a30865d5681,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__25___getstate__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__25___getstate__,
mod_consts[344],
#if PYTHON_VERSION >= 0x300
mod_consts[345],
#endif
codeobj_78cbe34d571a814a06e69dd225d4cc49,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__26___setstate__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__26___setstate__,
mod_consts[346],
#if PYTHON_VERSION >= 0x300
mod_consts[347],
#endif
codeobj_602934f6e8661875901a20623e889f8f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__27___repr__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__27___repr__,
mod_consts[318],
#if PYTHON_VERSION >= 0x300
mod_consts[348],
#endif
codeobj_0f1334a3d61c580420f3e30275650b47,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__28___bool__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__28___bool__,
mod_consts[349],
#if PYTHON_VERSION >= 0x300
mod_consts[350],
#endif
codeobj_a511fdfb4954983c61a6b870d89e5902,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[170],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__29___nonzero__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__29___nonzero__,
mod_consts[351],
#if PYTHON_VERSION >= 0x300
mod_consts[352],
#endif
codeobj_95cae83f78ad185411640a2432d531fe,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[170],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__2__encode_params() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__2__encode_params,
mod_consts[109],
#if PYTHON_VERSION >= 0x300
mod_consts[306],
#endif
codeobj_0963078e90142a621b8732efbb7b4b32,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[22],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__30___iter__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__30___iter__,
mod_consts[12],
#if PYTHON_VERSION >= 0x300
mod_consts[353],
#endif
codeobj_20b5760eb9ffcf3bd83f9d6cae339f6d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[173],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__31_ok() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__31_ok,
mod_consts[169],
#if PYTHON_VERSION >= 0x300
mod_consts[354],
#endif
codeobj_14cf80b52271d34dbf07a628be133af5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[176],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__32_is_redirect() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__32_is_redirect,
mod_consts[355],
#if PYTHON_VERSION >= 0x300
mod_consts[356],
#endif
codeobj_b84f2ce1ea66b77b6dd681df4752c88e,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[179],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__33_is_permanent_redirect() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__33_is_permanent_redirect,
mod_consts[357],
#if PYTHON_VERSION >= 0x300
mod_consts[358],
#endif
codeobj_85048466da88f08d969225b5f6d6928f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[183],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__34_next() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__34_next,
mod_consts[359],
#if PYTHON_VERSION >= 0x300
mod_consts[360],
#endif
codeobj_f199683ab0cd61435a067dd360dcfd05,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[184],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__35_apparent_encoding() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__35_apparent_encoding,
mod_consts[222],
#if PYTHON_VERSION >= 0x300
mod_consts[361],
#endif
codeobj_47ae20e1b80f9128654b503f1b642e1f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[187],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__36_iter_content(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__36_iter_content,
mod_consts[171],
#if PYTHON_VERSION >= 0x300
mod_consts[363],
#endif
codeobj_bb8a0f3fc298d6282ae4b589d86e3755,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[194],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__36_iter_content$$$function__1_generate(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__36_iter_content$$$function__1_generate,
mod_consts[188],
#if PYTHON_VERSION >= 0x300
mod_consts[189],
#endif
codeobj_7b9d5043a9683ebcc994fd2e1ace3883,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
closure,
2
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__37_iter_lines(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__37_iter_lines,
mod_consts[214],
#if PYTHON_VERSION >= 0x300
mod_consts[215],
#endif
codeobj_75b5ee167b0b549be904e69f6e51d969,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[204],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__38_content() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__38_content,
mod_consts[166],
#if PYTHON_VERSION >= 0x300
mod_consts[364],
#endif
codeobj_18e3550ea33a5a4ef13297bf8f8bdca7,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[220],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__39_text() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__39_text,
mod_consts[228],
#if PYTHON_VERSION >= 0x300
mod_consts[365],
#endif
codeobj_baa0b0271964fbcc399707ea6de8b36e,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[225],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__3__encode_files() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__3__encode_files,
mod_consts[130],
#if PYTHON_VERSION >= 0x300
mod_consts[307],
#endif
codeobj_7317d8f451794aa2e997ebe3244a8fd7,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[37],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__40_json() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__40_json,
mod_consts[56],
#if PYTHON_VERSION >= 0x300
mod_consts[366],
#endif
codeobj_cdc0114f9f7edc9d0a39c5d988ceca26,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[229],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__41_links() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__41_links,
mod_consts[367],
#if PYTHON_VERSION >= 0x300
mod_consts[368],
#endif
codeobj_190218a846a431e82a477bdeee4716a1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[235],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__42_raise_for_status() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__42_raise_for_status,
mod_consts[174],
#if PYTHON_VERSION >= 0x300
mod_consts[369],
#endif
codeobj_e865086c736fd7a2a24b3c0fc7f13dab,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[243],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__43_close() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__43_close,
mod_consts[165],
#if PYTHON_VERSION >= 0x300
mod_consts[370],
#endif
codeobj_456e70c020587f916730e6f7bd7a2657,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[245],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__4_register_hook() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__4_register_hook,
mod_consts[50],
#if PYTHON_VERSION >= 0x300
mod_consts[310],
#endif
codeobj_26da3240b2a91615a059388794c443a1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[42],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__5_deregister_hook() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__5_deregister_hook,
mod_consts[311],
#if PYTHON_VERSION >= 0x300
mod_consts[312],
#endif
codeobj_3b7071338589f3ba7c6f5837609b2da4,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[46],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__6___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__6___init__,
mod_consts[316],
#if PYTHON_VERSION >= 0x300
mod_consts[317],
#endif
codeobj_02a1059045e54ce0c2c2e60a2648ad63,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__7___repr__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__7___repr__,
mod_consts[318],
#if PYTHON_VERSION >= 0x300
mod_consts[319],
#endif
codeobj_d37bef45d2689ae2c1b9c6cb9c14ac98,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__8_prepare() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__8_prepare,
mod_consts[62],
#if PYTHON_VERSION >= 0x300
mod_consts[320],
#endif
codeobj_8e8aa26540a6117f933ba59f503e88f8,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
mod_consts[64],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_requests$models$$$function__9___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_requests$models$$$function__9___init__,
mod_consts[316],
#if PYTHON_VERSION >= 0x300
mod_consts[322],
#endif
codeobj_9f6828949af4164c4521381d16d9f211,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_requests$models,
NULL,
NULL,
0
);
return (PyObject *)result;
}
extern void _initCompiledCellType();
extern void _initCompiledGeneratorType();
extern void _initCompiledFunctionType();
extern void _initCompiledMethodType();
extern void _initCompiledFrameType();
extern PyTypeObject Nuitka_Loader_Type;
#ifdef _NUITKA_PLUGIN_DILL_ENABLED
// Provide a way to create find a function via its C code and create it back
// in another process, useful for multiprocessing extensions like dill
extern void registerDillPluginTables(char const *module_name, PyMethodDef *reduce_compiled_function, PyMethodDef *create_compiled_function);
function_impl_code functable_requests$models[] = {
impl_requests$models$$$function__36_iter_content$$$function__1_generate,
impl_requests$models$$$function__1_path_url,
impl_requests$models$$$function__2__encode_params,
impl_requests$models$$$function__3__encode_files,
impl_requests$models$$$function__4_register_hook,
impl_requests$models$$$function__5_deregister_hook,
impl_requests$models$$$function__6___init__,
impl_requests$models$$$function__7___repr__,
impl_requests$models$$$function__8_prepare,
impl_requests$models$$$function__9___init__,
impl_requests$models$$$function__10_prepare,
impl_requests$models$$$function__11___repr__,
impl_requests$models$$$function__12_copy,
impl_requests$models$$$function__13_prepare_method,
impl_requests$models$$$function__14__get_idna_encoded_host,
impl_requests$models$$$function__15_prepare_url,
impl_requests$models$$$function__16_prepare_headers,
impl_requests$models$$$function__17_prepare_body,
impl_requests$models$$$function__18_prepare_content_length,
impl_requests$models$$$function__19_prepare_auth,
impl_requests$models$$$function__20_prepare_cookies,
impl_requests$models$$$function__21_prepare_hooks,
impl_requests$models$$$function__22___init__,
impl_requests$models$$$function__23___enter__,
impl_requests$models$$$function__24___exit__,
impl_requests$models$$$function__25___getstate__,
impl_requests$models$$$function__26___setstate__,
impl_requests$models$$$function__27___repr__,
impl_requests$models$$$function__28___bool__,
impl_requests$models$$$function__29___nonzero__,
impl_requests$models$$$function__30___iter__,
impl_requests$models$$$function__31_ok,
impl_requests$models$$$function__32_is_redirect,
impl_requests$models$$$function__33_is_permanent_redirect,
impl_requests$models$$$function__34_next,
impl_requests$models$$$function__35_apparent_encoding,
impl_requests$models$$$function__36_iter_content,
impl_requests$models$$$function__37_iter_lines,
impl_requests$models$$$function__38_content,
impl_requests$models$$$function__39_text,
impl_requests$models$$$function__40_json,
impl_requests$models$$$function__41_links,
impl_requests$models$$$function__42_raise_for_status,
impl_requests$models$$$function__43_close,
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_requests$models;
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_requests$models) || 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_requests$models[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_requests$models,
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_requests$models(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("requests.models");
// Store the module for future use.
module_requests$models = 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("requests.models: 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("requests.models: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("requests.models: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in initrequests$models\n");
moduledict_requests$models = MODULE_DICT(module_requests$models);
#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_requests$models,
(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_requests$models,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[7]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_requests$models,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_requests$models, (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_requests$models,
(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_requests$models, (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_requests$models,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_requests$models);
// 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_requests$models, (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_requests$models, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_requests$models, (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_requests$models, (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_requests$models);
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_requests$models, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
PyObject *outline_1_var___class__ = NULL;
PyObject *outline_2_var___class__ = NULL;
PyObject *outline_3_var___class__ = NULL;
PyObject *outline_4_var___class__ = NULL;
PyObject *tmp_class_creation_1__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_class_creation_3__bases = NULL;
PyObject *tmp_class_creation_3__bases_orig = NULL;
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
PyObject *tmp_class_creation_3__metaclass = NULL;
PyObject *tmp_class_creation_3__prepared = NULL;
PyObject *tmp_class_creation_4__bases = NULL;
PyObject *tmp_class_creation_4__bases_orig = NULL;
PyObject *tmp_class_creation_4__class_decl_dict = NULL;
PyObject *tmp_class_creation_4__metaclass = NULL;
PyObject *tmp_class_creation_4__prepared = NULL;
PyObject *tmp_class_creation_5__bases = NULL;
PyObject *tmp_class_creation_5__class_decl_dict = NULL;
PyObject *tmp_class_creation_5__metaclass = NULL;
PyObject *tmp_class_creation_5__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
PyObject *tmp_import_from_2__module = NULL;
PyObject *tmp_import_from_3__module = NULL;
PyObject *tmp_import_from_4__module = NULL;
PyObject *tmp_import_from_5__module = NULL;
PyObject *tmp_import_from_6__module = NULL;
struct Nuitka_FrameObject *frame_51444825c9a5198f623d248658adae87;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_requests$models$$$class__1_RequestEncodingMixin_60 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_0f5ce25d5bc5e2e38c732df910215a94_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_0f5ce25d5bc5e2e38c732df910215a94_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_requests$models$$$class__2_RequestHooksMixin_174 = NULL;
struct Nuitka_FrameObject *frame_56a12d2809ff26d5cf752c8824c53811_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_56a12d2809ff26d5cf752c8824c53811_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;
PyObject *locals_requests$models$$$class__3_Request_198 = NULL;
struct Nuitka_FrameObject *frame_5aed3b176021ea41833105c411aa98ee_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_5aed3b176021ea41833105c411aa98ee_4 = NULL;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
PyObject *exception_keeper_type_14;
PyObject *exception_keeper_value_14;
PyTracebackObject *exception_keeper_tb_14;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14;
PyObject *exception_keeper_type_15;
PyObject *exception_keeper_value_15;
PyTracebackObject *exception_keeper_tb_15;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15;
PyObject *locals_requests$models$$$class__4_PreparedRequest_272 = NULL;
struct Nuitka_FrameObject *frame_378872544ac8d9e3a1bd76437ff81127_5;
NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL;
static struct Nuitka_FrameObject *cache_frame_378872544ac8d9e3a1bd76437ff81127_5 = NULL;
PyObject *exception_keeper_type_16;
PyObject *exception_keeper_value_16;
PyTracebackObject *exception_keeper_tb_16;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16;
PyObject *exception_keeper_type_17;
PyObject *exception_keeper_value_17;
PyTracebackObject *exception_keeper_tb_17;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17;
PyObject *exception_keeper_type_18;
PyObject *exception_keeper_value_18;
PyTracebackObject *exception_keeper_tb_18;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18;
PyObject *locals_requests$models$$$class__5_Response_586 = NULL;
struct Nuitka_FrameObject *frame_4bb039bda945473d8156c26771dbcf99_6;
NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL;
static struct Nuitka_FrameObject *cache_frame_4bb039bda945473d8156c26771dbcf99_6 = NULL;
PyObject *exception_keeper_type_19;
PyObject *exception_keeper_value_19;
PyTracebackObject *exception_keeper_tb_19;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19;
PyObject *exception_keeper_type_20;
PyObject *exception_keeper_value_20;
PyTracebackObject *exception_keeper_tb_20;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_20;
PyObject *exception_keeper_type_21;
PyObject *exception_keeper_value_21;
PyTracebackObject *exception_keeper_tb_21;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[246];
UPDATE_STRING_DICT0(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[247], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[248];
UPDATE_STRING_DICT0(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[249], tmp_assign_source_2);
}
// Frame without reuse.
frame_51444825c9a5198f623d248658adae87 = MAKE_MODULE_FRAME(codeobj_51444825c9a5198f623d248658adae87, module_requests$models);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_51444825c9a5198f623d248658adae87);
assert(Py_REFCNT(frame_51444825c9a5198f623d248658adae87) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[248];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[250]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[250]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[251], 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_requests$models, (Nuitka_StringObject *)mod_consts[250]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[250]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[252], 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_requests$models, (Nuitka_StringObject *)mod_consts[253], tmp_assign_source_3);
}
{
PyObject *tmp_assign_source_4;
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[160];
tmp_globals_arg_value_1 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[83];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 10;
tmp_assign_source_4 = 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_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 10;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[160], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = IMPORT_HARD_SYS();
assert(!(tmp_assign_source_5 == NULL));
UPDATE_STRING_DICT0(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[254], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_name_value_2;
PyObject *tmp_globals_arg_value_2;
PyObject *tmp_locals_arg_value_2;
PyObject *tmp_fromlist_value_2;
PyObject *tmp_level_value_2;
tmp_name_value_2 = mod_consts[255];
tmp_globals_arg_value_2 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[83];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 16;
tmp_assign_source_6 = IMPORT_MODULE5(tmp_name_value_2, tmp_globals_arg_value_2, tmp_locals_arg_value_2, tmp_fromlist_value_2, tmp_level_value_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[256], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_import_name_from_1;
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[257];
tmp_globals_arg_value_3 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = mod_consts[258];
tmp_level_value_3 = mod_consts[83];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 18;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 18;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_7 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_requests$models,
mod_consts[32],
mod_consts[83]
);
} else {
tmp_assign_source_7 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[32]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 18;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[32], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_import_name_from_2;
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[259];
tmp_globals_arg_value_4 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[260];
tmp_level_value_4 = mod_consts[83];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 19;
tmp_import_name_from_2 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
if (tmp_import_name_from_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 19;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_8 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_requests$models,
mod_consts[36],
mod_consts[83]
);
} else {
tmp_assign_source_8 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[36]);
}
Py_DECREF(tmp_import_name_from_2);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 19;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[36], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_import_name_from_3;
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[261];
tmp_globals_arg_value_5 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = mod_consts[262];
tmp_level_value_5 = mod_consts[83];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 20;
tmp_import_name_from_3 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
if (tmp_import_name_from_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 20;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_9 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_requests$models,
mod_consts[94],
mod_consts[83]
);
} else {
tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[94]);
}
Py_DECREF(tmp_import_name_from_3);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 20;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[94], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
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[263];
tmp_globals_arg_value_6 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = mod_consts[264];
tmp_level_value_6 = mod_consts[83];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 21;
tmp_assign_source_10 = IMPORT_MODULE5(tmp_name_value_6, tmp_globals_arg_value_6, tmp_locals_arg_value_6, tmp_fromlist_value_6, tmp_level_value_6);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 21;
goto frame_exception_exit_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_10;
}
// Tried code:
{
PyObject *tmp_assign_source_11;
PyObject *tmp_import_name_from_4;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_4 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_11 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_requests$models,
mod_consts[200],
mod_consts[83]
);
} else {
tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[200]);
}
if (tmp_assign_source_11 == 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_requests$models, (Nuitka_StringObject *)mod_consts[200], tmp_assign_source_11);
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_5 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_12 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_requests$models,
mod_consts[202],
mod_consts[83]
);
} else {
tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[202]);
}
if (tmp_assign_source_12 == 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_requests$models, (Nuitka_StringObject *)mod_consts[202], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_6 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_requests$models,
mod_consts[198],
mod_consts[83]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[198]);
}
if (tmp_assign_source_13 == 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_requests$models, (Nuitka_StringObject *)mod_consts[198], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_7;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_7 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_requests$models,
mod_consts[96],
mod_consts[83]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[96]);
}
if (tmp_assign_source_14 == 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_requests$models, (Nuitka_StringObject *)mod_consts[96], tmp_assign_source_14);
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_8;
tmp_import_name_from_8 = IMPORT_HARD_IO();
assert(!(tmp_import_name_from_8 == NULL));
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_requests$models,
mod_consts[122],
mod_consts[83]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[122]);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 24;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[122], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_9;
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[38];
tmp_globals_arg_value_7 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[265];
tmp_level_value_7 = mod_consts[266];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 25;
tmp_import_name_from_9 = 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_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 25;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_requests$models,
mod_consts[47],
mod_consts[83]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[47]);
}
Py_DECREF(tmp_import_name_from_9);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 25;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[47], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_10;
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[267];
tmp_globals_arg_value_8 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = mod_consts[268];
tmp_level_value_8 = mod_consts[266];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 26;
tmp_import_name_from_10 = 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_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_10)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_requests$models,
mod_consts[114],
mod_consts[83]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[114]);
}
Py_DECREF(tmp_import_name_from_10);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[114], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_import_name_from_11;
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[58];
tmp_globals_arg_value_9 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_9 = Py_None;
tmp_fromlist_value_9 = mod_consts[269];
tmp_level_value_9 = mod_consts[266];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 28;
tmp_import_name_from_11 = 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_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 28;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_11)) {
tmp_assign_source_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_11,
(PyObject *)moduledict_requests$models,
mod_consts[142],
mod_consts[83]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[142]);
}
Py_DECREF(tmp_import_name_from_11);
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 28;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[142], tmp_assign_source_18);
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_name_value_10;
PyObject *tmp_globals_arg_value_10;
PyObject *tmp_locals_arg_value_10;
PyObject *tmp_fromlist_value_10;
PyObject *tmp_level_value_10;
tmp_name_value_10 = mod_consts[59];
tmp_globals_arg_value_10 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_10 = Py_None;
tmp_fromlist_value_10 = mod_consts[270];
tmp_level_value_10 = mod_consts[266];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 29;
tmp_assign_source_19 = IMPORT_MODULE5(tmp_name_value_10, tmp_globals_arg_value_10, tmp_locals_arg_value_10, tmp_fromlist_value_10, tmp_level_value_10);
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto frame_exception_exit_1;
}
assert(tmp_import_from_2__module == NULL);
tmp_import_from_2__module = tmp_assign_source_19;
}
// Tried code:
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_12;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_12 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_12)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_12,
(PyObject *)moduledict_requests$models,
mod_consts[147],
mod_consts[83]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[147]);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[147], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_import_name_from_13;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_13 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_13)) {
tmp_assign_source_21 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_13,
(PyObject *)moduledict_requests$models,
mod_consts[148],
mod_consts[83]
);
} else {
tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[148]);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[148], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_import_name_from_14;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_14 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_14)) {
tmp_assign_source_22 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_14,
(PyObject *)moduledict_requests$models,
mod_consts[78],
mod_consts[83]
);
} else {
tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_14, mod_consts[78]);
}
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[78], tmp_assign_source_22);
}
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;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_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_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
{
PyObject *tmp_assign_source_23;
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[271];
tmp_globals_arg_value_11 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_11 = Py_None;
tmp_fromlist_value_11 = mod_consts[272];
tmp_level_value_11 = mod_consts[266];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 30;
tmp_assign_source_23 = 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_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 30;
goto frame_exception_exit_1;
}
assert(tmp_import_from_3__module == NULL);
tmp_import_from_3__module = tmp_assign_source_23;
}
// Tried code:
{
PyObject *tmp_assign_source_24;
PyObject *tmp_import_name_from_15;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_15 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_15)) {
tmp_assign_source_24 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_15,
(PyObject *)moduledict_requests$models,
mod_consts[175],
mod_consts[83]
);
} else {
tmp_assign_source_24 = IMPORT_NAME(tmp_import_name_from_15, mod_consts[175]);
}
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 30;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[175], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
PyObject *tmp_import_name_from_16;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_16 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_16)) {
tmp_assign_source_25 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_16,
(PyObject *)moduledict_requests$models,
mod_consts[101],
mod_consts[83]
);
} else {
tmp_assign_source_25 = IMPORT_NAME(tmp_import_name_from_16, mod_consts[101]);
}
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 30;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[101], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
PyObject *tmp_import_name_from_17;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_17 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_17)) {
tmp_assign_source_26 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_17,
(PyObject *)moduledict_requests$models,
mod_consts[97],
mod_consts[83]
);
} else {
tmp_assign_source_26 = IMPORT_NAME(tmp_import_name_from_17, mod_consts[97]);
}
if (tmp_assign_source_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 30;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[97], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
PyObject *tmp_import_name_from_18;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_18 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_18)) {
tmp_assign_source_27 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_18,
(PyObject *)moduledict_requests$models,
mod_consts[199],
mod_consts[83]
);
} else {
tmp_assign_source_27 = IMPORT_NAME(tmp_import_name_from_18, mod_consts[199]);
}
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 30;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[199], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
PyObject *tmp_import_name_from_19;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_19 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_19)) {
tmp_assign_source_28 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_19,
(PyObject *)moduledict_requests$models,
mod_consts[201],
mod_consts[83]
);
} else {
tmp_assign_source_28 = IMPORT_NAME(tmp_import_name_from_19, mod_consts[201]);
}
if (tmp_assign_source_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 30;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[201], tmp_assign_source_28);
}
{
PyObject *tmp_assign_source_29;
PyObject *tmp_import_name_from_20;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_20 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_20)) {
tmp_assign_source_29 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_20,
(PyObject *)moduledict_requests$models,
mod_consts[203],
mod_consts[83]
);
} else {
tmp_assign_source_29 = IMPORT_NAME(tmp_import_name_from_20, mod_consts[203]);
}
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 30;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[203], tmp_assign_source_29);
}
{
PyObject *tmp_assign_source_30;
PyObject *tmp_import_name_from_21;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_21 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_21)) {
tmp_assign_source_30 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_21,
(PyObject *)moduledict_requests$models,
mod_consts[190],
mod_consts[83]
);
} else {
tmp_assign_source_30 = IMPORT_NAME(tmp_import_name_from_21, mod_consts[190]);
}
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 30;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[190], tmp_assign_source_30);
}
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;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
{
PyObject *tmp_assign_source_31;
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[273];
tmp_globals_arg_value_12 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_12 = Py_None;
tmp_fromlist_value_12 = mod_consts[274];
tmp_level_value_12 = mod_consts[266];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 33;
tmp_assign_source_31 = 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_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 33;
goto frame_exception_exit_1;
}
assert(tmp_import_from_4__module == NULL);
tmp_import_from_4__module = tmp_assign_source_31;
}
// Tried code:
{
PyObject *tmp_assign_source_32;
PyObject *tmp_import_name_from_22;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_22 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_22)) {
tmp_assign_source_32 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_22,
(PyObject *)moduledict_requests$models,
mod_consts[79],
mod_consts[83]
);
} else {
tmp_assign_source_32 = IMPORT_NAME(tmp_import_name_from_22, mod_consts[79]);
}
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 33;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[79], tmp_assign_source_32);
}
{
PyObject *tmp_assign_source_33;
PyObject *tmp_import_name_from_23;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_23 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_23)) {
tmp_assign_source_33 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_23,
(PyObject *)moduledict_requests$models,
mod_consts[103],
mod_consts[83]
);
} else {
tmp_assign_source_33 = IMPORT_NAME(tmp_import_name_from_23, mod_consts[103]);
}
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 33;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[103], tmp_assign_source_33);
}
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;
CHECK_OBJECT(tmp_import_from_4__module);
Py_DECREF(tmp_import_from_4__module);
tmp_import_from_4__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_import_from_4__module);
Py_DECREF(tmp_import_from_4__module);
tmp_import_from_4__module = NULL;
{
PyObject *tmp_assign_source_34;
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[275];
tmp_globals_arg_value_13 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_13 = Py_None;
tmp_fromlist_value_13 = mod_consts[276];
tmp_level_value_13 = mod_consts[266];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 34;
tmp_assign_source_34 = 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_assign_source_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 34;
goto frame_exception_exit_1;
}
assert(tmp_import_from_5__module == NULL);
tmp_import_from_5__module = tmp_assign_source_34;
}
// Tried code:
{
PyObject *tmp_assign_source_35;
PyObject *tmp_import_name_from_24;
CHECK_OBJECT(tmp_import_from_5__module);
tmp_import_name_from_24 = tmp_import_from_5__module;
if (PyModule_Check(tmp_import_name_from_24)) {
tmp_assign_source_35 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_24,
(PyObject *)moduledict_requests$models,
mod_consts[31],
mod_consts[83]
);
} else {
tmp_assign_source_35 = IMPORT_NAME(tmp_import_name_from_24, mod_consts[31]);
}
if (tmp_assign_source_35 == 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_requests$models, (Nuitka_StringObject *)mod_consts[31], tmp_assign_source_35);
}
{
PyObject *tmp_assign_source_36;
PyObject *tmp_import_name_from_25;
CHECK_OBJECT(tmp_import_from_5__module);
tmp_import_name_from_25 = tmp_import_from_5__module;
if (PyModule_Check(tmp_import_name_from_25)) {
tmp_assign_source_36 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_25,
(PyObject *)moduledict_requests$models,
mod_consts[141],
mod_consts[83]
);
} else {
tmp_assign_source_36 = IMPORT_NAME(tmp_import_name_from_25, mod_consts[141]);
}
if (tmp_assign_source_36 == 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_requests$models, (Nuitka_StringObject *)mod_consts[141], tmp_assign_source_36);
}
{
PyObject *tmp_assign_source_37;
PyObject *tmp_import_name_from_26;
CHECK_OBJECT(tmp_import_from_5__module);
tmp_import_name_from_26 = tmp_import_from_5__module;
if (PyModule_Check(tmp_import_name_from_26)) {
tmp_assign_source_37 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_26,
(PyObject *)moduledict_requests$models,
mod_consts[111],
mod_consts[83]
);
} else {
tmp_assign_source_37 = IMPORT_NAME(tmp_import_name_from_26, mod_consts[111]);
}
if (tmp_assign_source_37 == 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_requests$models, (Nuitka_StringObject *)mod_consts[111], tmp_assign_source_37);
}
{
PyObject *tmp_assign_source_38;
PyObject *tmp_import_name_from_27;
CHECK_OBJECT(tmp_import_from_5__module);
tmp_import_name_from_27 = tmp_import_from_5__module;
if (PyModule_Check(tmp_import_name_from_27)) {
tmp_assign_source_38 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_27,
(PyObject *)moduledict_requests$models,
mod_consts[193],
mod_consts[83]
);
} else {
tmp_assign_source_38 = IMPORT_NAME(tmp_import_name_from_27, mod_consts[193]);
}
if (tmp_assign_source_38 == 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_requests$models, (Nuitka_StringObject *)mod_consts[193], tmp_assign_source_38);
}
{
PyObject *tmp_assign_source_39;
PyObject *tmp_import_name_from_28;
CHECK_OBJECT(tmp_import_from_5__module);
tmp_import_name_from_28 = tmp_import_from_5__module;
if (PyModule_Check(tmp_import_name_from_28)) {
tmp_assign_source_39 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_28,
(PyObject *)moduledict_requests$models,
mod_consts[13],
mod_consts[83]
);
} else {
tmp_assign_source_39 = IMPORT_NAME(tmp_import_name_from_28, mod_consts[13]);
}
if (tmp_assign_source_39 == 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_requests$models, (Nuitka_StringObject *)mod_consts[13], tmp_assign_source_39);
}
{
PyObject *tmp_assign_source_40;
PyObject *tmp_import_name_from_29;
CHECK_OBJECT(tmp_import_from_5__module);
tmp_import_name_from_29 = tmp_import_from_5__module;
if (PyModule_Check(tmp_import_name_from_29)) {
tmp_assign_source_40 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_29,
(PyObject *)moduledict_requests$models,
mod_consts[231],
mod_consts[83]
);
} else {
tmp_assign_source_40 = IMPORT_NAME(tmp_import_name_from_29, mod_consts[231]);
}
if (tmp_assign_source_40 == 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_requests$models, (Nuitka_StringObject *)mod_consts[231], tmp_assign_source_40);
}
{
PyObject *tmp_assign_source_41;
PyObject *tmp_import_name_from_30;
CHECK_OBJECT(tmp_import_from_5__module);
tmp_import_name_from_30 = tmp_import_from_5__module;
if (PyModule_Check(tmp_import_name_from_30)) {
tmp_assign_source_41 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_30,
(PyObject *)moduledict_requests$models,
mod_consts[192],
mod_consts[83]
);
} else {
tmp_assign_source_41 = IMPORT_NAME(tmp_import_name_from_30, mod_consts[192]);
}
if (tmp_assign_source_41 == 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_requests$models, (Nuitka_StringObject *)mod_consts[192], tmp_assign_source_41);
}
{
PyObject *tmp_assign_source_42;
PyObject *tmp_import_name_from_31;
CHECK_OBJECT(tmp_import_from_5__module);
tmp_import_name_from_31 = tmp_import_from_5__module;
if (PyModule_Check(tmp_import_name_from_31)) {
tmp_assign_source_42 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_31,
(PyObject *)moduledict_requests$models,
mod_consts[226],
mod_consts[83]
);
} else {
tmp_assign_source_42 = IMPORT_NAME(tmp_import_name_from_31, mod_consts[226]);
}
if (tmp_assign_source_42 == 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_requests$models, (Nuitka_StringObject *)mod_consts[226], tmp_assign_source_42);
}
{
PyObject *tmp_assign_source_43;
PyObject *tmp_import_name_from_32;
CHECK_OBJECT(tmp_import_from_5__module);
tmp_import_name_from_32 = tmp_import_from_5__module;
if (PyModule_Check(tmp_import_name_from_32)) {
tmp_assign_source_43 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_32,
(PyObject *)moduledict_requests$models,
mod_consts[121],
mod_consts[83]
);
} else {
tmp_assign_source_43 = IMPORT_NAME(tmp_import_name_from_32, mod_consts[121]);
}
if (tmp_assign_source_43 == 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_requests$models, (Nuitka_StringObject *)mod_consts[121], tmp_assign_source_43);
}
{
PyObject *tmp_assign_source_44;
PyObject *tmp_import_name_from_33;
CHECK_OBJECT(tmp_import_from_5__module);
tmp_import_name_from_33 = tmp_import_from_5__module;
if (PyModule_Check(tmp_import_name_from_33)) {
tmp_assign_source_44 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_33,
(PyObject *)moduledict_requests$models,
mod_consts[115],
mod_consts[83]
);
} else {
tmp_assign_source_44 = IMPORT_NAME(tmp_import_name_from_33, mod_consts[115]);
}
if (tmp_assign_source_44 == 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_requests$models, (Nuitka_StringObject *)mod_consts[115], tmp_assign_source_44);
}
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;
CHECK_OBJECT(tmp_import_from_5__module);
Py_DECREF(tmp_import_from_5__module);
tmp_import_from_5__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
CHECK_OBJECT(tmp_import_from_5__module);
Py_DECREF(tmp_import_from_5__module);
tmp_import_from_5__module = NULL;
{
PyObject *tmp_assign_source_45;
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[277];
tmp_globals_arg_value_14 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_14 = Py_None;
tmp_fromlist_value_14 = mod_consts[278];
tmp_level_value_14 = mod_consts[266];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 38;
tmp_assign_source_45 = 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_assign_source_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto frame_exception_exit_1;
}
assert(tmp_import_from_6__module == NULL);
tmp_import_from_6__module = tmp_assign_source_45;
}
// Tried code:
{
PyObject *tmp_assign_source_46;
PyObject *tmp_import_name_from_34;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_34 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_34)) {
tmp_assign_source_46 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_34,
(PyObject *)moduledict_requests$models,
mod_consts[40],
mod_consts[83]
);
} else {
tmp_assign_source_46 = IMPORT_NAME(tmp_import_name_from_34, mod_consts[40]);
}
if (tmp_assign_source_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[40], tmp_assign_source_46);
}
{
PyObject *tmp_assign_source_47;
PyObject *tmp_import_name_from_35;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_35 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_35)) {
tmp_assign_source_47 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_35,
(PyObject *)moduledict_requests$models,
mod_consts[120],
mod_consts[83]
);
} else {
tmp_assign_source_47 = IMPORT_NAME(tmp_import_name_from_35, mod_consts[120]);
}
if (tmp_assign_source_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[120], tmp_assign_source_47);
}
{
PyObject *tmp_assign_source_48;
PyObject *tmp_import_name_from_36;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_36 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_36)) {
tmp_assign_source_48 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_36,
(PyObject *)moduledict_requests$models,
mod_consts[145],
mod_consts[83]
);
} else {
tmp_assign_source_48 = IMPORT_NAME(tmp_import_name_from_36, mod_consts[145]);
}
if (tmp_assign_source_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[145], tmp_assign_source_48);
}
{
PyObject *tmp_assign_source_49;
PyObject *tmp_import_name_from_37;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_37 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_37)) {
tmp_assign_source_49 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_37,
(PyObject *)moduledict_requests$models,
mod_consts[112],
mod_consts[83]
);
} else {
tmp_assign_source_49 = IMPORT_NAME(tmp_import_name_from_37, mod_consts[112]);
}
if (tmp_assign_source_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[112], tmp_assign_source_49);
}
{
PyObject *tmp_assign_source_50;
PyObject *tmp_import_name_from_38;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_38 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_38)) {
tmp_assign_source_50 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_38,
(PyObject *)moduledict_requests$models,
mod_consts[0],
mod_consts[83]
);
} else {
tmp_assign_source_50 = IMPORT_NAME(tmp_import_name_from_38, mod_consts[0]);
}
if (tmp_assign_source_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_50);
}
{
PyObject *tmp_assign_source_51;
PyObject *tmp_import_name_from_39;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_39 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_39)) {
tmp_assign_source_51 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_39,
(PyObject *)moduledict_requests$models,
mod_consts[20],
mod_consts[83]
);
} else {
tmp_assign_source_51 = IMPORT_NAME(tmp_import_name_from_39, mod_consts[20]);
}
if (tmp_assign_source_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[20], tmp_assign_source_51);
}
{
PyObject *tmp_assign_source_52;
PyObject *tmp_import_name_from_40;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_40 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_40)) {
tmp_assign_source_52 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_40,
(PyObject *)moduledict_requests$models,
mod_consts[9],
mod_consts[83]
);
} else {
tmp_assign_source_52 = IMPORT_NAME(tmp_import_name_from_40, mod_consts[9]);
}
if (tmp_assign_source_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[9], tmp_assign_source_52);
}
{
PyObject *tmp_assign_source_53;
PyObject *tmp_import_name_from_41;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_41 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_41)) {
tmp_assign_source_53 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_41,
(PyObject *)moduledict_requests$models,
mod_consts[10],
mod_consts[83]
);
} else {
tmp_assign_source_53 = IMPORT_NAME(tmp_import_name_from_41, mod_consts[10]);
}
if (tmp_assign_source_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[10], tmp_assign_source_53);
}
{
PyObject *tmp_assign_source_54;
PyObject *tmp_import_name_from_42;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_42 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_42)) {
tmp_assign_source_54 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_42,
(PyObject *)moduledict_requests$models,
mod_consts[87],
mod_consts[83]
);
} else {
tmp_assign_source_54 = IMPORT_NAME(tmp_import_name_from_42, mod_consts[87]);
}
if (tmp_assign_source_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[87], tmp_assign_source_54);
}
{
PyObject *tmp_assign_source_55;
PyObject *tmp_import_name_from_43;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_43 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_43)) {
tmp_assign_source_55 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_43,
(PyObject *)moduledict_requests$models,
mod_consts[185],
mod_consts[83]
);
} else {
tmp_assign_source_55 = IMPORT_NAME(tmp_import_name_from_43, mod_consts[185]);
}
if (tmp_assign_source_55 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[185], tmp_assign_source_55);
}
{
PyObject *tmp_assign_source_56;
PyObject *tmp_import_name_from_44;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_44 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_44)) {
tmp_assign_source_56 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_44,
(PyObject *)moduledict_requests$models,
mod_consts[126],
mod_consts[83]
);
} else {
tmp_assign_source_56 = IMPORT_NAME(tmp_import_name_from_44, mod_consts[126]);
}
if (tmp_assign_source_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[126], tmp_assign_source_56);
}
{
PyObject *tmp_assign_source_57;
PyObject *tmp_import_name_from_45;
CHECK_OBJECT(tmp_import_from_6__module);
tmp_import_name_from_45 = tmp_import_from_6__module;
if (PyModule_Check(tmp_import_name_from_45)) {
tmp_assign_source_57 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_45,
(PyObject *)moduledict_requests$models,
mod_consts[15],
mod_consts[83]
);
} else {
tmp_assign_source_57 = IMPORT_NAME(tmp_import_name_from_45, mod_consts[15]);
}
if (tmp_assign_source_57 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[15], tmp_assign_source_57);
}
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;
CHECK_OBJECT(tmp_import_from_6__module);
Py_DECREF(tmp_import_from_6__module);
tmp_import_from_6__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_import_from_6__module);
Py_DECREF(tmp_import_from_6__module);
tmp_import_from_6__module = NULL;
{
PyObject *tmp_assign_source_58;
PyObject *tmp_import_name_from_46;
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[277];
tmp_globals_arg_value_15 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_15 = Py_None;
tmp_fromlist_value_15 = mod_consts[279];
tmp_level_value_15 = mod_consts[266];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 42;
tmp_import_name_from_46 = 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_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_46)) {
tmp_assign_source_58 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_46,
(PyObject *)moduledict_requests$models,
mod_consts[56],
mod_consts[83]
);
} else {
tmp_assign_source_58 = IMPORT_NAME(tmp_import_name_from_46, mod_consts[56]);
}
Py_DECREF(tmp_import_name_from_46);
if (tmp_assign_source_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[118], tmp_assign_source_58);
}
{
PyObject *tmp_assign_source_59;
PyObject *tmp_import_name_from_47;
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[280];
tmp_globals_arg_value_16 = (PyObject *)moduledict_requests$models;
tmp_locals_arg_value_16 = Py_None;
tmp_fromlist_value_16 = mod_consts[281];
tmp_level_value_16 = mod_consts[266];
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 43;
tmp_import_name_from_47 = 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_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 43;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_47)) {
tmp_assign_source_59 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_47,
(PyObject *)moduledict_requests$models,
mod_consts[180],
mod_consts[83]
);
} else {
tmp_assign_source_59 = IMPORT_NAME(tmp_import_name_from_47, mod_consts[180]);
}
Py_DECREF(tmp_import_name_from_47);
if (tmp_assign_source_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 43;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[180], tmp_assign_source_59);
}
{
PyObject *tmp_assign_source_60;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
assert(!(tmp_expression_value_1 == NULL));
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[282]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 48;
goto frame_exception_exit_1;
}
tmp_assign_source_60 = MAKE_TUPLE_EMPTY(5);
{
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyTuple_SET_ITEM(tmp_assign_source_60, 0, tmp_tuple_element_1);
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 49;
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[283]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 49;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_assign_source_60, 1, tmp_tuple_element_1);
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[284]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_assign_source_60, 2, tmp_tuple_element_1);
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[285]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_assign_source_60, 3, tmp_tuple_element_1);
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[180]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[180]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[182]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_assign_source_60, 4, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_assign_source_60);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[178], tmp_assign_source_60);
}
{
PyObject *tmp_assign_source_61;
tmp_assign_source_61 = mod_consts[286];
UPDATE_STRING_DICT0(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[287], tmp_assign_source_61);
}
{
PyObject *tmp_assign_source_62;
tmp_assign_source_62 = mod_consts[288];
UPDATE_STRING_DICT0(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[219], tmp_assign_source_62);
}
{
PyObject *tmp_assign_source_63;
tmp_assign_source_63 = mod_consts[289];
UPDATE_STRING_DICT0(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[290], tmp_assign_source_63);
}
// Tried code:
{
PyObject *tmp_assign_source_64;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[291];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_64 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto try_except_handler_7;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_64;
}
{
PyObject *tmp_assign_source_65;
tmp_assign_source_65 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_65;
}
{
PyObject *tmp_assign_source_66;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_1;
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_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_1;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[292];
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_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != 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[292];
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 = 60;
goto try_except_handler_7;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == 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_6 = tmp_class_creation_1__bases;
tmp_subscript_value_1 = mod_consts[83];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_6, 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 = 60;
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 = 60;
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_66 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto try_except_handler_7;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_66;
}
{
bool tmp_condition_result_3;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[292];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_3, tmp_key_value_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[292];
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 = 60;
goto try_except_handler_7;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_7 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_7, mod_consts[293]);
tmp_condition_result_4 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_67;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_8 = tmp_class_creation_1__metaclass;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[293]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto try_except_handler_7;
}
tmp_tuple_element_2 = mod_consts[294];
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_2 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 60;
tmp_assign_source_67 = 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);
if (tmp_assign_source_67 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto try_except_handler_7;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_67;
}
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_9 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_9, mod_consts[295]);
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 = 60;
goto try_except_handler_7;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
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_3;
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[296];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[297];
tmp_getattr_default_1 = mod_consts[298];
tmp_tuple_element_3 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto try_except_handler_7;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_10;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_expression_value_10 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_10 == NULL));
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[297]);
Py_DECREF(tmp_expression_value_10);
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_3);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_mod_expr_right_1);
goto try_except_handler_7;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
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 = 60;
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 = 60;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_7;
}
branch_no_3:;
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_68;
tmp_assign_source_68 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_68;
}
branch_end_2:;
{
PyObject *tmp_assign_source_69;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_requests$models$$$class__1_RequestEncodingMixin_60 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[299];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__1_RequestEncodingMixin_60, mod_consts[300], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto try_except_handler_9;
}
tmp_dictset_value = mod_consts[294];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__1_RequestEncodingMixin_60, mod_consts[301], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto try_except_handler_9;
}
if (isFrameUnusable(cache_frame_0f5ce25d5bc5e2e38c732df910215a94_2)) {
Py_XDECREF(cache_frame_0f5ce25d5bc5e2e38c732df910215a94_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_0f5ce25d5bc5e2e38c732df910215a94_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0f5ce25d5bc5e2e38c732df910215a94_2 = MAKE_CLASS_FRAME(codeobj_0f5ce25d5bc5e2e38c732df910215a94, module_requests$models, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0f5ce25d5bc5e2e38c732df910215a94_2->m_type_description == NULL);
frame_0f5ce25d5bc5e2e38c732df910215a94_2 = cache_frame_0f5ce25d5bc5e2e38c732df910215a94_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_0f5ce25d5bc5e2e38c732df910215a94_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0f5ce25d5bc5e2e38c732df910215a94_2) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
tmp_res = MAPPING_HAS_ITEM(locals_requests$models$$$class__1_RequestEncodingMixin_60, mod_consts[302]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 61;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_condition_result_6 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
tmp_called_value_2 = PyObject_GetItem(locals_requests$models$$$class__1_RequestEncodingMixin_60, mod_consts[302]);
if (unlikely(tmp_called_value_2 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[302]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 61;
type_description_2 = "o";
goto frame_exception_exit_2;
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 61;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_args_element_value_1 = MAKE_FUNCTION_requests$models$$$function__1_path_url();
frame_0f5ce25d5bc5e2e38c732df910215a94_2->m_frame.f_lineno = 61;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_1);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 61;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_3;
condexpr_false_3:;
tmp_called_value_3 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_2 = MAKE_FUNCTION_requests$models$$$function__1_path_url();
frame_0f5ce25d5bc5e2e38c732df910215a94_2->m_frame.f_lineno = 61;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 61;
type_description_2 = "o";
goto frame_exception_exit_2;
}
condexpr_end_3:;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__1_RequestEncodingMixin_60, mod_consts[303], 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 = 62;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_3;
PyObject *tmp_staticmethod_arg_1;
tmp_res = MAPPING_HAS_ITEM(locals_requests$models$$$class__1_RequestEncodingMixin_60, mod_consts[305]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 82;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_condition_result_7 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
tmp_called_value_4 = PyObject_GetItem(locals_requests$models$$$class__1_RequestEncodingMixin_60, mod_consts[305]);
if (unlikely(tmp_called_value_4 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[305]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 82;
type_description_2 = "o";
goto frame_exception_exit_2;
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 82;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_args_element_value_3 = MAKE_FUNCTION_requests$models$$$function__2__encode_params();
frame_0f5ce25d5bc5e2e38c732df910215a94_2->m_frame.f_lineno = 82;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_3);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 82;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_staticmethod_arg_1 = MAKE_FUNCTION_requests$models$$$function__2__encode_params();
tmp_dictset_value = BUILTIN_STATICMETHOD(tmp_staticmethod_arg_1);
Py_DECREF(tmp_staticmethod_arg_1);
assert(!(tmp_dictset_value == NULL));
condexpr_end_4:;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__1_RequestEncodingMixin_60, 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 = 83;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_4;
PyObject *tmp_staticmethod_arg_2;
tmp_res = MAPPING_HAS_ITEM(locals_requests$models$$$class__1_RequestEncodingMixin_60, mod_consts[305]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 109;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_condition_result_8 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
tmp_called_value_5 = PyObject_GetItem(locals_requests$models$$$class__1_RequestEncodingMixin_60, mod_consts[305]);
if (unlikely(tmp_called_value_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[305]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 109;
type_description_2 = "o";
goto frame_exception_exit_2;
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 109;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_args_element_value_4 = MAKE_FUNCTION_requests$models$$$function__3__encode_files();
frame_0f5ce25d5bc5e2e38c732df910215a94_2->m_frame.f_lineno = 109;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_5);
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 = 109;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_5;
condexpr_false_5:;
tmp_staticmethod_arg_2 = MAKE_FUNCTION_requests$models$$$function__3__encode_files();
tmp_dictset_value = BUILTIN_STATICMETHOD(tmp_staticmethod_arg_2);
Py_DECREF(tmp_staticmethod_arg_2);
assert(!(tmp_dictset_value == NULL));
condexpr_end_5:;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__1_RequestEncodingMixin_60, mod_consts[130], 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 = 110;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0f5ce25d5bc5e2e38c732df910215a94_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_0f5ce25d5bc5e2e38c732df910215a94_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0f5ce25d5bc5e2e38c732df910215a94_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0f5ce25d5bc5e2e38c732df910215a94_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0f5ce25d5bc5e2e38c732df910215a94_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0f5ce25d5bc5e2e38c732df910215a94_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_0f5ce25d5bc5e2e38c732df910215a94_2 == cache_frame_0f5ce25d5bc5e2e38c732df910215a94_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0f5ce25d5bc5e2e38c732df910215a94_2);
cache_frame_0f5ce25d5bc5e2e38c732df910215a94_2 = NULL;
}
assertFrameObject(frame_0f5ce25d5bc5e2e38c732df910215a94_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_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_1 = tmp_class_creation_1__bases;
tmp_cmp_expr_right_1 = mod_consts[291];
tmp_condition_result_9 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_9 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto try_except_handler_9;
}
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_dictset_value = mod_consts[291];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__1_RequestEncodingMixin_60, mod_consts[308], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto try_except_handler_9;
}
branch_no_4:;
{
PyObject *tmp_assign_source_70;
PyObject *tmp_called_value_6;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_6 = tmp_class_creation_1__metaclass;
tmp_tuple_element_4 = mod_consts[294];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_4 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_4);
tmp_tuple_element_4 = locals_requests$models$$$class__1_RequestEncodingMixin_60;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 60;
tmp_assign_source_70 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_70 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto try_except_handler_9;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_70;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_69 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_69);
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_requests$models$$$class__1_RequestEncodingMixin_60);
locals_requests$models$$$class__1_RequestEncodingMixin_60 = 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_requests$models$$$class__1_RequestEncodingMixin_60);
locals_requests$models$$$class__1_RequestEncodingMixin_60 = 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 = 60;
goto try_except_handler_7;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[294], tmp_assign_source_69);
}
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_71;
PyObject *tmp_dircall_arg1_2;
tmp_dircall_arg1_2 = mod_consts[291];
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_71 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_71 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
goto try_except_handler_10;
}
assert(tmp_class_creation_2__bases == NULL);
tmp_class_creation_2__bases = tmp_assign_source_71;
}
{
PyObject *tmp_assign_source_72;
tmp_assign_source_72 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_72;
}
{
PyObject *tmp_assign_source_73;
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_11;
PyObject *tmp_subscript_value_2;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[292];
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_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
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[292];
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_6;
condexpr_false_6:;
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 = 174;
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_7;
} else {
goto condexpr_false_7;
}
condexpr_true_7:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_expression_value_11 = tmp_class_creation_2__bases;
tmp_subscript_value_2 = mod_consts[83];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_11, 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 = 174;
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 = 174;
goto try_except_handler_10;
}
goto condexpr_end_7;
condexpr_false_7:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_2);
condexpr_end_7:;
condexpr_end_6:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_bases_value_2 = tmp_class_creation_2__bases;
tmp_assign_source_73 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
Py_DECREF(tmp_metaclass_value_2);
if (tmp_assign_source_73 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
goto try_except_handler_10;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_73;
}
{
bool tmp_condition_result_12;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[292];
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_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = mod_consts[292];
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 = 174;
goto try_except_handler_10;
}
branch_no_5:;
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_12 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_12, mod_consts[293]);
tmp_condition_result_13 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_74;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_5;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_13 = tmp_class_creation_2__metaclass;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[293]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
goto try_except_handler_10;
}
tmp_tuple_element_5 = mod_consts[309];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_5 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 174;
tmp_assign_source_74 = CALL_FUNCTION(tmp_called_value_7, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_value_3);
if (tmp_assign_source_74 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
goto try_except_handler_10;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_74;
}
{
bool tmp_condition_result_14;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_14;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_14 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_14, mod_consts[295]);
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 = 174;
goto try_except_handler_10;
}
tmp_condition_result_14 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_14 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_6;
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[296];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[297];
tmp_getattr_default_2 = mod_consts[298];
tmp_tuple_element_6 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
goto try_except_handler_10;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_15;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_expression_value_15 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_15 == NULL));
tmp_tuple_element_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[297]);
Py_DECREF(tmp_expression_value_15);
if (tmp_tuple_element_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_6);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_mod_expr_right_2);
goto try_except_handler_10;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
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 = 174;
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 = 174;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_10;
}
branch_no_7:;
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_assign_source_75;
tmp_assign_source_75 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_75;
}
branch_end_6:;
{
PyObject *tmp_assign_source_76;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_requests$models$$$class__2_RequestHooksMixin_174 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[299];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__2_RequestHooksMixin_174, mod_consts[300], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
goto try_except_handler_12;
}
tmp_dictset_value = mod_consts[309];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__2_RequestHooksMixin_174, mod_consts[301], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
goto try_except_handler_12;
}
if (isFrameUnusable(cache_frame_56a12d2809ff26d5cf752c8824c53811_3)) {
Py_XDECREF(cache_frame_56a12d2809ff26d5cf752c8824c53811_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_56a12d2809ff26d5cf752c8824c53811_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_56a12d2809ff26d5cf752c8824c53811_3 = MAKE_CLASS_FRAME(codeobj_56a12d2809ff26d5cf752c8824c53811, module_requests$models, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_56a12d2809ff26d5cf752c8824c53811_3->m_type_description == NULL);
frame_56a12d2809ff26d5cf752c8824c53811_3 = cache_frame_56a12d2809ff26d5cf752c8824c53811_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_56a12d2809ff26d5cf752c8824c53811_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_56a12d2809ff26d5cf752c8824c53811_3) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__4_register_hook();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__2_RequestHooksMixin_174, mod_consts[50], 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 = 175;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__5_deregister_hook();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__2_RequestHooksMixin_174, mod_consts[311], 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 = 186;
type_description_2 = "o";
goto frame_exception_exit_3;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_56a12d2809ff26d5cf752c8824c53811_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_56a12d2809ff26d5cf752c8824c53811_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_56a12d2809ff26d5cf752c8824c53811_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_56a12d2809ff26d5cf752c8824c53811_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_56a12d2809ff26d5cf752c8824c53811_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_56a12d2809ff26d5cf752c8824c53811_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_56a12d2809ff26d5cf752c8824c53811_3 == cache_frame_56a12d2809ff26d5cf752c8824c53811_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_56a12d2809ff26d5cf752c8824c53811_3);
cache_frame_56a12d2809ff26d5cf752c8824c53811_3 = NULL;
}
assertFrameObject(frame_56a12d2809ff26d5cf752c8824c53811_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_15;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_cmp_expr_left_2 = tmp_class_creation_2__bases;
tmp_cmp_expr_right_2 = mod_consts[291];
tmp_condition_result_15 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_15 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
goto try_except_handler_12;
}
if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
tmp_dictset_value = mod_consts[291];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__2_RequestHooksMixin_174, mod_consts[308], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
goto try_except_handler_12;
}
branch_no_8:;
{
PyObject *tmp_assign_source_77;
PyObject *tmp_called_value_8;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_7;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_8 = tmp_class_creation_2__metaclass;
tmp_tuple_element_7 = mod_consts[309];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_7 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_7);
tmp_tuple_element_7 = locals_requests$models$$$class__2_RequestHooksMixin_174;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 174;
tmp_assign_source_77 = CALL_FUNCTION(tmp_called_value_8, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_77 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
goto try_except_handler_12;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_77;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_76 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_76);
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_requests$models$$$class__2_RequestHooksMixin_174);
locals_requests$models$$$class__2_RequestHooksMixin_174 = 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_requests$models$$$class__2_RequestHooksMixin_174);
locals_requests$models$$$class__2_RequestHooksMixin_174 = 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 = 174;
goto try_except_handler_10;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[309], tmp_assign_source_76);
}
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:;
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;
// Tried code:
{
PyObject *tmp_assign_source_78;
PyObject *tmp_tuple_element_8;
tmp_tuple_element_8 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[309]);
if (unlikely(tmp_tuple_element_8 == NULL)) {
tmp_tuple_element_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[309]);
}
if (tmp_tuple_element_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_13;
}
tmp_assign_source_78 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_78, 0, tmp_tuple_element_8);
assert(tmp_class_creation_3__bases_orig == NULL);
tmp_class_creation_3__bases_orig = tmp_assign_source_78;
}
{
PyObject *tmp_assign_source_79;
PyObject *tmp_dircall_arg1_3;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig;
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_79 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_79 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_13;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_79;
}
{
PyObject *tmp_assign_source_80;
tmp_assign_source_80 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_80;
}
{
PyObject *tmp_assign_source_81;
PyObject *tmp_metaclass_value_3;
bool tmp_condition_result_16;
PyObject *tmp_key_value_7;
PyObject *tmp_dict_arg_value_7;
PyObject *tmp_dict_arg_value_8;
PyObject *tmp_key_value_8;
nuitka_bool tmp_condition_result_17;
int tmp_truth_name_3;
PyObject *tmp_type_arg_5;
PyObject *tmp_expression_value_16;
PyObject *tmp_subscript_value_3;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[292];
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_7 = tmp_class_creation_3__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_7, tmp_key_value_7);
assert(!(tmp_res == -1));
tmp_condition_result_16 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_16 != false) {
goto condexpr_true_8;
} else {
goto condexpr_false_8;
}
condexpr_true_8:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_8 = tmp_class_creation_3__class_decl_dict;
tmp_key_value_8 = mod_consts[292];
tmp_metaclass_value_3 = DICT_GET_ITEM0(tmp_dict_arg_value_8, tmp_key_value_8);
if (tmp_metaclass_value_3 == NULL) {
tmp_metaclass_value_3 = Py_None;
}
assert(!(tmp_metaclass_value_3 == NULL));
Py_INCREF(tmp_metaclass_value_3);
goto condexpr_end_8;
condexpr_false_8:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_class_creation_3__bases);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_13;
}
tmp_condition_result_17 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) {
goto condexpr_true_9;
} else {
goto condexpr_false_9;
}
condexpr_true_9:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_expression_value_16 = tmp_class_creation_3__bases;
tmp_subscript_value_3 = mod_consts[83];
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_16, tmp_subscript_value_3, 0);
if (tmp_type_arg_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_13;
}
tmp_metaclass_value_3 = BUILTIN_TYPE1(tmp_type_arg_5);
Py_DECREF(tmp_type_arg_5);
if (tmp_metaclass_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_13;
}
goto condexpr_end_9;
condexpr_false_9:;
tmp_metaclass_value_3 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_3);
condexpr_end_9:;
condexpr_end_8:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_bases_value_3 = tmp_class_creation_3__bases;
tmp_assign_source_81 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_81 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_13;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_81;
}
{
bool tmp_condition_result_18;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[292];
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_9 = tmp_class_creation_3__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_9, tmp_key_value_9);
assert(!(tmp_res == -1));
tmp_condition_result_18 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_18 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
tmp_dictdel_key = mod_consts[292];
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 = 198;
goto try_except_handler_13;
}
branch_no_9:;
{
nuitka_bool tmp_condition_result_19;
PyObject *tmp_expression_value_17;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_17 = tmp_class_creation_3__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_17, mod_consts[293]);
tmp_condition_result_19 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_19 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_82;
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_18;
PyObject *tmp_args_value_5;
PyObject *tmp_tuple_element_9;
PyObject *tmp_kwargs_value_5;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_18 = tmp_class_creation_3__metaclass;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[293]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_13;
}
tmp_tuple_element_9 = mod_consts[313];
tmp_args_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_5, 0, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_9 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_5, 1, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_5 = tmp_class_creation_3__class_decl_dict;
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 198;
tmp_assign_source_82 = CALL_FUNCTION(tmp_called_value_9, tmp_args_value_5, tmp_kwargs_value_5);
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_args_value_5);
if (tmp_assign_source_82 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_13;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_82;
}
{
bool tmp_condition_result_20;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_19;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_expression_value_19 = tmp_class_creation_3__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_19, mod_consts[295]);
tmp_operand_value_3 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_13;
}
tmp_condition_result_20 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_20 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_raise_value_3;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
PyObject *tmp_tuple_element_10;
PyObject *tmp_getattr_target_3;
PyObject *tmp_getattr_attr_3;
PyObject *tmp_getattr_default_3;
tmp_raise_type_3 = PyExc_TypeError;
tmp_mod_expr_left_3 = mod_consts[296];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[297];
tmp_getattr_default_3 = mod_consts[298];
tmp_tuple_element_10 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3);
if (tmp_tuple_element_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_13;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_20;
PyObject *tmp_type_arg_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_expression_value_20 = BUILTIN_TYPE1(tmp_type_arg_6);
assert(!(tmp_expression_value_20 == NULL));
tmp_tuple_element_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[297]);
Py_DECREF(tmp_expression_value_20);
if (tmp_tuple_element_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_10);
}
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_mod_expr_right_3);
goto try_except_handler_13;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_raise_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_3, tmp_mod_expr_right_3);
Py_DECREF(tmp_mod_expr_right_3);
if (tmp_raise_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_13;
}
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_value = tmp_raise_value_3;
exception_lineno = 198;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_13;
}
branch_no_11:;
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_assign_source_83;
tmp_assign_source_83 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_83;
}
branch_end_10:;
{
PyObject *tmp_assign_source_84;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_requests$models$$$class__3_Request_198 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[299];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__3_Request_198, mod_consts[300], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_15;
}
tmp_dictset_value = mod_consts[314];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__3_Request_198, mod_consts[247], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_15;
}
tmp_dictset_value = mod_consts[313];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__3_Request_198, mod_consts[301], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_15;
}
if (isFrameUnusable(cache_frame_5aed3b176021ea41833105c411aa98ee_4)) {
Py_XDECREF(cache_frame_5aed3b176021ea41833105c411aa98ee_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_5aed3b176021ea41833105c411aa98ee_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5aed3b176021ea41833105c411aa98ee_4 = MAKE_CLASS_FRAME(codeobj_5aed3b176021ea41833105c411aa98ee, module_requests$models, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_5aed3b176021ea41833105c411aa98ee_4->m_type_description == NULL);
frame_5aed3b176021ea41833105c411aa98ee_4 = cache_frame_5aed3b176021ea41833105c411aa98ee_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_5aed3b176021ea41833105c411aa98ee_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5aed3b176021ea41833105c411aa98ee_4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_1;
tmp_defaults_1 = mod_consts[315];
Py_INCREF(tmp_defaults_1);
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__6___init__(tmp_defaults_1);
tmp_res = PyObject_SetItem(locals_requests$models$$$class__3_Request_198, mod_consts[316], 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 = 226;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__7___repr__();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__3_Request_198, mod_consts[318], 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 = 251;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__8_prepare();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__3_Request_198, mod_consts[62], 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 = 254;
type_description_2 = "o";
goto frame_exception_exit_4;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_5aed3b176021ea41833105c411aa98ee_4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_3;
frame_exception_exit_4:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5aed3b176021ea41833105c411aa98ee_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5aed3b176021ea41833105c411aa98ee_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5aed3b176021ea41833105c411aa98ee_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5aed3b176021ea41833105c411aa98ee_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5aed3b176021ea41833105c411aa98ee_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame if used for exception.
if (frame_5aed3b176021ea41833105c411aa98ee_4 == cache_frame_5aed3b176021ea41833105c411aa98ee_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5aed3b176021ea41833105c411aa98ee_4);
cache_frame_5aed3b176021ea41833105c411aa98ee_4 = NULL;
}
assertFrameObject(frame_5aed3b176021ea41833105c411aa98ee_4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_3;
frame_no_exception_3:;
goto skip_nested_handling_3;
nested_frame_exit_3:;
goto try_except_handler_15;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_21;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_cmp_expr_left_3 = tmp_class_creation_3__bases;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_cmp_expr_right_3 = tmp_class_creation_3__bases_orig;
tmp_condition_result_21 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_21 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_15;
}
if (tmp_condition_result_21 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dictset_value = tmp_class_creation_3__bases_orig;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__3_Request_198, mod_consts[308], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_15;
}
branch_no_12:;
{
PyObject *tmp_assign_source_85;
PyObject *tmp_called_value_10;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_11;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_10 = tmp_class_creation_3__metaclass;
tmp_tuple_element_11 = mod_consts[313];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_11);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_11 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_11);
tmp_tuple_element_11 = locals_requests$models$$$class__3_Request_198;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_11);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 198;
tmp_assign_source_85 = CALL_FUNCTION(tmp_called_value_10, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_85 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
goto try_except_handler_15;
}
assert(outline_2_var___class__ == NULL);
outline_2_var___class__ = tmp_assign_source_85;
}
CHECK_OBJECT(outline_2_var___class__);
tmp_assign_source_84 = outline_2_var___class__;
Py_INCREF(tmp_assign_source_84);
goto try_return_handler_15;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_15:;
Py_DECREF(locals_requests$models$$$class__3_Request_198);
locals_requests$models$$$class__3_Request_198 = NULL;
goto try_return_handler_14;
// Exception handler code:
try_except_handler_15:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_requests$models$$$class__3_Request_198);
locals_requests$models$$$class__3_Request_198 = NULL;
// Re-raise.
exception_type = exception_keeper_type_13;
exception_value = exception_keeper_value_13;
exception_tb = exception_keeper_tb_13;
exception_lineno = exception_keeper_lineno_13;
goto try_except_handler_14;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_14:;
CHECK_OBJECT(outline_2_var___class__);
Py_DECREF(outline_2_var___class__);
outline_2_var___class__ = NULL;
goto outline_result_3;
// Exception handler code:
try_except_handler_14:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto outline_exception_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_3:;
exception_lineno = 198;
goto try_except_handler_13;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[313], tmp_assign_source_84);
}
goto try_end_9;
// Exception handler code:
try_except_handler_13:;
exception_keeper_type_15 = exception_type;
exception_keeper_value_15 = exception_value;
exception_keeper_tb_15 = exception_tb;
exception_keeper_lineno_15 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
Py_XDECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
Py_XDECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_15;
exception_value = exception_keeper_value_15;
exception_tb = exception_keeper_tb_15;
exception_lineno = exception_keeper_lineno_15;
goto frame_exception_exit_1;
// End of try:
try_end_9:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
Py_DECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_3__bases);
Py_DECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
Py_DECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
Py_DECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_3__prepared);
Py_DECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_86;
PyObject *tmp_tuple_element_12;
tmp_tuple_element_12 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[294]);
if (unlikely(tmp_tuple_element_12 == NULL)) {
tmp_tuple_element_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[294]);
}
if (tmp_tuple_element_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_16;
}
tmp_assign_source_86 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_assign_source_86, 0, tmp_tuple_element_12);
tmp_tuple_element_12 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[309]);
if (unlikely(tmp_tuple_element_12 == NULL)) {
tmp_tuple_element_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[309]);
}
if (tmp_tuple_element_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto tuple_build_exception_5;
}
PyTuple_SET_ITEM0(tmp_assign_source_86, 1, tmp_tuple_element_12);
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_assign_source_86);
goto try_except_handler_16;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
assert(tmp_class_creation_4__bases_orig == NULL);
tmp_class_creation_4__bases_orig = tmp_assign_source_86;
}
{
PyObject *tmp_assign_source_87;
PyObject *tmp_dircall_arg1_4;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_dircall_arg1_4 = tmp_class_creation_4__bases_orig;
Py_INCREF(tmp_dircall_arg1_4);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_4};
tmp_assign_source_87 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_87 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_16;
}
assert(tmp_class_creation_4__bases == NULL);
tmp_class_creation_4__bases = tmp_assign_source_87;
}
{
PyObject *tmp_assign_source_88;
tmp_assign_source_88 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__class_decl_dict == NULL);
tmp_class_creation_4__class_decl_dict = tmp_assign_source_88;
}
{
PyObject *tmp_assign_source_89;
PyObject *tmp_metaclass_value_4;
bool tmp_condition_result_22;
PyObject *tmp_key_value_10;
PyObject *tmp_dict_arg_value_10;
PyObject *tmp_dict_arg_value_11;
PyObject *tmp_key_value_11;
nuitka_bool tmp_condition_result_23;
int tmp_truth_name_4;
PyObject *tmp_type_arg_7;
PyObject *tmp_expression_value_21;
PyObject *tmp_subscript_value_4;
PyObject *tmp_bases_value_4;
tmp_key_value_10 = mod_consts[292];
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_10 = tmp_class_creation_4__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_10, tmp_key_value_10);
assert(!(tmp_res == -1));
tmp_condition_result_22 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_22 != false) {
goto condexpr_true_10;
} else {
goto condexpr_false_10;
}
condexpr_true_10:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_11 = tmp_class_creation_4__class_decl_dict;
tmp_key_value_11 = mod_consts[292];
tmp_metaclass_value_4 = DICT_GET_ITEM0(tmp_dict_arg_value_11, tmp_key_value_11);
if (tmp_metaclass_value_4 == NULL) {
tmp_metaclass_value_4 = Py_None;
}
assert(!(tmp_metaclass_value_4 == NULL));
Py_INCREF(tmp_metaclass_value_4);
goto condexpr_end_10;
condexpr_false_10:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_truth_name_4 = CHECK_IF_TRUE(tmp_class_creation_4__bases);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_16;
}
tmp_condition_result_23 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) {
goto condexpr_true_11;
} else {
goto condexpr_false_11;
}
condexpr_true_11:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_expression_value_21 = tmp_class_creation_4__bases;
tmp_subscript_value_4 = mod_consts[83];
tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_21, tmp_subscript_value_4, 0);
if (tmp_type_arg_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_16;
}
tmp_metaclass_value_4 = BUILTIN_TYPE1(tmp_type_arg_7);
Py_DECREF(tmp_type_arg_7);
if (tmp_metaclass_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_16;
}
goto condexpr_end_11;
condexpr_false_11:;
tmp_metaclass_value_4 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_4);
condexpr_end_11:;
condexpr_end_10:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_bases_value_4 = tmp_class_creation_4__bases;
tmp_assign_source_89 = SELECT_METACLASS(tmp_metaclass_value_4, tmp_bases_value_4);
Py_DECREF(tmp_metaclass_value_4);
if (tmp_assign_source_89 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_16;
}
assert(tmp_class_creation_4__metaclass == NULL);
tmp_class_creation_4__metaclass = tmp_assign_source_89;
}
{
bool tmp_condition_result_24;
PyObject *tmp_key_value_12;
PyObject *tmp_dict_arg_value_12;
tmp_key_value_12 = mod_consts[292];
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_12 = tmp_class_creation_4__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_12, tmp_key_value_12);
assert(!(tmp_res == -1));
tmp_condition_result_24 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_24 != false) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict;
tmp_dictdel_key = mod_consts[292];
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 = 272;
goto try_except_handler_16;
}
branch_no_13:;
{
nuitka_bool tmp_condition_result_25;
PyObject *tmp_expression_value_22;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_22 = tmp_class_creation_4__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_22, mod_consts[293]);
tmp_condition_result_25 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_25 == NUITKA_BOOL_TRUE) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
PyObject *tmp_assign_source_90;
PyObject *tmp_called_value_11;
PyObject *tmp_expression_value_23;
PyObject *tmp_args_value_7;
PyObject *tmp_tuple_element_13;
PyObject *tmp_kwargs_value_7;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_23 = tmp_class_creation_4__metaclass;
tmp_called_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[293]);
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_16;
}
tmp_tuple_element_13 = mod_consts[61];
tmp_args_value_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_7, 0, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_13 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_7, 1, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_7 = tmp_class_creation_4__class_decl_dict;
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 272;
tmp_assign_source_90 = CALL_FUNCTION(tmp_called_value_11, tmp_args_value_7, tmp_kwargs_value_7);
Py_DECREF(tmp_called_value_11);
Py_DECREF(tmp_args_value_7);
if (tmp_assign_source_90 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_16;
}
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_90;
}
{
bool tmp_condition_result_26;
PyObject *tmp_operand_value_4;
PyObject *tmp_expression_value_24;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_expression_value_24 = tmp_class_creation_4__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_24, mod_consts[295]);
tmp_operand_value_4 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_16;
}
tmp_condition_result_26 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_26 != false) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
PyObject *tmp_raise_type_4;
PyObject *tmp_raise_value_4;
PyObject *tmp_mod_expr_left_4;
PyObject *tmp_mod_expr_right_4;
PyObject *tmp_tuple_element_14;
PyObject *tmp_getattr_target_4;
PyObject *tmp_getattr_attr_4;
PyObject *tmp_getattr_default_4;
tmp_raise_type_4 = PyExc_TypeError;
tmp_mod_expr_left_4 = mod_consts[296];
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_getattr_target_4 = tmp_class_creation_4__metaclass;
tmp_getattr_attr_4 = mod_consts[297];
tmp_getattr_default_4 = mod_consts[298];
tmp_tuple_element_14 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4);
if (tmp_tuple_element_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_16;
}
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_25;
PyObject *tmp_type_arg_8;
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 0, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_type_arg_8 = tmp_class_creation_4__prepared;
tmp_expression_value_25 = BUILTIN_TYPE1(tmp_type_arg_8);
assert(!(tmp_expression_value_25 == NULL));
tmp_tuple_element_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[297]);
Py_DECREF(tmp_expression_value_25);
if (tmp_tuple_element_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 1, tmp_tuple_element_14);
}
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_mod_expr_right_4);
goto try_except_handler_16;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
tmp_raise_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_4, tmp_mod_expr_right_4);
Py_DECREF(tmp_mod_expr_right_4);
if (tmp_raise_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_16;
}
exception_type = tmp_raise_type_4;
Py_INCREF(tmp_raise_type_4);
exception_value = tmp_raise_value_4;
exception_lineno = 272;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_16;
}
branch_no_15:;
goto branch_end_14;
branch_no_14:;
{
PyObject *tmp_assign_source_91;
tmp_assign_source_91 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_91;
}
branch_end_14:;
{
PyObject *tmp_assign_source_92;
{
PyObject *tmp_set_locals_4;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_set_locals_4 = tmp_class_creation_4__prepared;
locals_requests$models$$$class__4_PreparedRequest_272 = tmp_set_locals_4;
Py_INCREF(tmp_set_locals_4);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[299];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[300], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_18;
}
tmp_dictset_value = mod_consts[321];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[247], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_18;
}
tmp_dictset_value = mod_consts[61];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[301], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_18;
}
if (isFrameUnusable(cache_frame_378872544ac8d9e3a1bd76437ff81127_5)) {
Py_XDECREF(cache_frame_378872544ac8d9e3a1bd76437ff81127_5);
#if _DEBUG_REFCOUNTS
if (cache_frame_378872544ac8d9e3a1bd76437ff81127_5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_378872544ac8d9e3a1bd76437ff81127_5 = MAKE_CLASS_FRAME(codeobj_378872544ac8d9e3a1bd76437ff81127, module_requests$models, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_378872544ac8d9e3a1bd76437ff81127_5->m_type_description == NULL);
frame_378872544ac8d9e3a1bd76437ff81127_5 = cache_frame_378872544ac8d9e3a1bd76437ff81127_5;
// Push the new frame as the currently active one.
pushFrameStack(frame_378872544ac8d9e3a1bd76437ff81127_5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_378872544ac8d9e3a1bd76437ff81127_5) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__9___init__();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[316], 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 = 290;
type_description_2 = "o";
goto frame_exception_exit_5;
}
{
PyObject *tmp_defaults_2;
tmp_defaults_2 = mod_consts[315];
Py_INCREF(tmp_defaults_2);
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__10_prepare(tmp_defaults_2);
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[62], 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 = 307;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__11___repr__();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[318], 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 = 325;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__12_copy();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[77], 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 = 328;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__13_prepare_method();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[68], 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 = 339;
type_description_2 = "o";
goto frame_exception_exit_5;
}
{
nuitka_bool tmp_condition_result_27;
PyObject *tmp_called_value_12;
PyObject *tmp_args_element_value_5;
PyObject *tmp_staticmethod_arg_3;
tmp_res = MAPPING_HAS_ITEM(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[305]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 345;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_condition_result_27 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_27 == NUITKA_BOOL_TRUE) {
goto condexpr_true_12;
} else {
goto condexpr_false_12;
}
condexpr_true_12:;
tmp_called_value_12 = PyObject_GetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[305]);
if (unlikely(tmp_called_value_12 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[305]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 345;
type_description_2 = "o";
goto frame_exception_exit_5;
}
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 345;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_args_element_value_5 = MAKE_FUNCTION_requests$models$$$function__14__get_idna_encoded_host();
frame_378872544ac8d9e3a1bd76437ff81127_5->m_frame.f_lineno = 345;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_12, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_12);
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 = 345;
type_description_2 = "o";
goto frame_exception_exit_5;
}
goto condexpr_end_12;
condexpr_false_12:;
tmp_staticmethod_arg_3 = MAKE_FUNCTION_requests$models$$$function__14__get_idna_encoded_host();
tmp_dictset_value = BUILTIN_STATICMETHOD(tmp_staticmethod_arg_3);
Py_DECREF(tmp_staticmethod_arg_3);
assert(!(tmp_dictset_value == NULL));
condexpr_end_12:;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[104], 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 = 346;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__15_prepare_url();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[69], 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 = 355;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__16_prepare_headers();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[70], 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 = 441;
type_description_2 = "o";
goto frame_exception_exit_5;
}
{
PyObject *tmp_defaults_3;
tmp_defaults_3 = mod_consts[330];
Py_INCREF(tmp_defaults_3);
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__17_prepare_body(tmp_defaults_3);
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[72], 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 = 452;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__18_prepare_content_length();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[132], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 521;
type_description_2 = "o";
goto frame_exception_exit_5;
}
{
PyObject *tmp_defaults_4;
tmp_defaults_4 = mod_consts[221];
Py_INCREF(tmp_defaults_4);
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__19_prepare_auth(tmp_defaults_4);
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[73], 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 = 534;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__20_prepare_cookies();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[71], 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 = 556;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__21_prepare_hooks();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, 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 = 576;
type_description_2 = "o";
goto frame_exception_exit_5;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_378872544ac8d9e3a1bd76437ff81127_5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_4;
frame_exception_exit_5:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_378872544ac8d9e3a1bd76437ff81127_5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_378872544ac8d9e3a1bd76437ff81127_5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_378872544ac8d9e3a1bd76437ff81127_5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_378872544ac8d9e3a1bd76437ff81127_5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_378872544ac8d9e3a1bd76437ff81127_5,
type_description_2,
outline_3_var___class__
);
// Release cached frame if used for exception.
if (frame_378872544ac8d9e3a1bd76437ff81127_5 == cache_frame_378872544ac8d9e3a1bd76437ff81127_5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_378872544ac8d9e3a1bd76437ff81127_5);
cache_frame_378872544ac8d9e3a1bd76437ff81127_5 = NULL;
}
assertFrameObject(frame_378872544ac8d9e3a1bd76437ff81127_5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_4;
frame_no_exception_4:;
goto skip_nested_handling_4;
nested_frame_exit_4:;
goto try_except_handler_18;
skip_nested_handling_4:;
{
nuitka_bool tmp_condition_result_28;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_cmp_expr_left_4 = tmp_class_creation_4__bases;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_cmp_expr_right_4 = tmp_class_creation_4__bases_orig;
tmp_condition_result_28 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_28 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_18;
}
if (tmp_condition_result_28 == NUITKA_BOOL_TRUE) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_dictset_value = tmp_class_creation_4__bases_orig;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__4_PreparedRequest_272, mod_consts[308], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_18;
}
branch_no_16:;
{
PyObject *tmp_assign_source_93;
PyObject *tmp_called_value_13;
PyObject *tmp_args_value_8;
PyObject *tmp_tuple_element_15;
PyObject *tmp_kwargs_value_8;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_called_value_13 = tmp_class_creation_4__metaclass;
tmp_tuple_element_15 = mod_consts[61];
tmp_args_value_8 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_8, 0, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_15 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_8, 1, tmp_tuple_element_15);
tmp_tuple_element_15 = locals_requests$models$$$class__4_PreparedRequest_272;
PyTuple_SET_ITEM0(tmp_args_value_8, 2, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_8 = tmp_class_creation_4__class_decl_dict;
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 272;
tmp_assign_source_93 = CALL_FUNCTION(tmp_called_value_13, tmp_args_value_8, tmp_kwargs_value_8);
Py_DECREF(tmp_args_value_8);
if (tmp_assign_source_93 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
goto try_except_handler_18;
}
assert(outline_3_var___class__ == NULL);
outline_3_var___class__ = tmp_assign_source_93;
}
CHECK_OBJECT(outline_3_var___class__);
tmp_assign_source_92 = outline_3_var___class__;
Py_INCREF(tmp_assign_source_92);
goto try_return_handler_18;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_18:;
Py_DECREF(locals_requests$models$$$class__4_PreparedRequest_272);
locals_requests$models$$$class__4_PreparedRequest_272 = NULL;
goto try_return_handler_17;
// Exception handler code:
try_except_handler_18:;
exception_keeper_type_16 = exception_type;
exception_keeper_value_16 = exception_value;
exception_keeper_tb_16 = exception_tb;
exception_keeper_lineno_16 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_requests$models$$$class__4_PreparedRequest_272);
locals_requests$models$$$class__4_PreparedRequest_272 = NULL;
// Re-raise.
exception_type = exception_keeper_type_16;
exception_value = exception_keeper_value_16;
exception_tb = exception_keeper_tb_16;
exception_lineno = exception_keeper_lineno_16;
goto try_except_handler_17;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_17:;
CHECK_OBJECT(outline_3_var___class__);
Py_DECREF(outline_3_var___class__);
outline_3_var___class__ = NULL;
goto outline_result_4;
// Exception handler code:
try_except_handler_17:;
exception_keeper_type_17 = exception_type;
exception_keeper_value_17 = exception_value;
exception_keeper_tb_17 = exception_tb;
exception_keeper_lineno_17 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_17;
exception_value = exception_keeper_value_17;
exception_tb = exception_keeper_tb_17;
exception_lineno = exception_keeper_lineno_17;
goto outline_exception_4;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_4:;
exception_lineno = 272;
goto try_except_handler_16;
outline_result_4:;
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[61], tmp_assign_source_92);
}
goto try_end_10;
// Exception handler code:
try_except_handler_16:;
exception_keeper_type_18 = exception_type;
exception_keeper_value_18 = exception_value;
exception_keeper_tb_18 = exception_tb;
exception_keeper_lineno_18 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_4__bases_orig);
tmp_class_creation_4__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_4__bases);
tmp_class_creation_4__bases = NULL;
Py_XDECREF(tmp_class_creation_4__class_decl_dict);
tmp_class_creation_4__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_4__metaclass);
tmp_class_creation_4__metaclass = NULL;
Py_XDECREF(tmp_class_creation_4__prepared);
tmp_class_creation_4__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_18;
exception_value = exception_keeper_value_18;
exception_tb = exception_keeper_tb_18;
exception_lineno = exception_keeper_lineno_18;
goto frame_exception_exit_1;
// End of try:
try_end_10:;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
Py_DECREF(tmp_class_creation_4__bases_orig);
tmp_class_creation_4__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_4__bases);
Py_DECREF(tmp_class_creation_4__bases);
tmp_class_creation_4__bases = NULL;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
Py_DECREF(tmp_class_creation_4__class_decl_dict);
tmp_class_creation_4__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
Py_DECREF(tmp_class_creation_4__metaclass);
tmp_class_creation_4__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_4__prepared);
Py_DECREF(tmp_class_creation_4__prepared);
tmp_class_creation_4__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_94;
PyObject *tmp_dircall_arg1_5;
tmp_dircall_arg1_5 = mod_consts[291];
Py_INCREF(tmp_dircall_arg1_5);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_5};
tmp_assign_source_94 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_94 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_19;
}
assert(tmp_class_creation_5__bases == NULL);
tmp_class_creation_5__bases = tmp_assign_source_94;
}
{
PyObject *tmp_assign_source_95;
tmp_assign_source_95 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__class_decl_dict == NULL);
tmp_class_creation_5__class_decl_dict = tmp_assign_source_95;
}
{
PyObject *tmp_assign_source_96;
PyObject *tmp_metaclass_value_5;
bool tmp_condition_result_29;
PyObject *tmp_key_value_13;
PyObject *tmp_dict_arg_value_13;
PyObject *tmp_dict_arg_value_14;
PyObject *tmp_key_value_14;
nuitka_bool tmp_condition_result_30;
int tmp_truth_name_5;
PyObject *tmp_type_arg_9;
PyObject *tmp_expression_value_26;
PyObject *tmp_subscript_value_5;
PyObject *tmp_bases_value_5;
tmp_key_value_13 = mod_consts[292];
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_13 = tmp_class_creation_5__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_13, tmp_key_value_13);
assert(!(tmp_res == -1));
tmp_condition_result_29 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_29 != false) {
goto condexpr_true_13;
} else {
goto condexpr_false_13;
}
condexpr_true_13:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_14 = tmp_class_creation_5__class_decl_dict;
tmp_key_value_14 = mod_consts[292];
tmp_metaclass_value_5 = DICT_GET_ITEM0(tmp_dict_arg_value_14, tmp_key_value_14);
if (tmp_metaclass_value_5 == NULL) {
tmp_metaclass_value_5 = Py_None;
}
assert(!(tmp_metaclass_value_5 == NULL));
Py_INCREF(tmp_metaclass_value_5);
goto condexpr_end_13;
condexpr_false_13:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_truth_name_5 = CHECK_IF_TRUE(tmp_class_creation_5__bases);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_19;
}
tmp_condition_result_30 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) {
goto condexpr_true_14;
} else {
goto condexpr_false_14;
}
condexpr_true_14:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_expression_value_26 = tmp_class_creation_5__bases;
tmp_subscript_value_5 = mod_consts[83];
tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_26, tmp_subscript_value_5, 0);
if (tmp_type_arg_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_19;
}
tmp_metaclass_value_5 = BUILTIN_TYPE1(tmp_type_arg_9);
Py_DECREF(tmp_type_arg_9);
if (tmp_metaclass_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_19;
}
goto condexpr_end_14;
condexpr_false_14:;
tmp_metaclass_value_5 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_5);
condexpr_end_14:;
condexpr_end_13:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_bases_value_5 = tmp_class_creation_5__bases;
tmp_assign_source_96 = SELECT_METACLASS(tmp_metaclass_value_5, tmp_bases_value_5);
Py_DECREF(tmp_metaclass_value_5);
if (tmp_assign_source_96 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_19;
}
assert(tmp_class_creation_5__metaclass == NULL);
tmp_class_creation_5__metaclass = tmp_assign_source_96;
}
{
bool tmp_condition_result_31;
PyObject *tmp_key_value_15;
PyObject *tmp_dict_arg_value_15;
tmp_key_value_15 = mod_consts[292];
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_15 = tmp_class_creation_5__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_15, tmp_key_value_15);
assert(!(tmp_res == -1));
tmp_condition_result_31 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_31 != false) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_5__class_decl_dict;
tmp_dictdel_key = mod_consts[292];
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 = 586;
goto try_except_handler_19;
}
branch_no_17:;
{
nuitka_bool tmp_condition_result_32;
PyObject *tmp_expression_value_27;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_27 = tmp_class_creation_5__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_27, mod_consts[293]);
tmp_condition_result_32 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_32 == NUITKA_BOOL_TRUE) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
{
PyObject *tmp_assign_source_97;
PyObject *tmp_called_value_14;
PyObject *tmp_expression_value_28;
PyObject *tmp_args_value_9;
PyObject *tmp_tuple_element_16;
PyObject *tmp_kwargs_value_9;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_28 = tmp_class_creation_5__metaclass;
tmp_called_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[293]);
if (tmp_called_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_19;
}
tmp_tuple_element_16 = mod_consts[336];
tmp_args_value_9 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_9, 0, tmp_tuple_element_16);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_16 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_9, 1, tmp_tuple_element_16);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_9 = tmp_class_creation_5__class_decl_dict;
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 586;
tmp_assign_source_97 = CALL_FUNCTION(tmp_called_value_14, tmp_args_value_9, tmp_kwargs_value_9);
Py_DECREF(tmp_called_value_14);
Py_DECREF(tmp_args_value_9);
if (tmp_assign_source_97 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_19;
}
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_97;
}
{
bool tmp_condition_result_33;
PyObject *tmp_operand_value_5;
PyObject *tmp_expression_value_29;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_expression_value_29 = tmp_class_creation_5__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_29, mod_consts[295]);
tmp_operand_value_5 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_19;
}
tmp_condition_result_33 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_33 != false) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
{
PyObject *tmp_raise_type_5;
PyObject *tmp_raise_value_5;
PyObject *tmp_mod_expr_left_5;
PyObject *tmp_mod_expr_right_5;
PyObject *tmp_tuple_element_17;
PyObject *tmp_getattr_target_5;
PyObject *tmp_getattr_attr_5;
PyObject *tmp_getattr_default_5;
tmp_raise_type_5 = PyExc_TypeError;
tmp_mod_expr_left_5 = mod_consts[296];
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_getattr_target_5 = tmp_class_creation_5__metaclass;
tmp_getattr_attr_5 = mod_consts[297];
tmp_getattr_default_5 = mod_consts[298];
tmp_tuple_element_17 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5);
if (tmp_tuple_element_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_19;
}
tmp_mod_expr_right_5 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_30;
PyObject *tmp_type_arg_10;
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 0, tmp_tuple_element_17);
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_type_arg_10 = tmp_class_creation_5__prepared;
tmp_expression_value_30 = BUILTIN_TYPE1(tmp_type_arg_10);
assert(!(tmp_expression_value_30 == NULL));
tmp_tuple_element_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_30, mod_consts[297]);
Py_DECREF(tmp_expression_value_30);
if (tmp_tuple_element_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto tuple_build_exception_7;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 1, tmp_tuple_element_17);
}
goto tuple_build_noexception_7;
// Exception handling pass through code for tuple_build:
tuple_build_exception_7:;
Py_DECREF(tmp_mod_expr_right_5);
goto try_except_handler_19;
// Finished with no exception for tuple_build:
tuple_build_noexception_7:;
tmp_raise_value_5 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_5, tmp_mod_expr_right_5);
Py_DECREF(tmp_mod_expr_right_5);
if (tmp_raise_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_19;
}
exception_type = tmp_raise_type_5;
Py_INCREF(tmp_raise_type_5);
exception_value = tmp_raise_value_5;
exception_lineno = 586;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_19;
}
branch_no_19:;
goto branch_end_18;
branch_no_18:;
{
PyObject *tmp_assign_source_98;
tmp_assign_source_98 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_98;
}
branch_end_18:;
{
PyObject *tmp_assign_source_99;
{
PyObject *tmp_set_locals_5;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_set_locals_5 = tmp_class_creation_5__prepared;
locals_requests$models$$$class__5_Response_586 = tmp_set_locals_5;
Py_INCREF(tmp_set_locals_5);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[299];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[300], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_21;
}
tmp_dictset_value = mod_consts[337];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[247], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_21;
}
tmp_dictset_value = mod_consts[336];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[301], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_21;
}
if (isFrameUnusable(cache_frame_4bb039bda945473d8156c26771dbcf99_6)) {
Py_XDECREF(cache_frame_4bb039bda945473d8156c26771dbcf99_6);
#if _DEBUG_REFCOUNTS
if (cache_frame_4bb039bda945473d8156c26771dbcf99_6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4bb039bda945473d8156c26771dbcf99_6 = MAKE_CLASS_FRAME(codeobj_4bb039bda945473d8156c26771dbcf99, module_requests$models, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4bb039bda945473d8156c26771dbcf99_6->m_type_description == NULL);
frame_4bb039bda945473d8156c26771dbcf99_6 = cache_frame_4bb039bda945473d8156c26771dbcf99_6;
// Push the new frame as the currently active one.
pushFrameStack(frame_4bb039bda945473d8156c26771dbcf99_6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4bb039bda945473d8156c26771dbcf99_6) == 2); // Frame stack
// Framed code:
tmp_dictset_value = LIST_COPY(mod_consts[338]);
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[167], 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 = 591;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__22___init__();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[316], 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 = 596;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__23___enter__();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[340], 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 = 643;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__24___exit__();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[342], 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 = 646;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__25___getstate__();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[344], 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 = 649;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__26___setstate__();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[346], 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 = 657;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__27___repr__();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[318], 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 = 665;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__28___bool__();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[349], 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 = 668;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__29___nonzero__();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[351], 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 = 678;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__30___iter__();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[12], 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 = 688;
type_description_2 = "o";
goto frame_exception_exit_6;
}
{
nuitka_bool tmp_condition_result_34;
PyObject *tmp_called_value_15;
PyObject *tmp_args_element_value_6;
PyObject *tmp_called_value_16;
PyObject *tmp_args_element_value_7;
tmp_res = MAPPING_HAS_ITEM(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 692;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_condition_result_34 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_34 == NUITKA_BOOL_TRUE) {
goto condexpr_true_15;
} else {
goto condexpr_false_15;
}
condexpr_true_15:;
tmp_called_value_15 = PyObject_GetItem(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (unlikely(tmp_called_value_15 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[302]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 692;
type_description_2 = "o";
goto frame_exception_exit_6;
}
if (tmp_called_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 692;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_args_element_value_6 = MAKE_FUNCTION_requests$models$$$function__31_ok();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 692;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_15, tmp_args_element_value_6);
Py_DECREF(tmp_called_value_15);
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 = 692;
type_description_2 = "o";
goto frame_exception_exit_6;
}
goto condexpr_end_15;
condexpr_false_15:;
tmp_called_value_16 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_7 = MAKE_FUNCTION_requests$models$$$function__31_ok();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 692;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_16, tmp_args_element_value_7);
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 = 692;
type_description_2 = "o";
goto frame_exception_exit_6;
}
condexpr_end_15:;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[169], 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 = 693;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
nuitka_bool tmp_condition_result_35;
PyObject *tmp_called_value_17;
PyObject *tmp_args_element_value_8;
PyObject *tmp_called_value_18;
PyObject *tmp_args_element_value_9;
tmp_res = MAPPING_HAS_ITEM(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 707;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_condition_result_35 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_35 == NUITKA_BOOL_TRUE) {
goto condexpr_true_16;
} else {
goto condexpr_false_16;
}
condexpr_true_16:;
tmp_called_value_17 = PyObject_GetItem(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (unlikely(tmp_called_value_17 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[302]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 707;
type_description_2 = "o";
goto frame_exception_exit_6;
}
if (tmp_called_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 707;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_args_element_value_8 = MAKE_FUNCTION_requests$models$$$function__32_is_redirect();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 707;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_17, tmp_args_element_value_8);
Py_DECREF(tmp_called_value_17);
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 = 707;
type_description_2 = "o";
goto frame_exception_exit_6;
}
goto condexpr_end_16;
condexpr_false_16:;
tmp_called_value_18 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_9 = MAKE_FUNCTION_requests$models$$$function__32_is_redirect();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 707;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_18, tmp_args_element_value_9);
Py_DECREF(tmp_args_element_value_9);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 707;
type_description_2 = "o";
goto frame_exception_exit_6;
}
condexpr_end_16:;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[355], 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 = 708;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
nuitka_bool tmp_condition_result_36;
PyObject *tmp_called_value_19;
PyObject *tmp_args_element_value_10;
PyObject *tmp_called_value_20;
PyObject *tmp_args_element_value_11;
tmp_res = MAPPING_HAS_ITEM(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 714;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_condition_result_36 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_36 == NUITKA_BOOL_TRUE) {
goto condexpr_true_17;
} else {
goto condexpr_false_17;
}
condexpr_true_17:;
tmp_called_value_19 = PyObject_GetItem(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (unlikely(tmp_called_value_19 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[302]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 714;
type_description_2 = "o";
goto frame_exception_exit_6;
}
if (tmp_called_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 714;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_args_element_value_10 = MAKE_FUNCTION_requests$models$$$function__33_is_permanent_redirect();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 714;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_19, tmp_args_element_value_10);
Py_DECREF(tmp_called_value_19);
Py_DECREF(tmp_args_element_value_10);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 714;
type_description_2 = "o";
goto frame_exception_exit_6;
}
goto condexpr_end_17;
condexpr_false_17:;
tmp_called_value_20 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_11 = MAKE_FUNCTION_requests$models$$$function__33_is_permanent_redirect();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 714;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_20, tmp_args_element_value_11);
Py_DECREF(tmp_args_element_value_11);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 714;
type_description_2 = "o";
goto frame_exception_exit_6;
}
condexpr_end_17:;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[357], 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 = 715;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
nuitka_bool tmp_condition_result_37;
PyObject *tmp_called_value_21;
PyObject *tmp_args_element_value_12;
PyObject *tmp_called_value_22;
PyObject *tmp_args_element_value_13;
tmp_res = MAPPING_HAS_ITEM(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 719;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_condition_result_37 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_37 == NUITKA_BOOL_TRUE) {
goto condexpr_true_18;
} else {
goto condexpr_false_18;
}
condexpr_true_18:;
tmp_called_value_21 = PyObject_GetItem(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (unlikely(tmp_called_value_21 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[302]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 719;
type_description_2 = "o";
goto frame_exception_exit_6;
}
if (tmp_called_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 719;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_args_element_value_12 = MAKE_FUNCTION_requests$models$$$function__34_next();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 719;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_21, tmp_args_element_value_12);
Py_DECREF(tmp_called_value_21);
Py_DECREF(tmp_args_element_value_12);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 719;
type_description_2 = "o";
goto frame_exception_exit_6;
}
goto condexpr_end_18;
condexpr_false_18:;
tmp_called_value_22 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_13 = MAKE_FUNCTION_requests$models$$$function__34_next();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 719;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_22, tmp_args_element_value_13);
Py_DECREF(tmp_args_element_value_13);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 719;
type_description_2 = "o";
goto frame_exception_exit_6;
}
condexpr_end_18:;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[359], 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 = 720;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
nuitka_bool tmp_condition_result_38;
PyObject *tmp_called_value_23;
PyObject *tmp_args_element_value_14;
PyObject *tmp_called_value_24;
PyObject *tmp_args_element_value_15;
tmp_res = MAPPING_HAS_ITEM(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 724;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_condition_result_38 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_38 == NUITKA_BOOL_TRUE) {
goto condexpr_true_19;
} else {
goto condexpr_false_19;
}
condexpr_true_19:;
tmp_called_value_23 = PyObject_GetItem(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (unlikely(tmp_called_value_23 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[302]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 724;
type_description_2 = "o";
goto frame_exception_exit_6;
}
if (tmp_called_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 724;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_args_element_value_14 = MAKE_FUNCTION_requests$models$$$function__35_apparent_encoding();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 724;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_23, tmp_args_element_value_14);
Py_DECREF(tmp_called_value_23);
Py_DECREF(tmp_args_element_value_14);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 724;
type_description_2 = "o";
goto frame_exception_exit_6;
}
goto condexpr_end_19;
condexpr_false_19:;
tmp_called_value_24 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_15 = MAKE_FUNCTION_requests$models$$$function__35_apparent_encoding();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 724;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_24, tmp_args_element_value_15);
Py_DECREF(tmp_args_element_value_15);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 724;
type_description_2 = "o";
goto frame_exception_exit_6;
}
condexpr_end_19:;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[222], 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 = 725;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_defaults_5;
tmp_defaults_5 = mod_consts[362];
Py_INCREF(tmp_defaults_5);
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__36_iter_content(tmp_defaults_5);
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[171], 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 = 729;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
PyObject *tmp_defaults_6;
PyObject *tmp_tuple_element_18;
tmp_tuple_element_18 = PyObject_GetItem(locals_requests$models$$$class__5_Response_586, mod_consts[290]);
if (tmp_tuple_element_18 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_18 = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[290]);
if (unlikely(tmp_tuple_element_18 == NULL)) {
tmp_tuple_element_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[290]);
}
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 784;
type_description_2 = "o";
goto frame_exception_exit_6;
}
Py_INCREF(tmp_tuple_element_18);
} else {
goto frame_exception_exit_6;
}
}
tmp_defaults_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM(tmp_defaults_6, 0, tmp_tuple_element_18);
tmp_tuple_element_18 = Py_False;
PyTuple_SET_ITEM0(tmp_defaults_6, 1, tmp_tuple_element_18);
tmp_tuple_element_18 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 2, tmp_tuple_element_18);
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__37_iter_lines(tmp_defaults_6);
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[214], 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 = 784;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
nuitka_bool tmp_condition_result_39;
PyObject *tmp_called_value_25;
PyObject *tmp_args_element_value_16;
PyObject *tmp_called_value_26;
PyObject *tmp_args_element_value_17;
tmp_res = MAPPING_HAS_ITEM(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 815;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_condition_result_39 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_39 == NUITKA_BOOL_TRUE) {
goto condexpr_true_20;
} else {
goto condexpr_false_20;
}
condexpr_true_20:;
tmp_called_value_25 = PyObject_GetItem(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (unlikely(tmp_called_value_25 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[302]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 815;
type_description_2 = "o";
goto frame_exception_exit_6;
}
if (tmp_called_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 815;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_args_element_value_16 = MAKE_FUNCTION_requests$models$$$function__38_content();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 815;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_25, tmp_args_element_value_16);
Py_DECREF(tmp_called_value_25);
Py_DECREF(tmp_args_element_value_16);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 815;
type_description_2 = "o";
goto frame_exception_exit_6;
}
goto condexpr_end_20;
condexpr_false_20:;
tmp_called_value_26 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_17 = MAKE_FUNCTION_requests$models$$$function__38_content();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 815;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_26, tmp_args_element_value_17);
Py_DECREF(tmp_args_element_value_17);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 815;
type_description_2 = "o";
goto frame_exception_exit_6;
}
condexpr_end_20:;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[166], 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 = 816;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
{
nuitka_bool tmp_condition_result_40;
PyObject *tmp_called_value_27;
PyObject *tmp_args_element_value_18;
PyObject *tmp_called_value_28;
PyObject *tmp_args_element_value_19;
tmp_res = MAPPING_HAS_ITEM(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 835;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_condition_result_40 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_40 == NUITKA_BOOL_TRUE) {
goto condexpr_true_21;
} else {
goto condexpr_false_21;
}
condexpr_true_21:;
tmp_called_value_27 = PyObject_GetItem(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (unlikely(tmp_called_value_27 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[302]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 835;
type_description_2 = "o";
goto frame_exception_exit_6;
}
if (tmp_called_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 835;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_args_element_value_18 = MAKE_FUNCTION_requests$models$$$function__39_text();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 835;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_27, tmp_args_element_value_18);
Py_DECREF(tmp_called_value_27);
Py_DECREF(tmp_args_element_value_18);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 835;
type_description_2 = "o";
goto frame_exception_exit_6;
}
goto condexpr_end_21;
condexpr_false_21:;
tmp_called_value_28 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_19 = MAKE_FUNCTION_requests$models$$$function__39_text();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 835;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_28, tmp_args_element_value_19);
Py_DECREF(tmp_args_element_value_19);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 835;
type_description_2 = "o";
goto frame_exception_exit_6;
}
condexpr_end_21:;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[228], 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 = 836;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__40_json();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[56], 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 = 873;
type_description_2 = "o";
goto frame_exception_exit_6;
}
{
nuitka_bool tmp_condition_result_41;
PyObject *tmp_called_value_29;
PyObject *tmp_args_element_value_20;
PyObject *tmp_called_value_30;
PyObject *tmp_args_element_value_21;
tmp_res = MAPPING_HAS_ITEM(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 899;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_condition_result_41 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_41 == NUITKA_BOOL_TRUE) {
goto condexpr_true_22;
} else {
goto condexpr_false_22;
}
condexpr_true_22:;
tmp_called_value_29 = PyObject_GetItem(locals_requests$models$$$class__5_Response_586, mod_consts[302]);
if (unlikely(tmp_called_value_29 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[302]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 899;
type_description_2 = "o";
goto frame_exception_exit_6;
}
if (tmp_called_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 899;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_args_element_value_20 = MAKE_FUNCTION_requests$models$$$function__41_links();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 899;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_29, tmp_args_element_value_20);
Py_DECREF(tmp_called_value_29);
Py_DECREF(tmp_args_element_value_20);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 899;
type_description_2 = "o";
goto frame_exception_exit_6;
}
goto condexpr_end_22;
condexpr_false_22:;
tmp_called_value_30 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_21 = MAKE_FUNCTION_requests$models$$$function__41_links();
frame_4bb039bda945473d8156c26771dbcf99_6->m_frame.f_lineno = 899;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_30, tmp_args_element_value_21);
Py_DECREF(tmp_args_element_value_21);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 899;
type_description_2 = "o";
goto frame_exception_exit_6;
}
condexpr_end_22:;
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[367], 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 = 900;
type_description_2 = "o";
goto frame_exception_exit_6;
}
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__42_raise_for_status();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[174], 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 = 917;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_requests$models$$$function__43_close();
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[165], 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 = 942;
type_description_2 = "o";
goto frame_exception_exit_6;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4bb039bda945473d8156c26771dbcf99_6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_5;
frame_exception_exit_6:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4bb039bda945473d8156c26771dbcf99_6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4bb039bda945473d8156c26771dbcf99_6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4bb039bda945473d8156c26771dbcf99_6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4bb039bda945473d8156c26771dbcf99_6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4bb039bda945473d8156c26771dbcf99_6,
type_description_2,
outline_4_var___class__
);
// Release cached frame if used for exception.
if (frame_4bb039bda945473d8156c26771dbcf99_6 == cache_frame_4bb039bda945473d8156c26771dbcf99_6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4bb039bda945473d8156c26771dbcf99_6);
cache_frame_4bb039bda945473d8156c26771dbcf99_6 = NULL;
}
assertFrameObject(frame_4bb039bda945473d8156c26771dbcf99_6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_5;
frame_no_exception_5:;
goto skip_nested_handling_5;
nested_frame_exit_5:;
goto try_except_handler_21;
skip_nested_handling_5:;
{
nuitka_bool tmp_condition_result_42;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_cmp_expr_left_5 = tmp_class_creation_5__bases;
tmp_cmp_expr_right_5 = mod_consts[291];
tmp_condition_result_42 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_42 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_21;
}
if (tmp_condition_result_42 == NUITKA_BOOL_TRUE) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
tmp_dictset_value = mod_consts[291];
tmp_res = PyObject_SetItem(locals_requests$models$$$class__5_Response_586, mod_consts[308], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_21;
}
branch_no_20:;
{
PyObject *tmp_assign_source_100;
PyObject *tmp_called_value_31;
PyObject *tmp_args_value_10;
PyObject *tmp_tuple_element_19;
PyObject *tmp_kwargs_value_10;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_called_value_31 = tmp_class_creation_5__metaclass;
tmp_tuple_element_19 = mod_consts[336];
tmp_args_value_10 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_10, 0, tmp_tuple_element_19);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_19 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_10, 1, tmp_tuple_element_19);
tmp_tuple_element_19 = locals_requests$models$$$class__5_Response_586;
PyTuple_SET_ITEM0(tmp_args_value_10, 2, tmp_tuple_element_19);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_10 = tmp_class_creation_5__class_decl_dict;
frame_51444825c9a5198f623d248658adae87->m_frame.f_lineno = 586;
tmp_assign_source_100 = CALL_FUNCTION(tmp_called_value_31, tmp_args_value_10, tmp_kwargs_value_10);
Py_DECREF(tmp_args_value_10);
if (tmp_assign_source_100 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 586;
goto try_except_handler_21;
}
assert(outline_4_var___class__ == NULL);
outline_4_var___class__ = tmp_assign_source_100;
}
CHECK_OBJECT(outline_4_var___class__);
tmp_assign_source_99 = outline_4_var___class__;
Py_INCREF(tmp_assign_source_99);
goto try_return_handler_21;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_21:;
Py_DECREF(locals_requests$models$$$class__5_Response_586);
locals_requests$models$$$class__5_Response_586 = NULL;
goto try_return_handler_20;
// Exception handler code:
try_except_handler_21:;
exception_keeper_type_19 = exception_type;
exception_keeper_value_19 = exception_value;
exception_keeper_tb_19 = exception_tb;
exception_keeper_lineno_19 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_requests$models$$$class__5_Response_586);
locals_requests$models$$$class__5_Response_586 = NULL;
// Re-raise.
exception_type = exception_keeper_type_19;
exception_value = exception_keeper_value_19;
exception_tb = exception_keeper_tb_19;
exception_lineno = exception_keeper_lineno_19;
goto try_except_handler_20;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_20:;
CHECK_OBJECT(outline_4_var___class__);
Py_DECREF(outline_4_var___class__);
outline_4_var___class__ = NULL;
goto outline_result_5;
// Exception handler code:
try_except_handler_20:;
exception_keeper_type_20 = exception_type;
exception_keeper_value_20 = exception_value;
exception_keeper_tb_20 = exception_tb;
exception_keeper_lineno_20 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_20;
exception_value = exception_keeper_value_20;
exception_tb = exception_keeper_tb_20;
exception_lineno = exception_keeper_lineno_20;
goto outline_exception_5;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_5:;
exception_lineno = 586;
goto try_except_handler_19;
outline_result_5:;
UPDATE_STRING_DICT1(moduledict_requests$models, (Nuitka_StringObject *)mod_consts[336], tmp_assign_source_99);
}
goto try_end_11;
// Exception handler code:
try_except_handler_19:;
exception_keeper_type_21 = exception_type;
exception_keeper_value_21 = exception_value;
exception_keeper_tb_21 = exception_tb;
exception_keeper_lineno_21 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_5__bases);
tmp_class_creation_5__bases = NULL;
Py_XDECREF(tmp_class_creation_5__class_decl_dict);
tmp_class_creation_5__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_5__metaclass);
tmp_class_creation_5__metaclass = NULL;
Py_XDECREF(tmp_class_creation_5__prepared);
tmp_class_creation_5__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_21;
exception_value = exception_keeper_value_21;
exception_tb = exception_keeper_tb_21;
exception_lineno = exception_keeper_lineno_21;
goto frame_exception_exit_1;
// End of try:
try_end_11:;
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_51444825c9a5198f623d248658adae87);
#endif
popFrameStack();
goto frame_no_exception_6;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_51444825c9a5198f623d248658adae87);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_51444825c9a5198f623d248658adae87, exception_lineno);
} else if (exception_tb->tb_frame != &frame_51444825c9a5198f623d248658adae87->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_51444825c9a5198f623d248658adae87, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_6:;
CHECK_OBJECT(tmp_class_creation_5__bases);
Py_DECREF(tmp_class_creation_5__bases);
tmp_class_creation_5__bases = NULL;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
Py_DECREF(tmp_class_creation_5__class_decl_dict);
tmp_class_creation_5__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
Py_DECREF(tmp_class_creation_5__metaclass);
tmp_class_creation_5__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_5__prepared);
Py_DECREF(tmp_class_creation_5__prepared);
tmp_class_creation_5__prepared = NULL;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("requests.models", false);
Py_INCREF(module_requests$models);
return module_requests$models;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_requests$models, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("requests$models", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}