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 'urllib3.response'
* 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_urllib3$response" 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_urllib3$response;
PyDictObject *moduledict_urllib3$response;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[309];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[309];
#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("urllib3.response"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 309; 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_urllib3$response(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 309; 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_5c05ddb0358ec8c1cabb616fdd3b1de4;
static PyCodeObject *codeobj_85eb05c9e731cfe0cc6e7880c69b261b;
static PyCodeObject *codeobj_1d6641a21a46aa4da0e327021feeb33b;
static PyCodeObject *codeobj_6ba7e2d26aef0e9aefb5c8b102fb7928;
static PyCodeObject *codeobj_20e862cbbb0ed9564511d2c897bb9835;
static PyCodeObject *codeobj_df8098d67e46cefc4e4754f4c36166ad;
static PyCodeObject *codeobj_8b16b921e8ccba755c229eb125486161;
static PyCodeObject *codeobj_da51b7d18289c9cc262265097b44525b;
static PyCodeObject *codeobj_2c72e1cf64bf05cc3a01c5705e01d436;
static PyCodeObject *codeobj_53bb57d36be660ca04f14f953ffe6402;
static PyCodeObject *codeobj_598d07bddcd1befd5de893c07e4341dc;
static PyCodeObject *codeobj_8a859479a9b94ad3b64f8a79b41d3e3d;
static PyCodeObject *codeobj_0cb74ac6250f187390d0b18d07b24a3e;
static PyCodeObject *codeobj_8083497c747b5bc77c2e12ea032373a7;
static PyCodeObject *codeobj_f5976d14defdd7744d9e1ba5d56418b7;
static PyCodeObject *codeobj_80911a584255f3f4512f1f0fc5e1e2ae;
static PyCodeObject *codeobj_3c656863be231c7c1e6482ef7e62c136;
static PyCodeObject *codeobj_016e2564f913921ae7783b96e06493ae;
static PyCodeObject *codeobj_921b4351b231fd1e915962086751ee83;
static PyCodeObject *codeobj_6e5c4720675113c6332b9400dbe8feb5;
static PyCodeObject *codeobj_13bfb082f1ebd2413720cefbc80634b8;
static PyCodeObject *codeobj_7a027ce45f97eb18f29fe0dd500fb4b0;
static PyCodeObject *codeobj_1e12dded38c4078692d3523c3e161a24;
static PyCodeObject *codeobj_0e76018e69557c9d6aa87b9dbf9de5d6;
static PyCodeObject *codeobj_4b1c9dbf13c9d5cfb73157e4f67f3f64;
static PyCodeObject *codeobj_1383da27ac8069a416f9e4ff05b186fd;
static PyCodeObject *codeobj_1d1e7f122bdd241fd5e54649816263e9;
static PyCodeObject *codeobj_f97ef6146e52f3e57072b676f8c14bbc;
static PyCodeObject *codeobj_dc96524f1569a4afcb30dab8f58b04dd;
static PyCodeObject *codeobj_83af965fb9ce7125a869db435a0b247d;
static PyCodeObject *codeobj_38fd33a308ffc1ddf71f156f718466a0;
static PyCodeObject *codeobj_122f8929a8bcf1c5a27f9d14fe1d3713;
static PyCodeObject *codeobj_34188369beb2bd1af2fd1455566507d5;
static PyCodeObject *codeobj_1e8e64e7ee914b608adea6e6053d206f;
static PyCodeObject *codeobj_7781a0056c4dc99924970871fe8250f4;
static PyCodeObject *codeobj_ecce98adb9379861322251bfbfdf9777;
static PyCodeObject *codeobj_402f426f68b0aec6dbee22d11a1abfbe;
static PyCodeObject *codeobj_91cf4f4939b92100a570b8727fbf1487;
static PyCodeObject *codeobj_4972e1afc4cd22a36eee6e3341fcde58;
static PyCodeObject *codeobj_fc95ba0b78983beea045b12b0a59f2cd;
static PyCodeObject *codeobj_6176c6f019ffb8063469c2b76b5d1270;
static PyCodeObject *codeobj_58a9bad47e4b5ce33e6fd4581f2a7191;
static PyCodeObject *codeobj_a4ea8b326d9fa80e1ea5edc30cbc11d0;
static PyCodeObject *codeobj_24ebf2e48eae2929e05a4f76dd39765f;
static PyCodeObject *codeobj_85ff1a86f313882e81e3165c9f2246a3;
static PyCodeObject *codeobj_28dbab793d7f5e5a6400eb4ed719019a;
static PyCodeObject *codeobj_0b67cc5343033ed9e760f09ae4b0d14e;
static PyCodeObject *codeobj_5efb7899ac6b31c8f9b5a25f2c3cb949;
static PyCodeObject *codeobj_9c5c57808fc663253a7031733a178c32;
static PyCodeObject *codeobj_5b1e85b15a5cd6fcc883d4a2d43ac993;
static PyCodeObject *codeobj_300753ebb5258ffcf2fd633e7935c3ec;
static PyCodeObject *codeobj_c3e74a683c4a240e98aa63b47f062203;
static PyCodeObject *codeobj_966ff6f2e5a4704811bdf3568ab48764;
static PyCodeObject *codeobj_7e93189adc7d0287af77cd2b1a58dd2b;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[172]; CHECK_OBJECT(module_filename_obj);
codeobj_5c05ddb0358ec8c1cabb616fdd3b1de4 = MAKE_CODE_OBJECT(module_filename_obj, 249, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[66], mod_consts[66], mod_consts[278], NULL, 1, 0, 0);
codeobj_85eb05c9e731cfe0cc6e7880c69b261b = MAKE_CODE_OBJECT(module_filename_obj, 367, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[279], mod_consts[279], mod_consts[280], NULL, 1, 0, 0);
codeobj_1d6641a21a46aa4da0e327021feeb33b = MAKE_CODE_OBJECT(module_filename_obj, 131, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[279], mod_consts[279], mod_consts[281], NULL, 1, 0, 0);
codeobj_6ba7e2d26aef0e9aefb5c8b102fb7928 = MAKE_CODE_OBJECT(module_filename_obj, 330, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[279], mod_consts[279], mod_consts[282], NULL, 1, 0, 0);
codeobj_20e862cbbb0ed9564511d2c897bb9835 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[283], mod_consts[283], NULL, NULL, 0, 0, 0);
codeobj_df8098d67e46cefc4e4754f4c36166ad = MAKE_CODE_OBJECT(module_filename_obj, 103, CO_NOFREE, mod_consts[35], mod_consts[35], mod_consts[284], NULL, 0, 0, 0);
codeobj_8b16b921e8ccba755c229eb125486161 = MAKE_CODE_OBJECT(module_filename_obj, 32, CO_NOFREE, mod_consts[36], mod_consts[36], mod_consts[284], NULL, 0, 0, 0);
codeobj_da51b7d18289c9cc262265097b44525b = MAKE_CODE_OBJECT(module_filename_obj, 71, CO_NOFREE, mod_consts[33], mod_consts[33], mod_consts[284], NULL, 0, 0, 0);
codeobj_2c72e1cf64bf05cc3a01c5705e01d436 = MAKE_CODE_OBJECT(module_filename_obj, 64, CO_NOFREE, mod_consts[10], mod_consts[10], mod_consts[284], NULL, 0, 0, 0);
codeobj_53bb57d36be660ca04f14f953ffe6402 = MAKE_CODE_OBJECT(module_filename_obj, 155, CO_NOFREE, mod_consts[231], mod_consts[231], mod_consts[284], NULL, 0, 0, 0);
codeobj_598d07bddcd1befd5de893c07e4341dc = MAKE_CODE_OBJECT(module_filename_obj, 121, CO_NOFREE, mod_consts[31], mod_consts[31], mod_consts[284], NULL, 0, 0, 0);
codeobj_8a859479a9b94ad3b64f8a79b41d3e3d = MAKE_CODE_OBJECT(module_filename_obj, 38, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[216], mod_consts[216], mod_consts[285], NULL, 2, 0, 0);
codeobj_0cb74ac6250f187390d0b18d07b24a3e = MAKE_CODE_OBJECT(module_filename_obj, 76, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[216], mod_consts[216], mod_consts[285], NULL, 2, 0, 0);
codeobj_8083497c747b5bc77c2e12ea032373a7 = MAKE_CODE_OBJECT(module_filename_obj, 33, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[214], mod_consts[214], mod_consts[286], NULL, 1, 0, 0);
codeobj_f5976d14defdd7744d9e1ba5d56418b7 = MAKE_CODE_OBJECT(module_filename_obj, 72, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[214], mod_consts[214], mod_consts[286], NULL, 1, 0, 0);
codeobj_80911a584255f3f4512f1f0fc5e1e2ae = MAKE_CODE_OBJECT(module_filename_obj, 107, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[214], mod_consts[214], mod_consts[286], NULL, 1, 0, 0);
codeobj_3c656863be231c7c1e6482ef7e62c136 = MAKE_CODE_OBJECT(module_filename_obj, 193, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[214], mod_consts[214], mod_consts[287], NULL, 18, 0, 0);
codeobj_016e2564f913921ae7783b96e06493ae = MAKE_CODE_OBJECT(module_filename_obj, 130, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[214], mod_consts[214], mod_consts[288], NULL, 2, 0, 0);
codeobj_921b4351b231fd1e915962086751ee83 = MAKE_CODE_OBJECT(module_filename_obj, 794, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[169], mod_consts[169], mod_consts[289], NULL, 1, 0, 0);
codeobj_6e5c4720675113c6332b9400dbe8feb5 = MAKE_CODE_OBJECT(module_filename_obj, 379, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[120], mod_consts[120], mod_consts[290], NULL, 4, 0, 0);
codeobj_13bfb082f1ebd2413720cefbc80634b8 = MAKE_CODE_OBJECT(module_filename_obj, 413, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[111], mod_consts[111], mod_consts[291], NULL, 1, 0, 0);
codeobj_7a027ce45f97eb18f29fe0dd500fb4b0 = MAKE_CODE_OBJECT(module_filename_obj, 401, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[94], mod_consts[94], mod_consts[292], NULL, 1, 0, 0);
codeobj_1e12dded38c4078692d3523c3e161a24 = MAKE_CODE_OBJECT(module_filename_obj, 142, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[26], mod_consts[26], mod_consts[293], NULL, 1, 0, 0);
codeobj_0e76018e69557c9d6aa87b9dbf9de5d6 = MAKE_CODE_OBJECT(module_filename_obj, 691, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[155], mod_consts[155], mod_consts[294], NULL, 2, 0, 0);
codeobj_4b1c9dbf13c9d5cfb73157e4f67f3f64 = MAKE_CODE_OBJECT(module_filename_obj, 356, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[113], mod_consts[113], mod_consts[295], NULL, 1, 0, 0);
codeobj_1383da27ac8069a416f9e4ff05b186fd = MAKE_CODE_OBJECT(module_filename_obj, 304, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[63], mod_consts[63], mod_consts[296], NULL, 2, 0, 0);
codeobj_1d1e7f122bdd241fd5e54649816263e9 = MAKE_CODE_OBJECT(module_filename_obj, 677, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[154], mod_consts[154], mod_consts[297], NULL, 1, 0, 0);
codeobj_f97ef6146e52f3e57072b676f8c14bbc = MAKE_CODE_OBJECT(module_filename_obj, 613, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[108], mod_consts[108], mod_consts[286], NULL, 1, 0, 0);
codeobj_dc96524f1569a4afcb30dab8f58b04dd = MAKE_CODE_OBJECT(module_filename_obj, 624, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[114], mod_consts[114], mod_consts[286], NULL, 1, 0, 0);
codeobj_83af965fb9ce7125a869db435a0b247d = MAKE_CODE_OBJECT(module_filename_obj, 290, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[198], mod_consts[198], mod_consts[286], NULL, 1, 0, 0);
codeobj_38fd33a308ffc1ddf71f156f718466a0 = MAKE_CODE_OBJECT(module_filename_obj, 281, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[17], mod_consts[17], mod_consts[286], NULL, 1, 0, 0);
codeobj_122f8929a8bcf1c5a27f9d14fe1d3713 = MAKE_CODE_OBJECT(module_filename_obj, 110, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[6], mod_consts[6], mod_consts[298], NULL, 2, 0, 0);
codeobj_34188369beb2bd1af2fd1455566507d5 = MAKE_CODE_OBJECT(module_filename_obj, 136, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[6], mod_consts[6], mod_consts[299], NULL, 2, 0, 0);
codeobj_1e8e64e7ee914b608adea6e6053d206f = MAKE_CODE_OBJECT(module_filename_obj, 41, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[6], mod_consts[6], mod_consts[300], NULL, 2, 0, 0);
codeobj_7781a0056c4dc99924970871fe8250f4 = MAKE_CODE_OBJECT(module_filename_obj, 79, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[6], mod_consts[6], mod_consts[301], NULL, 2, 0, 0);
codeobj_ecce98adb9379861322251bfbfdf9777 = MAKE_CODE_OBJECT(module_filename_obj, 636, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[139], mod_consts[139], mod_consts[286], NULL, 1, 0, 0);
codeobj_402f426f68b0aec6dbee22d11a1abfbe = MAKE_CODE_OBJECT(module_filename_obj, 115, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[23], mod_consts[23], mod_consts[286], NULL, 1, 0, 0);
codeobj_91cf4f4939b92100a570b8727fbf1487 = MAKE_CODE_OBJECT(module_filename_obj, 133, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[23], mod_consts[23], mod_consts[286], NULL, 1, 0, 0);
codeobj_4972e1afc4cd22a36eee6e3341fcde58 = MAKE_CODE_OBJECT(module_filename_obj, 647, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[23], mod_consts[23], mod_consts[286], NULL, 1, 0, 0);
codeobj_fc95ba0b78983beea045b12b0a59f2cd = MAKE_CODE_OBJECT(module_filename_obj, 570, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[131], mod_consts[131], mod_consts[302], NULL, 2, 0, 0);
codeobj_6176c6f019ffb8063469c2b76b5d1270 = MAKE_CODE_OBJECT(module_filename_obj, 260, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[238], mod_consts[238], mod_consts[286], NULL, 1, 0, 0);
codeobj_58a9bad47e4b5ce33e6fd4581f2a7191 = MAKE_CODE_OBJECT(module_filename_obj, 605, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[260], mod_consts[260], mod_consts[303], NULL, 3, 0, 0);
codeobj_a4ea8b326d9fa80e1ea5edc30cbc11d0 = MAKE_CODE_OBJECT(module_filename_obj, 602, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[257], mod_consts[257], mod_consts[286], NULL, 1, 0, 0);
codeobj_24ebf2e48eae2929e05a4f76dd39765f = MAKE_CODE_OBJECT(module_filename_obj, 783, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[276], mod_consts[276], mod_consts[286], NULL, 1, 0, 0);
codeobj_85ff1a86f313882e81e3165c9f2246a3 = MAKE_CODE_OBJECT(module_filename_obj, 609, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[262], mod_consts[262], mod_consts[286], NULL, 1, 0, 0);
codeobj_28dbab793d7f5e5a6400eb4ed719019a = MAKE_CODE_OBJECT(module_filename_obj, 293, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[109], mod_consts[109], mod_consts[286], NULL, 1, 0, 0);
codeobj_0b67cc5343033ed9e760f09ae4b0d14e = MAKE_CODE_OBJECT(module_filename_obj, 469, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[57], mod_consts[57], mod_consts[304], NULL, 4, 0, 0);
codeobj_5efb7899ac6b31c8f9b5a25f2c3cb949 = MAKE_CODE_OBJECT(module_filename_obj, 713, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[124], mod_consts[124], mod_consts[305], NULL, 3, 0, 0);
codeobj_9c5c57808fc663253a7031733a178c32 = MAKE_CODE_OBJECT(module_filename_obj, 655, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[268], mod_consts[268], mod_consts[286], NULL, 1, 0, 0);
codeobj_5b1e85b15a5cd6fcc883d4a2d43ac993 = MAKE_CODE_OBJECT(module_filename_obj, 659, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[270], mod_consts[270], mod_consts[306], NULL, 2, 0, 0);
codeobj_300753ebb5258ffcf2fd633e7935c3ec = MAKE_CODE_OBJECT(module_filename_obj, 273, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[110], mod_consts[110], mod_consts[286], NULL, 1, 0, 0);
codeobj_c3e74a683c4a240e98aa63b47f062203 = MAKE_CODE_OBJECT(module_filename_obj, 543, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[127], mod_consts[127], mod_consts[307], NULL, 3, 0, 0);
codeobj_966ff6f2e5a4704811bdf3568ab48764 = MAKE_CODE_OBJECT(module_filename_obj, 668, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[123], mod_consts[123], mod_consts[286], NULL, 1, 0, 0);
codeobj_7e93189adc7d0287af77cd2b1a58dd2b = MAKE_CODE_OBJECT(module_filename_obj, 296, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[245], mod_consts[245], mod_consts[286], NULL, 1, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_GENERATOR_urllib3$response$$$function__14___init__$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_urllib3$response$$$function__25__error_catcher$$$genobj__1__error_catcher(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_urllib3$response$$$function__27_stream$$$genobj__1_stream(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_urllib3$response$$$function__41_read_chunked$$$genobj__1_read_chunked(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_urllib3$response$$$function__43___iter__$$$genobj__1___iter__(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__9_complex_call_helper_keywords_star_dict(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__10___init__();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__11_flush();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__12_decompress();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__13__get_decoder();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__14___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__15_get_redirect_location();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__16_release_conn();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__17_data();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__18_connection();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__19_isclosed();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__1___init__();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__20_tell();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__21__init_length();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__22__init_decoder();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__23__decode();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__24__flush_decoder();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__25__error_catcher();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__26_read(PyObject *defaults);
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__27_stream(PyObject *defaults);
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__28_from_httplib();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__29_getheaders();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__2___getattr__();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__30_getheader(PyObject *defaults);
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__31_info();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__32_close();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__33_closed();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__34_fileno();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__35_flush();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__36_readable();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__37_readinto();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__38_supports_chunked_reads();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__39__update_chunk_length();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__3_decompress();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__40__handle_chunk();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__41_read_chunked(PyObject *defaults);
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__42_geturl();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__43___iter__();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__4___init__();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__5___getattr__();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__6_decompress();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__7___init__();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__8_decompress();
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__9_flush();
// The module function definitions.
static PyObject *impl_urllib3$response$$$function__1___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_8083497c747b5bc77c2e12ea032373a7;
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_8083497c747b5bc77c2e12ea032373a7 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_8083497c747b5bc77c2e12ea032373a7)) {
Py_XDECREF(cache_frame_8083497c747b5bc77c2e12ea032373a7);
#if _DEBUG_REFCOUNTS
if (cache_frame_8083497c747b5bc77c2e12ea032373a7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8083497c747b5bc77c2e12ea032373a7 = MAKE_FUNCTION_FRAME(codeobj_8083497c747b5bc77c2e12ea032373a7, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8083497c747b5bc77c2e12ea032373a7->m_type_description == NULL);
frame_8083497c747b5bc77c2e12ea032373a7 = cache_frame_8083497c747b5bc77c2e12ea032373a7;
// Push the new frame as the currently active one.
pushFrameStack(frame_8083497c747b5bc77c2e12ea032373a7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8083497c747b5bc77c2e12ea032373a7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_True;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[0], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 34;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = mod_consts[1];
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[2], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_assattr_target_3;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_8083497c747b5bc77c2e12ea032373a7->m_frame.f_lineno = 36;
tmp_assattr_value_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[4]);
if (tmp_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[5], 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 = 36;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8083497c747b5bc77c2e12ea032373a7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8083497c747b5bc77c2e12ea032373a7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8083497c747b5bc77c2e12ea032373a7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8083497c747b5bc77c2e12ea032373a7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8083497c747b5bc77c2e12ea032373a7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8083497c747b5bc77c2e12ea032373a7,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_8083497c747b5bc77c2e12ea032373a7 == cache_frame_8083497c747b5bc77c2e12ea032373a7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8083497c747b5bc77c2e12ea032373a7);
cache_frame_8083497c747b5bc77c2e12ea032373a7 = NULL;
}
assertFrameObject(frame_8083497c747b5bc77c2e12ea032373a7);
// 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_urllib3$response$$$function__2___getattr__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_name = python_pars[1];
struct Nuitka_FrameObject *frame_8a859479a9b94ad3b64f8a79b41d3e3d;
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_8a859479a9b94ad3b64f8a79b41d3e3d = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_8a859479a9b94ad3b64f8a79b41d3e3d)) {
Py_XDECREF(cache_frame_8a859479a9b94ad3b64f8a79b41d3e3d);
#if _DEBUG_REFCOUNTS
if (cache_frame_8a859479a9b94ad3b64f8a79b41d3e3d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8a859479a9b94ad3b64f8a79b41d3e3d = MAKE_FUNCTION_FRAME(codeobj_8a859479a9b94ad3b64f8a79b41d3e3d, module_urllib3$response, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8a859479a9b94ad3b64f8a79b41d3e3d->m_type_description == NULL);
frame_8a859479a9b94ad3b64f8a79b41d3e3d = cache_frame_8a859479a9b94ad3b64f8a79b41d3e3d;
// Push the new frame as the currently active one.
pushFrameStack(frame_8a859479a9b94ad3b64f8a79b41d3e3d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8a859479a9b94ad3b64f8a79b41d3e3d) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_getattr_target_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_getattr_attr_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_getattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[5]);
if (tmp_getattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_getattr_attr_1 = par_name;
tmp_return_value = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, NULL);
Py_DECREF(tmp_getattr_target_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8a859479a9b94ad3b64f8a79b41d3e3d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8a859479a9b94ad3b64f8a79b41d3e3d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8a859479a9b94ad3b64f8a79b41d3e3d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8a859479a9b94ad3b64f8a79b41d3e3d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8a859479a9b94ad3b64f8a79b41d3e3d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8a859479a9b94ad3b64f8a79b41d3e3d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8a859479a9b94ad3b64f8a79b41d3e3d,
type_description_1,
par_self,
par_name
);
// Release cached frame if used for exception.
if (frame_8a859479a9b94ad3b64f8a79b41d3e3d == cache_frame_8a859479a9b94ad3b64f8a79b41d3e3d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8a859479a9b94ad3b64f8a79b41d3e3d);
cache_frame_8a859479a9b94ad3b64f8a79b41d3e3d = NULL;
}
assertFrameObject(frame_8a859479a9b94ad3b64f8a79b41d3e3d);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_urllib3$response$$$function__3_decompress(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_data = python_pars[1];
PyObject *var_decompressed = NULL;
PyObject *tmp_inplace_assign_1__value = NULL;
struct Nuitka_FrameObject *frame_1e8e64e7ee914b608adea6e6053d206f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
struct Nuitka_ExceptionStackItem exception_preserved_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;
static struct Nuitka_FrameObject *cache_frame_1e8e64e7ee914b608adea6e6053d206f = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_1e8e64e7ee914b608adea6e6053d206f)) {
Py_XDECREF(cache_frame_1e8e64e7ee914b608adea6e6053d206f);
#if _DEBUG_REFCOUNTS
if (cache_frame_1e8e64e7ee914b608adea6e6053d206f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1e8e64e7ee914b608adea6e6053d206f = MAKE_FUNCTION_FRAME(codeobj_1e8e64e7ee914b608adea6e6053d206f, module_urllib3$response, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1e8e64e7ee914b608adea6e6053d206f->m_type_description == NULL);
frame_1e8e64e7ee914b608adea6e6053d206f = cache_frame_1e8e64e7ee914b608adea6e6053d206f;
// Push the new frame as the currently active one.
pushFrameStack(frame_1e8e64e7ee914b608adea6e6053d206f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1e8e64e7ee914b608adea6e6053d206f) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_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 = 42;
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:;
CHECK_OBJECT(par_data);
tmp_return_value = par_data;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_operand_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[0]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 45;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 45;
type_description_1 = "ooo";
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_called_instance_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[5]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_data);
tmp_args_element_value_1 = par_data;
frame_1e8e64e7ee914b608adea6e6053d206f->m_frame.f_lineno = 46;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[6], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[2]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 48;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_1__value == NULL);
tmp_inplace_assign_1__value = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_iadd_expr_left_1 = tmp_inplace_assign_1__value;
CHECK_OBJECT(par_data);
tmp_iadd_expr_right_1 = par_data;
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&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 = 48;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_assign_source_2 = tmp_iadd_expr_left_1;
tmp_inplace_assign_1__value = tmp_assign_source_2;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_assattr_value_1 = tmp_inplace_assign_1__value;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[2], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 48;
type_description_1 = "ooo";
goto try_except_handler_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;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[5]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
type_description_1 = "ooo";
goto try_except_handler_3;
}
CHECK_OBJECT(par_data);
tmp_args_element_value_2 = par_data;
frame_1e8e64e7ee914b608adea6e6053d206f->m_frame.f_lineno = 50;
tmp_assign_source_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[6], tmp_args_element_value_2);
Py_DECREF(tmp_called_instance_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
type_description_1 = "ooo";
goto try_except_handler_3;
}
assert(var_decompressed == NULL);
var_decompressed = tmp_assign_source_3;
}
{
nuitka_bool tmp_condition_result_3;
int tmp_truth_name_1;
CHECK_OBJECT(var_decompressed);
tmp_truth_name_1 = CHECK_IF_TRUE(var_decompressed);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
type_description_1 = "ooo";
goto try_except_handler_3;
}
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_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
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[0], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 52;
type_description_1 = "ooo";
goto try_except_handler_3;
}
}
{
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[2], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
type_description_1 = "ooo";
goto try_except_handler_3;
}
}
branch_no_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;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_2 == NULL) {
exception_keeper_tb_2 = MAKE_TRACEBACK(frame_1e8e64e7ee914b608adea6e6053d206f, exception_keeper_lineno_2);
} else if (exception_keeper_lineno_2 != 0) {
exception_keeper_tb_2 = ADD_TRACEBACK(exception_keeper_tb_2, frame_1e8e64e7ee914b608adea6e6053d206f, exception_keeper_lineno_2);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2);
// Tried code:
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_5;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 55;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[7]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 55;
type_description_1 = "ooo";
goto try_except_handler_4;
}
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 = 55;
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:;
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[0], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 56;
type_description_1 = "ooo";
goto try_except_handler_4;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_3;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_7;
PyObject *tmp_assattr_target_5;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 57;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[4]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 57;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 57;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_operand_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[8]);
if (tmp_operand_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 57;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_args_element_value_3 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_value_3);
Py_DECREF(tmp_operand_value_3);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 57;
type_description_1 = "ooo";
goto try_except_handler_4;
}
frame_1e8e64e7ee914b608adea6e6053d206f->m_frame.f_lineno = 57;
tmp_assattr_value_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_3);
if (tmp_assattr_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 57;
type_description_1 = "ooo";
goto try_except_handler_4;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[5], 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 = 57;
type_description_1 = "ooo";
goto try_except_handler_4;
}
}
// Tried code:
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[6]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 59;
type_description_1 = "ooo";
goto try_except_handler_5;
}
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[2]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 59;
type_description_1 = "ooo";
goto try_except_handler_5;
}
frame_1e8e64e7ee914b608adea6e6053d206f->m_frame.f_lineno = 59;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_4);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 59;
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:;
{
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[2], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 61;
type_description_1 = "ooo";
goto try_except_handler_4;
}
}
goto try_return_handler_4;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_1e8e64e7ee914b608adea6e6053d206f, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_1e8e64e7ee914b608adea6e6053d206f, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
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[2], tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 61;
type_description_1 = "ooo";
goto try_except_handler_6;
}
}
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 58;
}
if (exception_tb && exception_tb->tb_frame == &frame_1e8e64e7ee914b608adea6e6053d206f->m_frame) frame_1e8e64e7ee914b608adea6e6053d206f->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_4;
// End of try:
// End of try:
goto branch_end_4;
branch_no_4:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 49;
}
if (exception_tb && exception_tb->tb_frame == &frame_1e8e64e7ee914b608adea6e6053d206f->m_frame) frame_1e8e64e7ee914b608adea6e6053d206f->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_4;
branch_end_4:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_4:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// 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_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1e8e64e7ee914b608adea6e6053d206f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1e8e64e7ee914b608adea6e6053d206f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1e8e64e7ee914b608adea6e6053d206f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1e8e64e7ee914b608adea6e6053d206f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1e8e64e7ee914b608adea6e6053d206f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1e8e64e7ee914b608adea6e6053d206f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1e8e64e7ee914b608adea6e6053d206f,
type_description_1,
par_self,
par_data,
var_decompressed
);
// Release cached frame if used for exception.
if (frame_1e8e64e7ee914b608adea6e6053d206f == cache_frame_1e8e64e7ee914b608adea6e6053d206f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1e8e64e7ee914b608adea6e6053d206f);
cache_frame_1e8e64e7ee914b608adea6e6053d206f = NULL;
}
assertFrameObject(frame_1e8e64e7ee914b608adea6e6053d206f);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_decompressed);
tmp_return_value = var_decompressed;
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_decompressed);
var_decompressed = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_decompressed);
var_decompressed = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_urllib3$response$$$function__4___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_f5976d14defdd7744d9e1ba5d56418b7;
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_f5976d14defdd7744d9e1ba5d56418b7 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_f5976d14defdd7744d9e1ba5d56418b7)) {
Py_XDECREF(cache_frame_f5976d14defdd7744d9e1ba5d56418b7);
#if _DEBUG_REFCOUNTS
if (cache_frame_f5976d14defdd7744d9e1ba5d56418b7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f5976d14defdd7744d9e1ba5d56418b7 = MAKE_FUNCTION_FRAME(codeobj_f5976d14defdd7744d9e1ba5d56418b7, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f5976d14defdd7744d9e1ba5d56418b7->m_type_description == NULL);
frame_f5976d14defdd7744d9e1ba5d56418b7 = cache_frame_f5976d14defdd7744d9e1ba5d56418b7;
// Push the new frame as the currently active one.
pushFrameStack(frame_f5976d14defdd7744d9e1ba5d56418b7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f5976d14defdd7744d9e1ba5d56418b7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_assattr_target_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[4]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_add_expr_left_1 = mod_consts[9];
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 73;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_add_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[8]);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 73;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = BINARY_OPERATION_ADD_OBJECT_LONG_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 73;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_f5976d14defdd7744d9e1ba5d56418b7->m_frame.f_lineno = 73;
tmp_assattr_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_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_1 = "o";
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[5], 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 = 73;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_assattr_target_2;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 74;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_assattr_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[11]);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 74;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[12], 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 = 74;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f5976d14defdd7744d9e1ba5d56418b7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f5976d14defdd7744d9e1ba5d56418b7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f5976d14defdd7744d9e1ba5d56418b7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f5976d14defdd7744d9e1ba5d56418b7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f5976d14defdd7744d9e1ba5d56418b7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f5976d14defdd7744d9e1ba5d56418b7,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_f5976d14defdd7744d9e1ba5d56418b7 == cache_frame_f5976d14defdd7744d9e1ba5d56418b7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f5976d14defdd7744d9e1ba5d56418b7);
cache_frame_f5976d14defdd7744d9e1ba5d56418b7 = NULL;
}
assertFrameObject(frame_f5976d14defdd7744d9e1ba5d56418b7);
// 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_urllib3$response$$$function__5___getattr__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_name = python_pars[1];
struct Nuitka_FrameObject *frame_0cb74ac6250f187390d0b18d07b24a3e;
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_0cb74ac6250f187390d0b18d07b24a3e = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_0cb74ac6250f187390d0b18d07b24a3e)) {
Py_XDECREF(cache_frame_0cb74ac6250f187390d0b18d07b24a3e);
#if _DEBUG_REFCOUNTS
if (cache_frame_0cb74ac6250f187390d0b18d07b24a3e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0cb74ac6250f187390d0b18d07b24a3e = MAKE_FUNCTION_FRAME(codeobj_0cb74ac6250f187390d0b18d07b24a3e, module_urllib3$response, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0cb74ac6250f187390d0b18d07b24a3e->m_type_description == NULL);
frame_0cb74ac6250f187390d0b18d07b24a3e = cache_frame_0cb74ac6250f187390d0b18d07b24a3e;
// Push the new frame as the currently active one.
pushFrameStack(frame_0cb74ac6250f187390d0b18d07b24a3e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0cb74ac6250f187390d0b18d07b24a3e) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_getattr_target_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_getattr_attr_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_getattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[5]);
if (tmp_getattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 77;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_getattr_attr_1 = par_name;
tmp_return_value = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, NULL);
Py_DECREF(tmp_getattr_target_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 77;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0cb74ac6250f187390d0b18d07b24a3e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0cb74ac6250f187390d0b18d07b24a3e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0cb74ac6250f187390d0b18d07b24a3e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0cb74ac6250f187390d0b18d07b24a3e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0cb74ac6250f187390d0b18d07b24a3e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0cb74ac6250f187390d0b18d07b24a3e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0cb74ac6250f187390d0b18d07b24a3e,
type_description_1,
par_self,
par_name
);
// Release cached frame if used for exception.
if (frame_0cb74ac6250f187390d0b18d07b24a3e == cache_frame_0cb74ac6250f187390d0b18d07b24a3e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0cb74ac6250f187390d0b18d07b24a3e);
cache_frame_0cb74ac6250f187390d0b18d07b24a3e = NULL;
}
assertFrameObject(frame_0cb74ac6250f187390d0b18d07b24a3e);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_urllib3$response$$$function__6_decompress(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_data = python_pars[1];
PyObject *var_ret = NULL;
PyObject *var_previous_state = NULL;
struct Nuitka_FrameObject *frame_7781a0056c4dc99924970871fe8250f4;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
bool tmp_result;
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;
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_7781a0056c4dc99924970871fe8250f4 = 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.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = BYTEARRAY_COPY(mod_consts[13]);
assert(var_ret == NULL);
var_ret = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_7781a0056c4dc99924970871fe8250f4)) {
Py_XDECREF(cache_frame_7781a0056c4dc99924970871fe8250f4);
#if _DEBUG_REFCOUNTS
if (cache_frame_7781a0056c4dc99924970871fe8250f4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7781a0056c4dc99924970871fe8250f4 = MAKE_FUNCTION_FRAME(codeobj_7781a0056c4dc99924970871fe8250f4, module_urllib3$response, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7781a0056c4dc99924970871fe8250f4->m_type_description == NULL);
frame_7781a0056c4dc99924970871fe8250f4 = cache_frame_7781a0056c4dc99924970871fe8250f4;
// Push the new frame as the currently active one.
pushFrameStack(frame_7781a0056c4dc99924970871fe8250f4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7781a0056c4dc99924970871fe8250f4) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
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_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_operand_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[12]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 81;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[14]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 81;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_or_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
type_description_1 = "oooo";
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 = 81;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
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 = 81;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_1 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_bytes_arg_1;
CHECK_OBJECT(var_ret);
tmp_bytes_arg_1 = var_ret;
tmp_return_value = BUILTIN_BYTES1(tmp_bytes_arg_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 82;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
loop_start_1:;
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_1;
if (var_ret == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[15]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 85;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_iadd_expr_left_1 = var_ret;
if (par_self == 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 = 85;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[5]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[6]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
type_description_1 = "oooo";
goto try_except_handler_2;
}
if (par_data == NULL) {
Py_DECREF(tmp_called_value_1);
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 = 85;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_args_element_value_1 = par_data;
frame_7781a0056c4dc99924970871fe8250f4->m_frame.f_lineno = 85;
tmp_iadd_expr_right_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_iadd_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
Py_DECREF(tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_assign_source_2 = tmp_iadd_expr_left_1;
var_ret = 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_7781a0056c4dc99924970871fe8250f4, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_7781a0056c4dc99924970871fe8250f4, 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_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_5;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 86;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[7]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 86;
type_description_1 = "oooo";
goto try_except_handler_3;
}
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 = 86;
type_description_1 = "oooo";
goto try_except_handler_3;
}
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_expression_value_6;
if (par_self == 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 = 87;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_expression_value_6 = par_self;
tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[12]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "oooo";
goto try_except_handler_3;
}
assert(var_previous_state == NULL);
var_previous_state = tmp_assign_source_3;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_assattr_target_1;
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_assattr_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[14]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
type_description_1 = "oooo";
goto try_except_handler_3;
}
if (par_self == NULL) {
Py_DECREF(tmp_assattr_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[16]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 89;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[12], 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 = 89;
type_description_1 = "oooo";
goto try_except_handler_3;
}
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(var_previous_state);
tmp_cmp_expr_left_3 = var_previous_state;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 90;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[18]);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 90;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_condition_result_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_condition_result_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 90;
type_description_1 = "oooo";
goto try_except_handler_3;
}
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_bytes_arg_2;
if (var_ret == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[15]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 92;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_bytes_arg_2 = var_ret;
tmp_return_value = BUILTIN_BYTES1(tmp_bytes_arg_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 92;
type_description_1 = "oooo";
goto try_except_handler_3;
}
goto try_return_handler_3;
}
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 93;
}
if (exception_tb && exception_tb->tb_frame == &frame_7781a0056c4dc99924970871fe8250f4->m_frame) frame_7781a0056c4dc99924970871fe8250f4->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_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 = 84;
}
if (exception_tb && exception_tb->tb_frame == &frame_7781a0056c4dc99924970871fe8250f4->m_frame) frame_7781a0056c4dc99924970871fe8250f4->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_3;
branch_end_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_1:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_9;
PyObject *tmp_expression_value_10;
if (par_self == 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 = 94;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = par_self;
tmp_expression_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[5]);
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 94;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[19]);
Py_DECREF(tmp_expression_value_9);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 94;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_data;
par_data = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_2;
CHECK_OBJECT(par_data);
tmp_operand_value_2 = par_data;
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 = 95;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_bytes_arg_3;
CHECK_OBJECT(var_ret);
tmp_bytes_arg_3 = var_ret;
tmp_return_value = BUILTIN_BYTES1(tmp_bytes_arg_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_4:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_expression_value_11;
PyObject *tmp_assattr_target_2;
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[18]);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 97;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
Py_DECREF(tmp_assattr_value_2);
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 = 97;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[12], 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 = 97;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_12;
PyObject *tmp_args_element_value_2;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_expression_value_13;
PyObject *tmp_assattr_target_3;
tmp_expression_value_12 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_expression_value_12 == NULL)) {
tmp_expression_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[4]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_1 = mod_consts[9];
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 98;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_add_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[8]);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 98;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = BINARY_OPERATION_ADD_OBJECT_LONG_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_right_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_2);
exception_lineno = 98;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_7781a0056c4dc99924970871fe8250f4->m_frame.f_lineno = 98;
tmp_assattr_value_3 = 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_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
Py_DECREF(tmp_assattr_value_3);
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 = 98;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[5], 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 = 98;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 83;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto loop_start_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7781a0056c4dc99924970871fe8250f4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7781a0056c4dc99924970871fe8250f4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7781a0056c4dc99924970871fe8250f4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7781a0056c4dc99924970871fe8250f4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7781a0056c4dc99924970871fe8250f4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7781a0056c4dc99924970871fe8250f4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7781a0056c4dc99924970871fe8250f4,
type_description_1,
par_self,
par_data,
var_ret,
var_previous_state
);
// Release cached frame if used for exception.
if (frame_7781a0056c4dc99924970871fe8250f4 == cache_frame_7781a0056c4dc99924970871fe8250f4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7781a0056c4dc99924970871fe8250f4);
cache_frame_7781a0056c4dc99924970871fe8250f4 = NULL;
}
assertFrameObject(frame_7781a0056c4dc99924970871fe8250f4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_data);
par_data = NULL;
Py_XDECREF(var_ret);
var_ret = NULL;
Py_XDECREF(var_previous_state);
var_previous_state = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_data);
par_data = NULL;
Py_XDECREF(var_ret);
var_ret = NULL;
Py_XDECREF(var_previous_state);
var_previous_state = 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_urllib3$response$$$function__7___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_80911a584255f3f4512f1f0fc5e1e2ae;
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_80911a584255f3f4512f1f0fc5e1e2ae = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_80911a584255f3f4512f1f0fc5e1e2ae)) {
Py_XDECREF(cache_frame_80911a584255f3f4512f1f0fc5e1e2ae);
#if _DEBUG_REFCOUNTS
if (cache_frame_80911a584255f3f4512f1f0fc5e1e2ae == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_80911a584255f3f4512f1f0fc5e1e2ae = MAKE_FUNCTION_FRAME(codeobj_80911a584255f3f4512f1f0fc5e1e2ae, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_80911a584255f3f4512f1f0fc5e1e2ae->m_type_description == NULL);
frame_80911a584255f3f4512f1f0fc5e1e2ae = cache_frame_80911a584255f3f4512f1f0fc5e1e2ae;
// Push the new frame as the currently active one.
pushFrameStack(frame_80911a584255f3f4512f1f0fc5e1e2ae);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_80911a584255f3f4512f1f0fc5e1e2ae) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_assattr_target_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 108;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_80911a584255f3f4512f1f0fc5e1e2ae->m_frame.f_lineno = 108;
tmp_assattr_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[21]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 108;
type_description_1 = "o";
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[5], 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 = 108;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_80911a584255f3f4512f1f0fc5e1e2ae);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_80911a584255f3f4512f1f0fc5e1e2ae);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_80911a584255f3f4512f1f0fc5e1e2ae, exception_lineno);
} else if (exception_tb->tb_frame != &frame_80911a584255f3f4512f1f0fc5e1e2ae->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_80911a584255f3f4512f1f0fc5e1e2ae, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_80911a584255f3f4512f1f0fc5e1e2ae,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_80911a584255f3f4512f1f0fc5e1e2ae == cache_frame_80911a584255f3f4512f1f0fc5e1e2ae) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_80911a584255f3f4512f1f0fc5e1e2ae);
cache_frame_80911a584255f3f4512f1f0fc5e1e2ae = NULL;
}
assertFrameObject(frame_80911a584255f3f4512f1f0fc5e1e2ae);
// 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_urllib3$response$$$function__8_decompress(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];
struct Nuitka_FrameObject *frame_122f8929a8bcf1c5a27f9d14fe1d3713;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_122f8929a8bcf1c5a27f9d14fe1d3713 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_122f8929a8bcf1c5a27f9d14fe1d3713)) {
Py_XDECREF(cache_frame_122f8929a8bcf1c5a27f9d14fe1d3713);
#if _DEBUG_REFCOUNTS
if (cache_frame_122f8929a8bcf1c5a27f9d14fe1d3713 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_122f8929a8bcf1c5a27f9d14fe1d3713 = MAKE_FUNCTION_FRAME(codeobj_122f8929a8bcf1c5a27f9d14fe1d3713, module_urllib3$response, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_122f8929a8bcf1c5a27f9d14fe1d3713->m_type_description == NULL);
frame_122f8929a8bcf1c5a27f9d14fe1d3713 = cache_frame_122f8929a8bcf1c5a27f9d14fe1d3713;
// Push the new frame as the currently active one.
pushFrameStack(frame_122f8929a8bcf1c5a27f9d14fe1d3713);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_122f8929a8bcf1c5a27f9d14fe1d3713) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[5]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = mod_consts[6];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_1, tmp_attribute_value_1);
Py_DECREF(tmp_expression_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[5]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 112;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_data);
tmp_args_element_value_1 = par_data;
frame_122f8929a8bcf1c5a27f9d14fe1d3713->m_frame.f_lineno = 112;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[6], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 112;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[5]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 113;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_data);
tmp_args_element_value_2 = par_data;
frame_122f8929a8bcf1c5a27f9d14fe1d3713->m_frame.f_lineno = 113;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[22], tmp_args_element_value_2);
Py_DECREF(tmp_called_instance_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 113;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_122f8929a8bcf1c5a27f9d14fe1d3713);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_122f8929a8bcf1c5a27f9d14fe1d3713);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_122f8929a8bcf1c5a27f9d14fe1d3713);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_122f8929a8bcf1c5a27f9d14fe1d3713, exception_lineno);
} else if (exception_tb->tb_frame != &frame_122f8929a8bcf1c5a27f9d14fe1d3713->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_122f8929a8bcf1c5a27f9d14fe1d3713, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_122f8929a8bcf1c5a27f9d14fe1d3713,
type_description_1,
par_self,
par_data
);
// Release cached frame if used for exception.
if (frame_122f8929a8bcf1c5a27f9d14fe1d3713 == cache_frame_122f8929a8bcf1c5a27f9d14fe1d3713) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_122f8929a8bcf1c5a27f9d14fe1d3713);
cache_frame_122f8929a8bcf1c5a27f9d14fe1d3713 = NULL;
}
assertFrameObject(frame_122f8929a8bcf1c5a27f9d14fe1d3713);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_urllib3$response$$$function__9_flush(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_402f426f68b0aec6dbee22d11a1abfbe;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_402f426f68b0aec6dbee22d11a1abfbe = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_402f426f68b0aec6dbee22d11a1abfbe)) {
Py_XDECREF(cache_frame_402f426f68b0aec6dbee22d11a1abfbe);
#if _DEBUG_REFCOUNTS
if (cache_frame_402f426f68b0aec6dbee22d11a1abfbe == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_402f426f68b0aec6dbee22d11a1abfbe = MAKE_FUNCTION_FRAME(codeobj_402f426f68b0aec6dbee22d11a1abfbe, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_402f426f68b0aec6dbee22d11a1abfbe->m_type_description == NULL);
frame_402f426f68b0aec6dbee22d11a1abfbe = cache_frame_402f426f68b0aec6dbee22d11a1abfbe;
// Push the new frame as the currently active one.
pushFrameStack(frame_402f426f68b0aec6dbee22d11a1abfbe);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_402f426f68b0aec6dbee22d11a1abfbe) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[5]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = mod_consts[23];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_1, tmp_attribute_value_1);
Py_DECREF(tmp_expression_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[5]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 117;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_402f426f68b0aec6dbee22d11a1abfbe->m_frame.f_lineno = 117;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[23]);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 117;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_402f426f68b0aec6dbee22d11a1abfbe);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_402f426f68b0aec6dbee22d11a1abfbe);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_402f426f68b0aec6dbee22d11a1abfbe);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_402f426f68b0aec6dbee22d11a1abfbe, exception_lineno);
} else if (exception_tb->tb_frame != &frame_402f426f68b0aec6dbee22d11a1abfbe->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_402f426f68b0aec6dbee22d11a1abfbe, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_402f426f68b0aec6dbee22d11a1abfbe,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_402f426f68b0aec6dbee22d11a1abfbe == cache_frame_402f426f68b0aec6dbee22d11a1abfbe) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_402f426f68b0aec6dbee22d11a1abfbe);
cache_frame_402f426f68b0aec6dbee22d11a1abfbe = NULL;
}
assertFrameObject(frame_402f426f68b0aec6dbee22d11a1abfbe);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = mod_consts[1];
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_urllib3$response$$$function__10___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_modes = python_pars[1];
PyObject *outline_0_var_m = NULL;
PyObject *tmp_listcomp_1__$0 = NULL;
PyObject *tmp_listcomp_1__contraction = NULL;
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
struct Nuitka_FrameObject *frame_016e2564f913921ae7783b96e06493ae;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
struct Nuitka_FrameObject *frame_1d6641a21a46aa4da0e327021feeb33b_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_1d6641a21a46aa4da0e327021feeb33b_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_016e2564f913921ae7783b96e06493ae = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_016e2564f913921ae7783b96e06493ae)) {
Py_XDECREF(cache_frame_016e2564f913921ae7783b96e06493ae);
#if _DEBUG_REFCOUNTS
if (cache_frame_016e2564f913921ae7783b96e06493ae == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_016e2564f913921ae7783b96e06493ae = MAKE_FUNCTION_FRAME(codeobj_016e2564f913921ae7783b96e06493ae, module_urllib3$response, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_016e2564f913921ae7783b96e06493ae->m_type_description == NULL);
frame_016e2564f913921ae7783b96e06493ae = cache_frame_016e2564f913921ae7783b96e06493ae;
// Push the new frame as the currently active one.
pushFrameStack(frame_016e2564f913921ae7783b96e06493ae);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_016e2564f913921ae7783b96e06493ae) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_modes);
tmp_expression_value_1 = par_modes;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[24]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "oo";
goto try_except_handler_1;
}
frame_016e2564f913921ae7783b96e06493ae->m_frame.f_lineno = 131;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[25]);
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 = 131;
type_description_1 = "oo";
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 = 131;
type_description_1 = "oo";
goto try_except_handler_1;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_2;
}
if (isFrameUnusable(cache_frame_1d6641a21a46aa4da0e327021feeb33b_2)) {
Py_XDECREF(cache_frame_1d6641a21a46aa4da0e327021feeb33b_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_1d6641a21a46aa4da0e327021feeb33b_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1d6641a21a46aa4da0e327021feeb33b_2 = MAKE_FUNCTION_FRAME(codeobj_1d6641a21a46aa4da0e327021feeb33b, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1d6641a21a46aa4da0e327021feeb33b_2->m_type_description == NULL);
frame_1d6641a21a46aa4da0e327021feeb33b_2 = cache_frame_1d6641a21a46aa4da0e327021feeb33b_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_1d6641a21a46aa4da0e327021feeb33b_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1d6641a21a46aa4da0e327021feeb33b_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_1 = tmp_listcomp_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 = "o";
exception_lineno = 131;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_assign_source_4 = tmp_listcomp_1__iter_value_0;
{
PyObject *old = outline_0_var_m;
outline_0_var_m = tmp_assign_source_4;
Py_INCREF(outline_0_var_m);
Py_XDECREF(old);
}
}
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_2 = "o";
goto try_except_handler_2;
}
CHECK_OBJECT(outline_0_var_m);
tmp_expression_value_2 = outline_0_var_m;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[27]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_2 = "o";
goto try_except_handler_2;
}
frame_1d6641a21a46aa4da0e327021feeb33b_2->m_frame.f_lineno = 131;
tmp_args_element_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_2 = "o";
goto try_except_handler_2;
}
frame_1d6641a21a46aa4da0e327021feeb33b_2->m_frame.f_lineno = 131;
tmp_append_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_append_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_2 = "o";
goto try_except_handler_2;
}
assert(PyList_Check(tmp_append_list_1));
tmp_result = LIST_APPEND1(tmp_append_list_1, tmp_append_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_2 = "o";
goto try_except_handler_2;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_2 = "o";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_assattr_value_1 = tmp_listcomp_1__contraction;
Py_INCREF(tmp_assattr_value_1);
goto try_return_handler_2;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
goto frame_return_exit_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;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_1d6641a21a46aa4da0e327021feeb33b_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1d6641a21a46aa4da0e327021feeb33b_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_1d6641a21a46aa4da0e327021feeb33b_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1d6641a21a46aa4da0e327021feeb33b_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1d6641a21a46aa4da0e327021feeb33b_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1d6641a21a46aa4da0e327021feeb33b_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1d6641a21a46aa4da0e327021feeb33b_2,
type_description_2,
outline_0_var_m
);
// Release cached frame if used for exception.
if (frame_1d6641a21a46aa4da0e327021feeb33b_2 == cache_frame_1d6641a21a46aa4da0e327021feeb33b_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1d6641a21a46aa4da0e327021feeb33b_2);
cache_frame_1d6641a21a46aa4da0e327021feeb33b_2 = NULL;
}
assertFrameObject(frame_1d6641a21a46aa4da0e327021feeb33b_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 = "oo";
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_m);
outline_0_var_m = 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_m);
outline_0_var_m = 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 = 131;
goto frame_exception_exit_1;
outline_result_1:;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[28], 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 = 131;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_016e2564f913921ae7783b96e06493ae);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_016e2564f913921ae7783b96e06493ae);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_016e2564f913921ae7783b96e06493ae, exception_lineno);
} else if (exception_tb->tb_frame != &frame_016e2564f913921ae7783b96e06493ae->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_016e2564f913921ae7783b96e06493ae, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_016e2564f913921ae7783b96e06493ae,
type_description_1,
par_self,
par_modes
);
// Release cached frame if used for exception.
if (frame_016e2564f913921ae7783b96e06493ae == cache_frame_016e2564f913921ae7783b96e06493ae) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_016e2564f913921ae7783b96e06493ae);
cache_frame_016e2564f913921ae7783b96e06493ae = NULL;
}
assertFrameObject(frame_016e2564f913921ae7783b96e06493ae);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_2:;
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_modes);
Py_DECREF(par_modes);
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_modes);
Py_DECREF(par_modes);
// 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_urllib3$response$$$function__11_flush(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_91cf4f4939b92100a570b8727fbf1487;
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_91cf4f4939b92100a570b8727fbf1487 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_91cf4f4939b92100a570b8727fbf1487)) {
Py_XDECREF(cache_frame_91cf4f4939b92100a570b8727fbf1487);
#if _DEBUG_REFCOUNTS
if (cache_frame_91cf4f4939b92100a570b8727fbf1487 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_91cf4f4939b92100a570b8727fbf1487 = MAKE_FUNCTION_FRAME(codeobj_91cf4f4939b92100a570b8727fbf1487, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_91cf4f4939b92100a570b8727fbf1487->m_type_description == NULL);
frame_91cf4f4939b92100a570b8727fbf1487 = cache_frame_91cf4f4939b92100a570b8727fbf1487;
// Push the new frame as the currently active one.
pushFrameStack(frame_91cf4f4939b92100a570b8727fbf1487);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_91cf4f4939b92100a570b8727fbf1487) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[28]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[29];
tmp_called_instance_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
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 = 134;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_91cf4f4939b92100a570b8727fbf1487->m_frame.f_lineno = 134;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[23]);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 134;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_91cf4f4939b92100a570b8727fbf1487);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_91cf4f4939b92100a570b8727fbf1487);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_91cf4f4939b92100a570b8727fbf1487);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_91cf4f4939b92100a570b8727fbf1487, exception_lineno);
} else if (exception_tb->tb_frame != &frame_91cf4f4939b92100a570b8727fbf1487->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_91cf4f4939b92100a570b8727fbf1487, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_91cf4f4939b92100a570b8727fbf1487,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_91cf4f4939b92100a570b8727fbf1487 == cache_frame_91cf4f4939b92100a570b8727fbf1487) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_91cf4f4939b92100a570b8727fbf1487);
cache_frame_91cf4f4939b92100a570b8727fbf1487 = NULL;
}
assertFrameObject(frame_91cf4f4939b92100a570b8727fbf1487);
// 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_urllib3$response$$$function__12_decompress(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_data = python_pars[1];
PyObject *var_d = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_34188369beb2bd1af2fd1455566507d5;
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;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_34188369beb2bd1af2fd1455566507d5 = 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_34188369beb2bd1af2fd1455566507d5)) {
Py_XDECREF(cache_frame_34188369beb2bd1af2fd1455566507d5);
#if _DEBUG_REFCOUNTS
if (cache_frame_34188369beb2bd1af2fd1455566507d5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_34188369beb2bd1af2fd1455566507d5 = MAKE_FUNCTION_FRAME(codeobj_34188369beb2bd1af2fd1455566507d5, module_urllib3$response, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_34188369beb2bd1af2fd1455566507d5->m_type_description == NULL);
frame_34188369beb2bd1af2fd1455566507d5 = cache_frame_34188369beb2bd1af2fd1455566507d5;
// Push the new frame as the currently active one.
pushFrameStack(frame_34188369beb2bd1af2fd1455566507d5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_34188369beb2bd1af2fd1455566507d5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_1;
tmp_called_value_1 = (PyObject *)&PyReversed_Type;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[28]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_34188369beb2bd1af2fd1455566507d5->m_frame.f_lineno = 137;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(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 = 137;
type_description_1 = "ooo";
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 = 137;
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_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 = "ooo";
exception_lineno = 137;
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_d;
var_d = tmp_assign_source_3;
Py_INCREF(var_d);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(var_d);
tmp_expression_value_2 = var_d;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[6]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "ooo";
goto try_except_handler_2;
}
if (par_data == 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 = 138;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_args_element_value_2 = par_data;
frame_34188369beb2bd1af2fd1455566507d5->m_frame.f_lineno = 138;
tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "ooo";
goto try_except_handler_2;
}
{
PyObject *old = par_data;
par_data = tmp_assign_source_4;
Py_XDECREF(old);
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
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:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
if (par_data == NULL) {
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 = 139;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_return_value = par_data;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_34188369beb2bd1af2fd1455566507d5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_34188369beb2bd1af2fd1455566507d5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_34188369beb2bd1af2fd1455566507d5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_34188369beb2bd1af2fd1455566507d5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_34188369beb2bd1af2fd1455566507d5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_34188369beb2bd1af2fd1455566507d5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_34188369beb2bd1af2fd1455566507d5,
type_description_1,
par_self,
par_data,
var_d
);
// Release cached frame if used for exception.
if (frame_34188369beb2bd1af2fd1455566507d5 == cache_frame_34188369beb2bd1af2fd1455566507d5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_34188369beb2bd1af2fd1455566507d5);
cache_frame_34188369beb2bd1af2fd1455566507d5 = NULL;
}
assertFrameObject(frame_34188369beb2bd1af2fd1455566507d5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_data);
par_data = NULL;
Py_XDECREF(var_d);
var_d = 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_data);
par_data = NULL;
Py_XDECREF(var_d);
var_d = 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_urllib3$response$$$function__13__get_decoder(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_mode = python_pars[0];
struct Nuitka_FrameObject *frame_1e12dded38c4078692d3523c3e161a24;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_1e12dded38c4078692d3523c3e161a24 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_1e12dded38c4078692d3523c3e161a24)) {
Py_XDECREF(cache_frame_1e12dded38c4078692d3523c3e161a24);
#if _DEBUG_REFCOUNTS
if (cache_frame_1e12dded38c4078692d3523c3e161a24 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1e12dded38c4078692d3523c3e161a24 = MAKE_FUNCTION_FRAME(codeobj_1e12dded38c4078692d3523c3e161a24, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1e12dded38c4078692d3523c3e161a24->m_type_description == NULL);
frame_1e12dded38c4078692d3523c3e161a24 = cache_frame_1e12dded38c4078692d3523c3e161a24;
// Push the new frame as the currently active one.
pushFrameStack(frame_1e12dded38c4078692d3523c3e161a24);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1e12dded38c4078692d3523c3e161a24) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = mod_consts[30];
CHECK_OBJECT(par_mode);
tmp_cmp_expr_right_1 = par_mode;
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 = 143;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[31]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[31]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_mode);
tmp_args_element_value_1 = par_mode;
frame_1e12dded38c4078692d3523c3e161a24->m_frame.f_lineno = 144;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_mode);
tmp_cmp_expr_left_2 = par_mode;
tmp_cmp_expr_right_2 = mod_consts[32];
tmp_condition_result_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 146;
type_description_1 = "o";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[33]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_1e12dded38c4078692d3523c3e161a24->m_frame.f_lineno = 147;
tmp_return_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_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;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
tmp_cmp_expr_left_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_cmp_expr_left_3 == NULL)) {
tmp_cmp_expr_left_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_3 != tmp_cmp_expr_right_3) ? 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_mode);
tmp_cmp_expr_left_4 = par_mode;
tmp_cmp_expr_right_4 = mod_consts[34];
tmp_and_right_value_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_and_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "o";
goto frame_exception_exit_1;
}
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_called_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[35]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[35]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_1e12dded38c4078692d3523c3e161a24->m_frame.f_lineno = 150;
tmp_return_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 150;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_3:;
{
PyObject *tmp_called_value_4;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_1e12dded38c4078692d3523c3e161a24->m_frame.f_lineno = 152;
tmp_return_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_4);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1e12dded38c4078692d3523c3e161a24);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1e12dded38c4078692d3523c3e161a24);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1e12dded38c4078692d3523c3e161a24);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1e12dded38c4078692d3523c3e161a24, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1e12dded38c4078692d3523c3e161a24->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1e12dded38c4078692d3523c3e161a24, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1e12dded38c4078692d3523c3e161a24,
type_description_1,
par_mode
);
// Release cached frame if used for exception.
if (frame_1e12dded38c4078692d3523c3e161a24 == cache_frame_1e12dded38c4078692d3523c3e161a24) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1e12dded38c4078692d3523c3e161a24);
cache_frame_1e12dded38c4078692d3523c3e161a24 = NULL;
}
assertFrameObject(frame_1e12dded38c4078692d3523c3e161a24);
// 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_mode);
Py_DECREF(par_mode);
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_mode);
Py_DECREF(par_mode);
// 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_urllib3$response$$$function__14___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_body = python_pars[1];
PyObject *par_headers = python_pars[2];
PyObject *par_status = python_pars[3];
PyObject *par_version = python_pars[4];
PyObject *par_reason = python_pars[5];
PyObject *par_strict = python_pars[6];
PyObject *par_preload_content = python_pars[7];
PyObject *par_decode_content = python_pars[8];
PyObject *par_original_response = python_pars[9];
PyObject *par_pool = python_pars[10];
PyObject *par_connection = python_pars[11];
PyObject *par_msg = python_pars[12];
PyObject *par_retries = python_pars[13];
PyObject *par_enforce_content_length = python_pars[14];
PyObject *par_request_method = python_pars[15];
PyObject *par_request_url = python_pars[16];
PyObject *par_auto_close = python_pars[17];
PyObject *var_tr_enc = NULL;
PyObject *var_encodings = NULL;
PyObject *tmp_genexpr_1__$0 = NULL;
struct Nuitka_FrameObject *frame_3c656863be231c7c1e6482ef7e62c136;
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_3c656863be231c7c1e6482ef7e62c136 = 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_3c656863be231c7c1e6482ef7e62c136)) {
Py_XDECREF(cache_frame_3c656863be231c7c1e6482ef7e62c136);
#if _DEBUG_REFCOUNTS
if (cache_frame_3c656863be231c7c1e6482ef7e62c136 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3c656863be231c7c1e6482ef7e62c136 = MAKE_FUNCTION_FRAME(codeobj_3c656863be231c7c1e6482ef7e62c136, module_urllib3$response, 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 *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3c656863be231c7c1e6482ef7e62c136->m_type_description == NULL);
frame_3c656863be231c7c1e6482ef7e62c136 = cache_frame_3c656863be231c7c1e6482ef7e62c136;
// Push the new frame as the currently active one.
pushFrameStack(frame_3c656863be231c7c1e6482ef7e62c136);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3c656863be231c7c1e6482ef7e62c136) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_headers);
tmp_isinstance_inst_1 = par_headers;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[37]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[37]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "oooooooooooooooooooo";
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 = 214;
type_description_1 = "oooooooooooooooooooo";
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_headers);
tmp_assattr_value_1 = par_headers;
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);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 215;
type_description_1 = "oooooooooooooooooooo";
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_urllib3$response, (Nuitka_StringObject *)mod_consts[37]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[37]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 217;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_headers);
tmp_args_element_value_1 = par_headers;
frame_3c656863be231c7c1e6482ef7e62c136->m_frame.f_lineno = 217;
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 = 217;
type_description_1 = "oooooooooooooooooooo";
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[38], 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 = 217;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
branch_end_1:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_status);
tmp_assattr_value_3 = par_status;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[39], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_version);
tmp_assattr_value_4 = par_version;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[40], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 219;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
CHECK_OBJECT(par_reason);
tmp_assattr_value_5 = par_reason;
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[41], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
CHECK_OBJECT(par_strict);
tmp_assattr_value_6 = par_strict;
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[42], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_assattr_target_7;
CHECK_OBJECT(par_decode_content);
tmp_assattr_value_7 = par_decode_content;
CHECK_OBJECT(par_self);
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[43], tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 222;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_8;
PyObject *tmp_assattr_target_8;
CHECK_OBJECT(par_retries);
tmp_assattr_value_8 = par_retries;
CHECK_OBJECT(par_self);
tmp_assattr_target_8 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[44], tmp_assattr_value_8);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 223;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_9;
PyObject *tmp_assattr_target_9;
CHECK_OBJECT(par_enforce_content_length);
tmp_assattr_value_9 = par_enforce_content_length;
CHECK_OBJECT(par_self);
tmp_assattr_target_9 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[45], tmp_assattr_value_9);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_10;
PyObject *tmp_assattr_target_10;
CHECK_OBJECT(par_auto_close);
tmp_assattr_value_10 = par_auto_close;
CHECK_OBJECT(par_self);
tmp_assattr_target_10 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_10, mod_consts[46], tmp_assattr_value_10);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_11;
PyObject *tmp_assattr_target_11;
tmp_assattr_value_11 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_11 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_11, mod_consts[47], tmp_assattr_value_11);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 227;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_12;
PyObject *tmp_assattr_target_12;
tmp_assattr_value_12 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_12 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_12, mod_consts[48], tmp_assattr_value_12);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
type_description_1 = "oooooooooooooooooooo";
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[49], tmp_assattr_value_13);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_14;
PyObject *tmp_assattr_target_14;
CHECK_OBJECT(par_original_response);
tmp_assattr_value_14 = par_original_response;
CHECK_OBJECT(par_self);
tmp_assattr_target_14 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_14, mod_consts[50], tmp_assattr_value_14);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 230;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_15;
PyObject *tmp_assattr_target_15;
tmp_assattr_value_15 = mod_consts[29];
CHECK_OBJECT(par_self);
tmp_assattr_target_15 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_15, mod_consts[51], tmp_assattr_value_15);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 231;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_16;
PyObject *tmp_assattr_target_16;
CHECK_OBJECT(par_msg);
tmp_assattr_value_16 = par_msg;
CHECK_OBJECT(par_self);
tmp_assattr_target_16 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_16, mod_consts[52], tmp_assattr_value_16);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_17;
PyObject *tmp_assattr_target_17;
CHECK_OBJECT(par_request_url);
tmp_assattr_value_17 = par_request_url;
CHECK_OBJECT(par_self);
tmp_assattr_target_17 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_17, mod_consts[53], tmp_assattr_value_17);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_2;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
int tmp_truth_name_1;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
PyObject *tmp_tuple_element_1;
CHECK_OBJECT(par_body);
tmp_truth_name_1 = CHECK_IF_TRUE(par_body);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "oooooooooooooooooooo";
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_body);
tmp_isinstance_inst_2 = par_body;
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[54]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[54]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_isinstance_cls_2, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = (PyObject *)&PyBytes_Type;
PyTuple_SET_ITEM0(tmp_isinstance_cls_2, 1, tmp_tuple_element_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 = 235;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_2 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_2 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assattr_value_18;
PyObject *tmp_assattr_target_18;
CHECK_OBJECT(par_body);
tmp_assattr_value_18 = par_body;
CHECK_OBJECT(par_self);
tmp_assattr_target_18 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_18, mod_consts[48], tmp_assattr_value_18);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 236;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_2:;
{
PyObject *tmp_assattr_value_19;
PyObject *tmp_assattr_target_19;
CHECK_OBJECT(par_pool);
tmp_assattr_value_19 = par_pool;
CHECK_OBJECT(par_self);
tmp_assattr_target_19 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_19, mod_consts[55], tmp_assattr_value_19);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 238;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_20;
PyObject *tmp_assattr_target_20;
CHECK_OBJECT(par_connection);
tmp_assattr_value_20 = par_connection;
CHECK_OBJECT(par_self);
tmp_assattr_target_20 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_20, mod_consts[56], tmp_assattr_value_20);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 239;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_body);
tmp_expression_value_1 = par_body;
tmp_attribute_value_1 = mod_consts[57];
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 = 241;
type_description_1 = "oooooooooooooooooooo";
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_assattr_value_21;
PyObject *tmp_assattr_target_21;
CHECK_OBJECT(par_body);
tmp_assattr_value_21 = par_body;
CHECK_OBJECT(par_self);
tmp_assattr_target_21 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_21, mod_consts[49], tmp_assattr_value_21);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 242;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_3:;
{
PyObject *tmp_assattr_value_22;
PyObject *tmp_assattr_target_22;
tmp_assattr_value_22 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_22 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_22, mod_consts[58], tmp_assattr_value_22);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 245;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_23;
PyObject *tmp_assattr_target_23;
tmp_assattr_value_23 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_23 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_23, mod_consts[59], tmp_assattr_value_23);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[38]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[60]);
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 = 247;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_3c656863be231c7c1e6482ef7e62c136->m_frame.f_lineno = 247;
tmp_expression_value_2 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_3, mod_consts[61]);
Py_DECREF(tmp_called_value_3);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[62]);
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 = 247;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_3c656863be231c7c1e6482ef7e62c136->m_frame.f_lineno = 247;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_tr_enc == NULL);
var_tr_enc = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(var_tr_enc);
tmp_expression_value_5 = var_tr_enc;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[24]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
frame_3c656863be231c7c1e6482ef7e62c136->m_frame.f_lineno = 249;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[25]);
Py_DECREF(tmp_called_value_4);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_1__$0 == NULL);
tmp_genexpr_1__$0 = tmp_assign_source_3;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_closure_1[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0);
tmp_assign_source_2 = MAKE_GENERATOR_urllib3$response$$$function__14___init__$$$genexpr__1_genexpr(tmp_closure_1);
goto try_return_handler_2;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_genexpr_1__$0);
Py_DECREF(tmp_genexpr_1__$0);
tmp_genexpr_1__$0 = NULL;
goto outline_result_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_1:;
assert(var_encodings == NULL);
var_encodings = tmp_assign_source_2;
}
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = mod_consts[58];
CHECK_OBJECT(var_encodings);
tmp_cmp_expr_right_1 = var_encodings;
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 = 250;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assattr_value_24;
PyObject *tmp_assattr_target_24;
tmp_assattr_value_24 = Py_True;
CHECK_OBJECT(par_self);
tmp_assattr_target_24 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_24, mod_consts[58], tmp_assattr_value_24);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_4:;
{
PyObject *tmp_assattr_value_25;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_assattr_target_25;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_request_method);
tmp_args_element_value_2 = par_request_method;
frame_3c656863be231c7c1e6482ef7e62c136->m_frame.f_lineno = 254;
tmp_assattr_value_25 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[63], tmp_args_element_value_2);
if (tmp_assattr_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_25 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_25, mod_consts[64], tmp_assattr_value_25);
Py_DECREF(tmp_assattr_value_25);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_5;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
int tmp_truth_name_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(par_preload_content);
tmp_truth_name_2 = CHECK_IF_TRUE(par_preload_content);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 257;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = tmp_truth_name_2 == 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 = 257;
type_description_1 = "oooooooooooooooooooo";
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_6 = par_self;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[48]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 257;
type_description_1 = "oooooooooooooooooooo";
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 = 257;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_5 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_condition_result_5 = tmp_and_left_value_2;
and_end_2:;
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assattr_value_26;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_7;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_assattr_target_26;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[57]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_decode_content);
tmp_kw_call_value_0_1 = par_decode_content;
frame_3c656863be231c7c1e6482ef7e62c136->m_frame.f_lineno = 258;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_1};
tmp_assattr_value_26 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_5, kw_values, mod_consts[65]);
}
Py_DECREF(tmp_called_value_5);
if (tmp_assattr_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_26 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_26, mod_consts[48], tmp_assattr_value_26);
Py_DECREF(tmp_assattr_value_26);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "oooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_5:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3c656863be231c7c1e6482ef7e62c136);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3c656863be231c7c1e6482ef7e62c136);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3c656863be231c7c1e6482ef7e62c136, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3c656863be231c7c1e6482ef7e62c136->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3c656863be231c7c1e6482ef7e62c136, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3c656863be231c7c1e6482ef7e62c136,
type_description_1,
par_self,
par_body,
par_headers,
par_status,
par_version,
par_reason,
par_strict,
par_preload_content,
par_decode_content,
par_original_response,
par_pool,
par_connection,
par_msg,
par_retries,
par_enforce_content_length,
par_request_method,
par_request_url,
par_auto_close,
var_tr_enc,
var_encodings
);
// Release cached frame if used for exception.
if (frame_3c656863be231c7c1e6482ef7e62c136 == cache_frame_3c656863be231c7c1e6482ef7e62c136) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3c656863be231c7c1e6482ef7e62c136);
cache_frame_3c656863be231c7c1e6482ef7e62c136 = NULL;
}
assertFrameObject(frame_3c656863be231c7c1e6482ef7e62c136);
// 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_tr_enc);
Py_DECREF(var_tr_enc);
var_tr_enc = NULL;
CHECK_OBJECT(var_encodings);
Py_DECREF(var_encodings);
var_encodings = 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_tr_enc);
var_tr_enc = NULL;
Py_XDECREF(var_encodings);
var_encodings = 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);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
CHECK_OBJECT(par_status);
Py_DECREF(par_status);
CHECK_OBJECT(par_version);
Py_DECREF(par_version);
CHECK_OBJECT(par_reason);
Py_DECREF(par_reason);
CHECK_OBJECT(par_strict);
Py_DECREF(par_strict);
CHECK_OBJECT(par_preload_content);
Py_DECREF(par_preload_content);
CHECK_OBJECT(par_decode_content);
Py_DECREF(par_decode_content);
CHECK_OBJECT(par_original_response);
Py_DECREF(par_original_response);
CHECK_OBJECT(par_pool);
Py_DECREF(par_pool);
CHECK_OBJECT(par_connection);
Py_DECREF(par_connection);
CHECK_OBJECT(par_msg);
Py_DECREF(par_msg);
CHECK_OBJECT(par_retries);
Py_DECREF(par_retries);
CHECK_OBJECT(par_enforce_content_length);
Py_DECREF(par_enforce_content_length);
CHECK_OBJECT(par_request_method);
Py_DECREF(par_request_method);
CHECK_OBJECT(par_request_url);
Py_DECREF(par_request_url);
CHECK_OBJECT(par_auto_close);
Py_DECREF(par_auto_close);
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);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
CHECK_OBJECT(par_status);
Py_DECREF(par_status);
CHECK_OBJECT(par_version);
Py_DECREF(par_version);
CHECK_OBJECT(par_reason);
Py_DECREF(par_reason);
CHECK_OBJECT(par_strict);
Py_DECREF(par_strict);
CHECK_OBJECT(par_preload_content);
Py_DECREF(par_preload_content);
CHECK_OBJECT(par_decode_content);
Py_DECREF(par_decode_content);
CHECK_OBJECT(par_original_response);
Py_DECREF(par_original_response);
CHECK_OBJECT(par_pool);
Py_DECREF(par_pool);
CHECK_OBJECT(par_connection);
Py_DECREF(par_connection);
CHECK_OBJECT(par_msg);
Py_DECREF(par_msg);
CHECK_OBJECT(par_retries);
Py_DECREF(par_retries);
CHECK_OBJECT(par_enforce_content_length);
Py_DECREF(par_enforce_content_length);
CHECK_OBJECT(par_request_method);
Py_DECREF(par_request_method);
CHECK_OBJECT(par_request_url);
Py_DECREF(par_request_url);
CHECK_OBJECT(par_auto_close);
Py_DECREF(par_auto_close);
// 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 urllib3$response$$$function__14___init__$$$genexpr__1_genexpr_locals {
PyObject *var_enc;
PyObject *tmp_iter_value_0;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
};
static PyObject *urllib3$response$$$function__14___init__$$$genexpr__1_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) {
CHECK_OBJECT(generator);
assert(Nuitka_Generator_Check((PyObject *)generator));
CHECK_OBJECT_X(yield_return_value);
// Heap access if used.
struct urllib3$response$$$function__14___init__$$$genexpr__1_genexpr_locals *generator_heap = (struct urllib3$response$$$function__14___init__$$$genexpr__1_genexpr_locals *)generator->m_heap_storage;
// Dispatch to yield based on return label index:
switch(generator->m_yield_return_index) {
case 1: goto yield_return_1;
}
// Local variable initialization
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_m_frame = NULL;
generator_heap->var_enc = 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_5c05ddb0358ec8c1cabb616fdd3b1de4, module_urllib3$response, 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 = 249;
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_enc;
generator_heap->var_enc = tmp_assign_source_2;
Py_INCREF(generator_heap->var_enc);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_enc);
tmp_expression_value_2 = generator_heap->var_enc;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[27]);
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 = 249;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
generator->m_frame->m_frame.f_lineno = 249;
tmp_expression_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 249;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), NULL);
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 249;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_yield_result_1 = yield_return_value;
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 249;
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_enc
);
// 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_enc);
generator_heap->var_enc = 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_enc);
generator_heap->var_enc = 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_urllib3$response$$$function__14___init__$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
urllib3$response$$$function__14___init__$$$genexpr__1_genexpr_context,
module_urllib3$response,
mod_consts[66],
#if PYTHON_VERSION >= 0x350
mod_consts[67],
#endif
codeobj_5c05ddb0358ec8c1cabb616fdd3b1de4,
closure,
1,
sizeof(struct urllib3$response$$$function__14___init__$$$genexpr__1_genexpr_locals)
);
}
static PyObject *impl_urllib3$response$$$function__15_get_redirect_location(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_6176c6f019ffb8063469c2b76b5d1270;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_6176c6f019ffb8063469c2b76b5d1270 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_6176c6f019ffb8063469c2b76b5d1270)) {
Py_XDECREF(cache_frame_6176c6f019ffb8063469c2b76b5d1270);
#if _DEBUG_REFCOUNTS
if (cache_frame_6176c6f019ffb8063469c2b76b5d1270 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6176c6f019ffb8063469c2b76b5d1270 = MAKE_FUNCTION_FRAME(codeobj_6176c6f019ffb8063469c2b76b5d1270, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6176c6f019ffb8063469c2b76b5d1270->m_type_description == NULL);
frame_6176c6f019ffb8063469c2b76b5d1270 = cache_frame_6176c6f019ffb8063469c2b76b5d1270;
// Push the new frame as the currently active one.
pushFrameStack(frame_6176c6f019ffb8063469c2b76b5d1270);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6176c6f019ffb8063469c2b76b5d1270) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[39]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[68]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 268;
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_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 = 268;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[38]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 269;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[60]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 269;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_6176c6f019ffb8063469c2b76b5d1270->m_frame.f_lineno = 269;
tmp_return_value = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[69]);
Py_DECREF(tmp_called_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 269;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6176c6f019ffb8063469c2b76b5d1270);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6176c6f019ffb8063469c2b76b5d1270);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6176c6f019ffb8063469c2b76b5d1270);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6176c6f019ffb8063469c2b76b5d1270, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6176c6f019ffb8063469c2b76b5d1270->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6176c6f019ffb8063469c2b76b5d1270, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6176c6f019ffb8063469c2b76b5d1270,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_6176c6f019ffb8063469c2b76b5d1270 == cache_frame_6176c6f019ffb8063469c2b76b5d1270) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6176c6f019ffb8063469c2b76b5d1270);
cache_frame_6176c6f019ffb8063469c2b76b5d1270 = NULL;
}
assertFrameObject(frame_6176c6f019ffb8063469c2b76b5d1270);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_False;
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_urllib3$response$$$function__16_release_conn(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_300753ebb5258ffcf2fd633e7935c3ec;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_300753ebb5258ffcf2fd633e7935c3ec = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_300753ebb5258ffcf2fd633e7935c3ec)) {
Py_XDECREF(cache_frame_300753ebb5258ffcf2fd633e7935c3ec);
#if _DEBUG_REFCOUNTS
if (cache_frame_300753ebb5258ffcf2fd633e7935c3ec == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_300753ebb5258ffcf2fd633e7935c3ec = MAKE_FUNCTION_FRAME(codeobj_300753ebb5258ffcf2fd633e7935c3ec, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_300753ebb5258ffcf2fd633e7935c3ec->m_type_description == NULL);
frame_300753ebb5258ffcf2fd633e7935c3ec = cache_frame_300753ebb5258ffcf2fd633e7935c3ec;
// Push the new frame as the currently active one.
pushFrameStack(frame_300753ebb5258ffcf2fd633e7935c3ec);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_300753ebb5258ffcf2fd633e7935c3ec) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
int tmp_or_left_truth_1;
bool tmp_or_left_value_1;
bool tmp_or_right_value_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[55]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
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 = 274;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (tmp_res == 0) ? true : false;
tmp_or_left_truth_1 = tmp_or_left_value_1 != false ? 1 : 0;
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_operand_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[56]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = (tmp_res == 0) ? true : false;
tmp_condition_result_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_1 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[55]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 277;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[71]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 277;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[56]);
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 = 277;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_300753ebb5258ffcf2fd633e7935c3ec->m_frame.f_lineno = 277;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 277;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
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[56], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 278;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_300753ebb5258ffcf2fd633e7935c3ec);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_300753ebb5258ffcf2fd633e7935c3ec);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_300753ebb5258ffcf2fd633e7935c3ec);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_300753ebb5258ffcf2fd633e7935c3ec, exception_lineno);
} else if (exception_tb->tb_frame != &frame_300753ebb5258ffcf2fd633e7935c3ec->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_300753ebb5258ffcf2fd633e7935c3ec, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_300753ebb5258ffcf2fd633e7935c3ec,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_300753ebb5258ffcf2fd633e7935c3ec == cache_frame_300753ebb5258ffcf2fd633e7935c3ec) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_300753ebb5258ffcf2fd633e7935c3ec);
cache_frame_300753ebb5258ffcf2fd633e7935c3ec = NULL;
}
assertFrameObject(frame_300753ebb5258ffcf2fd633e7935c3ec);
// 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_urllib3$response$$$function__17_data(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_38fd33a308ffc1ddf71f156f718466a0;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_38fd33a308ffc1ddf71f156f718466a0 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_38fd33a308ffc1ddf71f156f718466a0)) {
Py_XDECREF(cache_frame_38fd33a308ffc1ddf71f156f718466a0);
#if _DEBUG_REFCOUNTS
if (cache_frame_38fd33a308ffc1ddf71f156f718466a0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_38fd33a308ffc1ddf71f156f718466a0 = MAKE_FUNCTION_FRAME(codeobj_38fd33a308ffc1ddf71f156f718466a0, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_38fd33a308ffc1ddf71f156f718466a0->m_type_description == NULL);
frame_38fd33a308ffc1ddf71f156f718466a0 = cache_frame_38fd33a308ffc1ddf71f156f718466a0;
// Push the new frame as the currently active one.
pushFrameStack(frame_38fd33a308ffc1ddf71f156f718466a0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_38fd33a308ffc1ddf71f156f718466a0) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[48]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 283;
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 = 283;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[48]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 284;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_2;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[49]);
if (tmp_attribute_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 286;
type_description_1 = "o";
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 = 286;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_2);
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[57]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 287;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_38fd33a308ffc1ddf71f156f718466a0->m_frame.f_lineno = 287;
tmp_return_value = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, &PyTuple_GET_ITEM(mod_consts[72], 0), mod_consts[73]);
Py_DECREF(tmp_called_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 287;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_38fd33a308ffc1ddf71f156f718466a0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_38fd33a308ffc1ddf71f156f718466a0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_38fd33a308ffc1ddf71f156f718466a0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_38fd33a308ffc1ddf71f156f718466a0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_38fd33a308ffc1ddf71f156f718466a0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_38fd33a308ffc1ddf71f156f718466a0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_38fd33a308ffc1ddf71f156f718466a0,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_38fd33a308ffc1ddf71f156f718466a0 == cache_frame_38fd33a308ffc1ddf71f156f718466a0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_38fd33a308ffc1ddf71f156f718466a0);
cache_frame_38fd33a308ffc1ddf71f156f718466a0 = NULL;
}
assertFrameObject(frame_38fd33a308ffc1ddf71f156f718466a0);
// 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_urllib3$response$$$function__18_connection(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_83af965fb9ce7125a869db435a0b247d;
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_83af965fb9ce7125a869db435a0b247d = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_83af965fb9ce7125a869db435a0b247d)) {
Py_XDECREF(cache_frame_83af965fb9ce7125a869db435a0b247d);
#if _DEBUG_REFCOUNTS
if (cache_frame_83af965fb9ce7125a869db435a0b247d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_83af965fb9ce7125a869db435a0b247d = MAKE_FUNCTION_FRAME(codeobj_83af965fb9ce7125a869db435a0b247d, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_83af965fb9ce7125a869db435a0b247d->m_type_description == NULL);
frame_83af965fb9ce7125a869db435a0b247d = cache_frame_83af965fb9ce7125a869db435a0b247d;
// Push the new frame as the currently active one.
pushFrameStack(frame_83af965fb9ce7125a869db435a0b247d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_83af965fb9ce7125a869db435a0b247d) == 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[56]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 291;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_83af965fb9ce7125a869db435a0b247d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_83af965fb9ce7125a869db435a0b247d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_83af965fb9ce7125a869db435a0b247d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_83af965fb9ce7125a869db435a0b247d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_83af965fb9ce7125a869db435a0b247d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_83af965fb9ce7125a869db435a0b247d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_83af965fb9ce7125a869db435a0b247d,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_83af965fb9ce7125a869db435a0b247d == cache_frame_83af965fb9ce7125a869db435a0b247d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_83af965fb9ce7125a869db435a0b247d);
cache_frame_83af965fb9ce7125a869db435a0b247d = NULL;
}
assertFrameObject(frame_83af965fb9ce7125a869db435a0b247d);
// 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_urllib3$response$$$function__19_isclosed(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_28dbab793d7f5e5a6400eb4ed719019a;
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_28dbab793d7f5e5a6400eb4ed719019a = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_28dbab793d7f5e5a6400eb4ed719019a)) {
Py_XDECREF(cache_frame_28dbab793d7f5e5a6400eb4ed719019a);
#if _DEBUG_REFCOUNTS
if (cache_frame_28dbab793d7f5e5a6400eb4ed719019a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_28dbab793d7f5e5a6400eb4ed719019a = MAKE_FUNCTION_FRAME(codeobj_28dbab793d7f5e5a6400eb4ed719019a, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_28dbab793d7f5e5a6400eb4ed719019a->m_type_description == NULL);
frame_28dbab793d7f5e5a6400eb4ed719019a = cache_frame_28dbab793d7f5e5a6400eb4ed719019a;
// Push the new frame as the currently active one.
pushFrameStack(frame_28dbab793d7f5e5a6400eb4ed719019a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_28dbab793d7f5e5a6400eb4ed719019a) == 2); // Frame stack
// Framed code:
{
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_urllib3$response, (Nuitka_StringObject *)mod_consts[74]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[74]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
type_description_1 = "o";
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[49]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_28dbab793d7f5e5a6400eb4ed719019a->m_frame.f_lineno = 294;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_28dbab793d7f5e5a6400eb4ed719019a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_28dbab793d7f5e5a6400eb4ed719019a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_28dbab793d7f5e5a6400eb4ed719019a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_28dbab793d7f5e5a6400eb4ed719019a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_28dbab793d7f5e5a6400eb4ed719019a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_28dbab793d7f5e5a6400eb4ed719019a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_28dbab793d7f5e5a6400eb4ed719019a,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_28dbab793d7f5e5a6400eb4ed719019a == cache_frame_28dbab793d7f5e5a6400eb4ed719019a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_28dbab793d7f5e5a6400eb4ed719019a);
cache_frame_28dbab793d7f5e5a6400eb4ed719019a = NULL;
}
assertFrameObject(frame_28dbab793d7f5e5a6400eb4ed719019a);
// 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_urllib3$response$$$function__20_tell(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_7e93189adc7d0287af77cd2b1a58dd2b;
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_7e93189adc7d0287af77cd2b1a58dd2b = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_7e93189adc7d0287af77cd2b1a58dd2b)) {
Py_XDECREF(cache_frame_7e93189adc7d0287af77cd2b1a58dd2b);
#if _DEBUG_REFCOUNTS
if (cache_frame_7e93189adc7d0287af77cd2b1a58dd2b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7e93189adc7d0287af77cd2b1a58dd2b = MAKE_FUNCTION_FRAME(codeobj_7e93189adc7d0287af77cd2b1a58dd2b, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7e93189adc7d0287af77cd2b1a58dd2b->m_type_description == NULL);
frame_7e93189adc7d0287af77cd2b1a58dd2b = cache_frame_7e93189adc7d0287af77cd2b1a58dd2b;
// Push the new frame as the currently active one.
pushFrameStack(frame_7e93189adc7d0287af77cd2b1a58dd2b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7e93189adc7d0287af77cd2b1a58dd2b) == 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[51]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 302;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7e93189adc7d0287af77cd2b1a58dd2b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7e93189adc7d0287af77cd2b1a58dd2b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7e93189adc7d0287af77cd2b1a58dd2b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7e93189adc7d0287af77cd2b1a58dd2b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7e93189adc7d0287af77cd2b1a58dd2b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7e93189adc7d0287af77cd2b1a58dd2b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7e93189adc7d0287af77cd2b1a58dd2b,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_7e93189adc7d0287af77cd2b1a58dd2b == cache_frame_7e93189adc7d0287af77cd2b1a58dd2b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7e93189adc7d0287af77cd2b1a58dd2b);
cache_frame_7e93189adc7d0287af77cd2b1a58dd2b = NULL;
}
assertFrameObject(frame_7e93189adc7d0287af77cd2b1a58dd2b);
// 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_urllib3$response$$$function__21__init_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_request_method = python_pars[1];
PyObject *var_length = NULL;
PyObject *var_lengths = NULL;
PyObject *var_status = NULL;
PyObject *outline_0_var_val = NULL;
PyObject *tmp_comparison_chain_1__comparison_result = NULL;
PyObject *tmp_comparison_chain_1__operand_2 = NULL;
PyObject *tmp_listcomp_1__$0 = NULL;
PyObject *tmp_listcomp_1__contraction = NULL;
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
nuitka_bool tmp_try_except_1__unhandled_indicator = NUITKA_BOOL_UNASSIGNED;
struct Nuitka_FrameObject *frame_1383da27ac8069a416f9e4ff05b186fd;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
struct Nuitka_FrameObject *frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
static struct Nuitka_FrameObject *cache_frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2 = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *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;
int tmp_res;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
static struct Nuitka_FrameObject *cache_frame_1383da27ac8069a416f9e4ff05b186fd = 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_1383da27ac8069a416f9e4ff05b186fd)) {
Py_XDECREF(cache_frame_1383da27ac8069a416f9e4ff05b186fd);
#if _DEBUG_REFCOUNTS
if (cache_frame_1383da27ac8069a416f9e4ff05b186fd == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1383da27ac8069a416f9e4ff05b186fd = MAKE_FUNCTION_FRAME(codeobj_1383da27ac8069a416f9e4ff05b186fd, module_urllib3$response, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1383da27ac8069a416f9e4ff05b186fd->m_type_description == NULL);
frame_1383da27ac8069a416f9e4ff05b186fd = cache_frame_1383da27ac8069a416f9e4ff05b186fd;
// Push the new frame as the currently active one.
pushFrameStack(frame_1383da27ac8069a416f9e4ff05b186fd);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1383da27ac8069a416f9e4ff05b186fd) == 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[38]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[60]);
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 = 308;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_1383da27ac8069a416f9e4ff05b186fd->m_frame.f_lineno = 308;
tmp_assign_source_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[76]);
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 = 308;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_length == NULL);
var_length = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_length);
tmp_cmp_expr_left_1 = var_length;
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:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[58]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 311;
type_description_1 = "ooooo";
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 = 311;
type_description_1 = "ooooo";
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_called_instance_1;
PyObject *tmp_call_result_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[77]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[77]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 315;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_1383da27ac8069a416f9e4ff05b186fd->m_frame.f_lineno = 315;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[78],
PyTuple_GET_ITEM(mod_consts[79], 0)
);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 315;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_2:;
{
nuitka_bool tmp_assign_source_2;
tmp_assign_source_2 = NUITKA_BOOL_TRUE;
tmp_try_except_1__unhandled_indicator = tmp_assign_source_2;
}
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_set_arg_1;
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_length);
tmp_expression_value_4 = var_length;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[24]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
frame_1383da27ac8069a416f9e4ff05b186fd->m_frame.f_lineno = 330;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[25]);
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 = 330;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_assign_source_4 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_5;
}
if (isFrameUnusable(cache_frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2)) {
Py_XDECREF(cache_frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2 = MAKE_FUNCTION_FRAME(codeobj_6ba7e2d26aef0e9aefb5c8b102fb7928, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2->m_type_description == NULL);
frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2 = cache_frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_1 = tmp_listcomp_1__$0;
tmp_assign_source_6 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_6 == 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 = "o";
exception_lineno = 330;
goto try_except_handler_4;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_assign_source_7 = tmp_listcomp_1__iter_value_0;
{
PyObject *old = outline_0_var_val;
outline_0_var_val = tmp_assign_source_7;
Py_INCREF(outline_0_var_val);
Py_XDECREF(old);
}
}
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
PyObject *tmp_int_arg_1;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
CHECK_OBJECT(outline_0_var_val);
tmp_int_arg_1 = outline_0_var_val;
tmp_append_value_1 = PyNumber_Int(tmp_int_arg_1);
if (tmp_append_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_2 = "o";
goto try_except_handler_4;
}
assert(PyList_Check(tmp_append_list_1));
tmp_result = LIST_APPEND1(tmp_append_list_1, tmp_append_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_2 = "o";
goto try_except_handler_4;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_2 = "o";
goto try_except_handler_4;
}
goto loop_start_1;
loop_end_1:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_set_arg_1 = tmp_listcomp_1__contraction;
Py_INCREF(tmp_set_arg_1);
goto try_return_handler_4;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_4:;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
goto frame_return_exit_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_6ba7e2d26aef0e9aefb5c8b102fb7928_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_6ba7e2d26aef0e9aefb5c8b102fb7928_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_3;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2,
type_description_2,
outline_0_var_val
);
// Release cached frame if used for exception.
if (frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2 == cache_frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2);
cache_frame_6ba7e2d26aef0e9aefb5c8b102fb7928_2 = NULL;
}
assertFrameObject(frame_6ba7e2d26aef0e9aefb5c8b102fb7928_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 = "ooooo";
goto try_except_handler_3;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
Py_XDECREF(outline_0_var_val);
outline_0_var_val = NULL;
goto outline_result_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;
Py_XDECREF(outline_0_var_val);
outline_0_var_val = 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 = 330;
goto try_except_handler_2;
outline_result_1:;
tmp_assign_source_3 = PySet_New(tmp_set_arg_1);
Py_DECREF(tmp_set_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(var_lengths == NULL);
var_lengths = tmp_assign_source_3;
}
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
nuitka_digit tmp_cmp_expr_right_2;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(var_lengths);
tmp_len_arg_1 = var_lengths;
tmp_cmp_expr_left_2 = BUILTIN_LEN(tmp_len_arg_1);
assert(!(tmp_cmp_expr_left_2 == NULL));
tmp_cmp_expr_right_2 = 1;
tmp_condition_result_3 = RICH_COMPARE_GT_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[80]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[80]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_mod_expr_left_1 = mod_consts[81];
CHECK_OBJECT(var_length);
tmp_mod_expr_right_1 = var_length;
tmp_args_element_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
frame_1383da27ac8069a416f9e4ff05b186fd->m_frame.f_lineno = 332;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
exception_type = tmp_raise_type_1;
exception_lineno = 332;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
goto try_except_handler_2;
}
branch_no_3:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(var_lengths);
tmp_expression_value_5 = var_lengths;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[82]);
assert(!(tmp_called_value_4 == NULL));
frame_1383da27ac8069a416f9e4ff05b186fd->m_frame.f_lineno = 336;
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(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_length;
assert(old != NULL);
var_length = tmp_assign_source_8;
Py_DECREF(old);
}
}
goto try_end_1;
// 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;
{
nuitka_bool tmp_assign_source_9;
tmp_assign_source_9 = NUITKA_BOOL_FALSE;
tmp_try_except_1__unhandled_indicator = tmp_assign_source_9;
}
// 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_1383da27ac8069a416f9e4ff05b186fd, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_1383da27ac8069a416f9e4ff05b186fd, 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_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_ValueError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_10;
tmp_assign_source_10 = Py_None;
{
PyObject *old = var_length;
assert(old != NULL);
var_length = tmp_assign_source_10;
Py_INCREF(var_length);
Py_DECREF(old);
}
}
goto branch_end_4;
branch_no_4:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 324;
}
if (exception_tb && exception_tb->tb_frame == &frame_1383da27ac8069a416f9e4ff05b186fd->m_frame) frame_1383da27ac8069a416f9e4ff05b186fd->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooo";
goto try_except_handler_5;
branch_end_4:;
goto try_end_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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// 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_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_5;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(tmp_try_except_1__unhandled_indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = tmp_try_except_1__unhandled_indicator;
tmp_cmp_expr_right_4 = NUITKA_BOOL_TRUE;
tmp_condition_result_5 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(var_length);
tmp_cmp_expr_left_5 = var_length;
tmp_cmp_expr_right_5 = mod_consts[29];
tmp_condition_result_6 = RICH_COMPARE_LT_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_6 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_11;
tmp_assign_source_11 = Py_None;
{
PyObject *old = var_length;
assert(old != NULL);
var_length = tmp_assign_source_11;
Py_INCREF(var_length);
Py_DECREF(old);
}
}
branch_no_6:;
branch_no_5:;
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_12;
PyObject *tmp_int_arg_2;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_int_arg_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[39]);
if (tmp_int_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 346;
type_description_1 = "ooooo";
goto try_except_handler_6;
}
tmp_assign_source_12 = PyNumber_Int(tmp_int_arg_2);
Py_DECREF(tmp_int_arg_2);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 346;
type_description_1 = "ooooo";
goto try_except_handler_6;
}
assert(var_status == NULL);
var_status = tmp_assign_source_12;
}
goto try_end_3;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_5 == NULL) {
exception_keeper_tb_5 = MAKE_TRACEBACK(frame_1383da27ac8069a416f9e4ff05b186fd, exception_keeper_lineno_5);
} else if (exception_keeper_lineno_5 != 0) {
exception_keeper_tb_5 = ADD_TRACEBACK(exception_keeper_tb_5, frame_1383da27ac8069a416f9e4ff05b186fd, exception_keeper_lineno_5);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_5, &exception_keeper_value_5, &exception_keeper_tb_5);
// Tried code:
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
tmp_cmp_expr_left_6 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_6 = PyExc_ValueError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
assert(!(tmp_res == -1));
tmp_condition_result_7 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assign_source_13;
tmp_assign_source_13 = mod_consts[29];
assert(var_status == NULL);
Py_INCREF(tmp_assign_source_13);
var_status = tmp_assign_source_13;
}
goto branch_end_7;
branch_no_7:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 345;
}
if (exception_tb && exception_tb->tb_frame == &frame_1383da27ac8069a416f9e4ff05b186fd->m_frame) frame_1383da27ac8069a416f9e4ff05b186fd->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooo";
goto try_except_handler_7;
branch_end_7:;
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;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// 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_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:;
{
nuitka_bool tmp_condition_result_8;
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_7;
PyObject *tmp_cmp_expr_right_7;
int tmp_or_left_truth_2;
nuitka_bool tmp_or_left_value_2;
nuitka_bool tmp_or_right_value_2;
PyObject *tmp_outline_return_value_1;
int tmp_truth_name_2;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
CHECK_OBJECT(var_status);
tmp_cmp_expr_left_7 = var_status;
tmp_cmp_expr_right_7 = mod_consts[83];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_7, tmp_cmp_expr_left_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (tmp_res == 1) ? 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) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
{
PyObject *tmp_assign_source_14;
CHECK_OBJECT(var_status);
tmp_assign_source_14 = var_status;
assert(tmp_comparison_chain_1__operand_2 == NULL);
Py_INCREF(tmp_assign_source_14);
tmp_comparison_chain_1__operand_2 = tmp_assign_source_14;
}
// Tried code:
{
PyObject *tmp_assign_source_15;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
tmp_cmp_expr_left_8 = mod_consts[84];
CHECK_OBJECT(tmp_comparison_chain_1__operand_2);
tmp_cmp_expr_right_8 = tmp_comparison_chain_1__operand_2;
tmp_assign_source_15 = RICH_COMPARE_LE_OBJECT_LONG_OBJECT(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "ooooo";
goto try_except_handler_8;
}
assert(tmp_comparison_chain_1__comparison_result == NULL);
tmp_comparison_chain_1__comparison_result = tmp_assign_source_15;
}
{
bool tmp_condition_result_9;
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 = 351;
type_description_1 = "ooooo";
goto try_except_handler_8;
}
tmp_condition_result_9 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
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_8;
branch_no_9:;
{
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
CHECK_OBJECT(tmp_comparison_chain_1__operand_2);
tmp_cmp_expr_left_9 = tmp_comparison_chain_1__operand_2;
tmp_cmp_expr_right_9 = mod_consts[85];
tmp_outline_return_value_1 = RICH_COMPARE_LT_OBJECT_OBJECT_LONG(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
if (tmp_outline_return_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "ooooo";
goto try_except_handler_8;
}
goto try_return_handler_8;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_8:;
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_2;
// 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;
CHECK_OBJECT(tmp_comparison_chain_1__operand_2);
Py_DECREF(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_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:
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_1);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_outline_return_value_1);
exception_lineno = 351;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_2 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_outline_return_value_1);
tmp_or_left_truth_2 = tmp_or_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
CHECK_OBJECT(par_request_method);
tmp_cmp_expr_left_10 = par_request_method;
tmp_cmp_expr_right_10 = mod_consts[86];
tmp_or_right_value_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
if (tmp_or_right_value_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_or_right_value_1 = tmp_or_left_value_2;
or_end_2:;
tmp_condition_result_8 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_8 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_assign_source_16;
tmp_assign_source_16 = mod_consts[29];
{
PyObject *old = var_length;
assert(old != NULL);
var_length = tmp_assign_source_16;
Py_INCREF(var_length);
Py_DECREF(old);
}
}
branch_no_8:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1383da27ac8069a416f9e4ff05b186fd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1383da27ac8069a416f9e4ff05b186fd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1383da27ac8069a416f9e4ff05b186fd);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1383da27ac8069a416f9e4ff05b186fd, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1383da27ac8069a416f9e4ff05b186fd->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1383da27ac8069a416f9e4ff05b186fd, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1383da27ac8069a416f9e4ff05b186fd,
type_description_1,
par_self,
par_request_method,
var_length,
var_lengths,
var_status
);
// Release cached frame if used for exception.
if (frame_1383da27ac8069a416f9e4ff05b186fd == cache_frame_1383da27ac8069a416f9e4ff05b186fd) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1383da27ac8069a416f9e4ff05b186fd);
cache_frame_1383da27ac8069a416f9e4ff05b186fd = NULL;
}
assertFrameObject(frame_1383da27ac8069a416f9e4ff05b186fd);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
CHECK_OBJECT(var_length);
tmp_return_value = var_length;
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_length);
Py_DECREF(var_length);
var_length = NULL;
Py_XDECREF(var_lengths);
var_lengths = NULL;
Py_XDECREF(var_status);
var_status = 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(var_length);
var_length = NULL;
Py_XDECREF(var_lengths);
var_lengths = NULL;
Py_XDECREF(var_status);
var_status = 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);
CHECK_OBJECT(par_request_method);
Py_DECREF(par_request_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_request_method);
Py_DECREF(par_request_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_urllib3$response$$$function__22__init_decoder(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_encoding = NULL;
PyObject *var_encodings = NULL;
PyObject *outline_0_var_e = NULL;
PyObject *tmp_listcomp_1__$0 = NULL;
PyObject *tmp_listcomp_1__contraction = NULL;
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
struct Nuitka_FrameObject *frame_4b1c9dbf13c9d5cfb73157e4f67f3f64;
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;
struct Nuitka_FrameObject *frame_85eb05c9e731cfe0cc6e7880c69b261b_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_85eb05c9e731cfe0cc6e7880c69b261b_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_4b1c9dbf13c9d5cfb73157e4f67f3f64 = 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_4b1c9dbf13c9d5cfb73157e4f67f3f64)) {
Py_XDECREF(cache_frame_4b1c9dbf13c9d5cfb73157e4f67f3f64);
#if _DEBUG_REFCOUNTS
if (cache_frame_4b1c9dbf13c9d5cfb73157e4f67f3f64 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4b1c9dbf13c9d5cfb73157e4f67f3f64 = MAKE_FUNCTION_FRAME(codeobj_4b1c9dbf13c9d5cfb73157e4f67f3f64, module_urllib3$response, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4b1c9dbf13c9d5cfb73157e4f67f3f64->m_type_description == NULL);
frame_4b1c9dbf13c9d5cfb73157e4f67f3f64 = cache_frame_4b1c9dbf13c9d5cfb73157e4f67f3f64;
// Push the new frame as the currently active one.
pushFrameStack(frame_4b1c9dbf13c9d5cfb73157e4f67f3f64);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4b1c9dbf13c9d5cfb73157e4f67f3f64) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
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[38]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[60]);
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 = 362;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_4b1c9dbf13c9d5cfb73157e4f67f3f64->m_frame.f_lineno = 362;
tmp_expression_value_1 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_2, mod_consts[88]);
Py_DECREF(tmp_called_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[62]);
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 = 362;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_4b1c9dbf13c9d5cfb73157e4f67f3f64->m_frame.f_lineno = 362;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_content_encoding == NULL);
var_content_encoding = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[47]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 363;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(var_content_encoding);
tmp_cmp_expr_left_2 = var_content_encoding;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[89]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, 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 = 364;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_assattr_target_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_content_encoding);
tmp_args_element_value_1 = var_content_encoding;
frame_4b1c9dbf13c9d5cfb73157e4f67f3f64->m_frame.f_lineno = 365;
tmp_assattr_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[47], 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 = 365;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
goto branch_end_2;
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = mod_consts[30];
CHECK_OBJECT(var_content_encoding);
tmp_cmp_expr_right_3 = var_content_encoding;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_3, tmp_cmp_expr_left_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 366;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_2;
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(var_content_encoding);
tmp_expression_value_6 = var_content_encoding;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[24]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 369;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_4b1c9dbf13c9d5cfb73157e4f67f3f64->m_frame.f_lineno = 369;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[25]);
Py_DECREF(tmp_called_value_4);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 369;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(tmp_listcomp_1__$0 == NULL);
tmp_listcomp_1__$0 = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = MAKE_LIST_EMPTY(0);
assert(tmp_listcomp_1__contraction == NULL);
tmp_listcomp_1__contraction = tmp_assign_source_4;
}
if (isFrameUnusable(cache_frame_85eb05c9e731cfe0cc6e7880c69b261b_2)) {
Py_XDECREF(cache_frame_85eb05c9e731cfe0cc6e7880c69b261b_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_85eb05c9e731cfe0cc6e7880c69b261b_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_85eb05c9e731cfe0cc6e7880c69b261b_2 = MAKE_FUNCTION_FRAME(codeobj_85eb05c9e731cfe0cc6e7880c69b261b, module_urllib3$response, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_85eb05c9e731cfe0cc6e7880c69b261b_2->m_type_description == NULL);
frame_85eb05c9e731cfe0cc6e7880c69b261b_2 = cache_frame_85eb05c9e731cfe0cc6e7880c69b261b_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_85eb05c9e731cfe0cc6e7880c69b261b_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_85eb05c9e731cfe0cc6e7880c69b261b_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_listcomp_1__$0);
tmp_next_source_1 = tmp_listcomp_1__$0;
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_2 = "oo";
exception_lineno = 367;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_listcomp_1__iter_value_0;
tmp_listcomp_1__iter_value_0 = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_listcomp_1__iter_value_0);
tmp_assign_source_6 = tmp_listcomp_1__iter_value_0;
{
PyObject *old = outline_0_var_e;
outline_0_var_e = tmp_assign_source_6;
Py_INCREF(outline_0_var_e);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(outline_0_var_e);
tmp_expression_value_7 = outline_0_var_e;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[27]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 370;
type_description_2 = "oo";
goto try_except_handler_3;
}
frame_85eb05c9e731cfe0cc6e7880c69b261b_2->m_frame.f_lineno = 370;
tmp_cmp_expr_left_4 = CALL_FUNCTION_NO_ARGS(tmp_called_value_5);
Py_DECREF(tmp_called_value_5);
if (tmp_cmp_expr_left_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 370;
type_description_2 = "oo";
goto try_except_handler_3;
}
if (par_self == NULL) {
Py_DECREF(tmp_cmp_expr_left_4);
FORMAT_UNBOUND_CLOSURE_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 = 370;
type_description_2 = "oo";
goto try_except_handler_3;
}
tmp_expression_value_8 = par_self;
tmp_cmp_expr_right_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[89]);
if (tmp_cmp_expr_right_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_4);
exception_lineno = 370;
type_description_2 = "oo";
goto try_except_handler_3;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_4, tmp_cmp_expr_left_4);
Py_DECREF(tmp_cmp_expr_left_4);
Py_DECREF(tmp_cmp_expr_right_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 370;
type_description_2 = "oo";
goto try_except_handler_3;
}
tmp_condition_result_4 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_append_list_1 = tmp_listcomp_1__contraction;
CHECK_OBJECT(outline_0_var_e);
tmp_expression_value_9 = outline_0_var_e;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[27]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 368;
type_description_2 = "oo";
goto try_except_handler_3;
}
frame_85eb05c9e731cfe0cc6e7880c69b261b_2->m_frame.f_lineno = 368;
tmp_append_value_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_6);
Py_DECREF(tmp_called_value_6);
if (tmp_append_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 368;
type_description_2 = "oo";
goto try_except_handler_3;
}
assert(PyList_Check(tmp_append_list_1));
tmp_result = LIST_APPEND1(tmp_append_list_1, tmp_append_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
type_description_2 = "oo";
goto try_except_handler_3;
}
}
branch_no_4:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
type_description_2 = "oo";
goto try_except_handler_3;
}
goto loop_start_1;
loop_end_1:;
CHECK_OBJECT(tmp_listcomp_1__contraction);
tmp_assign_source_2 = tmp_listcomp_1__contraction;
Py_INCREF(tmp_assign_source_2);
goto try_return_handler_3;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_listcomp_1__$0);
Py_DECREF(tmp_listcomp_1__$0);
tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(tmp_listcomp_1__contraction);
Py_DECREF(tmp_listcomp_1__contraction);
tmp_listcomp_1__contraction = NULL;
Py_XDECREF(tmp_listcomp_1__iter_value_0);
tmp_listcomp_1__iter_value_0 = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_85eb05c9e731cfe0cc6e7880c69b261b_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_85eb05c9e731cfe0cc6e7880c69b261b_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_2;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_85eb05c9e731cfe0cc6e7880c69b261b_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_85eb05c9e731cfe0cc6e7880c69b261b_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_85eb05c9e731cfe0cc6e7880c69b261b_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_85eb05c9e731cfe0cc6e7880c69b261b_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_85eb05c9e731cfe0cc6e7880c69b261b_2,
type_description_2,
outline_0_var_e,
par_self
);
// Release cached frame if used for exception.
if (frame_85eb05c9e731cfe0cc6e7880c69b261b_2 == cache_frame_85eb05c9e731cfe0cc6e7880c69b261b_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_85eb05c9e731cfe0cc6e7880c69b261b_2);
cache_frame_85eb05c9e731cfe0cc6e7880c69b261b_2 = NULL;
}
assertFrameObject(frame_85eb05c9e731cfe0cc6e7880c69b261b_2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
type_description_1 = "ooo";
goto try_except_handler_2;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
Py_XDECREF(outline_0_var_e);
outline_0_var_e = NULL;
goto outline_result_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;
Py_XDECREF(outline_0_var_e);
outline_0_var_e = 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 = 367;
goto frame_exception_exit_1;
outline_result_1:;
assert(var_encodings == NULL);
var_encodings = tmp_assign_source_2;
}
{
bool tmp_condition_result_5;
PyObject *tmp_len_arg_1;
PyObject *tmp_capi_result_1;
CHECK_OBJECT(var_encodings);
tmp_len_arg_1 = var_encodings;
tmp_capi_result_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_capi_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = CHECK_IF_TRUE(tmp_capi_result_1) == 1;
Py_DECREF(tmp_capi_result_1);
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_2;
PyObject *tmp_assattr_target_2;
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_content_encoding);
tmp_args_element_value_2 = var_content_encoding;
frame_4b1c9dbf13c9d5cfb73157e4f67f3f64->m_frame.f_lineno = 373;
tmp_assattr_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_2);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
Py_DECREF(tmp_assattr_value_2);
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 = 373;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[47], 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 = 373;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
branch_no_5:;
branch_no_3:;
branch_end_2:;
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4b1c9dbf13c9d5cfb73157e4f67f3f64);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4b1c9dbf13c9d5cfb73157e4f67f3f64);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4b1c9dbf13c9d5cfb73157e4f67f3f64, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4b1c9dbf13c9d5cfb73157e4f67f3f64->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4b1c9dbf13c9d5cfb73157e4f67f3f64, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4b1c9dbf13c9d5cfb73157e4f67f3f64,
type_description_1,
par_self,
var_content_encoding,
var_encodings
);
// Release cached frame if used for exception.
if (frame_4b1c9dbf13c9d5cfb73157e4f67f3f64 == cache_frame_4b1c9dbf13c9d5cfb73157e4f67f3f64) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4b1c9dbf13c9d5cfb73157e4f67f3f64);
cache_frame_4b1c9dbf13c9d5cfb73157e4f67f3f64 = NULL;
}
assertFrameObject(frame_4b1c9dbf13c9d5cfb73157e4f67f3f64);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_2:;
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_content_encoding);
var_content_encoding = NULL;
Py_XDECREF(var_encodings);
var_encodings = 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_content_encoding);
var_content_encoding = NULL;
Py_XDECREF(var_encodings);
var_encodings = 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_urllib3$response$$$function__23__decode(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_decode_content = python_pars[2];
PyObject *par_flush_decoder = python_pars[3];
PyObject *var_e = NULL;
PyObject *var_content_encoding = NULL;
struct Nuitka_FrameObject *frame_6e5c4720675113c6332b9400dbe8feb5;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
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;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
bool tmp_result;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
static struct Nuitka_FrameObject *cache_frame_6e5c4720675113c6332b9400dbe8feb5 = 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_6e5c4720675113c6332b9400dbe8feb5)) {
Py_XDECREF(cache_frame_6e5c4720675113c6332b9400dbe8feb5);
#if _DEBUG_REFCOUNTS
if (cache_frame_6e5c4720675113c6332b9400dbe8feb5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6e5c4720675113c6332b9400dbe8feb5 = MAKE_FUNCTION_FRAME(codeobj_6e5c4720675113c6332b9400dbe8feb5, module_urllib3$response, 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_6e5c4720675113c6332b9400dbe8feb5->m_type_description == NULL);
frame_6e5c4720675113c6332b9400dbe8feb5 = cache_frame_6e5c4720675113c6332b9400dbe8feb5;
// Push the new frame as the currently active one.
pushFrameStack(frame_6e5c4720675113c6332b9400dbe8feb5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6e5c4720675113c6332b9400dbe8feb5) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(par_decode_content);
tmp_operand_value_1 = par_decode_content;
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 = 383;
type_description_1 = "oooooo";
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:;
CHECK_OBJECT(par_data);
tmp_return_value = par_data;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
// Tried code:
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[47]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
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 = 387;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
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_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[47]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_data);
tmp_args_element_value_1 = par_data;
frame_6e5c4720675113c6332b9400dbe8feb5->m_frame.f_lineno = 388;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[6], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
{
PyObject *old = par_data;
assert(old != NULL);
par_data = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_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_6e5c4720675113c6332b9400dbe8feb5, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_6e5c4720675113c6332b9400dbe8feb5, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_3;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[91]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_1 = "oooooo";
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 = 389;
type_description_1 = "oooooo";
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_2;
tmp_assign_source_2 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_2);
var_e = tmp_assign_source_2;
}
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[38]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[60]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
frame_6e5c4720675113c6332b9400dbe8feb5->m_frame.f_lineno = 390;
tmp_expression_value_4 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_2, mod_consts[88]);
Py_DECREF(tmp_called_value_2);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[62]);
Py_DECREF(tmp_expression_value_4);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
frame_6e5c4720675113c6332b9400dbe8feb5->m_frame.f_lineno = 390;
tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
assert(var_content_encoding == NULL);
var_content_encoding = tmp_assign_source_3;
}
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_args_element_value_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[92]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[92]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 391;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
tmp_mod_expr_left_1 = mod_consts[93];
CHECK_OBJECT(var_content_encoding);
tmp_mod_expr_right_1 = var_content_encoding;
tmp_args_element_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
CHECK_OBJECT(var_e);
tmp_args_element_value_3 = var_e;
frame_6e5c4720675113c6332b9400dbe8feb5->m_frame.f_lineno = 391;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_args_element_value_2);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 391;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
exception_type = tmp_raise_type_1;
exception_lineno = 391;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooo";
goto try_except_handler_4;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 386;
}
if (exception_tb && exception_tb->tb_frame == &frame_6e5c4720675113c6332b9400dbe8feb5->m_frame) frame_6e5c4720675113c6332b9400dbe8feb5->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooo";
goto try_except_handler_3;
branch_end_3:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_1:;
{
nuitka_bool tmp_condition_result_4;
int tmp_truth_name_2;
CHECK_OBJECT(par_flush_decoder);
tmp_truth_name_2 = CHECK_IF_TRUE(par_flush_decoder);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(par_data);
tmp_iadd_expr_left_1 = par_data;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
frame_6e5c4720675113c6332b9400dbe8feb5->m_frame.f_lineno = 397;
tmp_iadd_expr_right_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[94]);
if (tmp_iadd_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 397;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_OBJECT(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
Py_DECREF(tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 397;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = tmp_iadd_expr_left_1;
par_data = tmp_assign_source_4;
}
branch_no_4:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6e5c4720675113c6332b9400dbe8feb5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6e5c4720675113c6332b9400dbe8feb5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6e5c4720675113c6332b9400dbe8feb5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6e5c4720675113c6332b9400dbe8feb5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6e5c4720675113c6332b9400dbe8feb5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6e5c4720675113c6332b9400dbe8feb5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6e5c4720675113c6332b9400dbe8feb5,
type_description_1,
par_self,
par_data,
par_decode_content,
par_flush_decoder,
var_e,
var_content_encoding
);
// Release cached frame if used for exception.
if (frame_6e5c4720675113c6332b9400dbe8feb5 == cache_frame_6e5c4720675113c6332b9400dbe8feb5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6e5c4720675113c6332b9400dbe8feb5);
cache_frame_6e5c4720675113c6332b9400dbe8feb5 = NULL;
}
assertFrameObject(frame_6e5c4720675113c6332b9400dbe8feb5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(par_data);
tmp_return_value = par_data;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
par_data = 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(par_data);
par_data = NULL;
Py_XDECREF(var_content_encoding);
var_content_encoding = 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_decode_content);
Py_DECREF(par_decode_content);
CHECK_OBJECT(par_flush_decoder);
Py_DECREF(par_flush_decoder);
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_decode_content);
Py_DECREF(par_decode_content);
CHECK_OBJECT(par_flush_decoder);
Py_DECREF(par_flush_decoder);
// 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_urllib3$response$$$function__24__flush_decoder(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_buf = NULL;
struct Nuitka_FrameObject *frame_7a027ce45f97eb18f29fe0dd500fb4b0;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_7a027ce45f97eb18f29fe0dd500fb4b0 = 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_7a027ce45f97eb18f29fe0dd500fb4b0)) {
Py_XDECREF(cache_frame_7a027ce45f97eb18f29fe0dd500fb4b0);
#if _DEBUG_REFCOUNTS
if (cache_frame_7a027ce45f97eb18f29fe0dd500fb4b0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7a027ce45f97eb18f29fe0dd500fb4b0 = MAKE_FUNCTION_FRAME(codeobj_7a027ce45f97eb18f29fe0dd500fb4b0, module_urllib3$response, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7a027ce45f97eb18f29fe0dd500fb4b0->m_type_description == NULL);
frame_7a027ce45f97eb18f29fe0dd500fb4b0 = cache_frame_7a027ce45f97eb18f29fe0dd500fb4b0;
// Push the new frame as the currently active one.
pushFrameStack(frame_7a027ce45f97eb18f29fe0dd500fb4b0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7a027ce45f97eb18f29fe0dd500fb4b0) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[47]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 406;
type_description_1 = "oo";
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 = 406;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[47]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 407;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_7a027ce45f97eb18f29fe0dd500fb4b0->m_frame.f_lineno = 407;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[6],
PyTuple_GET_ITEM(mod_consts[96], 0)
);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 407;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_buf == NULL);
var_buf = tmp_assign_source_1;
}
{
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_buf);
tmp_add_expr_left_1 = var_buf;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[47]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_7a027ce45f97eb18f29fe0dd500fb4b0->m_frame.f_lineno = 408;
tmp_add_expr_right_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[23]);
Py_DECREF(tmp_called_instance_2);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 408;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a027ce45f97eb18f29fe0dd500fb4b0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a027ce45f97eb18f29fe0dd500fb4b0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a027ce45f97eb18f29fe0dd500fb4b0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7a027ce45f97eb18f29fe0dd500fb4b0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7a027ce45f97eb18f29fe0dd500fb4b0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7a027ce45f97eb18f29fe0dd500fb4b0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7a027ce45f97eb18f29fe0dd500fb4b0,
type_description_1,
par_self,
var_buf
);
// Release cached frame if used for exception.
if (frame_7a027ce45f97eb18f29fe0dd500fb4b0 == cache_frame_7a027ce45f97eb18f29fe0dd500fb4b0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7a027ce45f97eb18f29fe0dd500fb4b0);
cache_frame_7a027ce45f97eb18f29fe0dd500fb4b0 = NULL;
}
assertFrameObject(frame_7a027ce45f97eb18f29fe0dd500fb4b0);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = mod_consts[1];
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_buf);
var_buf = 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_buf);
var_buf = 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_urllib3$response$$$function__25__error_catcher(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]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_closure_1[0] = par_self;
Py_INCREF(tmp_closure_1[0]);
tmp_return_value = MAKE_GENERATOR_urllib3$response$$$function__25__error_catcher$$$genobj__1__error_catcher(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);
// 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 urllib3$response$$$function__25__error_catcher$$$genobj__1__error_catcher_locals {
PyObject *var_e;
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;
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;
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;
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;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
int exception_keeper_lineno_6;
};
static PyObject *urllib3$response$$$function__25__error_catcher$$$genobj__1__error_catcher_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 urllib3$response$$$function__25__error_catcher$$$genobj__1__error_catcher_locals *generator_heap = (struct urllib3$response$$$function__25__error_catcher$$$genobj__1__error_catcher_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_e = 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.
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_13bfb082f1ebd2413720cefbc80634b8, module_urllib3$response, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
generator->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(generator->m_frame);
assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(generator->m_frame, (PyObject *)generator);
#endif
assert(generator->m_frame->m_frame.f_back == NULL);
pushFrameStack(generator->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(generator->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(generator) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL;
Py_XINCREF(EXC_TYPE_F(generator));
#endif
EXC_VALUE_F(generator) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(generator, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(generator));
#endif
}
#endif
// Framed code:
// Tried code:
// Tried code:
{
PyObject *tmp_expression_value_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
tmp_expression_value_1 = Py_None;
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 = 425;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_2;
}
tmp_yield_result_1 = yield_return_value;
}
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;
// Preserve existing published exception id 1.
generator_heap->exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (generator_heap->exception_keeper_tb_1 == NULL) {
generator_heap->exception_keeper_tb_1 = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_keeper_lineno_1);
} else if (generator_heap->exception_keeper_lineno_1 != 0) {
generator_heap->exception_keeper_tb_1 = ADD_TRACEBACK(generator_heap->exception_keeper_tb_1, generator->m_frame, generator_heap->exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&generator_heap->exception_keeper_type_1, &generator_heap->exception_keeper_value_1, &generator_heap->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_urllib3$response, (Nuitka_StringObject *)mod_consts[99]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[99]);
}
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 = 427;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_3;
}
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 = 427;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_3;
}
tmp_condition_result_1 = (generator_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[100]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[100]);
}
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 = 430;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_3;
}
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 430;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_3;
}
tmp_expression_value_2 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[55]);
if (tmp_args_element_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 = 430;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_3;
}
tmp_args_element_value_2 = Py_None;
tmp_args_element_value_3 = mod_consts[101];
generator->m_frame->m_frame.f_lineno = 430;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
Py_DECREF(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 = 430;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_3;
}
generator_heap->exception_type = tmp_raise_type_1;
generator_heap->exception_lineno = 430;
RAISE_EXCEPTION_WITH_TYPE(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "cNo";
goto try_except_handler_3;
}
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[102]);
if (unlikely(tmp_cmp_expr_right_2 == NULL)) {
tmp_cmp_expr_right_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[102]);
}
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 = 432;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_3;
}
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 = 432;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_3;
}
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_1;
tmp_assign_source_1 = EXC_VALUE(PyThreadState_GET());
assert(generator_heap->var_e == NULL);
Py_INCREF(tmp_assign_source_1);
generator_heap->var_e = tmp_assign_source_1;
}
// Tried code:
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_unicode_arg_1;
tmp_cmp_expr_left_3 = mod_consts[103];
CHECK_OBJECT(generator_heap->var_e);
tmp_unicode_arg_1 = generator_heap->var_e;
tmp_cmp_expr_right_3 = PyObject_Unicode(tmp_unicode_arg_1);
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 = 434;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_4;
}
generator_heap->tmp_res = PySequence_Contains(tmp_cmp_expr_right_3, tmp_cmp_expr_left_3);
Py_DECREF(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 = 434;
generator_heap->type_description_1 = "cNo";
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:;
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 = 437;
}
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 = "cNo";
goto try_except_handler_4;
branch_no_3:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[100]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[100]);
}
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 = 439;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_4;
}
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 439;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_4;
}
tmp_expression_value_3 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[55]);
if (tmp_args_element_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 = 439;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_4;
}
tmp_args_element_value_5 = Py_None;
tmp_args_element_value_6 = mod_consts[101];
generator->m_frame->m_frame.f_lineno = 439;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5, tmp_args_element_value_6};
tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_args_element_value_4);
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 = 439;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_4;
}
generator_heap->exception_type = tmp_raise_type_2;
generator_heap->exception_lineno = 439;
RAISE_EXCEPTION_WITH_TYPE(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "cNo";
goto try_except_handler_4;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_4:;
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_e);
generator_heap->var_e = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
goto branch_end_2;
branch_no_2:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_tuple_element_1;
tmp_cmp_expr_left_4 = EXC_TYPE(PyThreadState_GET());
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 441;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_4 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_cmp_expr_right_4, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[105]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[105]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 441;
generator_heap->type_description_1 = "cNo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_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_cmp_expr_right_4);
goto try_except_handler_3;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
generator_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
Py_DECREF(tmp_cmp_expr_right_4);
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 = 441;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_3;
}
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_2;
tmp_assign_source_2 = EXC_VALUE(PyThreadState_GET());
assert(generator_heap->var_e == NULL);
Py_INCREF(tmp_assign_source_2);
generator_heap->var_e = tmp_assign_source_2;
}
// Tried code:
{
PyObject *tmp_raise_type_3;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_7;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_args_element_value_8;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[106]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[106]);
}
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 = 443;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_5;
}
tmp_mod_expr_left_1 = mod_consts[107];
CHECK_OBJECT(generator_heap->var_e);
tmp_mod_expr_right_1 = generator_heap->var_e;
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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 443;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_5;
}
CHECK_OBJECT(generator_heap->var_e);
tmp_args_element_value_8 = generator_heap->var_e;
generator->m_frame->m_frame.f_lineno = 443;
{
PyObject *call_args[] = {tmp_args_element_value_7, tmp_args_element_value_8};
tmp_raise_type_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_args_element_value_7);
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 = 443;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_5;
}
generator_heap->exception_type = tmp_raise_type_3;
generator_heap->exception_lineno = 443;
RAISE_EXCEPTION_WITH_TYPE(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "cNo";
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_3;
// 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 = 424;
}
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 = "cNo";
goto try_except_handler_3;
branch_end_4:;
branch_end_2:;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_3:;
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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&generator_heap->exception_preserved_1);
// 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_1;
// End of try:
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_1:;
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;
// Preserve existing published exception id 2.
generator_heap->exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (generator_heap->exception_keeper_tb_5 == NULL) {
generator_heap->exception_keeper_tb_5 = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_keeper_lineno_5);
} else if (generator_heap->exception_keeper_lineno_5 != 0) {
generator_heap->exception_keeper_tb_5 = ADD_TRACEBACK(generator_heap->exception_keeper_tb_5, generator->m_frame, generator_heap->exception_keeper_lineno_5);
}
PUBLISH_CURRENT_EXCEPTION(&generator_heap->exception_keeper_type_5, &generator_heap->exception_keeper_value_5, &generator_heap->exception_keeper_tb_5);
// Tried code:
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_expression_value_4;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 455;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_expression_value_4 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[50]);
if (tmp_attribute_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 = 455;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_attribute_value_1);
generator_heap->exception_lineno = 455;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_condition_result_5 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_1;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 456;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_expression_value_5 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[50]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 456;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
generator->m_frame->m_frame.f_lineno = 456;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[108]);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_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 = 456;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_5:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_expression_value_6;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_2;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 461;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_expression_value_6 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[56]);
if (tmp_attribute_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 = 461;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_attribute_value_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_attribute_value_2);
generator_heap->exception_lineno = 461;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_condition_result_6 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_2);
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_7;
PyObject *tmp_call_result_2;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 462;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_expression_value_7 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[56]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 462;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
generator->m_frame->m_frame.f_lineno = 462;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[108]);
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 462;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_6:;
{
nuitka_bool tmp_condition_result_7;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_expression_value_8;
PyObject *tmp_attribute_value_3;
int tmp_truth_name_3;
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_9;
PyObject *tmp_call_result_3;
int tmp_truth_name_4;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 466;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_expression_value_8 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_attribute_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[50]);
if (tmp_attribute_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 = 466;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_attribute_value_3);
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_attribute_value_3);
generator_heap->exception_lineno = 466;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_and_left_value_1 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_3);
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 = 466;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 466;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_expression_value_9 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[50]);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 466;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
generator->m_frame->m_frame.f_lineno = 466;
tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[109]);
Py_DECREF(tmp_called_instance_3);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 466;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_truth_name_4 = CHECK_IF_TRUE(tmp_call_result_3);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_call_result_3);
generator_heap->exception_lineno = 466;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_and_right_value_1 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_3);
tmp_condition_result_7 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_7 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_4;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 467;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
tmp_called_instance_4 = Nuitka_Cell_GET(generator->m_closure[0]);
generator->m_frame->m_frame.f_lineno = 467;
tmp_call_result_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[110]);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 467;
generator_heap->type_description_1 = "cNo";
goto try_except_handler_6;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_7:;
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 = 423;
}
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 = "cNo";
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_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 2.
SET_CURRENT_EXCEPTION(&generator_heap->exception_preserved_2);
// 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:;
{
nuitka_bool tmp_condition_result_8;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_expression_value_10;
PyObject *tmp_attribute_value_4;
int tmp_truth_name_5;
PyObject *tmp_called_instance_5;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_5;
int tmp_truth_name_6;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 466;
generator_heap->type_description_1 = "cNo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_attribute_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[50]);
if (tmp_attribute_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 = 466;
generator_heap->type_description_1 = "cNo";
goto frame_exception_exit_1;
}
tmp_truth_name_5 = CHECK_IF_TRUE(tmp_attribute_value_4);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_attribute_value_4);
generator_heap->exception_lineno = 466;
generator_heap->type_description_1 = "cNo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_4);
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 = 466;
generator_heap->type_description_1 = "cNo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 466;
generator_heap->type_description_1 = "cNo";
goto frame_exception_exit_1;
}
tmp_expression_value_11 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_called_instance_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[50]);
if (tmp_called_instance_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 466;
generator_heap->type_description_1 = "cNo";
goto frame_exception_exit_1;
}
generator->m_frame->m_frame.f_lineno = 466;
tmp_call_result_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[109]);
Py_DECREF(tmp_called_instance_5);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 466;
generator_heap->type_description_1 = "cNo";
goto frame_exception_exit_1;
}
tmp_truth_name_6 = CHECK_IF_TRUE(tmp_call_result_5);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_call_result_5);
generator_heap->exception_lineno = 466;
generator_heap->type_description_1 = "cNo";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_5);
tmp_condition_result_8 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_condition_result_8 = tmp_and_left_value_2;
and_end_2:;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_called_instance_6;
PyObject *tmp_call_result_6;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 467;
generator_heap->type_description_1 = "cNo";
goto frame_exception_exit_1;
}
tmp_called_instance_6 = Nuitka_Cell_GET(generator->m_closure[0]);
generator->m_frame->m_frame.f_lineno = 467;
tmp_call_result_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[110]);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 467;
generator_heap->type_description_1 = "cNo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_6);
}
branch_no_8:;
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[0],
NULL,
generator_heap->var_e
);
// 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 function_exception_exit;
frame_no_exception_1:;
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_urllib3$response$$$function__25__error_catcher$$$genobj__1__error_catcher(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
urllib3$response$$$function__25__error_catcher$$$genobj__1__error_catcher_context,
module_urllib3$response,
mod_consts[111],
#if PYTHON_VERSION >= 0x350
mod_consts[112],
#endif
codeobj_13bfb082f1ebd2413720cefbc80634b8,
closure,
1,
sizeof(struct urllib3$response$$$function__25__error_catcher$$$genobj__1__error_catcher_locals)
);
}
static PyObject *impl_urllib3$response$$$function__26_read(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_amt = python_pars[1];
PyObject *par_decode_content = python_pars[2];
PyObject *par_cache_content = python_pars[3];
PyObject *var_flush_decoder = NULL;
PyObject *var_fp_closed = NULL;
PyObject *var_data = NULL;
PyObject *tmp_inplace_assign_1__value = NULL;
PyObject *tmp_inplace_assign_2__value = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_0b67cc5343033ed9e760f09ae4b0d14e;
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 *tmp_return_value = NULL;
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;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
static struct Nuitka_FrameObject *cache_frame_0b67cc5343033ed9e760f09ae4b0d14e = NULL;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_0b67cc5343033ed9e760f09ae4b0d14e)) {
Py_XDECREF(cache_frame_0b67cc5343033ed9e760f09ae4b0d14e);
#if _DEBUG_REFCOUNTS
if (cache_frame_0b67cc5343033ed9e760f09ae4b0d14e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0b67cc5343033ed9e760f09ae4b0d14e = MAKE_FUNCTION_FRAME(codeobj_0b67cc5343033ed9e760f09ae4b0d14e, module_urllib3$response, 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_0b67cc5343033ed9e760f09ae4b0d14e->m_type_description == NULL);
frame_0b67cc5343033ed9e760f09ae4b0d14e = cache_frame_0b67cc5343033ed9e760f09ae4b0d14e;
// Push the new frame as the currently active one.
pushFrameStack(frame_0b67cc5343033ed9e760f09ae4b0d14e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0b67cc5343033ed9e760f09ae4b0d14e) == 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_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = 490;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[113]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 490;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_decode_content);
tmp_cmp_expr_left_1 = par_decode_content;
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_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[43]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 492;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_decode_content;
assert(old != NULL);
par_decode_content = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[49]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 494;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_2:;
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = Py_False;
assert(var_flush_decoder == NULL);
Py_INCREF(tmp_assign_source_2);
var_flush_decoder = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
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[49]);
if (tmp_getattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 498;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_getattr_attr_1 = mod_consts[114];
tmp_getattr_default_1 = Py_False;
tmp_assign_source_3 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
Py_DECREF(tmp_getattr_target_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 498;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
assert(var_fp_closed == NULL);
var_fp_closed = tmp_assign_source_3;
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = 500;
tmp_assign_source_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[111]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_4 = tmp_with_1__source;
tmp_called_value_1 = LOOKUP_SPECIAL(tmp_expression_value_4, mod_consts[115]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = 500;
tmp_assign_source_5 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
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 = 500;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_5 = tmp_with_1__source;
tmp_assign_source_6 = LOOKUP_SPECIAL(tmp_expression_value_5, mod_consts[116]);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 500;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_6;
}
{
nuitka_bool tmp_assign_source_7;
tmp_assign_source_7 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_7;
}
// Tried code:
// Tried code:
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_amt);
tmp_cmp_expr_left_3 = par_amt;
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 branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_8;
bool tmp_condition_result_4;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(var_fp_closed);
tmp_operand_value_1 = var_fp_closed;
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 = 503;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[49]);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = 503;
tmp_assign_source_8 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[57]);
Py_DECREF(tmp_called_instance_3);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
goto condexpr_end_1;
condexpr_false_1:;
tmp_assign_source_8 = mod_consts[1];
Py_INCREF(tmp_assign_source_8);
condexpr_end_1:;
assert(var_data == NULL);
var_data = tmp_assign_source_8;
}
{
PyObject *tmp_assign_source_9;
tmp_assign_source_9 = Py_True;
{
PyObject *old = var_flush_decoder;
assert(old != NULL);
var_flush_decoder = tmp_assign_source_9;
Py_INCREF(var_flush_decoder);
Py_DECREF(old);
}
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_10;
tmp_assign_source_10 = Py_False;
{
PyObject *old = par_cache_content;
assert(old != NULL);
par_cache_content = tmp_assign_source_10;
Py_INCREF(par_cache_content);
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_11;
bool tmp_condition_result_5;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_instance_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(var_fp_closed);
tmp_operand_value_2 = var_fp_closed;
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 = 507;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_called_instance_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[49]);
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 507;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
CHECK_OBJECT(par_amt);
tmp_args_element_value_1 = par_amt;
frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = 507;
tmp_assign_source_11 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[57], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_4);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 507;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_assign_source_11 = mod_consts[1];
Py_INCREF(tmp_assign_source_11);
condexpr_end_2:;
assert(var_data == NULL);
var_data = tmp_assign_source_11;
}
{
nuitka_bool tmp_condition_result_6;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_operand_value_3;
CHECK_OBJECT(par_amt);
tmp_cmp_expr_left_4 = par_amt;
tmp_cmp_expr_right_4 = mod_consts[29];
tmp_and_left_value_1 = RICH_COMPARE_NE_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_and_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 509;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
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 = 509;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(var_data);
tmp_operand_value_3 = var_data;
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 = 509;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
tmp_and_right_value_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_6 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_6 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_instance_5;
PyObject *tmp_expression_value_8;
PyObject *tmp_call_result_2;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_called_instance_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[49]);
if (tmp_called_instance_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 518;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = 518;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[108]);
Py_DECREF(tmp_called_instance_5);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 518;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_assign_source_12;
tmp_assign_source_12 = Py_True;
{
PyObject *old = var_flush_decoder;
assert(old != NULL);
var_flush_decoder = tmp_assign_source_12;
Py_INCREF(var_flush_decoder);
Py_DECREF(old);
}
}
{
nuitka_bool tmp_condition_result_7;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_expression_value_9;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[45]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 520;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
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 = 520;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
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_10 = par_self;
tmp_cmp_expr_left_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[64]);
if (tmp_cmp_expr_left_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
tmp_cmp_expr_right_5 = mod_consts[117];
tmp_res = PySequence_Contains(tmp_cmp_expr_right_5, tmp_cmp_expr_left_5);
Py_DECREF(tmp_cmp_expr_left_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
tmp_and_right_value_2 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_7 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_condition_result_7 = tmp_and_left_value_2;
and_end_2:;
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_11;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_12;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[118]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[118]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
CHECK_OBJECT(par_self);
tmp_expression_value_11 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[51]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
CHECK_OBJECT(par_self);
tmp_expression_value_12 = par_self;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[64]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 529;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = 529;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
exception_type = tmp_raise_type_1;
exception_lineno = 529;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooo";
goto try_except_handler_4;
}
branch_no_5:;
branch_no_4:;
branch_end_3:;
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;
// 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_0b67cc5343033ed9e760f09ae4b0d14e, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_0b67cc5343033ed9e760f09ae4b0d14e, 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_8;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
tmp_cmp_expr_left_6 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_6 = PyExc_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
assert(!(tmp_res == -1));
tmp_condition_result_8 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
nuitka_bool tmp_assign_source_13;
tmp_assign_source_13 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_13;
}
{
bool tmp_condition_result_9;
PyObject *tmp_operand_value_4;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_3 = tmp_with_1__exit;
tmp_args_element_value_4 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_5 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_6 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = 529;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5, tmp_args_element_value_6};
tmp_operand_value_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_3, call_args);
}
if (tmp_operand_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooooooo";
goto try_except_handler_5;
}
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 = 529;
type_description_1 = "ooooooo";
goto try_except_handler_5;
}
tmp_condition_result_9 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 529;
}
if (exception_tb && exception_tb->tb_frame == &frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame) frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooo";
goto try_except_handler_5;
branch_no_7:;
goto branch_end_6;
branch_no_6:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 500;
}
if (exception_tb && exception_tb->tb_frame == &frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame) frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooo";
goto try_except_handler_5;
branch_end_6:;
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
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 try_except_handler_3;
// 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 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;
{
bool tmp_condition_result_10;
nuitka_bool tmp_cmp_expr_left_7;
nuitka_bool tmp_cmp_expr_right_7;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_7 = tmp_with_1__indicator;
tmp_cmp_expr_right_7 = NUITKA_BOOL_TRUE;
tmp_condition_result_10 = (tmp_cmp_expr_left_7 == tmp_cmp_expr_right_7) ? true : false;
if (tmp_condition_result_10 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_3;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_4 = tmp_with_1__exit;
frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = 529;
tmp_call_result_3 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_4, mod_consts[119]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_3);
Py_XDECREF(exception_keeper_value_3);
Py_XDECREF(exception_keeper_tb_3);
exception_lineno = 529;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_8:;
// 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:;
{
bool tmp_condition_result_11;
nuitka_bool tmp_cmp_expr_left_8;
nuitka_bool tmp_cmp_expr_right_8;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_8 = tmp_with_1__indicator;
tmp_cmp_expr_right_8 = NUITKA_BOOL_TRUE;
tmp_condition_result_11 = (tmp_cmp_expr_left_8 == tmp_cmp_expr_right_8) ? true : false;
if (tmp_condition_result_11 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_call_result_4;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_5 = tmp_with_1__exit;
frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = 529;
tmp_call_result_4 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_5, mod_consts[119]);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_9:;
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_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_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_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
{
nuitka_bool tmp_condition_result_12;
int tmp_truth_name_2;
if (var_data == NULL) {
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 = 531;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(var_data);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 531;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_12 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_14;
PyObject *tmp_expression_value_13;
CHECK_OBJECT(par_self);
tmp_expression_value_13 = par_self;
tmp_assign_source_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[51]);
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_1__value == NULL);
tmp_inplace_assign_1__value = tmp_assign_source_14;
}
// Tried code:
{
PyObject *tmp_assign_source_15;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_iadd_expr_left_1 = tmp_inplace_assign_1__value;
if (var_data == NULL) {
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 = 532;
type_description_1 = "ooooooo";
goto try_except_handler_6;
}
tmp_len_arg_1 = var_data;
tmp_iadd_expr_right_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_iadd_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "ooooooo";
goto try_except_handler_6;
}
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
Py_DECREF(tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "ooooooo";
goto try_except_handler_6;
}
tmp_assign_source_15 = tmp_iadd_expr_left_1;
tmp_inplace_assign_1__value = tmp_assign_source_15;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_assattr_value_1 = tmp_inplace_assign_1__value;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[51], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "ooooooo";
goto try_except_handler_6;
}
}
goto try_end_5;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = 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_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
{
bool tmp_condition_result_13;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
PyObject *tmp_expression_value_14;
CHECK_OBJECT(par_self);
tmp_expression_value_14 = par_self;
tmp_cmp_expr_left_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[64]);
if (tmp_cmp_expr_left_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 533;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_9 = Py_None;
tmp_condition_result_13 = (tmp_cmp_expr_left_9 != tmp_cmp_expr_right_9) ? true : false;
Py_DECREF(tmp_cmp_expr_left_9);
if (tmp_condition_result_13 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_assign_source_16;
PyObject *tmp_expression_value_15;
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_assign_source_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[64]);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_2__value == NULL);
tmp_inplace_assign_2__value = tmp_assign_source_16;
}
// Tried code:
{
PyObject *tmp_assign_source_17;
PyObject *tmp_isub_expr_left_1;
PyObject *tmp_isub_expr_right_1;
PyObject *tmp_len_arg_2;
CHECK_OBJECT(tmp_inplace_assign_2__value);
tmp_isub_expr_left_1 = tmp_inplace_assign_2__value;
if (var_data == NULL) {
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 = 534;
type_description_1 = "ooooooo";
goto try_except_handler_7;
}
tmp_len_arg_2 = var_data;
tmp_isub_expr_right_1 = BUILTIN_LEN(tmp_len_arg_2);
if (tmp_isub_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "ooooooo";
goto try_except_handler_7;
}
tmp_result = INPLACE_OPERATION_SUB_OBJECT_LONG(&tmp_isub_expr_left_1, tmp_isub_expr_right_1);
Py_DECREF(tmp_isub_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "ooooooo";
goto try_except_handler_7;
}
tmp_assign_source_17 = tmp_isub_expr_left_1;
tmp_inplace_assign_2__value = tmp_assign_source_17;
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(tmp_inplace_assign_2__value);
tmp_assattr_value_2 = tmp_inplace_assign_2__value;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[64], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "ooooooo";
goto try_except_handler_7;
}
}
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;
CHECK_OBJECT(tmp_inplace_assign_2__value);
Py_DECREF(tmp_inplace_assign_2__value);
tmp_inplace_assign_2__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_inplace_assign_2__value);
Py_DECREF(tmp_inplace_assign_2__value);
tmp_inplace_assign_2__value = NULL;
branch_no_11:;
{
PyObject *tmp_assign_source_18;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_16;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
CHECK_OBJECT(par_self);
tmp_expression_value_16 = par_self;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[120]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 536;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
if (var_data == NULL) {
Py_DECREF(tmp_called_value_6);
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 = 536;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = var_data;
CHECK_OBJECT(par_decode_content);
tmp_args_element_value_8 = par_decode_content;
CHECK_OBJECT(var_flush_decoder);
tmp_args_element_value_9 = var_flush_decoder;
frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame.f_lineno = 536;
{
PyObject *call_args[] = {tmp_args_element_value_7, tmp_args_element_value_8, tmp_args_element_value_9};
tmp_assign_source_18 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_6, call_args);
}
Py_DECREF(tmp_called_value_6);
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 536;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_data;
var_data = tmp_assign_source_18;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_14;
int tmp_truth_name_3;
CHECK_OBJECT(par_cache_content);
tmp_truth_name_3 = CHECK_IF_TRUE(par_cache_content);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 538;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_14 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(var_data);
tmp_assattr_value_3 = var_data;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[48], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
}
branch_no_12:;
branch_no_10:;
if (var_data == NULL) {
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 = 541;
type_description_1 = "ooooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_data;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0b67cc5343033ed9e760f09ae4b0d14e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0b67cc5343033ed9e760f09ae4b0d14e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0b67cc5343033ed9e760f09ae4b0d14e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0b67cc5343033ed9e760f09ae4b0d14e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0b67cc5343033ed9e760f09ae4b0d14e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0b67cc5343033ed9e760f09ae4b0d14e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0b67cc5343033ed9e760f09ae4b0d14e,
type_description_1,
par_self,
par_amt,
par_decode_content,
par_cache_content,
var_flush_decoder,
var_fp_closed,
var_data
);
// Release cached frame if used for exception.
if (frame_0b67cc5343033ed9e760f09ae4b0d14e == cache_frame_0b67cc5343033ed9e760f09ae4b0d14e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0b67cc5343033ed9e760f09ae4b0d14e);
cache_frame_0b67cc5343033ed9e760f09ae4b0d14e = NULL;
}
assertFrameObject(frame_0b67cc5343033ed9e760f09ae4b0d14e);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_decode_content);
par_decode_content = NULL;
CHECK_OBJECT(par_cache_content);
Py_DECREF(par_cache_content);
par_cache_content = NULL;
Py_XDECREF(var_flush_decoder);
var_flush_decoder = NULL;
Py_XDECREF(var_fp_closed);
var_fp_closed = NULL;
Py_XDECREF(var_data);
var_data = 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(par_decode_content);
par_decode_content = NULL;
CHECK_OBJECT(par_cache_content);
Py_DECREF(par_cache_content);
par_cache_content = NULL;
Py_XDECREF(var_flush_decoder);
var_flush_decoder = NULL;
Py_XDECREF(var_fp_closed);
var_fp_closed = NULL;
Py_XDECREF(var_data);
var_data = 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_amt);
Py_DECREF(par_amt);
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_amt);
Py_DECREF(par_amt);
// 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_urllib3$response$$$function__27_stream(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_amt = Nuitka_Cell_New1(python_pars[1]);
struct Nuitka_CellObject *par_decode_content = Nuitka_Cell_New1(python_pars[2]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[3];
tmp_closure_1[0] = par_amt;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_decode_content;
Py_INCREF(tmp_closure_1[1]);
tmp_closure_1[2] = par_self;
Py_INCREF(tmp_closure_1[2]);
tmp_return_value = MAKE_GENERATOR_urllib3$response$$$function__27_stream$$$genobj__1_stream(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_amt);
Py_DECREF(par_amt);
CHECK_OBJECT(par_decode_content);
Py_DECREF(par_decode_content);
// 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 urllib3$response$$$function__27_stream$$$genobj__1_stream_locals {
PyObject *var_line;
PyObject *var_data;
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;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
};
static PyObject *urllib3$response$$$function__27_stream$$$genobj__1_stream_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 urllib3$response$$$function__27_stream$$$genobj__1_stream_locals *generator_heap = (struct urllib3$response$$$function__27_stream$$$genobj__1_stream_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_line = NULL;
generator_heap->var_data = 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_c3e74a683c4a240e98aa63b47f062203, module_urllib3$response, 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:
{
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_called_instance_1;
PyObject *tmp_call_result_1;
int tmp_truth_name_2;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 559;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[58]);
if (tmp_attribute_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 = 559;
generator_heap->type_description_1 = "cccoo";
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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_attribute_value_1);
generator_heap->exception_lineno = 559;
generator_heap->type_description_1 = "cccoo";
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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 559;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 559;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(generator->m_closure[2]);
generator->m_frame->m_frame.f_lineno = 559;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[123]);
if (tmp_call_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 = 559;
generator_heap->type_description_1 = "cccoo";
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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_call_result_1);
generator_heap->exception_lineno = 559;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
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_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_dict_value_0_1;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 560;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[124]);
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 = 560;
generator_heap->type_description_1 = "cccoo";
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[125]);
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 = 560;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_kw_call_arg_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[43]);
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 = 560;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_0_1 = Nuitka_Cell_GET(generator->m_closure[1]);
generator->m_frame->m_frame.f_lineno = 560;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[65]);
}
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 = 560;
generator_heap->type_description_1 = "cccoo";
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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 560;
generator_heap->type_description_1 = "cccoo";
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_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 = "cccoo";
generator_heap->exception_lineno = 560;
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_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_line;
generator_heap->var_line = tmp_assign_source_3;
Py_INCREF(generator_heap->var_line);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_3;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_line);
tmp_expression_value_3 = generator_heap->var_line;
Py_INCREF(tmp_expression_value_3);
generator->m_yield_return_index = 1;
return tmp_expression_value_3;
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 = 561;
generator_heap->type_description_1 = "cccoo";
goto try_except_handler_2;
}
tmp_yield_result_1 = yield_return_value;
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 560;
generator_heap->type_description_1 = "cccoo";
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_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 frame_exception_exit_1;
// End of try:
try_end_1:;
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:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_4;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[74]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[74]);
}
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 = 563;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 563;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[49]);
if (tmp_args_element_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 = 563;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
generator->m_frame->m_frame.f_lineno = 563;
tmp_operand_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_operand_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 = 563;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
generator_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_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 = 563;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = (generator_heap->tmp_res == 0) ? Py_True : Py_False;
generator_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
assert(!(generator_heap->tmp_res == -1));
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:;
goto loop_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_kw_call_value_1_1;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 564;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[57]);
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 = 564;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
Py_DECREF(tmp_called_value_3);
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[125]);
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 = 564;
generator_heap->type_description_1 = "cccoo";
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_3);
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[43]);
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 = 564;
generator_heap->type_description_1 = "cccoo";
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 = 564;
{
PyObject *kw_values[2] = {tmp_kw_call_value_0_1, tmp_kw_call_value_1_1};
tmp_assign_source_4 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_3, kw_values, mod_consts[126]);
}
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 564;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
{
PyObject *old = generator_heap->var_data;
generator_heap->var_data = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_3;
int tmp_truth_name_3;
CHECK_OBJECT(generator_heap->var_data);
tmp_truth_name_3 = CHECK_IF_TRUE(generator_heap->var_data);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 566;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_expression_value_6;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_2;
CHECK_OBJECT(generator_heap->var_data);
tmp_expression_value_6 = generator_heap->var_data;
Py_INCREF(tmp_expression_value_6);
generator->m_yield_return_index = 2;
return tmp_expression_value_6;
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 = 567;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
tmp_yield_result_2 = yield_return_value;
}
branch_no_3:;
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 = 563;
generator_heap->type_description_1 = "cccoo";
goto frame_exception_exit_1;
}
goto loop_start_2;
loop_end_2:;
branch_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,
generator->m_closure[2],
generator->m_closure[0],
generator->m_closure[1],
generator_heap->var_line,
generator_heap->var_data
);
// 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_line);
generator_heap->var_line = NULL;
Py_XDECREF(generator_heap->var_data);
generator_heap->var_data = 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->var_line);
generator_heap->var_line = NULL;
Py_XDECREF(generator_heap->var_data);
generator_heap->var_data = 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_urllib3$response$$$function__27_stream$$$genobj__1_stream(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
urllib3$response$$$function__27_stream$$$genobj__1_stream_context,
module_urllib3$response,
mod_consts[127],
#if PYTHON_VERSION >= 0x350
mod_consts[128],
#endif
codeobj_c3e74a683c4a240e98aa63b47f062203,
closure,
3,
sizeof(struct urllib3$response$$$function__27_stream$$$genobj__1_stream_locals)
);
}
static PyObject *impl_urllib3$response$$$function__28_from_httplib(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_ResponseCls = python_pars[0];
PyObject *par_r = python_pars[1];
PyObject *par_response_kw = python_pars[2];
PyObject *var_headers = NULL;
PyObject *var_strict = NULL;
PyObject *var_resp = NULL;
struct Nuitka_FrameObject *frame_fc95ba0b78983beea045b12b0a59f2cd;
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_fc95ba0b78983beea045b12b0a59f2cd = 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_fc95ba0b78983beea045b12b0a59f2cd)) {
Py_XDECREF(cache_frame_fc95ba0b78983beea045b12b0a59f2cd);
#if _DEBUG_REFCOUNTS
if (cache_frame_fc95ba0b78983beea045b12b0a59f2cd == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_fc95ba0b78983beea045b12b0a59f2cd = MAKE_FUNCTION_FRAME(codeobj_fc95ba0b78983beea045b12b0a59f2cd, module_urllib3$response, 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_fc95ba0b78983beea045b12b0a59f2cd->m_type_description == NULL);
frame_fc95ba0b78983beea045b12b0a59f2cd = cache_frame_fc95ba0b78983beea045b12b0a59f2cd;
// Push the new frame as the currently active one.
pushFrameStack(frame_fc95ba0b78983beea045b12b0a59f2cd);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_fc95ba0b78983beea045b12b0a59f2cd) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_r);
tmp_expression_value_1 = par_r;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[52]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_headers == NULL);
var_headers = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_headers);
tmp_isinstance_inst_1 = var_headers;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[37]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[37]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 580;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 580;
type_description_1 = "oooooo";
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 = 580;
type_description_1 = "oooooo";
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:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_mvar_value_1;
int tmp_truth_name_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[129]);
if (unlikely(tmp_mvar_value_1 == NULL)) {
tmp_mvar_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[129]);
}
if (tmp_mvar_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 581;
type_description_1 = "oooooo";
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 = 581;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[37]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[37]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 582;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_headers);
tmp_expression_value_2 = var_headers;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[130]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 582;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_fc95ba0b78983beea045b12b0a59f2cd->m_frame.f_lineno = 582;
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 = 582;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_fc95ba0b78983beea045b12b0a59f2cd->m_frame.f_lineno = 582;
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 = 582;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_headers;
assert(old != NULL);
var_headers = tmp_assign_source_2;
Py_DECREF(old);
}
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_2;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[37]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[37]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 585;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_headers);
tmp_args_element_value_2 = var_headers;
frame_fc95ba0b78983beea045b12b0a59f2cd->m_frame.f_lineno = 585;
tmp_assign_source_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[131], 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 = 585;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_headers;
assert(old != NULL);
var_headers = tmp_assign_source_3;
Py_DECREF(old);
}
}
branch_end_2:;
branch_no_1:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
CHECK_OBJECT(par_r);
tmp_getattr_target_1 = par_r;
tmp_getattr_attr_1 = mod_consts[42];
tmp_getattr_default_1 = mod_consts[29];
tmp_assign_source_4 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 588;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_strict == NULL);
var_strict = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_dircall_arg3_1;
CHECK_OBJECT(par_ResponseCls);
tmp_dircall_arg1_1 = par_ResponseCls;
tmp_dict_key_1 = mod_consts[132];
CHECK_OBJECT(par_r);
tmp_dict_value_1 = par_r;
tmp_dircall_arg2_1 = _PyDict_NewPresized( 7 );
{
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[38];
CHECK_OBJECT(var_headers);
tmp_dict_value_1 = var_headers;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[39];
CHECK_OBJECT(par_r);
tmp_expression_value_3 = par_r;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[39]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 592;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[40];
CHECK_OBJECT(par_r);
tmp_expression_value_4 = par_r;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[40]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 593;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[41];
CHECK_OBJECT(par_r);
tmp_expression_value_5 = par_r;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[41]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 594;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[42];
CHECK_OBJECT(var_strict);
tmp_dict_value_1 = var_strict;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[133];
CHECK_OBJECT(par_r);
tmp_dict_value_1 = par_r;
tmp_res = PyDict_SetItem(tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_dircall_arg2_1);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
CHECK_OBJECT(par_response_kw);
tmp_dircall_arg3_1 = par_response_kw;
Py_INCREF(tmp_dircall_arg1_1);
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_assign_source_5 = impl___main__$$$function__9_complex_call_helper_keywords_star_dict(dir_call_args);
}
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 589;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_resp == NULL);
var_resp = tmp_assign_source_5;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_fc95ba0b78983beea045b12b0a59f2cd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_fc95ba0b78983beea045b12b0a59f2cd);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_fc95ba0b78983beea045b12b0a59f2cd, exception_lineno);
} else if (exception_tb->tb_frame != &frame_fc95ba0b78983beea045b12b0a59f2cd->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_fc95ba0b78983beea045b12b0a59f2cd, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_fc95ba0b78983beea045b12b0a59f2cd,
type_description_1,
par_ResponseCls,
par_r,
par_response_kw,
var_headers,
var_strict,
var_resp
);
// Release cached frame if used for exception.
if (frame_fc95ba0b78983beea045b12b0a59f2cd == cache_frame_fc95ba0b78983beea045b12b0a59f2cd) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_fc95ba0b78983beea045b12b0a59f2cd);
cache_frame_fc95ba0b78983beea045b12b0a59f2cd = NULL;
}
assertFrameObject(frame_fc95ba0b78983beea045b12b0a59f2cd);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_resp);
tmp_return_value = var_resp;
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_headers);
Py_DECREF(var_headers);
var_headers = NULL;
CHECK_OBJECT(var_strict);
Py_DECREF(var_strict);
var_strict = NULL;
CHECK_OBJECT(var_resp);
Py_DECREF(var_resp);
var_resp = 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_headers);
var_headers = NULL;
Py_XDECREF(var_strict);
var_strict = 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_ResponseCls);
Py_DECREF(par_ResponseCls);
CHECK_OBJECT(par_r);
Py_DECREF(par_r);
CHECK_OBJECT(par_response_kw);
Py_DECREF(par_response_kw);
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_ResponseCls);
Py_DECREF(par_ResponseCls);
CHECK_OBJECT(par_r);
Py_DECREF(par_r);
CHECK_OBJECT(par_response_kw);
Py_DECREF(par_response_kw);
// 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_urllib3$response$$$function__29_getheaders(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_a4ea8b326d9fa80e1ea5edc30cbc11d0;
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_a4ea8b326d9fa80e1ea5edc30cbc11d0 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a4ea8b326d9fa80e1ea5edc30cbc11d0)) {
Py_XDECREF(cache_frame_a4ea8b326d9fa80e1ea5edc30cbc11d0);
#if _DEBUG_REFCOUNTS
if (cache_frame_a4ea8b326d9fa80e1ea5edc30cbc11d0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a4ea8b326d9fa80e1ea5edc30cbc11d0 = MAKE_FUNCTION_FRAME(codeobj_a4ea8b326d9fa80e1ea5edc30cbc11d0, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a4ea8b326d9fa80e1ea5edc30cbc11d0->m_type_description == NULL);
frame_a4ea8b326d9fa80e1ea5edc30cbc11d0 = cache_frame_a4ea8b326d9fa80e1ea5edc30cbc11d0;
// Push the new frame as the currently active one.
pushFrameStack(frame_a4ea8b326d9fa80e1ea5edc30cbc11d0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a4ea8b326d9fa80e1ea5edc30cbc11d0) == 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[38]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 603;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a4ea8b326d9fa80e1ea5edc30cbc11d0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a4ea8b326d9fa80e1ea5edc30cbc11d0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a4ea8b326d9fa80e1ea5edc30cbc11d0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a4ea8b326d9fa80e1ea5edc30cbc11d0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a4ea8b326d9fa80e1ea5edc30cbc11d0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a4ea8b326d9fa80e1ea5edc30cbc11d0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a4ea8b326d9fa80e1ea5edc30cbc11d0,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_a4ea8b326d9fa80e1ea5edc30cbc11d0 == cache_frame_a4ea8b326d9fa80e1ea5edc30cbc11d0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a4ea8b326d9fa80e1ea5edc30cbc11d0);
cache_frame_a4ea8b326d9fa80e1ea5edc30cbc11d0 = NULL;
}
assertFrameObject(frame_a4ea8b326d9fa80e1ea5edc30cbc11d0);
// 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_urllib3$response$$$function__30_getheader(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_name = python_pars[1];
PyObject *par_default = python_pars[2];
struct Nuitka_FrameObject *frame_58a9bad47e4b5ce33e6fd4581f2a7191;
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_58a9bad47e4b5ce33e6fd4581f2a7191 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_58a9bad47e4b5ce33e6fd4581f2a7191)) {
Py_XDECREF(cache_frame_58a9bad47e4b5ce33e6fd4581f2a7191);
#if _DEBUG_REFCOUNTS
if (cache_frame_58a9bad47e4b5ce33e6fd4581f2a7191 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_58a9bad47e4b5ce33e6fd4581f2a7191 = MAKE_FUNCTION_FRAME(codeobj_58a9bad47e4b5ce33e6fd4581f2a7191, module_urllib3$response, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_58a9bad47e4b5ce33e6fd4581f2a7191->m_type_description == NULL);
frame_58a9bad47e4b5ce33e6fd4581f2a7191 = cache_frame_58a9bad47e4b5ce33e6fd4581f2a7191;
// Push the new frame as the currently active one.
pushFrameStack(frame_58a9bad47e4b5ce33e6fd4581f2a7191);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_58a9bad47e4b5ce33e6fd4581f2a7191) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
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 = 606;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[60]);
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 = 606;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_name);
tmp_args_element_value_1 = par_name;
CHECK_OBJECT(par_default);
tmp_args_element_value_2 = par_default;
frame_58a9bad47e4b5ce33e6fd4581f2a7191->m_frame.f_lineno = 606;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 606;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_58a9bad47e4b5ce33e6fd4581f2a7191);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_58a9bad47e4b5ce33e6fd4581f2a7191);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_58a9bad47e4b5ce33e6fd4581f2a7191);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_58a9bad47e4b5ce33e6fd4581f2a7191, exception_lineno);
} else if (exception_tb->tb_frame != &frame_58a9bad47e4b5ce33e6fd4581f2a7191->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_58a9bad47e4b5ce33e6fd4581f2a7191, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_58a9bad47e4b5ce33e6fd4581f2a7191,
type_description_1,
par_self,
par_name,
par_default
);
// Release cached frame if used for exception.
if (frame_58a9bad47e4b5ce33e6fd4581f2a7191 == cache_frame_58a9bad47e4b5ce33e6fd4581f2a7191) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_58a9bad47e4b5ce33e6fd4581f2a7191);
cache_frame_58a9bad47e4b5ce33e6fd4581f2a7191 = NULL;
}
assertFrameObject(frame_58a9bad47e4b5ce33e6fd4581f2a7191);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_urllib3$response$$$function__31_info(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_85ff1a86f313882e81e3165c9f2246a3;
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_85ff1a86f313882e81e3165c9f2246a3 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_85ff1a86f313882e81e3165c9f2246a3)) {
Py_XDECREF(cache_frame_85ff1a86f313882e81e3165c9f2246a3);
#if _DEBUG_REFCOUNTS
if (cache_frame_85ff1a86f313882e81e3165c9f2246a3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_85ff1a86f313882e81e3165c9f2246a3 = MAKE_FUNCTION_FRAME(codeobj_85ff1a86f313882e81e3165c9f2246a3, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_85ff1a86f313882e81e3165c9f2246a3->m_type_description == NULL);
frame_85ff1a86f313882e81e3165c9f2246a3 = cache_frame_85ff1a86f313882e81e3165c9f2246a3;
// Push the new frame as the currently active one.
pushFrameStack(frame_85ff1a86f313882e81e3165c9f2246a3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_85ff1a86f313882e81e3165c9f2246a3) == 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[38]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 610;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_85ff1a86f313882e81e3165c9f2246a3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_85ff1a86f313882e81e3165c9f2246a3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_85ff1a86f313882e81e3165c9f2246a3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_85ff1a86f313882e81e3165c9f2246a3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_85ff1a86f313882e81e3165c9f2246a3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_85ff1a86f313882e81e3165c9f2246a3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_85ff1a86f313882e81e3165c9f2246a3,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_85ff1a86f313882e81e3165c9f2246a3 == cache_frame_85ff1a86f313882e81e3165c9f2246a3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_85ff1a86f313882e81e3165c9f2246a3);
cache_frame_85ff1a86f313882e81e3165c9f2246a3 = NULL;
}
assertFrameObject(frame_85ff1a86f313882e81e3165c9f2246a3);
// 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_urllib3$response$$$function__32_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];
struct Nuitka_FrameObject *frame_f97ef6146e52f3e57072b676f8c14bbc;
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_f97ef6146e52f3e57072b676f8c14bbc = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_f97ef6146e52f3e57072b676f8c14bbc)) {
Py_XDECREF(cache_frame_f97ef6146e52f3e57072b676f8c14bbc);
#if _DEBUG_REFCOUNTS
if (cache_frame_f97ef6146e52f3e57072b676f8c14bbc == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f97ef6146e52f3e57072b676f8c14bbc = MAKE_FUNCTION_FRAME(codeobj_f97ef6146e52f3e57072b676f8c14bbc, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f97ef6146e52f3e57072b676f8c14bbc->m_type_description == NULL);
frame_f97ef6146e52f3e57072b676f8c14bbc = cache_frame_f97ef6146e52f3e57072b676f8c14bbc;
// Push the new frame as the currently active one.
pushFrameStack(frame_f97ef6146e52f3e57072b676f8c14bbc);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f97ef6146e52f3e57072b676f8c14bbc) == 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[114]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 614;
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 = 614;
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_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[49]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 615;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_f97ef6146e52f3e57072b676f8c14bbc->m_frame.f_lineno = 615;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[108]);
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 = 615;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[56]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
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 = 617;
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_called_instance_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_2;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[56]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 618;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_f97ef6146e52f3e57072b676f8c14bbc->m_frame.f_lineno = 618;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[108]);
Py_DECREF(tmp_called_instance_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 618;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_operand_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[46]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_1;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
assert(!(tmp_expression_value_6 == NULL));
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[136]);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 621;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_1 = par_self;
frame_f97ef6146e52f3e57072b676f8c14bbc->m_frame.f_lineno = 621;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[108], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_3);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 621;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f97ef6146e52f3e57072b676f8c14bbc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f97ef6146e52f3e57072b676f8c14bbc);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f97ef6146e52f3e57072b676f8c14bbc, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f97ef6146e52f3e57072b676f8c14bbc->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f97ef6146e52f3e57072b676f8c14bbc, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f97ef6146e52f3e57072b676f8c14bbc,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_f97ef6146e52f3e57072b676f8c14bbc == cache_frame_f97ef6146e52f3e57072b676f8c14bbc) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f97ef6146e52f3e57072b676f8c14bbc);
cache_frame_f97ef6146e52f3e57072b676f8c14bbc = NULL;
}
assertFrameObject(frame_f97ef6146e52f3e57072b676f8c14bbc);
// 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_urllib3$response$$$function__33_closed(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_dc96524f1569a4afcb30dab8f58b04dd;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_dc96524f1569a4afcb30dab8f58b04dd = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_dc96524f1569a4afcb30dab8f58b04dd)) {
Py_XDECREF(cache_frame_dc96524f1569a4afcb30dab8f58b04dd);
#if _DEBUG_REFCOUNTS
if (cache_frame_dc96524f1569a4afcb30dab8f58b04dd == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_dc96524f1569a4afcb30dab8f58b04dd = MAKE_FUNCTION_FRAME(codeobj_dc96524f1569a4afcb30dab8f58b04dd, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_dc96524f1569a4afcb30dab8f58b04dd->m_type_description == NULL);
frame_dc96524f1569a4afcb30dab8f58b04dd = cache_frame_dc96524f1569a4afcb30dab8f58b04dd;
// Push the new frame as the currently active one.
pushFrameStack(frame_dc96524f1569a4afcb30dab8f58b04dd);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_dc96524f1569a4afcb30dab8f58b04dd) == 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[46]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 625;
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 = 625;
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_called_instance_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
assert(!(tmp_expression_value_3 == NULL));
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[136]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 626;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[114]);
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 = 626;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_1 = par_self;
frame_dc96524f1569a4afcb30dab8f58b04dd->m_frame.f_lineno = 626;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[137], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 626;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_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_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[49]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 627;
type_description_1 = "o";
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:;
tmp_return_value = Py_True;
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_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[49]);
if (tmp_expression_value_5 == 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_attribute_value_1 = mod_consts[109];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_5, tmp_attribute_value_1);
Py_DECREF(tmp_expression_value_5);
if (tmp_res == -1) {
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_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_instance_2;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[49]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_dc96524f1569a4afcb30dab8f58b04dd->m_frame.f_lineno = 630;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[109]);
Py_DECREF(tmp_called_instance_2);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_3;
branch_no_3:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_attribute_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[49]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_attribute_value_2 = mod_consts[114];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_8, tmp_attribute_value_2);
Py_DECREF(tmp_expression_value_8);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(par_self);
tmp_expression_value_11 = par_self;
tmp_expression_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[49]);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 632;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[114]);
Py_DECREF(tmp_expression_value_10);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 632;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_4;
branch_no_4:;
tmp_return_value = Py_True;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_end_4:;
branch_end_3:;
branch_end_2:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dc96524f1569a4afcb30dab8f58b04dd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dc96524f1569a4afcb30dab8f58b04dd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dc96524f1569a4afcb30dab8f58b04dd);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_dc96524f1569a4afcb30dab8f58b04dd, exception_lineno);
} else if (exception_tb->tb_frame != &frame_dc96524f1569a4afcb30dab8f58b04dd->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_dc96524f1569a4afcb30dab8f58b04dd, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_dc96524f1569a4afcb30dab8f58b04dd,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_dc96524f1569a4afcb30dab8f58b04dd == cache_frame_dc96524f1569a4afcb30dab8f58b04dd) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_dc96524f1569a4afcb30dab8f58b04dd);
cache_frame_dc96524f1569a4afcb30dab8f58b04dd = NULL;
}
assertFrameObject(frame_dc96524f1569a4afcb30dab8f58b04dd);
// 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_urllib3$response$$$function__34_fileno(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_ecce98adb9379861322251bfbfdf9777;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_ecce98adb9379861322251bfbfdf9777 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ecce98adb9379861322251bfbfdf9777)) {
Py_XDECREF(cache_frame_ecce98adb9379861322251bfbfdf9777);
#if _DEBUG_REFCOUNTS
if (cache_frame_ecce98adb9379861322251bfbfdf9777 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ecce98adb9379861322251bfbfdf9777 = MAKE_FUNCTION_FRAME(codeobj_ecce98adb9379861322251bfbfdf9777, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ecce98adb9379861322251bfbfdf9777->m_type_description == NULL);
frame_ecce98adb9379861322251bfbfdf9777 = cache_frame_ecce98adb9379861322251bfbfdf9777;
// Push the new frame as the currently active one.
pushFrameStack(frame_ecce98adb9379861322251bfbfdf9777);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ecce98adb9379861322251bfbfdf9777) == 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[49]);
if (tmp_cmp_expr_left_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;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[138];
frame_ecce98adb9379861322251bfbfdf9777->m_frame.f_lineno = 638;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_IOError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 638;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[49]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 639;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = mod_consts[139];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_2, tmp_attribute_value_1);
Py_DECREF(tmp_expression_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 639;
type_description_1 = "o";
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_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[49]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 640;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_ecce98adb9379861322251bfbfdf9777->m_frame.f_lineno = 640;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[139]);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 640;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_make_exception_arg_2;
tmp_make_exception_arg_2 = mod_consts[140];
frame_ecce98adb9379861322251bfbfdf9777->m_frame.f_lineno = 642;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_IOError, tmp_make_exception_arg_2);
assert(!(tmp_raise_type_2 == NULL));
exception_type = tmp_raise_type_2;
exception_lineno = 642;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
branch_end_2:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ecce98adb9379861322251bfbfdf9777);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ecce98adb9379861322251bfbfdf9777);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ecce98adb9379861322251bfbfdf9777);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ecce98adb9379861322251bfbfdf9777, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ecce98adb9379861322251bfbfdf9777->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ecce98adb9379861322251bfbfdf9777, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ecce98adb9379861322251bfbfdf9777,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_ecce98adb9379861322251bfbfdf9777 == cache_frame_ecce98adb9379861322251bfbfdf9777) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ecce98adb9379861322251bfbfdf9777);
cache_frame_ecce98adb9379861322251bfbfdf9777 = NULL;
}
assertFrameObject(frame_ecce98adb9379861322251bfbfdf9777);
// 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_urllib3$response$$$function__35_flush(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_4972e1afc4cd22a36eee6e3341fcde58;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_4972e1afc4cd22a36eee6e3341fcde58 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_4972e1afc4cd22a36eee6e3341fcde58)) {
Py_XDECREF(cache_frame_4972e1afc4cd22a36eee6e3341fcde58);
#if _DEBUG_REFCOUNTS
if (cache_frame_4972e1afc4cd22a36eee6e3341fcde58 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4972e1afc4cd22a36eee6e3341fcde58 = MAKE_FUNCTION_FRAME(codeobj_4972e1afc4cd22a36eee6e3341fcde58, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4972e1afc4cd22a36eee6e3341fcde58->m_type_description == NULL);
frame_4972e1afc4cd22a36eee6e3341fcde58 = cache_frame_4972e1afc4cd22a36eee6e3341fcde58;
// Push the new frame as the currently active one.
pushFrameStack(frame_4972e1afc4cd22a36eee6e3341fcde58);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4972e1afc4cd22a36eee6e3341fcde58) == 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_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_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_expression_value_3;
PyObject *tmp_attribute_value_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_getattr_target_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[49]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF(tmp_cmp_expr_left_1);
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_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[49]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 650;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = mod_consts[23];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_2, tmp_attribute_value_1);
Py_DECREF(tmp_expression_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 650;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 650;
type_description_1 = "o";
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_4 = par_self;
tmp_getattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[49]);
if (tmp_getattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 651;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_getattr_attr_1 = mod_consts[114];
tmp_getattr_default_1 = Py_False;
tmp_operand_value_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
Py_DECREF(tmp_getattr_target_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 651;
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 = 651;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = (tmp_res == 0) ? 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_called_instance_1;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[49]);
if (tmp_called_instance_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;
}
frame_4972e1afc4cd22a36eee6e3341fcde58->m_frame.f_lineno = 653;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[23]);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 653;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4972e1afc4cd22a36eee6e3341fcde58);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4972e1afc4cd22a36eee6e3341fcde58);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4972e1afc4cd22a36eee6e3341fcde58);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4972e1afc4cd22a36eee6e3341fcde58, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4972e1afc4cd22a36eee6e3341fcde58->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4972e1afc4cd22a36eee6e3341fcde58, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4972e1afc4cd22a36eee6e3341fcde58,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_4972e1afc4cd22a36eee6e3341fcde58 == cache_frame_4972e1afc4cd22a36eee6e3341fcde58) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4972e1afc4cd22a36eee6e3341fcde58);
cache_frame_4972e1afc4cd22a36eee6e3341fcde58 = NULL;
}
assertFrameObject(frame_4972e1afc4cd22a36eee6e3341fcde58);
// 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_urllib3$response$$$function__37_readinto(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_b = python_pars[1];
PyObject *var_temp = NULL;
struct Nuitka_FrameObject *frame_5b1e85b15a5cd6fcc883d4a2d43ac993;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_5b1e85b15a5cd6fcc883d4a2d43ac993 = 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_5b1e85b15a5cd6fcc883d4a2d43ac993)) {
Py_XDECREF(cache_frame_5b1e85b15a5cd6fcc883d4a2d43ac993);
#if _DEBUG_REFCOUNTS
if (cache_frame_5b1e85b15a5cd6fcc883d4a2d43ac993 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5b1e85b15a5cd6fcc883d4a2d43ac993 = MAKE_FUNCTION_FRAME(codeobj_5b1e85b15a5cd6fcc883d4a2d43ac993, module_urllib3$response, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_5b1e85b15a5cd6fcc883d4a2d43ac993->m_type_description == NULL);
frame_5b1e85b15a5cd6fcc883d4a2d43ac993 = cache_frame_5b1e85b15a5cd6fcc883d4a2d43ac993;
// Push the new frame as the currently active one.
pushFrameStack(frame_5b1e85b15a5cd6fcc883d4a2d43ac993);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5b1e85b15a5cd6fcc883d4a2d43ac993) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[57]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 661;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_b);
tmp_len_arg_1 = par_b;
tmp_args_element_value_1 = BUILTIN_LEN(tmp_len_arg_1);
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 = 661;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_5b1e85b15a5cd6fcc883d4a2d43ac993->m_frame.f_lineno = 661;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 661;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_temp == NULL);
var_temp = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
nuitka_digit tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_2;
CHECK_OBJECT(var_temp);
tmp_len_arg_2 = var_temp;
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_2);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 662;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = 0;
tmp_condition_result_1 = RICH_COMPARE_EQ_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
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:;
tmp_return_value = mod_consts[29];
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
PyObject *tmp_stop_value_1;
PyObject *tmp_len_arg_3;
CHECK_OBJECT(var_temp);
tmp_ass_subvalue_1 = var_temp;
CHECK_OBJECT(par_b);
tmp_ass_subscribed_1 = par_b;
CHECK_OBJECT(var_temp);
tmp_len_arg_3 = var_temp;
tmp_stop_value_1 = BUILTIN_LEN(tmp_len_arg_3);
if (tmp_stop_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 665;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_ass_subscript_1 = MAKE_SLICEOBJ1(tmp_stop_value_1);
Py_DECREF(tmp_stop_value_1);
assert(!(tmp_ass_subscript_1 == NULL));
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_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 = 665;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_len_arg_4;
CHECK_OBJECT(var_temp);
tmp_len_arg_4 = var_temp;
tmp_return_value = BUILTIN_LEN(tmp_len_arg_4);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 666;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5b1e85b15a5cd6fcc883d4a2d43ac993);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5b1e85b15a5cd6fcc883d4a2d43ac993);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5b1e85b15a5cd6fcc883d4a2d43ac993);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5b1e85b15a5cd6fcc883d4a2d43ac993, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5b1e85b15a5cd6fcc883d4a2d43ac993->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5b1e85b15a5cd6fcc883d4a2d43ac993, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5b1e85b15a5cd6fcc883d4a2d43ac993,
type_description_1,
par_self,
par_b,
var_temp
);
// Release cached frame if used for exception.
if (frame_5b1e85b15a5cd6fcc883d4a2d43ac993 == cache_frame_5b1e85b15a5cd6fcc883d4a2d43ac993) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5b1e85b15a5cd6fcc883d4a2d43ac993);
cache_frame_5b1e85b15a5cd6fcc883d4a2d43ac993 = NULL;
}
assertFrameObject(frame_5b1e85b15a5cd6fcc883d4a2d43ac993);
// 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_temp);
Py_DECREF(var_temp);
var_temp = 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_temp);
var_temp = 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_b);
Py_DECREF(par_b);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_b);
Py_DECREF(par_b);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_urllib3$response$$$function__38_supports_chunked_reads(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_966ff6f2e5a4704811bdf3568ab48764;
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_966ff6f2e5a4704811bdf3568ab48764 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_966ff6f2e5a4704811bdf3568ab48764)) {
Py_XDECREF(cache_frame_966ff6f2e5a4704811bdf3568ab48764);
#if _DEBUG_REFCOUNTS
if (cache_frame_966ff6f2e5a4704811bdf3568ab48764 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_966ff6f2e5a4704811bdf3568ab48764 = MAKE_FUNCTION_FRAME(codeobj_966ff6f2e5a4704811bdf3568ab48764, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_966ff6f2e5a4704811bdf3568ab48764->m_type_description == NULL);
frame_966ff6f2e5a4704811bdf3568ab48764 = cache_frame_966ff6f2e5a4704811bdf3568ab48764;
// Push the new frame as the currently active one.
pushFrameStack(frame_966ff6f2e5a4704811bdf3568ab48764);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_966ff6f2e5a4704811bdf3568ab48764) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[49]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 675;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = mod_consts[141];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_1, tmp_attribute_value_1);
Py_DECREF(tmp_expression_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 675;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = (tmp_res != 0) ? Py_True : Py_False;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_966ff6f2e5a4704811bdf3568ab48764);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_966ff6f2e5a4704811bdf3568ab48764);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_966ff6f2e5a4704811bdf3568ab48764);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_966ff6f2e5a4704811bdf3568ab48764, exception_lineno);
} else if (exception_tb->tb_frame != &frame_966ff6f2e5a4704811bdf3568ab48764->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_966ff6f2e5a4704811bdf3568ab48764, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_966ff6f2e5a4704811bdf3568ab48764,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_966ff6f2e5a4704811bdf3568ab48764 == cache_frame_966ff6f2e5a4704811bdf3568ab48764) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_966ff6f2e5a4704811bdf3568ab48764);
cache_frame_966ff6f2e5a4704811bdf3568ab48764 = NULL;
}
assertFrameObject(frame_966ff6f2e5a4704811bdf3568ab48764);
// 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_urllib3$response$$$function__39__update_chunk_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 *var_line = NULL;
struct Nuitka_FrameObject *frame_1d1e7f122bdd241fd5e54649816263e9;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
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;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
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_1d1e7f122bdd241fd5e54649816263e9 = 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_1d1e7f122bdd241fd5e54649816263e9)) {
Py_XDECREF(cache_frame_1d1e7f122bdd241fd5e54649816263e9);
#if _DEBUG_REFCOUNTS
if (cache_frame_1d1e7f122bdd241fd5e54649816263e9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1d1e7f122bdd241fd5e54649816263e9 = MAKE_FUNCTION_FRAME(codeobj_1d1e7f122bdd241fd5e54649816263e9, module_urllib3$response, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1d1e7f122bdd241fd5e54649816263e9->m_type_description == NULL);
frame_1d1e7f122bdd241fd5e54649816263e9 = cache_frame_1d1e7f122bdd241fd5e54649816263e9;
// Push the new frame as the currently active one.
pushFrameStack(frame_1d1e7f122bdd241fd5e54649816263e9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1d1e7f122bdd241fd5e54649816263e9) == 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[59]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 680;
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:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_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[49]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[141]);
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 = 682;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_1d1e7f122bdd241fd5e54649816263e9->m_frame.f_lineno = 682;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[143]);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 682;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_line == NULL);
var_line = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_line);
tmp_expression_value_5 = var_line;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[24]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 683;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_1d1e7f122bdd241fd5e54649816263e9->m_frame.f_lineno = 683;
tmp_expression_value_4 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_1, mod_consts[144]);
Py_DECREF(tmp_called_value_1);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 683;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[29];
tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_1, 0);
Py_DECREF(tmp_expression_value_4);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 683;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_line;
assert(old != NULL);
var_line = tmp_assign_source_2;
Py_DECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_value_value_1;
PyObject *tmp_base_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(var_line);
tmp_value_value_1 = var_line;
tmp_base_value_1 = mod_consts[9];
tmp_assattr_value_1 = BUILTIN_INT2(tmp_value_value_1, tmp_base_value_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 685;
type_description_1 = "oo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[59], 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 = 685;
type_description_1 = "oo";
goto try_except_handler_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_1d1e7f122bdd241fd5e54649816263e9, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_1d1e7f122bdd241fd5e54649816263e9, 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_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_ValueError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_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_called_instance_2;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
frame_1d1e7f122bdd241fd5e54649816263e9->m_frame.f_lineno = 688;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[108]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 688;
type_description_1 = "oo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_1;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[145]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[145]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 689;
type_description_1 = "oo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_line);
tmp_args_element_value_1 = var_line;
frame_1d1e7f122bdd241fd5e54649816263e9->m_frame.f_lineno = 689;
tmp_raise_type_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[118], tmp_args_element_value_1);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 689;
type_description_1 = "oo";
goto try_except_handler_3;
}
exception_type = tmp_raise_type_1;
exception_lineno = 689;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto try_except_handler_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 = 684;
}
if (exception_tb && exception_tb->tb_frame == &frame_1d1e7f122bdd241fd5e54649816263e9->m_frame) frame_1d1e7f122bdd241fd5e54649816263e9->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_3;
branch_end_2:;
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_1d1e7f122bdd241fd5e54649816263e9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1d1e7f122bdd241fd5e54649816263e9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1d1e7f122bdd241fd5e54649816263e9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1d1e7f122bdd241fd5e54649816263e9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1d1e7f122bdd241fd5e54649816263e9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1d1e7f122bdd241fd5e54649816263e9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1d1e7f122bdd241fd5e54649816263e9,
type_description_1,
par_self,
var_line
);
// Release cached frame if used for exception.
if (frame_1d1e7f122bdd241fd5e54649816263e9 == cache_frame_1d1e7f122bdd241fd5e54649816263e9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1d1e7f122bdd241fd5e54649816263e9);
cache_frame_1d1e7f122bdd241fd5e54649816263e9 = NULL;
}
assertFrameObject(frame_1d1e7f122bdd241fd5e54649816263e9);
// 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_line);
var_line = 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_line);
var_line = 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_urllib3$response$$$function__40__handle_chunk(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_amt = python_pars[1];
PyObject *var_returned_chunk = NULL;
PyObject *var_chunk = NULL;
PyObject *var_value = NULL;
struct Nuitka_FrameObject *frame_0e76018e69557c9d6aa87b9dbf9de5d6;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_0e76018e69557c9d6aa87b9dbf9de5d6 = 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_0e76018e69557c9d6aa87b9dbf9de5d6)) {
Py_XDECREF(cache_frame_0e76018e69557c9d6aa87b9dbf9de5d6);
#if _DEBUG_REFCOUNTS
if (cache_frame_0e76018e69557c9d6aa87b9dbf9de5d6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0e76018e69557c9d6aa87b9dbf9de5d6 = MAKE_FUNCTION_FRAME(codeobj_0e76018e69557c9d6aa87b9dbf9de5d6, module_urllib3$response, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0e76018e69557c9d6aa87b9dbf9de5d6->m_type_description == NULL);
frame_0e76018e69557c9d6aa87b9dbf9de5d6 = cache_frame_0e76018e69557c9d6aa87b9dbf9de5d6;
// Push the new frame as the currently active one.
pushFrameStack(frame_0e76018e69557c9d6aa87b9dbf9de5d6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0e76018e69557c9d6aa87b9dbf9de5d6) == 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_amt);
tmp_cmp_expr_left_1 = par_amt;
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_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[49]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 694;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[146]);
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 = 694;
type_description_1 = "ooooo";
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[59]);
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 = 694;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_0e76018e69557c9d6aa87b9dbf9de5d6->m_frame.f_lineno = 694;
tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 694;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_chunk == NULL);
var_chunk = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(var_chunk);
tmp_assign_source_2 = var_chunk;
assert(var_returned_chunk == NULL);
Py_INCREF(tmp_assign_source_2);
var_returned_chunk = tmp_assign_source_2;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[49]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_0e76018e69557c9d6aa87b9dbf9de5d6->m_frame.f_lineno = 696;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[146],
PyTuple_GET_ITEM(mod_consts[147], 0)
);
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 = 696;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
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[59], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 697;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_amt);
tmp_cmp_expr_left_2 = par_amt;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[59]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 698;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = RICH_COMPARE_LT_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 698;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[49]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 699;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_amt);
tmp_args_element_value_2 = par_amt;
frame_0e76018e69557c9d6aa87b9dbf9de5d6->m_frame.f_lineno = 699;
tmp_assign_source_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[146], tmp_args_element_value_2);
Py_DECREF(tmp_called_instance_2);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 699;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_value == NULL);
var_value = tmp_assign_source_3;
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_sub_expr_left_1;
PyObject *tmp_sub_expr_right_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_sub_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[59]);
if (tmp_sub_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_amt);
tmp_sub_expr_right_1 = par_amt;
tmp_assattr_value_2 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_sub_expr_left_1, tmp_sub_expr_right_1);
Py_DECREF(tmp_sub_expr_left_1);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
type_description_1 = "ooooo";
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[59], 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 = 700;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(var_value);
tmp_assign_source_4 = var_value;
assert(var_returned_chunk == NULL);
Py_INCREF(tmp_assign_source_4);
var_returned_chunk = tmp_assign_source_4;
}
goto branch_end_2;
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(par_amt);
tmp_cmp_expr_left_3 = par_amt;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_cmp_expr_right_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[59]);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 702;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_condition_result_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 702;
type_description_1 = "ooooo";
goto frame_exception_exit_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_5;
PyObject *tmp_called_instance_3;
PyObject *tmp_expression_value_9;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[49]);
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 703;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_amt);
tmp_args_element_value_3 = par_amt;
frame_0e76018e69557c9d6aa87b9dbf9de5d6->m_frame.f_lineno = 703;
tmp_assign_source_5 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[146], tmp_args_element_value_3);
Py_DECREF(tmp_called_instance_3);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 703;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_value == NULL);
var_value = tmp_assign_source_5;
}
{
PyObject *tmp_called_instance_4;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_2;
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_called_instance_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[49]);
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 704;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_0e76018e69557c9d6aa87b9dbf9de5d6->m_frame.f_lineno = 704;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_4,
mod_consts[146],
PyTuple_GET_ITEM(mod_consts[147], 0)
);
Py_DECREF(tmp_called_instance_4);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 704;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
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[59], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 705;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(var_value);
tmp_assign_source_6 = var_value;
assert(var_returned_chunk == NULL);
Py_INCREF(tmp_assign_source_6);
var_returned_chunk = tmp_assign_source_6;
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_11;
PyObject *tmp_expression_value_12;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_13;
CHECK_OBJECT(par_self);
tmp_expression_value_12 = par_self;
tmp_expression_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[49]);
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[146]);
Py_DECREF(tmp_expression_value_11);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_13 = par_self;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[59]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 708;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_0e76018e69557c9d6aa87b9dbf9de5d6->m_frame.f_lineno = 708;
tmp_assign_source_7 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_4);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 708;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_returned_chunk == NULL);
var_returned_chunk = tmp_assign_source_7;
}
{
PyObject *tmp_called_instance_5;
PyObject *tmp_expression_value_14;
PyObject *tmp_call_result_3;
CHECK_OBJECT(par_self);
tmp_expression_value_14 = par_self;
tmp_called_instance_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[49]);
if (tmp_called_instance_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 709;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_0e76018e69557c9d6aa87b9dbf9de5d6->m_frame.f_lineno = 709;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_5,
mod_consts[146],
PyTuple_GET_ITEM(mod_consts[147], 0)
);
Py_DECREF(tmp_called_instance_5);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 709;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
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[59], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 710;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
branch_end_3:;
branch_end_2:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0e76018e69557c9d6aa87b9dbf9de5d6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0e76018e69557c9d6aa87b9dbf9de5d6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0e76018e69557c9d6aa87b9dbf9de5d6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0e76018e69557c9d6aa87b9dbf9de5d6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0e76018e69557c9d6aa87b9dbf9de5d6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0e76018e69557c9d6aa87b9dbf9de5d6,
type_description_1,
par_self,
par_amt,
var_returned_chunk,
var_chunk,
var_value
);
// Release cached frame if used for exception.
if (frame_0e76018e69557c9d6aa87b9dbf9de5d6 == cache_frame_0e76018e69557c9d6aa87b9dbf9de5d6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0e76018e69557c9d6aa87b9dbf9de5d6);
cache_frame_0e76018e69557c9d6aa87b9dbf9de5d6 = NULL;
}
assertFrameObject(frame_0e76018e69557c9d6aa87b9dbf9de5d6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_returned_chunk);
tmp_return_value = var_returned_chunk;
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_returned_chunk);
Py_DECREF(var_returned_chunk);
var_returned_chunk = NULL;
Py_XDECREF(var_chunk);
var_chunk = NULL;
Py_XDECREF(var_value);
var_value = 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_returned_chunk);
var_returned_chunk = NULL;
Py_XDECREF(var_chunk);
var_chunk = NULL;
Py_XDECREF(var_value);
var_value = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto 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_amt);
Py_DECREF(par_amt);
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_amt);
Py_DECREF(par_amt);
// 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_urllib3$response$$$function__41_read_chunked(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_amt = Nuitka_Cell_New1(python_pars[1]);
struct Nuitka_CellObject *par_decode_content = Nuitka_Cell_New1(python_pars[2]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[3];
tmp_closure_1[0] = par_amt;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_decode_content;
Py_INCREF(tmp_closure_1[1]);
tmp_closure_1[2] = par_self;
Py_INCREF(tmp_closure_1[2]);
tmp_return_value = MAKE_GENERATOR_urllib3$response$$$function__41_read_chunked$$$genobj__1_read_chunked(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_amt);
Py_DECREF(par_amt);
CHECK_OBJECT(par_decode_content);
Py_DECREF(par_decode_content);
// 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 urllib3$response$$$function__41_read_chunked$$$genobj__1_read_chunked_locals {
PyObject *var_chunk;
PyObject *var_decoded;
PyObject *var_line;
PyObject *tmp_with_1__enter;
PyObject *tmp_with_1__exit;
nuitka_bool tmp_with_1__indicator;
PyObject *tmp_with_1__source;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
int tmp_res;
PyObject *tmp_return_value;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
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;
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;
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;
};
static PyObject *urllib3$response$$$function__41_read_chunked$$$genobj__1_read_chunked_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 urllib3$response$$$function__41_read_chunked$$$genobj__1_read_chunked_locals *generator_heap = (struct urllib3$response$$$function__41_read_chunked$$$genobj__1_read_chunked_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_decoded = NULL;
generator_heap->var_line = NULL;
generator_heap->tmp_with_1__enter = NULL;
generator_heap->tmp_with_1__exit = NULL;
generator_heap->tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
generator_heap->tmp_with_1__source = 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;
generator_heap->tmp_return_value = NULL;
// 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_5efb7899ac6b31c8f9b5a25f2c3cb949, module_urllib3$response, 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_called_instance_1;
PyObject *tmp_call_result_1;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 727;
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(generator->m_closure[2]);
generator->m_frame->m_frame.f_lineno = 727;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[113]);
if (tmp_call_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 = 727;
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_1;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 729;
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[58]);
if (tmp_operand_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 = 729;
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
generator_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(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 = 729;
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (generator_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[149]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[149]);
}
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 = 730;
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
generator->m_frame->m_frame.f_lineno = 730;
tmp_raise_type_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[150]);
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 = 730;
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
generator_heap->exception_type = tmp_raise_type_1;
generator_heap->exception_lineno = 730;
RAISE_EXCEPTION_WITH_TYPE(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_instance_2;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 734;
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = Nuitka_Cell_GET(generator->m_closure[2]);
generator->m_frame->m_frame.f_lineno = 734;
tmp_operand_value_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[123]);
if (tmp_operand_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 = 734;
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
generator_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_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 = 734;
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
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_raise_type_2;
PyObject *tmp_called_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[151]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]);
}
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 = 735;
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
generator->m_frame->m_frame.f_lineno = 735;
tmp_raise_type_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[152]);
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 = 735;
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
generator_heap->exception_type = tmp_raise_type_2;
generator_heap->exception_lineno = 735;
RAISE_EXCEPTION_WITH_TYPE(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "cccooo";
goto frame_exception_exit_1;
}
branch_no_2:;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_3;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 740;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_2;
}
tmp_called_instance_3 = Nuitka_Cell_GET(generator->m_closure[2]);
generator->m_frame->m_frame.f_lineno = 740;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[111]);
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 = 740;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_2;
}
assert(generator_heap->tmp_with_1__source == NULL);
generator_heap->tmp_with_1__source = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(generator_heap->tmp_with_1__source);
tmp_expression_value_2 = generator_heap->tmp_with_1__source;
tmp_called_value_3 = LOOKUP_SPECIAL(tmp_expression_value_2, mod_consts[115]);
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 = 740;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_2;
}
generator->m_frame->m_frame.f_lineno = 740;
tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
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 = 740;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_2;
}
assert(generator_heap->tmp_with_1__enter == NULL);
generator_heap->tmp_with_1__enter = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(generator_heap->tmp_with_1__source);
tmp_expression_value_3 = generator_heap->tmp_with_1__source;
tmp_assign_source_3 = LOOKUP_SPECIAL(tmp_expression_value_3, mod_consts[116]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 740;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_2;
}
assert(generator_heap->tmp_with_1__exit == NULL);
generator_heap->tmp_with_1__exit = tmp_assign_source_3;
}
{
nuitka_bool tmp_assign_source_4;
tmp_assign_source_4 = NUITKA_BOOL_TRUE;
generator_heap->tmp_with_1__indicator = tmp_assign_source_4;
}
// Tried code:
// Tried code:
{
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;
PyObject *tmp_expression_value_4;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_5;
int tmp_truth_name_2;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 742;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_expression_value_4 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[50]);
if (tmp_attribute_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 = 742;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_attribute_value_1);
generator_heap->exception_lineno = 742;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
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(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 742;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[153]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[153]);
}
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 = 742;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 742;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_expression_value_5 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[50]);
if (tmp_args_element_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 = 742;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
generator->m_frame->m_frame.f_lineno = 742;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 742;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_call_result_2);
generator_heap->exception_lineno = 742;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_and_right_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_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_called_instance_4;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_3;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 743;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_expression_value_6 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_called_instance_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[50]);
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 743;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
generator->m_frame->m_frame.f_lineno = 743;
tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[108]);
Py_DECREF(tmp_called_instance_4);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 743;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_3);
}
generator_heap->tmp_return_value = Py_None;
Py_INCREF(generator_heap->tmp_return_value);
goto try_return_handler_3;
branch_no_3:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = "cccooo";
goto try_except_handler_4;
}
tmp_expression_value_8 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_expression_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[49]);
if (tmp_expression_value_7 == 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 = "cccooo";
goto try_except_handler_4;
}
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[141]);
Py_DECREF(tmp_expression_value_7);
if (tmp_cmp_expr_left_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 = "cccooo";
goto try_except_handler_4;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
generator_heap->tmp_return_value = Py_None;
Py_INCREF(generator_heap->tmp_return_value);
goto try_return_handler_3;
branch_no_4:;
loop_start_1:;
{
PyObject *tmp_called_instance_5;
PyObject *tmp_call_result_4;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 752;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_called_instance_5 = Nuitka_Cell_GET(generator->m_closure[2]);
generator->m_frame->m_frame.f_lineno = 752;
tmp_call_result_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[154]);
if (tmp_call_result_4 == 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 = "cccooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_4);
}
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_9;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 753;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_expression_value_9 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[59]);
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 = 753;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_cmp_expr_right_2 = mod_consts[29];
tmp_condition_result_5 = 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_condition_result_5 == 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 = 753;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
goto loop_end_1;
branch_no_5:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_10;
PyObject *tmp_args_element_value_2;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 755;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_expression_value_10 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[155]);
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 = 755;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
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[125]);
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 = 755;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_args_element_value_2 = Nuitka_Cell_GET(generator->m_closure[0]);
generator->m_frame->m_frame.f_lineno = 755;
tmp_assign_source_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_5);
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 = 755;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
{
PyObject *old = generator_heap->var_chunk;
generator_heap->var_chunk = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_11;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_kw_call_dict_value_1_1;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 756;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_expression_value_11 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[120]);
if (tmp_called_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 = 756;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
CHECK_OBJECT(generator_heap->var_chunk);
tmp_kw_call_arg_value_0_1 = generator_heap->var_chunk;
if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_6);
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[43]);
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 = 757;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_kw_call_dict_value_0_1 = Nuitka_Cell_GET(generator->m_closure[1]);
tmp_kw_call_dict_value_1_1 = Py_False;
generator->m_frame->m_frame.f_lineno = 756;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[2] = {tmp_kw_call_dict_value_0_1, tmp_kw_call_dict_value_1_1};
tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_6, args, kw_values, mod_consts[156]);
}
Py_DECREF(tmp_called_value_6);
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 = 756;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
{
PyObject *old = generator_heap->var_decoded;
generator_heap->var_decoded = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_6;
int tmp_truth_name_3;
CHECK_OBJECT(generator_heap->var_decoded);
tmp_truth_name_3 = CHECK_IF_TRUE(generator_heap->var_decoded);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 759;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_condition_result_6 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_expression_value_12;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_decoded);
tmp_expression_value_12 = generator_heap->var_decoded;
Py_INCREF(tmp_expression_value_12);
generator->m_yield_return_index = 1;
return tmp_expression_value_12;
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 = 760;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_yield_result_1 = yield_return_value;
}
branch_no_6:;
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 = 751;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
goto loop_start_1;
loop_end_1:;
{
nuitka_bool tmp_condition_result_7;
int tmp_truth_name_4;
if (Nuitka_Cell_GET(generator->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[43]);
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 = 762;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_truth_name_4 = CHECK_IF_TRUE(Nuitka_Cell_GET(generator->m_closure[1]));
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 = 762;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_condition_result_7 = tmp_truth_name_4 == 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_assign_source_7;
PyObject *tmp_called_instance_6;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = "cccooo";
goto try_except_handler_4;
}
tmp_called_instance_6 = Nuitka_Cell_GET(generator->m_closure[2]);
generator->m_frame->m_frame.f_lineno = 766;
tmp_assign_source_7 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[94]);
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 = 766;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
{
PyObject *old = generator_heap->var_decoded;
generator_heap->var_decoded = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_8;
int tmp_truth_name_5;
CHECK_OBJECT(generator_heap->var_decoded);
tmp_truth_name_5 = CHECK_IF_TRUE(generator_heap->var_decoded);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 767;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_condition_result_8 = tmp_truth_name_5 == 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_expression_value_13;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_2;
CHECK_OBJECT(generator_heap->var_decoded);
tmp_expression_value_13 = generator_heap->var_decoded;
Py_INCREF(tmp_expression_value_13);
generator->m_yield_return_index = 2;
return tmp_expression_value_13;
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 = 768;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_yield_result_2 = yield_return_value;
}
branch_no_8:;
branch_no_7:;
loop_start_2:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_instance_7;
PyObject *tmp_expression_value_14;
PyObject *tmp_expression_value_15;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 772;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_expression_value_15 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_expression_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[49]);
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 772;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_called_instance_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[141]);
Py_DECREF(tmp_expression_value_14);
if (tmp_called_instance_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 772;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
generator->m_frame->m_frame.f_lineno = 772;
tmp_assign_source_8 = CALL_METHOD_NO_ARGS(tmp_called_instance_7, mod_consts[143]);
Py_DECREF(tmp_called_instance_7);
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 = 772;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
{
PyObject *old = generator_heap->var_line;
generator_heap->var_line = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_9;
PyObject *tmp_operand_value_3;
CHECK_OBJECT(generator_heap->var_line);
tmp_operand_value_3 = generator_heap->var_line;
generator_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_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 = 773;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_condition_result_9 = (generator_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
goto loop_end_2;
branch_no_9:;
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(generator_heap->var_line);
tmp_cmp_expr_left_3 = generator_heap->var_line;
tmp_cmp_expr_right_3 = mod_consts[157];
tmp_condition_result_10 = RICH_COMPARE_EQ_NBOOL_OBJECT_BYTES(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_10 == 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 = 776;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
goto loop_end_2;
branch_no_10:;
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 = 771;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
goto loop_start_2;
loop_end_2:;
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_expression_value_16;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_6;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 780;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_expression_value_16 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[50]);
if (tmp_attribute_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 = 780;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_truth_name_6 = CHECK_IF_TRUE(tmp_attribute_value_2);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(tmp_attribute_value_2);
generator_heap->exception_lineno = 780;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_condition_result_11 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_2);
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_called_instance_8;
PyObject *tmp_expression_value_17;
PyObject *tmp_call_result_5;
if (Nuitka_Cell_GET(generator->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = 781;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
tmp_expression_value_17 = Nuitka_Cell_GET(generator->m_closure[2]);
tmp_called_instance_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[50]);
if (tmp_called_instance_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 781;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
generator->m_frame->m_frame.f_lineno = 781;
tmp_call_result_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_8, mod_consts[108]);
Py_DECREF(tmp_called_instance_8);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 781;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_5);
}
branch_no_11:;
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
// Preserve existing published exception id 1.
generator_heap->exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (generator_heap->exception_keeper_tb_1 == NULL) {
generator_heap->exception_keeper_tb_1 = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_keeper_lineno_1);
} else if (generator_heap->exception_keeper_lineno_1 != 0) {
generator_heap->exception_keeper_tb_1 = ADD_TRACEBACK(generator_heap->exception_keeper_tb_1, generator->m_frame, generator_heap->exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&generator_heap->exception_keeper_type_1, &generator_heap->exception_keeper_value_1, &generator_heap->exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_12;
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 = PyExc_BaseException;
generator_heap->tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
assert(!(generator_heap->tmp_res == -1));
tmp_condition_result_12 = (generator_heap->tmp_res != 0) ? true : false;
if (tmp_condition_result_12 != false) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
nuitka_bool tmp_assign_source_9;
tmp_assign_source_9 = NUITKA_BOOL_FALSE;
generator_heap->tmp_with_1__indicator = tmp_assign_source_9;
}
{
bool tmp_condition_result_13;
PyObject *tmp_operand_value_4;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(generator_heap->tmp_with_1__exit);
tmp_called_value_7 = generator_heap->tmp_with_1__exit;
tmp_args_element_value_3 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_4 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_5 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
generator->m_frame->m_frame.f_lineno = 781;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_operand_value_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_7, call_args);
}
if (tmp_operand_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 = 781;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_5;
}
generator_heap->tmp_res = CHECK_IF_TRUE(tmp_operand_value_4);
Py_DECREF(tmp_operand_value_4);
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 = 781;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_5;
}
tmp_condition_result_13 = (generator_heap->tmp_res == 0) ? true : false;
if (tmp_condition_result_13 != false) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
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 = 781;
}
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 = "cccooo";
goto try_except_handler_5;
branch_no_13:;
goto branch_end_12;
branch_no_12:;
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 = 740;
}
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 = "cccooo";
goto try_except_handler_5;
branch_end_12:;
goto try_end_2;
// Exception handler code:
try_except_handler_5:;
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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&generator_heap->exception_preserved_1);
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&generator_heap->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 try_end_3;
// Return handler code:
try_return_handler_3:;
{
bool tmp_condition_result_14;
nuitka_bool tmp_cmp_expr_left_5;
nuitka_bool tmp_cmp_expr_right_5;
assert(generator_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_5 = generator_heap->tmp_with_1__indicator;
tmp_cmp_expr_right_5 = NUITKA_BOOL_TRUE;
tmp_condition_result_14 = (tmp_cmp_expr_left_5 == tmp_cmp_expr_right_5) ? true : false;
if (tmp_condition_result_14 != false) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
PyObject *tmp_called_value_8;
PyObject *tmp_call_result_6;
CHECK_OBJECT(generator_heap->tmp_with_1__exit);
tmp_called_value_8 = generator_heap->tmp_with_1__exit;
generator->m_frame->m_frame.f_lineno = 781;
tmp_call_result_6 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_8, mod_consts[119]);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 781;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_6);
}
branch_no_14:;
goto try_return_handler_2;
// Exception handler code:
try_except_handler_3:;
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;
{
bool tmp_condition_result_15;
nuitka_bool tmp_cmp_expr_left_6;
nuitka_bool tmp_cmp_expr_right_6;
assert(generator_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_6 = generator_heap->tmp_with_1__indicator;
tmp_cmp_expr_right_6 = NUITKA_BOOL_TRUE;
tmp_condition_result_15 = (tmp_cmp_expr_left_6 == tmp_cmp_expr_right_6) ? true : false;
if (tmp_condition_result_15 != false) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
PyObject *tmp_called_value_9;
PyObject *tmp_call_result_7;
CHECK_OBJECT(generator_heap->tmp_with_1__exit);
tmp_called_value_9 = generator_heap->tmp_with_1__exit;
generator->m_frame->m_frame.f_lineno = 781;
tmp_call_result_7 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_9, mod_consts[119]);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
Py_DECREF(generator_heap->exception_keeper_type_3);
Py_XDECREF(generator_heap->exception_keeper_value_3);
Py_XDECREF(generator_heap->exception_keeper_tb_3);
generator_heap->exception_lineno = 781;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_7);
}
branch_no_15:;
// 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_2;
// End of try:
try_end_3:;
{
bool tmp_condition_result_16;
nuitka_bool tmp_cmp_expr_left_7;
nuitka_bool tmp_cmp_expr_right_7;
assert(generator_heap->tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_7 = generator_heap->tmp_with_1__indicator;
tmp_cmp_expr_right_7 = NUITKA_BOOL_TRUE;
tmp_condition_result_16 = (tmp_cmp_expr_left_7 == tmp_cmp_expr_right_7) ? true : false;
if (tmp_condition_result_16 != false) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
{
PyObject *tmp_called_value_10;
PyObject *tmp_call_result_8;
CHECK_OBJECT(generator_heap->tmp_with_1__exit);
tmp_called_value_10 = generator_heap->tmp_with_1__exit;
generator->m_frame->m_frame.f_lineno = 781;
tmp_call_result_8 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_10, mod_consts[119]);
if (tmp_call_result_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 781;
generator_heap->type_description_1 = "cccooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_8);
}
branch_no_16:;
goto try_end_4;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(generator_heap->tmp_with_1__source);
Py_DECREF(generator_heap->tmp_with_1__source);
generator_heap->tmp_with_1__source = NULL;
CHECK_OBJECT(generator_heap->tmp_with_1__enter);
Py_DECREF(generator_heap->tmp_with_1__enter);
generator_heap->tmp_with_1__enter = NULL;
Py_XDECREF(generator_heap->tmp_with_1__exit);
generator_heap->tmp_with_1__exit = NULL;
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
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->tmp_with_1__source);
generator_heap->tmp_with_1__source = NULL;
Py_XDECREF(generator_heap->tmp_with_1__enter);
generator_heap->tmp_with_1__enter = NULL;
Py_XDECREF(generator_heap->tmp_with_1__exit);
generator_heap->tmp_with_1__exit = 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 frame_exception_exit_1;
// End of try:
try_end_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_return_exit_1:;
#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);
goto function_return_exit;
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[2],
generator->m_closure[0],
generator->m_closure[1],
generator_heap->var_chunk,
generator_heap->var_decoded,
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_5;
// Exception handler code:
try_except_handler_1:;
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_chunk);
generator_heap->var_chunk = NULL;
Py_XDECREF(generator_heap->var_decoded);
generator_heap->var_decoded = NULL;
Py_XDECREF(generator_heap->var_line);
generator_heap->var_line = 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 function_exception_exit;
// End of try:
try_end_5:;
CHECK_OBJECT(generator_heap->tmp_with_1__source);
Py_DECREF(generator_heap->tmp_with_1__source);
generator_heap->tmp_with_1__source = NULL;
CHECK_OBJECT(generator_heap->tmp_with_1__enter);
Py_DECREF(generator_heap->tmp_with_1__enter);
generator_heap->tmp_with_1__enter = NULL;
Py_XDECREF(generator_heap->tmp_with_1__exit);
generator_heap->tmp_with_1__exit = NULL;
Py_XDECREF(generator_heap->var_chunk);
generator_heap->var_chunk = NULL;
Py_XDECREF(generator_heap->var_decoded);
generator_heap->var_decoded = 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;
NUITKA_CANNOT_GET_HERE("Generator must have exited already.");
return NULL;
function_return_exit:
#if PYTHON_VERSION >= 0x300
generator->m_returned = generator_heap->tmp_return_value;
#endif
return NULL;
}
static PyObject *MAKE_GENERATOR_urllib3$response$$$function__41_read_chunked$$$genobj__1_read_chunked(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
urllib3$response$$$function__41_read_chunked$$$genobj__1_read_chunked_context,
module_urllib3$response,
mod_consts[124],
#if PYTHON_VERSION >= 0x350
mod_consts[158],
#endif
codeobj_5efb7899ac6b31c8f9b5a25f2c3cb949,
closure,
3,
sizeof(struct urllib3$response$$$function__41_read_chunked$$$genobj__1_read_chunked_locals)
);
}
static PyObject *impl_urllib3$response$$$function__42_geturl(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_24ebf2e48eae2929e05a4f76dd39765f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_24ebf2e48eae2929e05a4f76dd39765f = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_24ebf2e48eae2929e05a4f76dd39765f)) {
Py_XDECREF(cache_frame_24ebf2e48eae2929e05a4f76dd39765f);
#if _DEBUG_REFCOUNTS
if (cache_frame_24ebf2e48eae2929e05a4f76dd39765f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_24ebf2e48eae2929e05a4f76dd39765f = MAKE_FUNCTION_FRAME(codeobj_24ebf2e48eae2929e05a4f76dd39765f, module_urllib3$response, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_24ebf2e48eae2929e05a4f76dd39765f->m_type_description == NULL);
frame_24ebf2e48eae2929e05a4f76dd39765f = cache_frame_24ebf2e48eae2929e05a4f76dd39765f;
// Push the new frame as the currently active one.
pushFrameStack(frame_24ebf2e48eae2929e05a4f76dd39765f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_24ebf2e48eae2929e05a4f76dd39765f) == 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_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_capi_result_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[44]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 789;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
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_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[44]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 789;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_len_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[159]);
Py_DECREF(tmp_expression_value_2);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 789;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_capi_result_1 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_capi_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 789;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = CHECK_IF_TRUE(tmp_capi_result_1) == 1;
Py_DECREF(tmp_capi_result_1);
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_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[44]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 790;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[159]);
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 = 790;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[160];
tmp_expression_value_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_5, tmp_subscript_value_1, -1);
Py_DECREF(tmp_expression_value_5);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 790;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[161]);
Py_DECREF(tmp_expression_value_4);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 790;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_expression_value_8;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[53]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 792;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_24ebf2e48eae2929e05a4f76dd39765f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_24ebf2e48eae2929e05a4f76dd39765f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_24ebf2e48eae2929e05a4f76dd39765f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_24ebf2e48eae2929e05a4f76dd39765f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_24ebf2e48eae2929e05a4f76dd39765f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_24ebf2e48eae2929e05a4f76dd39765f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_24ebf2e48eae2929e05a4f76dd39765f,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_24ebf2e48eae2929e05a4f76dd39765f == cache_frame_24ebf2e48eae2929e05a4f76dd39765f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_24ebf2e48eae2929e05a4f76dd39765f);
cache_frame_24ebf2e48eae2929e05a4f76dd39765f = NULL;
}
assertFrameObject(frame_24ebf2e48eae2929e05a4f76dd39765f);
// 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_urllib3$response$$$function__43___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.
struct Nuitka_CellObject *par_self = Nuitka_Cell_New1(python_pars[0]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_closure_1[0] = par_self;
Py_INCREF(tmp_closure_1[0]);
tmp_return_value = MAKE_GENERATOR_urllib3$response$$$function__43___iter__$$$genobj__1___iter__(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);
// 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 urllib3$response$$$function__43___iter__$$$genobj__1___iter___locals {
PyObject *var_buffer;
PyObject *var_chunk;
PyObject *var_x;
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;
int tmp_res;
char yield_tmps[1024];
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
int exception_keeper_lineno_3;
};
static PyObject *urllib3$response$$$function__43___iter__$$$genobj__1___iter___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 urllib3$response$$$function__43___iter__$$$genobj__1___iter___locals *generator_heap = (struct urllib3$response$$$function__43___iter__$$$genobj__1___iter___locals *)generator->m_heap_storage;
// Dispatch to yield based on return label index:
switch(generator->m_yield_return_index) {
case 3: goto yield_return_3;
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_buffer = NULL;
generator_heap->var_chunk = NULL;
generator_heap->var_x = 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 = MAKE_LIST_EMPTY(0);
assert(generator_heap->var_buffer == NULL);
generator_heap->var_buffer = 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_921b4351b231fd1e915962086751ee83, module_urllib3$response, 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;
if (Nuitka_Cell_GET(generator->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[16]);
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 = "cooo";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[127]);
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 = 796;
generator_heap->type_description_1 = "cooo";
goto frame_exception_exit_1;
}
generator->m_frame->m_frame.f_lineno = 796;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, &PyTuple_GET_ITEM(mod_consts[72], 0), mod_consts[65]);
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 = 796;
generator_heap->type_description_1 = "cooo";
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 = 796;
generator_heap->type_description_1 = "cooo";
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 = "cooo";
generator_heap->exception_lineno = 796;
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;
tmp_cmp_expr_left_1 = mod_consts[163];
CHECK_OBJECT(generator_heap->var_chunk);
tmp_cmp_expr_right_1 = generator_heap->var_chunk;
generator_heap->tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_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 = 797;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_2;
}
tmp_condition_result_1 = (generator_heap->tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
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[24]);
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 = 798;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_2;
}
generator->m_frame->m_frame.f_lineno = 798;
tmp_assign_source_5 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[164]);
Py_DECREF(tmp_called_value_2);
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 = 798;
generator_heap->type_description_1 = "cooo";
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);
}
}
{
PyObject *tmp_expression_value_3;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
tmp_expression_value_4 = mod_consts[1];
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[165]);
assert(!(tmp_called_value_3 == NULL));
if (generator_heap->var_buffer == NULL) {
Py_DECREF(tmp_called_value_3);
FORMAT_UNBOUND_LOCAL_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[166]);
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 = "cooo";
goto try_except_handler_2;
}
tmp_args_element_value_1 = generator_heap->var_buffer;
generator->m_frame->m_frame.f_lineno = 799;
tmp_add_expr_left_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_3);
if (tmp_add_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 = 799;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_2;
}
CHECK_OBJECT(generator_heap->var_chunk);
tmp_expression_value_5 = generator_heap->var_chunk;
tmp_subscript_value_1 = mod_consts[29];
tmp_add_expr_right_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_5, tmp_subscript_value_1, 0);
if (tmp_add_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_add_expr_left_2);
generator_heap->exception_lineno = 799;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_2;
}
tmp_add_expr_left_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_2, tmp_add_expr_right_2);
Py_DECREF(tmp_add_expr_left_2);
Py_DECREF(tmp_add_expr_right_2);
if (tmp_add_expr_left_1 == NULL) {
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 = "cooo";
goto try_except_handler_2;
}
tmp_add_expr_right_1 = mod_consts[163];
tmp_expression_value_3 = BINARY_OPERATION_ADD_OBJECT_OBJECT_BYTES(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
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 = 799;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_2;
}
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_add_expr_left_1, sizeof(PyObject *), &tmp_add_expr_right_1, sizeof(PyObject *), &tmp_add_expr_left_2, sizeof(PyObject *), &tmp_add_expr_right_2, sizeof(PyObject *), &tmp_called_value_3, sizeof(PyObject *), &tmp_expression_value_4, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_expression_value_5, sizeof(PyObject *), &tmp_subscript_value_1, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_3;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_add_expr_left_1, sizeof(PyObject *), &tmp_add_expr_right_1, sizeof(PyObject *), &tmp_add_expr_left_2, sizeof(PyObject *), &tmp_add_expr_right_2, sizeof(PyObject *), &tmp_called_value_3, sizeof(PyObject *), &tmp_expression_value_4, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_expression_value_5, sizeof(PyObject *), &tmp_subscript_value_1, sizeof(PyObject *), NULL);
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 799;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_2;
}
tmp_yield_result_1 = yield_return_value;
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_iter_arg_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(generator_heap->var_chunk);
tmp_expression_value_6 = generator_heap->var_chunk;
tmp_subscript_value_2 = mod_consts[167];
tmp_iter_arg_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_6, tmp_subscript_value_2);
if (tmp_iter_arg_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 = "cooo";
goto try_except_handler_2;
}
tmp_assign_source_6 = MAKE_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 800;
generator_heap->type_description_1 = "cooo";
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_6;
Py_XDECREF(old);
}
}
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_7;
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_7 = ITERATOR_NEXT(tmp_next_source_2);
if (tmp_assign_source_7 == 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 = "cooo";
generator_heap->exception_lineno = 800;
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_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(generator_heap->tmp_for_loop_2__iter_value);
tmp_assign_source_8 = generator_heap->tmp_for_loop_2__iter_value;
{
PyObject *old = generator_heap->var_x;
generator_heap->var_x = tmp_assign_source_8;
Py_INCREF(generator_heap->var_x);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_7;
PyObject *tmp_add_expr_left_3;
PyObject *tmp_add_expr_right_3;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_2;
CHECK_OBJECT(generator_heap->var_x);
tmp_add_expr_left_3 = generator_heap->var_x;
tmp_add_expr_right_3 = mod_consts[163];
tmp_expression_value_7 = BINARY_OPERATION_ADD_OBJECT_OBJECT_BYTES(tmp_add_expr_left_3, tmp_add_expr_right_3);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 801;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_3;
}
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_add_expr_left_3, sizeof(PyObject *), &tmp_add_expr_right_3, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 2;
return tmp_expression_value_7;
yield_return_2:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_add_expr_left_3, sizeof(PyObject *), &tmp_add_expr_right_3, sizeof(PyObject *), NULL);
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 801;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_3;
}
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 = 800;
generator_heap->type_description_1 = "cooo";
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;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_8;
PyObject *tmp_subscript_value_3;
PyObject *tmp_subscript_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(generator_heap->var_chunk);
tmp_expression_value_8 = generator_heap->var_chunk;
tmp_subscript_value_3 = mod_consts[160];
tmp_subscript_result_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_8, tmp_subscript_value_3, -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 = 802;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_subscript_result_1);
if (tmp_truth_name_1 == -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 = 802;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_2;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_subscript_result_1);
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_list_element_1;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_4;
CHECK_OBJECT(generator_heap->var_chunk);
tmp_expression_value_9 = generator_heap->var_chunk;
tmp_subscript_value_4 = mod_consts[160];
tmp_list_element_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_9, tmp_subscript_value_4, -1);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 803;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_2;
}
tmp_assign_source_9 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM(tmp_assign_source_9, 0, tmp_list_element_1);
{
PyObject *old = generator_heap->var_buffer;
generator_heap->var_buffer = tmp_assign_source_9;
Py_XDECREF(old);
}
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_10;
tmp_assign_source_10 = MAKE_LIST_EMPTY(0);
{
PyObject *old = generator_heap->var_buffer;
generator_heap->var_buffer = tmp_assign_source_10;
Py_XDECREF(old);
}
}
branch_end_2:;
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
if (generator_heap->var_buffer == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[166]);
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 = 807;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_2;
}
tmp_called_instance_1 = generator_heap->var_buffer;
CHECK_OBJECT(generator_heap->var_chunk);
tmp_args_element_value_2 = generator_heap->var_chunk;
generator->m_frame->m_frame.f_lineno = 807;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[168], tmp_args_element_value_2);
if (tmp_call_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 = 807;
generator_heap->type_description_1 = "cooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
branch_end_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 = 796;
generator_heap->type_description_1 = "cooo";
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;
{
nuitka_bool tmp_condition_result_3;
int tmp_truth_name_2;
if (generator_heap->var_buffer == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[166]);
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 = 808;
generator_heap->type_description_1 = "cooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(generator_heap->var_buffer);
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 = 808;
generator_heap->type_description_1 = "cooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_expression_value_10;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_11;
PyObject *tmp_args_element_value_3;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_3;
tmp_expression_value_11 = mod_consts[1];
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[165]);
assert(!(tmp_called_value_4 == NULL));
if (generator_heap->var_buffer == NULL) {
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&generator_heap->exception_type, &generator_heap->exception_value, mod_consts[166]);
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 = 809;
generator_heap->type_description_1 = "cooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = generator_heap->var_buffer;
generator->m_frame->m_frame.f_lineno = 809;
tmp_expression_value_10 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_4);
if (tmp_expression_value_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 = "cooo";
goto frame_exception_exit_1;
}
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_called_value_4, sizeof(PyObject *), &tmp_expression_value_11, sizeof(PyObject *), &tmp_args_element_value_3, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 3;
return tmp_expression_value_10;
yield_return_3:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_called_value_4, sizeof(PyObject *), &tmp_expression_value_11, sizeof(PyObject *), &tmp_args_element_value_3, sizeof(PyObject *), NULL);
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 809;
generator_heap->type_description_1 = "cooo";
goto frame_exception_exit_1;
}
tmp_yield_result_3 = yield_return_value;
}
branch_no_3:;
Nuitka_Frame_MarkAsNotExecuting(generator->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(generator->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) {
if (generator_heap->exception_tb == NULL) {
generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno);
} else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) {
generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
generator->m_frame,
generator_heap->type_description_1,
generator->m_closure[0],
generator_heap->var_buffer,
generator_heap->var_chunk,
generator_heap->var_x
);
// 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_buffer);
generator_heap->var_buffer = NULL;
Py_XDECREF(generator_heap->var_chunk);
generator_heap->var_chunk = NULL;
Py_XDECREF(generator_heap->var_x);
generator_heap->var_x = 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_buffer);
generator_heap->var_buffer = NULL;
Py_XDECREF(generator_heap->var_chunk);
generator_heap->var_chunk = NULL;
Py_XDECREF(generator_heap->var_x);
generator_heap->var_x = NULL;
return NULL;
function_exception_exit:
assert(generator_heap->exception_type);
RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb);
return NULL;
}
static PyObject *MAKE_GENERATOR_urllib3$response$$$function__43___iter__$$$genobj__1___iter__(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
urllib3$response$$$function__43___iter__$$$genobj__1___iter___context,
module_urllib3$response,
mod_consts[169],
#if PYTHON_VERSION >= 0x350
mod_consts[170],
#endif
codeobj_921b4351b231fd1e915962086751ee83,
closure,
1,
sizeof(struct urllib3$response$$$function__43___iter__$$$genobj__1___iter___locals)
);
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__10___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__10___init__,
mod_consts[214],
#if PYTHON_VERSION >= 0x300
mod_consts[228],
#endif
codeobj_016e2564f913921ae7783b96e06493ae,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__11_flush() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__11_flush,
mod_consts[23],
#if PYTHON_VERSION >= 0x300
mod_consts[229],
#endif
codeobj_91cf4f4939b92100a570b8727fbf1487,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__12_decompress() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__12_decompress,
mod_consts[6],
#if PYTHON_VERSION >= 0x300
mod_consts[230],
#endif
codeobj_34188369beb2bd1af2fd1455566507d5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__13__get_decoder() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__13__get_decoder,
mod_consts[26],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_1e12dded38c4078692d3523c3e161a24,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__14___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__14___init__,
mod_consts[214],
#if PYTHON_VERSION >= 0x300
mod_consts[237],
#endif
codeobj_3c656863be231c7c1e6482ef7e62c136,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__15_get_redirect_location() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__15_get_redirect_location,
mod_consts[238],
#if PYTHON_VERSION >= 0x300
mod_consts[239],
#endif
codeobj_6176c6f019ffb8063469c2b76b5d1270,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[70],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__16_release_conn() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__16_release_conn,
mod_consts[110],
#if PYTHON_VERSION >= 0x300
mod_consts[240],
#endif
codeobj_300753ebb5258ffcf2fd633e7935c3ec,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__17_data() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__17_data,
mod_consts[17],
#if PYTHON_VERSION >= 0x300
mod_consts[242],
#endif
codeobj_38fd33a308ffc1ddf71f156f718466a0,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__18_connection() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__18_connection,
mod_consts[198],
#if PYTHON_VERSION >= 0x300
mod_consts[243],
#endif
codeobj_83af965fb9ce7125a869db435a0b247d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__19_isclosed() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__19_isclosed,
mod_consts[109],
#if PYTHON_VERSION >= 0x300
mod_consts[244],
#endif
codeobj_28dbab793d7f5e5a6400eb4ed719019a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__1___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__1___init__,
mod_consts[214],
#if PYTHON_VERSION >= 0x300
mod_consts[215],
#endif
codeobj_8083497c747b5bc77c2e12ea032373a7,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__20_tell() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__20_tell,
mod_consts[245],
#if PYTHON_VERSION >= 0x300
mod_consts[246],
#endif
codeobj_7e93189adc7d0287af77cd2b1a58dd2b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[75],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__21__init_length() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__21__init_length,
mod_consts[63],
#if PYTHON_VERSION >= 0x300
mod_consts[247],
#endif
codeobj_1383da27ac8069a416f9e4ff05b186fd,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[87],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__22__init_decoder() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__22__init_decoder,
mod_consts[113],
#if PYTHON_VERSION >= 0x300
mod_consts[248],
#endif
codeobj_4b1c9dbf13c9d5cfb73157e4f67f3f64,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[90],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__23__decode() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__23__decode,
mod_consts[120],
#if PYTHON_VERSION >= 0x300
mod_consts[250],
#endif
codeobj_6e5c4720675113c6332b9400dbe8feb5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[95],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__24__flush_decoder() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__24__flush_decoder,
mod_consts[94],
#if PYTHON_VERSION >= 0x300
mod_consts[251],
#endif
codeobj_7a027ce45f97eb18f29fe0dd500fb4b0,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[97],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__25__error_catcher() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__25__error_catcher,
mod_consts[111],
#if PYTHON_VERSION >= 0x300
mod_consts[112],
#endif
codeobj_13bfb082f1ebd2413720cefbc80634b8,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[98],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__26_read(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__26_read,
mod_consts[57],
#if PYTHON_VERSION >= 0x300
mod_consts[253],
#endif
codeobj_0b67cc5343033ed9e760f09ae4b0d14e,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[121],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__27_stream(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__27_stream,
mod_consts[127],
#if PYTHON_VERSION >= 0x300
mod_consts[128],
#endif
codeobj_c3e74a683c4a240e98aa63b47f062203,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[122],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__28_from_httplib() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__28_from_httplib,
mod_consts[131],
#if PYTHON_VERSION >= 0x300
mod_consts[256],
#endif
codeobj_fc95ba0b78983beea045b12b0a59f2cd,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[134],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__29_getheaders() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__29_getheaders,
mod_consts[257],
#if PYTHON_VERSION >= 0x300
mod_consts[258],
#endif
codeobj_a4ea8b326d9fa80e1ea5edc30cbc11d0,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__2___getattr__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__2___getattr__,
mod_consts[216],
#if PYTHON_VERSION >= 0x300
mod_consts[217],
#endif
codeobj_8a859479a9b94ad3b64f8a79b41d3e3d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__30_getheader(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__30_getheader,
mod_consts[260],
#if PYTHON_VERSION >= 0x300
mod_consts[261],
#endif
codeobj_58a9bad47e4b5ce33e6fd4581f2a7191,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__31_info() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__31_info,
mod_consts[262],
#if PYTHON_VERSION >= 0x300
mod_consts[263],
#endif
codeobj_85ff1a86f313882e81e3165c9f2246a3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__32_close() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__32_close,
mod_consts[108],
#if PYTHON_VERSION >= 0x300
mod_consts[264],
#endif
codeobj_f97ef6146e52f3e57072b676f8c14bbc,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__33_closed() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__33_closed,
mod_consts[114],
#if PYTHON_VERSION >= 0x300
mod_consts[265],
#endif
codeobj_dc96524f1569a4afcb30dab8f58b04dd,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__34_fileno() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__34_fileno,
mod_consts[139],
#if PYTHON_VERSION >= 0x300
mod_consts[266],
#endif
codeobj_ecce98adb9379861322251bfbfdf9777,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__35_flush() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__35_flush,
mod_consts[23],
#if PYTHON_VERSION >= 0x300
mod_consts[267],
#endif
codeobj_4972e1afc4cd22a36eee6e3341fcde58,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__36_readable() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[268],
#if PYTHON_VERSION >= 0x300
mod_consts[269],
#endif
codeobj_9c5c57808fc663253a7031733a178c32,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
Nuitka_Function_EnableConstReturnTrue(result);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__37_readinto() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__37_readinto,
mod_consts[270],
#if PYTHON_VERSION >= 0x300
mod_consts[271],
#endif
codeobj_5b1e85b15a5cd6fcc883d4a2d43ac993,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__38_supports_chunked_reads() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__38_supports_chunked_reads,
mod_consts[123],
#if PYTHON_VERSION >= 0x300
mod_consts[272],
#endif
codeobj_966ff6f2e5a4704811bdf3568ab48764,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[142],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__39__update_chunk_length() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__39__update_chunk_length,
mod_consts[154],
#if PYTHON_VERSION >= 0x300
mod_consts[273],
#endif
codeobj_1d1e7f122bdd241fd5e54649816263e9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__3_decompress() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__3_decompress,
mod_consts[6],
#if PYTHON_VERSION >= 0x300
mod_consts[218],
#endif
codeobj_1e8e64e7ee914b608adea6e6053d206f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__40__handle_chunk() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__40__handle_chunk,
mod_consts[155],
#if PYTHON_VERSION >= 0x300
mod_consts[274],
#endif
codeobj_0e76018e69557c9d6aa87b9dbf9de5d6,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__41_read_chunked(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__41_read_chunked,
mod_consts[124],
#if PYTHON_VERSION >= 0x300
mod_consts[158],
#endif
codeobj_5efb7899ac6b31c8f9b5a25f2c3cb949,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[148],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__42_geturl() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__42_geturl,
mod_consts[276],
#if PYTHON_VERSION >= 0x300
mod_consts[277],
#endif
codeobj_24ebf2e48eae2929e05a4f76dd39765f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
mod_consts[162],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__43___iter__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__43___iter__,
mod_consts[169],
#if PYTHON_VERSION >= 0x300
mod_consts[170],
#endif
codeobj_921b4351b231fd1e915962086751ee83,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__4___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__4___init__,
mod_consts[214],
#if PYTHON_VERSION >= 0x300
mod_consts[221],
#endif
codeobj_f5976d14defdd7744d9e1ba5d56418b7,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__5___getattr__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__5___getattr__,
mod_consts[216],
#if PYTHON_VERSION >= 0x300
mod_consts[222],
#endif
codeobj_0cb74ac6250f187390d0b18d07b24a3e,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__6_decompress() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__6_decompress,
mod_consts[6],
#if PYTHON_VERSION >= 0x300
mod_consts[223],
#endif
codeobj_7781a0056c4dc99924970871fe8250f4,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__7___init__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__7___init__,
mod_consts[214],
#if PYTHON_VERSION >= 0x300
mod_consts[224],
#endif
codeobj_80911a584255f3f4512f1f0fc5e1e2ae,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__8_decompress() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__8_decompress,
mod_consts[6],
#if PYTHON_VERSION >= 0x300
mod_consts[225],
#endif
codeobj_122f8929a8bcf1c5a27f9d14fe1d3713,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$response$$$function__9_flush() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$response$$$function__9_flush,
mod_consts[23],
#if PYTHON_VERSION >= 0x300
mod_consts[226],
#endif
codeobj_402f426f68b0aec6dbee22d11a1abfbe,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$response,
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_urllib3$response[] = {
impl_urllib3$response$$$function__1___init__,
impl_urllib3$response$$$function__2___getattr__,
impl_urllib3$response$$$function__3_decompress,
impl_urllib3$response$$$function__4___init__,
impl_urllib3$response$$$function__5___getattr__,
impl_urllib3$response$$$function__6_decompress,
impl_urllib3$response$$$function__7___init__,
impl_urllib3$response$$$function__8_decompress,
impl_urllib3$response$$$function__9_flush,
impl_urllib3$response$$$function__10___init__,
impl_urllib3$response$$$function__11_flush,
impl_urllib3$response$$$function__12_decompress,
impl_urllib3$response$$$function__13__get_decoder,
impl_urllib3$response$$$function__14___init__,
impl_urllib3$response$$$function__15_get_redirect_location,
impl_urllib3$response$$$function__16_release_conn,
impl_urllib3$response$$$function__17_data,
impl_urllib3$response$$$function__18_connection,
impl_urllib3$response$$$function__19_isclosed,
impl_urllib3$response$$$function__20_tell,
impl_urllib3$response$$$function__21__init_length,
impl_urllib3$response$$$function__22__init_decoder,
impl_urllib3$response$$$function__23__decode,
impl_urllib3$response$$$function__24__flush_decoder,
impl_urllib3$response$$$function__25__error_catcher,
impl_urllib3$response$$$function__26_read,
impl_urllib3$response$$$function__27_stream,
impl_urllib3$response$$$function__28_from_httplib,
impl_urllib3$response$$$function__29_getheaders,
impl_urllib3$response$$$function__30_getheader,
impl_urllib3$response$$$function__31_info,
impl_urllib3$response$$$function__32_close,
impl_urllib3$response$$$function__33_closed,
impl_urllib3$response$$$function__34_fileno,
impl_urllib3$response$$$function__35_flush,
NULL,
impl_urllib3$response$$$function__37_readinto,
impl_urllib3$response$$$function__38_supports_chunked_reads,
impl_urllib3$response$$$function__39__update_chunk_length,
impl_urllib3$response$$$function__40__handle_chunk,
impl_urllib3$response$$$function__41_read_chunked,
impl_urllib3$response$$$function__42_geturl,
impl_urllib3$response$$$function__43___iter__,
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_urllib3$response;
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_urllib3$response) || 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_urllib3$response[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_urllib3$response,
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_urllib3$response(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("urllib3.response");
// Store the module for future use.
module_urllib3$response = 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("urllib3.response: 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("urllib3.response: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("urllib3.response: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in initurllib3$response\n");
moduledict_urllib3$response = MODULE_DICT(module_urllib3$response);
#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_urllib3$response,
(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_urllib3$response,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[308]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_urllib3$response,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (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_urllib3$response,
(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_urllib3$response, (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_urllib3$response,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_urllib3$response);
// 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_urllib3$response, (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_urllib3$response, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_urllib3$response, (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_urllib3$response, (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_urllib3$response);
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_urllib3$response, (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 *outline_5_var___class__ = NULL;
PyObject *tmp_HTTPResponse$class_inplace_1__value = NULL;
PyObject *tmp_HTTPResponse$class_inplace_2__value = 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__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__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_class_creation_6__bases = NULL;
PyObject *tmp_class_creation_6__bases_orig = NULL;
PyObject *tmp_class_creation_6__class_decl_dict = NULL;
PyObject *tmp_class_creation_6__metaclass = NULL;
PyObject *tmp_class_creation_6__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;
struct Nuitka_FrameObject *frame_20e862cbbb0ed9564511d2c897bb9835;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
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 *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_urllib3$response$$$class__1_DeflateDecoder_32 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_8b16b921e8ccba755c229eb125486161_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_8b16b921e8ccba755c229eb125486161_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_urllib3$response$$$class__2_GzipDecoderState_64 = NULL;
struct Nuitka_FrameObject *frame_2c72e1cf64bf05cc3a01c5705e01d436_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_2c72e1cf64bf05cc3a01c5705e01d436_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_urllib3$response$$$class__3_GzipDecoder_71 = NULL;
struct Nuitka_FrameObject *frame_da51b7d18289c9cc262265097b44525b_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_da51b7d18289c9cc262265097b44525b_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_urllib3$response$$$class__4_BrotliDecoder_103 = NULL;
struct Nuitka_FrameObject *frame_df8098d67e46cefc4e4754f4c36166ad_5;
NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL;
static struct Nuitka_FrameObject *cache_frame_df8098d67e46cefc4e4754f4c36166ad_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_urllib3$response$$$class__5_MultiDecoder_121 = NULL;
struct Nuitka_FrameObject *frame_598d07bddcd1befd5de893c07e4341dc_6;
NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL;
static struct Nuitka_FrameObject *cache_frame_598d07bddcd1befd5de893c07e4341dc_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;
PyObject *locals_urllib3$response$$$class__6_HTTPResponse_155 = NULL;
struct Nuitka_FrameObject *frame_53bb57d36be660ca04f14f953ffe6402_7;
NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL;
PyObject *exception_keeper_type_22;
PyObject *exception_keeper_value_22;
PyTracebackObject *exception_keeper_tb_22;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_22;
PyObject *exception_keeper_type_23;
PyObject *exception_keeper_value_23;
PyTracebackObject *exception_keeper_tb_23;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_23;
static struct Nuitka_FrameObject *cache_frame_53bb57d36be660ca04f14f953ffe6402_7 = NULL;
PyObject *exception_keeper_type_24;
PyObject *exception_keeper_value_24;
PyTracebackObject *exception_keeper_tb_24;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_24;
PyObject *exception_keeper_type_25;
PyObject *exception_keeper_value_25;
PyTracebackObject *exception_keeper_tb_25;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_25;
PyObject *exception_keeper_type_26;
PyObject *exception_keeper_value_26;
PyTracebackObject *exception_keeper_tb_26;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_26;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = Py_None;
UPDATE_STRING_DICT0(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[171], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[172];
UPDATE_STRING_DICT0(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[173], tmp_assign_source_2);
}
// Frame without reuse.
frame_20e862cbbb0ed9564511d2c897bb9835 = MAKE_MODULE_FRAME(codeobj_20e862cbbb0ed9564511d2c897bb9835, module_urllib3$response);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_20e862cbbb0ed9564511d2c897bb9835);
assert(Py_REFCNT(frame_20e862cbbb0ed9564511d2c897bb9835) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[172];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[174]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[174]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[175], 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_urllib3$response, (Nuitka_StringObject *)mod_consts[174]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[174]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[176], 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_urllib3$response, (Nuitka_StringObject *)mod_consts[177], tmp_assign_source_3);
}
{
PyObject *tmp_assign_source_4;
{
PyObject *hard_module = IMPORT_HARD___FUTURE__();
tmp_assign_source_4 = LOOKUP_ATTRIBUTE(hard_module, mod_consts[178]);
}
assert(!(tmp_assign_source_4 == NULL));
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[178], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_import_name_from_1;
PyObject *tmp_name_value_1;
PyObject *tmp_globals_arg_value_1;
PyObject *tmp_locals_arg_value_1;
PyObject *tmp_fromlist_value_1;
PyObject *tmp_level_value_1;
tmp_name_value_1 = mod_consts[179];
tmp_globals_arg_value_1 = (PyObject *)moduledict_urllib3$response;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = mod_consts[180];
tmp_level_value_1 = mod_consts[29];
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 2;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 2;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_5 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_urllib3$response,
mod_consts[181],
mod_consts[29]
);
} else {
tmp_assign_source_5 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[181]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 2;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[181], 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[3];
tmp_globals_arg_value_2 = (PyObject *)moduledict_urllib3$response;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[29];
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 3;
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);
assert(!(tmp_assign_source_6 == NULL));
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
tmp_assign_source_7 = IMPORT_HARD_IO();
assert(!(tmp_assign_source_7 == NULL));
UPDATE_STRING_DICT0(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[135], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
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[182];
tmp_globals_arg_value_3 = (PyObject *)moduledict_urllib3$response;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[29];
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 5;
tmp_assign_source_8 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 5;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[182], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
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[183];
tmp_globals_arg_value_4 = (PyObject *)moduledict_urllib3$response;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[184];
tmp_level_value_4 = mod_consts[29];
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 6;
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 = 6;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_9 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_urllib3$response,
mod_consts[185],
mod_consts[29]
);
} else {
tmp_assign_source_9 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[185]);
}
Py_DECREF(tmp_import_name_from_2);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 6;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[99], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
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[183];
tmp_globals_arg_value_5 = (PyObject *)moduledict_urllib3$response;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = mod_consts[186];
tmp_level_value_5 = mod_consts[29];
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 7;
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 = 7;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_10 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_urllib3$response,
mod_consts[7],
mod_consts[29]
);
} else {
tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[7]);
}
Py_DECREF(tmp_import_name_from_3);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 7;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[105], tmp_assign_source_10);
}
// Tried code:
{
PyObject *tmp_assign_source_11;
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[20];
tmp_globals_arg_value_6 = (PyObject *)moduledict_urllib3$response;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = Py_None;
tmp_level_value_6 = mod_consts[29];
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 10;
tmp_assign_source_11 = 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_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 10;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[20], tmp_assign_source_11);
}
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_20e862cbbb0ed9564511d2c897bb9835, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_20e862cbbb0ed9564511d2c897bb9835, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_12;
tmp_assign_source_12 = Py_None;
UPDATE_STRING_DICT0(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[20], tmp_assign_source_12);
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 9;
}
if (exception_tb && exception_tb->tb_frame == &frame_20e862cbbb0ed9564511d2c897bb9835->m_frame) frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_2;
branch_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_4;
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[187];
tmp_globals_arg_value_7 = (PyObject *)moduledict_urllib3$response;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[188];
tmp_level_value_7 = mod_consts[189];
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 14;
tmp_import_name_from_4 = 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_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 14;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_urllib3$response,
mod_consts[37],
mod_consts[29]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[37]);
}
Py_DECREF(tmp_import_name_from_4);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 14;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[37], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
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[190];
tmp_globals_arg_value_8 = (PyObject *)moduledict_urllib3$response;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = mod_consts[191];
tmp_level_value_8 = mod_consts[189];
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 15;
tmp_assign_source_14 = 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_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 15;
goto frame_exception_exit_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_14;
}
// Tried code:
{
PyObject *tmp_assign_source_15;
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_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_urllib3$response,
mod_consts[151],
mod_consts[29]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[151]);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 15;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[151], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
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_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_urllib3$response,
mod_consts[106],
mod_consts[29]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[106]);
}
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 15;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[106], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
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_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_urllib3$response,
mod_consts[92],
mod_consts[29]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[92]);
}
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 15;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[92], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_8 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_urllib3$response,
mod_consts[100],
mod_consts[29]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[100]);
}
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 15;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[100], tmp_assign_source_18);
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_import_name_from_9;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_9 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_19 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_urllib3$response,
mod_consts[149],
mod_consts[29]
);
} else {
tmp_assign_source_19 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[149]);
}
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 15;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[149], tmp_assign_source_19);
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_10;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_10 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_10)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_urllib3$response,
mod_consts[118],
mod_consts[29]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[118]);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 15;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[118], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_import_name_from_11;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_11 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_11)) {
tmp_assign_source_21 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_11,
(PyObject *)moduledict_urllib3$response,
mod_consts[80],
mod_consts[29]
);
} else {
tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[80]);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 15;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[80], tmp_assign_source_21);
}
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_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__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_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
{
PyObject *tmp_assign_source_22;
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[192];
tmp_globals_arg_value_9 = (PyObject *)moduledict_urllib3$response;
tmp_locals_arg_value_9 = Py_None;
tmp_fromlist_value_9 = mod_consts[193];
tmp_level_value_9 = mod_consts[29];
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 24;
tmp_assign_source_22 = 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_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 24;
goto frame_exception_exit_1;
}
assert(tmp_import_from_2__module == NULL);
tmp_import_from_2__module = tmp_assign_source_22;
}
// Tried code:
{
PyObject *tmp_assign_source_23;
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_23 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_12,
(PyObject *)moduledict_urllib3$response,
mod_consts[194],
mod_consts[29]
);
} else {
tmp_assign_source_23 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[194]);
}
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 24;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[54], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
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_24 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_13,
(PyObject *)moduledict_urllib3$response,
mod_consts[129],
mod_consts[29]
);
} else {
tmp_assign_source_24 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[129]);
}
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 24;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[129], tmp_assign_source_24);
}
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_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__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_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
{
PyObject *tmp_assign_source_25;
PyObject *tmp_import_name_from_14;
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[195];
tmp_globals_arg_value_10 = (PyObject *)moduledict_urllib3$response;
tmp_locals_arg_value_10 = Py_None;
tmp_fromlist_value_10 = mod_consts[196];
tmp_level_value_10 = mod_consts[29];
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 25;
tmp_import_name_from_14 = IMPORT_MODULE5(tmp_name_value_10, tmp_globals_arg_value_10, tmp_locals_arg_value_10, tmp_fromlist_value_10, tmp_level_value_10);
if (tmp_import_name_from_14 == 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_14)) {
tmp_assign_source_25 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_14,
(PyObject *)moduledict_urllib3$response,
mod_consts[197],
mod_consts[29]
);
} else {
tmp_assign_source_25 = IMPORT_NAME(tmp_import_name_from_14, mod_consts[197]);
}
Py_DECREF(tmp_import_name_from_14);
if (tmp_assign_source_25 == 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_urllib3$response, (Nuitka_StringObject *)mod_consts[145], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
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[198];
tmp_globals_arg_value_11 = (PyObject *)moduledict_urllib3$response;
tmp_locals_arg_value_11 = Py_None;
tmp_fromlist_value_11 = mod_consts[199];
tmp_level_value_11 = mod_consts[189];
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 26;
tmp_assign_source_26 = 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_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
goto frame_exception_exit_1;
}
assert(tmp_import_from_3__module == NULL);
tmp_import_from_3__module = tmp_assign_source_26;
}
// Tried code:
{
PyObject *tmp_assign_source_27;
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_27 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_15,
(PyObject *)moduledict_urllib3$response,
mod_consts[104],
mod_consts[29]
);
} else {
tmp_assign_source_27 = IMPORT_NAME(tmp_import_name_from_15, mod_consts[104]);
}
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
goto try_except_handler_5;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[104], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
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_28 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_16,
(PyObject *)moduledict_urllib3$response,
mod_consts[102],
mod_consts[29]
);
} else {
tmp_assign_source_28 = IMPORT_NAME(tmp_import_name_from_16, mod_consts[102]);
}
if (tmp_assign_source_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
goto try_except_handler_5;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[102], tmp_assign_source_28);
}
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_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__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_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
{
PyObject *tmp_assign_source_29;
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[200];
tmp_globals_arg_value_12 = (PyObject *)moduledict_urllib3$response;
tmp_locals_arg_value_12 = Py_None;
tmp_fromlist_value_12 = mod_consts[201];
tmp_level_value_12 = mod_consts[189];
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 27;
tmp_assign_source_29 = 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_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 27;
goto frame_exception_exit_1;
}
assert(tmp_import_from_4__module == NULL);
tmp_import_from_4__module = tmp_assign_source_29;
}
// Tried code:
{
PyObject *tmp_assign_source_30;
PyObject *tmp_import_name_from_17;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_17 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_17)) {
tmp_assign_source_30 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_17,
(PyObject *)moduledict_urllib3$response,
mod_consts[74],
mod_consts[29]
);
} else {
tmp_assign_source_30 = IMPORT_NAME(tmp_import_name_from_17, mod_consts[74]);
}
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 27;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[74], tmp_assign_source_30);
}
{
PyObject *tmp_assign_source_31;
PyObject *tmp_import_name_from_18;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_18 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_18)) {
tmp_assign_source_31 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_18,
(PyObject *)moduledict_urllib3$response,
mod_consts[153],
mod_consts[29]
);
} else {
tmp_assign_source_31 = IMPORT_NAME(tmp_import_name_from_18, mod_consts[153]);
}
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 27;
goto try_except_handler_6;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[153], tmp_assign_source_31);
}
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_4__module);
Py_DECREF(tmp_import_from_4__module);
tmp_import_from_4__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_4__module);
Py_DECREF(tmp_import_from_4__module);
tmp_import_from_4__module = NULL;
{
PyObject *tmp_assign_source_32;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[182]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[182]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto frame_exception_exit_1;
}
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 29;
tmp_assign_source_32 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[202],
PyTuple_GET_ITEM(mod_consts[203], 0)
);
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[77], tmp_assign_source_32);
}
// Tried code:
{
PyObject *tmp_assign_source_33;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[204];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_33 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto try_except_handler_7;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_33;
}
{
PyObject *tmp_assign_source_34;
tmp_assign_source_34 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_34;
}
{
PyObject *tmp_assign_source_35;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_2;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
nuitka_bool tmp_condition_result_3;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[205];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_1, tmp_key_value_1);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_value_2 = mod_consts[205];
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 = 32;
goto try_except_handler_7;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_3 == 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_1 = tmp_class_creation_1__bases;
tmp_subscript_value_1 = mod_consts[29];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, 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 = 32;
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 = 32;
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_35 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto try_except_handler_7;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_35;
}
{
bool tmp_condition_result_4;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[205];
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_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[205];
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 = 32;
goto try_except_handler_7;
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_2 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_2, mod_consts[206]);
tmp_condition_result_5 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_36;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_3 = tmp_class_creation_1__metaclass;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[206]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto try_except_handler_7;
}
tmp_tuple_element_1 = mod_consts[36];
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_1 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 32;
tmp_assign_source_36 = 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_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto try_except_handler_7;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_36;
}
{
bool tmp_condition_result_6;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_4 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_4, mod_consts[207]);
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 = 32;
goto try_except_handler_7;
}
tmp_condition_result_6 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
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_2;
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[208];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[209];
tmp_getattr_default_1 = mod_consts[210];
tmp_tuple_element_2 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto try_except_handler_7;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_5;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_expression_value_5 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_5 == NULL));
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[209]);
Py_DECREF(tmp_expression_value_5);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_2);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto try_except_handler_7;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_raise_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
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 = 32;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_7;
}
branch_no_4:;
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_37;
tmp_assign_source_37 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_37;
}
branch_end_3:;
{
PyObject *tmp_assign_source_38;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_urllib3$response$$$class__1_DeflateDecoder_32 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[211];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__1_DeflateDecoder_32, mod_consts[212], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto try_except_handler_9;
}
tmp_dictset_value = mod_consts[36];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__1_DeflateDecoder_32, mod_consts[213], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto try_except_handler_9;
}
if (isFrameUnusable(cache_frame_8b16b921e8ccba755c229eb125486161_2)) {
Py_XDECREF(cache_frame_8b16b921e8ccba755c229eb125486161_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_8b16b921e8ccba755c229eb125486161_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8b16b921e8ccba755c229eb125486161_2 = MAKE_CLASS_FRAME(codeobj_8b16b921e8ccba755c229eb125486161, module_urllib3$response, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8b16b921e8ccba755c229eb125486161_2->m_type_description == NULL);
frame_8b16b921e8ccba755c229eb125486161_2 = cache_frame_8b16b921e8ccba755c229eb125486161_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_8b16b921e8ccba755c229eb125486161_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8b16b921e8ccba755c229eb125486161_2) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__1___init__();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__1_DeflateDecoder_32, 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 = 33;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__2___getattr__();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__1_DeflateDecoder_32, mod_consts[216], 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 = 38;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__3_decompress();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__1_DeflateDecoder_32, mod_consts[6], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 41;
type_description_2 = "o";
goto frame_exception_exit_2;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8b16b921e8ccba755c229eb125486161_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_8b16b921e8ccba755c229eb125486161_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8b16b921e8ccba755c229eb125486161_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8b16b921e8ccba755c229eb125486161_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8b16b921e8ccba755c229eb125486161_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8b16b921e8ccba755c229eb125486161_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_8b16b921e8ccba755c229eb125486161_2 == cache_frame_8b16b921e8ccba755c229eb125486161_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8b16b921e8ccba755c229eb125486161_2);
cache_frame_8b16b921e8ccba755c229eb125486161_2 = NULL;
}
assertFrameObject(frame_8b16b921e8ccba755c229eb125486161_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_7;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_2 = tmp_class_creation_1__bases;
tmp_cmp_expr_right_2 = mod_consts[204];
tmp_condition_result_7 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_7 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto try_except_handler_9;
}
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
tmp_dictset_value = mod_consts[204];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__1_DeflateDecoder_32, mod_consts[219], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto try_except_handler_9;
}
branch_no_5:;
{
PyObject *tmp_assign_source_39;
PyObject *tmp_called_value_2;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_3;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_2 = tmp_class_creation_1__metaclass;
tmp_tuple_element_3 = mod_consts[36];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_3 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_3);
tmp_tuple_element_3 = locals_urllib3$response$$$class__1_DeflateDecoder_32;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 32;
tmp_assign_source_39 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 32;
goto try_except_handler_9;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_39;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_38 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_38);
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_urllib3$response$$$class__1_DeflateDecoder_32);
locals_urllib3$response$$$class__1_DeflateDecoder_32 = 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_urllib3$response$$$class__1_DeflateDecoder_32);
locals_urllib3$response$$$class__1_DeflateDecoder_32 = 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 = 32;
goto try_except_handler_7;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[36], tmp_assign_source_38);
}
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_40;
PyObject *tmp_dircall_arg1_2;
tmp_dircall_arg1_2 = mod_consts[204];
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_40 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_10;
}
assert(tmp_class_creation_2__bases == NULL);
tmp_class_creation_2__bases = tmp_assign_source_40;
}
{
PyObject *tmp_assign_source_41;
tmp_assign_source_41 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_41;
}
{
PyObject *tmp_assign_source_42;
PyObject *tmp_metaclass_value_2;
bool tmp_condition_result_8;
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_9;
int tmp_truth_name_2;
PyObject *tmp_type_arg_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_2;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[205];
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_8 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_8 != false) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_5 = tmp_class_creation_2__class_decl_dict;
tmp_key_value_5 = mod_consts[205];
tmp_metaclass_value_2 = DICT_GET_ITEM0(tmp_dict_arg_value_5, tmp_key_value_5);
if (tmp_metaclass_value_2 == NULL) {
tmp_metaclass_value_2 = Py_None;
}
assert(!(tmp_metaclass_value_2 == NULL));
Py_INCREF(tmp_metaclass_value_2);
goto condexpr_end_3;
condexpr_false_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_class_creation_2__bases);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_10;
}
tmp_condition_result_9 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_expression_value_6 = tmp_class_creation_2__bases;
tmp_subscript_value_2 = mod_consts[29];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_6, 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 = 64;
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 = 64;
goto try_except_handler_10;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_2);
condexpr_end_4:;
condexpr_end_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_bases_value_2 = tmp_class_creation_2__bases;
tmp_assign_source_42 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
Py_DECREF(tmp_metaclass_value_2);
if (tmp_assign_source_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_10;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_42;
}
{
bool tmp_condition_result_10;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[205];
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_10 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_10 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = mod_consts[205];
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 = 64;
goto try_except_handler_10;
}
branch_no_6:;
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_7 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_7, mod_consts[206]);
tmp_condition_result_11 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assign_source_43;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_8;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_8 = tmp_class_creation_2__metaclass;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[206]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_10;
}
tmp_tuple_element_4 = mod_consts[10];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_4 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 64;
tmp_assign_source_43 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_value_3);
if (tmp_assign_source_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_10;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_43;
}
{
bool tmp_condition_result_12;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_9 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_9, mod_consts[207]);
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 = 64;
goto try_except_handler_10;
}
tmp_condition_result_12 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_12 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
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_5;
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[208];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[209];
tmp_getattr_default_2 = mod_consts[210];
tmp_tuple_element_5 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_10;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_10;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_expression_value_10 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_10 == NULL));
tmp_tuple_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[209]);
Py_DECREF(tmp_expression_value_10);
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_5);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_mod_expr_right_2);
goto try_except_handler_10;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_raise_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
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 = 64;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_10;
}
branch_no_8:;
goto branch_end_7;
branch_no_7:;
{
PyObject *tmp_assign_source_44;
tmp_assign_source_44 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_44;
}
branch_end_7:;
{
PyObject *tmp_assign_source_45;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_urllib3$response$$$class__2_GzipDecoderState_64 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[211];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__2_GzipDecoderState_64, mod_consts[212], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_12;
}
tmp_dictset_value = mod_consts[10];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__2_GzipDecoderState_64, mod_consts[213], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_12;
}
if (isFrameUnusable(cache_frame_2c72e1cf64bf05cc3a01c5705e01d436_3)) {
Py_XDECREF(cache_frame_2c72e1cf64bf05cc3a01c5705e01d436_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_2c72e1cf64bf05cc3a01c5705e01d436_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2c72e1cf64bf05cc3a01c5705e01d436_3 = MAKE_CLASS_FRAME(codeobj_2c72e1cf64bf05cc3a01c5705e01d436, module_urllib3$response, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2c72e1cf64bf05cc3a01c5705e01d436_3->m_type_description == NULL);
frame_2c72e1cf64bf05cc3a01c5705e01d436_3 = cache_frame_2c72e1cf64bf05cc3a01c5705e01d436_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_2c72e1cf64bf05cc3a01c5705e01d436_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2c72e1cf64bf05cc3a01c5705e01d436_3) == 2); // Frame stack
// Framed code:
tmp_dictset_value = mod_consts[29];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__2_GzipDecoderState_64, mod_consts[11], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 66;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = mod_consts[189];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__2_GzipDecoderState_64, mod_consts[18], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 67;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = mod_consts[220];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__2_GzipDecoderState_64, mod_consts[14], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 68;
type_description_2 = "o";
goto frame_exception_exit_3;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_2c72e1cf64bf05cc3a01c5705e01d436_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_2c72e1cf64bf05cc3a01c5705e01d436_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2c72e1cf64bf05cc3a01c5705e01d436_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2c72e1cf64bf05cc3a01c5705e01d436_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2c72e1cf64bf05cc3a01c5705e01d436_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2c72e1cf64bf05cc3a01c5705e01d436_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_2c72e1cf64bf05cc3a01c5705e01d436_3 == cache_frame_2c72e1cf64bf05cc3a01c5705e01d436_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2c72e1cf64bf05cc3a01c5705e01d436_3);
cache_frame_2c72e1cf64bf05cc3a01c5705e01d436_3 = NULL;
}
assertFrameObject(frame_2c72e1cf64bf05cc3a01c5705e01d436_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_13;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_cmp_expr_left_3 = tmp_class_creation_2__bases;
tmp_cmp_expr_right_3 = mod_consts[204];
tmp_condition_result_13 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_13 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_12;
}
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
tmp_dictset_value = mod_consts[204];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__2_GzipDecoderState_64, mod_consts[219], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_12;
}
branch_no_9:;
{
PyObject *tmp_assign_source_46;
PyObject *tmp_called_value_4;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_4 = tmp_class_creation_2__metaclass;
tmp_tuple_element_6 = mod_consts[10];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_6 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_6);
tmp_tuple_element_6 = locals_urllib3$response$$$class__2_GzipDecoderState_64;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 64;
tmp_assign_source_46 = CALL_FUNCTION(tmp_called_value_4, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_12;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_46;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_45 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_45);
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_urllib3$response$$$class__2_GzipDecoderState_64);
locals_urllib3$response$$$class__2_GzipDecoderState_64 = 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_urllib3$response$$$class__2_GzipDecoderState_64);
locals_urllib3$response$$$class__2_GzipDecoderState_64 = 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 = 64;
goto try_except_handler_10;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[10], tmp_assign_source_45);
}
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_47;
PyObject *tmp_dircall_arg1_3;
tmp_dircall_arg1_3 = mod_consts[204];
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_47 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_13;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_47;
}
{
PyObject *tmp_assign_source_48;
tmp_assign_source_48 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_48;
}
{
PyObject *tmp_assign_source_49;
PyObject *tmp_metaclass_value_3;
bool tmp_condition_result_14;
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_15;
int tmp_truth_name_3;
PyObject *tmp_type_arg_5;
PyObject *tmp_expression_value_11;
PyObject *tmp_subscript_value_3;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[205];
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_14 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_14 != false) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
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[205];
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_5;
condexpr_false_5:;
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 = 71;
goto try_except_handler_13;
}
tmp_condition_result_15 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) {
goto condexpr_true_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_expression_value_11 = tmp_class_creation_3__bases;
tmp_subscript_value_3 = mod_consts[29];
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_11, 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 = 71;
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 = 71;
goto try_except_handler_13;
}
goto condexpr_end_6;
condexpr_false_6:;
tmp_metaclass_value_3 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_3);
condexpr_end_6:;
condexpr_end_5:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_bases_value_3 = tmp_class_creation_3__bases;
tmp_assign_source_49 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_13;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_49;
}
{
bool tmp_condition_result_16;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[205];
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_16 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_16 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
tmp_dictdel_key = mod_consts[205];
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 = 71;
goto try_except_handler_13;
}
branch_no_10:;
{
nuitka_bool tmp_condition_result_17;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_12 = tmp_class_creation_3__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_12, mod_consts[206]);
tmp_condition_result_17 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_assign_source_50;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_value_5;
PyObject *tmp_tuple_element_7;
PyObject *tmp_kwargs_value_5;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_13 = tmp_class_creation_3__metaclass;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[206]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_13;
}
tmp_tuple_element_7 = mod_consts[33];
tmp_args_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_5, 0, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_7 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_5, 1, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_5 = tmp_class_creation_3__class_decl_dict;
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 71;
tmp_assign_source_50 = CALL_FUNCTION(tmp_called_value_5, tmp_args_value_5, tmp_kwargs_value_5);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_value_5);
if (tmp_assign_source_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_13;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_50;
}
{
bool tmp_condition_result_18;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_14;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_expression_value_14 = tmp_class_creation_3__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_14, mod_consts[207]);
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 = 71;
goto try_except_handler_13;
}
tmp_condition_result_18 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_18 != false) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
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_8;
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[208];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[209];
tmp_getattr_default_3 = mod_consts[210];
tmp_tuple_element_8 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3);
if (tmp_tuple_element_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_13;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_15;
PyObject *tmp_type_arg_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_expression_value_15 = BUILTIN_TYPE1(tmp_type_arg_6);
assert(!(tmp_expression_value_15 == NULL));
tmp_tuple_element_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[209]);
Py_DECREF(tmp_expression_value_15);
if (tmp_tuple_element_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_8);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_mod_expr_right_3);
goto try_except_handler_13;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
tmp_raise_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_3, tmp_mod_expr_right_3);
Py_DECREF(tmp_mod_expr_right_3);
if (tmp_raise_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
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 = 71;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_13;
}
branch_no_12:;
goto branch_end_11;
branch_no_11:;
{
PyObject *tmp_assign_source_51;
tmp_assign_source_51 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_51;
}
branch_end_11:;
{
PyObject *tmp_assign_source_52;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_urllib3$response$$$class__3_GzipDecoder_71 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[211];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__3_GzipDecoder_71, mod_consts[212], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_15;
}
tmp_dictset_value = mod_consts[33];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__3_GzipDecoder_71, mod_consts[213], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_15;
}
if (isFrameUnusable(cache_frame_da51b7d18289c9cc262265097b44525b_4)) {
Py_XDECREF(cache_frame_da51b7d18289c9cc262265097b44525b_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_da51b7d18289c9cc262265097b44525b_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_da51b7d18289c9cc262265097b44525b_4 = MAKE_CLASS_FRAME(codeobj_da51b7d18289c9cc262265097b44525b, module_urllib3$response, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_da51b7d18289c9cc262265097b44525b_4->m_type_description == NULL);
frame_da51b7d18289c9cc262265097b44525b_4 = cache_frame_da51b7d18289c9cc262265097b44525b_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_da51b7d18289c9cc262265097b44525b_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_da51b7d18289c9cc262265097b44525b_4) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__4___init__();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__3_GzipDecoder_71, 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 = 72;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__5___getattr__();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__3_GzipDecoder_71, mod_consts[216], 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 = 76;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__6_decompress();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__3_GzipDecoder_71, mod_consts[6], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
type_description_2 = "o";
goto frame_exception_exit_4;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_da51b7d18289c9cc262265097b44525b_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_da51b7d18289c9cc262265097b44525b_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_da51b7d18289c9cc262265097b44525b_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_da51b7d18289c9cc262265097b44525b_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_da51b7d18289c9cc262265097b44525b_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_da51b7d18289c9cc262265097b44525b_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame if used for exception.
if (frame_da51b7d18289c9cc262265097b44525b_4 == cache_frame_da51b7d18289c9cc262265097b44525b_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_da51b7d18289c9cc262265097b44525b_4);
cache_frame_da51b7d18289c9cc262265097b44525b_4 = NULL;
}
assertFrameObject(frame_da51b7d18289c9cc262265097b44525b_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_19;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_cmp_expr_left_4 = tmp_class_creation_3__bases;
tmp_cmp_expr_right_4 = mod_consts[204];
tmp_condition_result_19 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_19 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_15;
}
if (tmp_condition_result_19 == NUITKA_BOOL_TRUE) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
tmp_dictset_value = mod_consts[204];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__3_GzipDecoder_71, mod_consts[219], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_15;
}
branch_no_13:;
{
PyObject *tmp_assign_source_53;
PyObject *tmp_called_value_6;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_9;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_6 = tmp_class_creation_3__metaclass;
tmp_tuple_element_9 = mod_consts[33];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 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_6, 1, tmp_tuple_element_9);
tmp_tuple_element_9 = locals_urllib3$response$$$class__3_GzipDecoder_71;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 71;
tmp_assign_source_53 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
goto try_except_handler_15;
}
assert(outline_2_var___class__ == NULL);
outline_2_var___class__ = tmp_assign_source_53;
}
CHECK_OBJECT(outline_2_var___class__);
tmp_assign_source_52 = outline_2_var___class__;
Py_INCREF(tmp_assign_source_52);
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_urllib3$response$$$class__3_GzipDecoder_71);
locals_urllib3$response$$$class__3_GzipDecoder_71 = 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_urllib3$response$$$class__3_GzipDecoder_71);
locals_urllib3$response$$$class__3_GzipDecoder_71 = 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 = 71;
goto try_except_handler_13;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[33], tmp_assign_source_52);
}
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);
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);
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;
{
bool tmp_condition_result_20;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
tmp_cmp_expr_left_5 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_cmp_expr_left_5 == NULL)) {
tmp_cmp_expr_left_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_cmp_expr_left_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_5 = Py_None;
tmp_condition_result_20 = (tmp_cmp_expr_left_5 != tmp_cmp_expr_right_5) ? true : false;
if (tmp_condition_result_20 != false) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
// Tried code:
{
PyObject *tmp_assign_source_54;
PyObject *tmp_dircall_arg1_4;
tmp_dircall_arg1_4 = mod_consts[204];
Py_INCREF(tmp_dircall_arg1_4);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_4};
tmp_assign_source_54 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_16;
}
assert(tmp_class_creation_4__bases == NULL);
tmp_class_creation_4__bases = tmp_assign_source_54;
}
{
PyObject *tmp_assign_source_55;
tmp_assign_source_55 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__class_decl_dict == NULL);
tmp_class_creation_4__class_decl_dict = tmp_assign_source_55;
}
{
PyObject *tmp_assign_source_56;
PyObject *tmp_metaclass_value_4;
bool tmp_condition_result_21;
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_22;
int tmp_truth_name_4;
PyObject *tmp_type_arg_7;
PyObject *tmp_expression_value_16;
PyObject *tmp_subscript_value_4;
PyObject *tmp_bases_value_4;
tmp_key_value_10 = mod_consts[205];
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_21 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_21 != false) {
goto condexpr_true_7;
} else {
goto condexpr_false_7;
}
condexpr_true_7:;
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[205];
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_7;
condexpr_false_7:;
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 = 103;
goto try_except_handler_16;
}
tmp_condition_result_22 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_22 == NUITKA_BOOL_TRUE) {
goto condexpr_true_8;
} else {
goto condexpr_false_8;
}
condexpr_true_8:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_expression_value_16 = tmp_class_creation_4__bases;
tmp_subscript_value_4 = mod_consts[29];
tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_16, 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 = 103;
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 = 103;
goto try_except_handler_16;
}
goto condexpr_end_8;
condexpr_false_8:;
tmp_metaclass_value_4 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_4);
condexpr_end_8:;
condexpr_end_7:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_bases_value_4 = tmp_class_creation_4__bases;
tmp_assign_source_56 = SELECT_METACLASS(tmp_metaclass_value_4, tmp_bases_value_4);
Py_DECREF(tmp_metaclass_value_4);
if (tmp_assign_source_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_16;
}
assert(tmp_class_creation_4__metaclass == NULL);
tmp_class_creation_4__metaclass = tmp_assign_source_56;
}
{
bool tmp_condition_result_23;
PyObject *tmp_key_value_12;
PyObject *tmp_dict_arg_value_12;
tmp_key_value_12 = mod_consts[205];
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_23 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_23 != false) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict;
tmp_dictdel_key = mod_consts[205];
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 = 103;
goto try_except_handler_16;
}
branch_no_15:;
{
nuitka_bool tmp_condition_result_24;
PyObject *tmp_expression_value_17;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_17 = tmp_class_creation_4__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_17, mod_consts[206]);
tmp_condition_result_24 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_24 == NUITKA_BOOL_TRUE) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
{
PyObject *tmp_assign_source_57;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_18;
PyObject *tmp_args_value_7;
PyObject *tmp_tuple_element_10;
PyObject *tmp_kwargs_value_7;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_18 = tmp_class_creation_4__metaclass;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[206]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_16;
}
tmp_tuple_element_10 = mod_consts[35];
tmp_args_value_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_7, 0, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_10 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_7, 1, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_7 = tmp_class_creation_4__class_decl_dict;
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 103;
tmp_assign_source_57 = CALL_FUNCTION(tmp_called_value_7, tmp_args_value_7, tmp_kwargs_value_7);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_value_7);
if (tmp_assign_source_57 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_16;
}
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_57;
}
{
bool tmp_condition_result_25;
PyObject *tmp_operand_value_4;
PyObject *tmp_expression_value_19;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_expression_value_19 = tmp_class_creation_4__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_19, mod_consts[207]);
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 = 103;
goto try_except_handler_16;
}
tmp_condition_result_25 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_25 != false) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
{
PyObject *tmp_raise_type_4;
PyObject *tmp_raise_value_4;
PyObject *tmp_mod_expr_left_4;
PyObject *tmp_mod_expr_right_4;
PyObject *tmp_tuple_element_11;
PyObject *tmp_getattr_target_4;
PyObject *tmp_getattr_attr_4;
PyObject *tmp_getattr_default_4;
tmp_raise_type_4 = PyExc_TypeError;
tmp_mod_expr_left_4 = mod_consts[208];
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_getattr_target_4 = tmp_class_creation_4__metaclass;
tmp_getattr_attr_4 = mod_consts[209];
tmp_getattr_default_4 = mod_consts[210];
tmp_tuple_element_11 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_16;
}
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_20;
PyObject *tmp_type_arg_8;
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 0, tmp_tuple_element_11);
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_type_arg_8 = tmp_class_creation_4__prepared;
tmp_expression_value_20 = BUILTIN_TYPE1(tmp_type_arg_8);
assert(!(tmp_expression_value_20 == NULL));
tmp_tuple_element_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[209]);
Py_DECREF(tmp_expression_value_20);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 1, tmp_tuple_element_11);
}
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_mod_expr_right_4);
goto try_except_handler_16;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_raise_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_4, tmp_mod_expr_right_4);
Py_DECREF(tmp_mod_expr_right_4);
if (tmp_raise_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
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 = 103;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_16;
}
branch_no_17:;
goto branch_end_16;
branch_no_16:;
{
PyObject *tmp_assign_source_58;
tmp_assign_source_58 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_58;
}
branch_end_16:;
{
PyObject *tmp_assign_source_59;
{
PyObject *tmp_set_locals_4;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_set_locals_4 = tmp_class_creation_4__prepared;
locals_urllib3$response$$$class__4_BrotliDecoder_103 = tmp_set_locals_4;
Py_INCREF(tmp_set_locals_4);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[211];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__4_BrotliDecoder_103, mod_consts[212], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_18;
}
tmp_dictset_value = mod_consts[35];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__4_BrotliDecoder_103, mod_consts[213], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_18;
}
if (isFrameUnusable(cache_frame_df8098d67e46cefc4e4754f4c36166ad_5)) {
Py_XDECREF(cache_frame_df8098d67e46cefc4e4754f4c36166ad_5);
#if _DEBUG_REFCOUNTS
if (cache_frame_df8098d67e46cefc4e4754f4c36166ad_5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_df8098d67e46cefc4e4754f4c36166ad_5 = MAKE_CLASS_FRAME(codeobj_df8098d67e46cefc4e4754f4c36166ad, module_urllib3$response, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_df8098d67e46cefc4e4754f4c36166ad_5->m_type_description == NULL);
frame_df8098d67e46cefc4e4754f4c36166ad_5 = cache_frame_df8098d67e46cefc4e4754f4c36166ad_5;
// Push the new frame as the currently active one.
pushFrameStack(frame_df8098d67e46cefc4e4754f4c36166ad_5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_df8098d67e46cefc4e4754f4c36166ad_5) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__7___init__();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__4_BrotliDecoder_103, 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 = 107;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__8_decompress();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__4_BrotliDecoder_103, mod_consts[6], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 110;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__9_flush();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__4_BrotliDecoder_103, mod_consts[23], 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 = 115;
type_description_2 = "o";
goto frame_exception_exit_5;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_df8098d67e46cefc4e4754f4c36166ad_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_df8098d67e46cefc4e4754f4c36166ad_5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_df8098d67e46cefc4e4754f4c36166ad_5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_df8098d67e46cefc4e4754f4c36166ad_5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_df8098d67e46cefc4e4754f4c36166ad_5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_df8098d67e46cefc4e4754f4c36166ad_5,
type_description_2,
outline_3_var___class__
);
// Release cached frame if used for exception.
if (frame_df8098d67e46cefc4e4754f4c36166ad_5 == cache_frame_df8098d67e46cefc4e4754f4c36166ad_5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_df8098d67e46cefc4e4754f4c36166ad_5);
cache_frame_df8098d67e46cefc4e4754f4c36166ad_5 = NULL;
}
assertFrameObject(frame_df8098d67e46cefc4e4754f4c36166ad_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_26;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_cmp_expr_left_6 = tmp_class_creation_4__bases;
tmp_cmp_expr_right_6 = mod_consts[204];
tmp_condition_result_26 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
if (tmp_condition_result_26 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_18;
}
if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
tmp_dictset_value = mod_consts[204];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__4_BrotliDecoder_103, mod_consts[219], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_18;
}
branch_no_18:;
{
PyObject *tmp_assign_source_60;
PyObject *tmp_called_value_8;
PyObject *tmp_args_value_8;
PyObject *tmp_tuple_element_12;
PyObject *tmp_kwargs_value_8;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_called_value_8 = tmp_class_creation_4__metaclass;
tmp_tuple_element_12 = mod_consts[35];
tmp_args_value_8 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_8, 0, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_12 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_8, 1, tmp_tuple_element_12);
tmp_tuple_element_12 = locals_urllib3$response$$$class__4_BrotliDecoder_103;
PyTuple_SET_ITEM0(tmp_args_value_8, 2, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_8 = tmp_class_creation_4__class_decl_dict;
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 103;
tmp_assign_source_60 = CALL_FUNCTION(tmp_called_value_8, tmp_args_value_8, tmp_kwargs_value_8);
Py_DECREF(tmp_args_value_8);
if (tmp_assign_source_60 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_18;
}
assert(outline_3_var___class__ == NULL);
outline_3_var___class__ = tmp_assign_source_60;
}
CHECK_OBJECT(outline_3_var___class__);
tmp_assign_source_59 = outline_3_var___class__;
Py_INCREF(tmp_assign_source_59);
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_urllib3$response$$$class__4_BrotliDecoder_103);
locals_urllib3$response$$$class__4_BrotliDecoder_103 = 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_urllib3$response$$$class__4_BrotliDecoder_103);
locals_urllib3$response$$$class__4_BrotliDecoder_103 = 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 = 103;
goto try_except_handler_16;
outline_result_4:;
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[35], tmp_assign_source_59);
}
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);
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);
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;
branch_no_14:;
// Tried code:
{
PyObject *tmp_assign_source_61;
PyObject *tmp_dircall_arg1_5;
tmp_dircall_arg1_5 = mod_consts[204];
Py_INCREF(tmp_dircall_arg1_5);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_5};
tmp_assign_source_61 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
goto try_except_handler_19;
}
assert(tmp_class_creation_5__bases == NULL);
tmp_class_creation_5__bases = tmp_assign_source_61;
}
{
PyObject *tmp_assign_source_62;
tmp_assign_source_62 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__class_decl_dict == NULL);
tmp_class_creation_5__class_decl_dict = tmp_assign_source_62;
}
{
PyObject *tmp_assign_source_63;
PyObject *tmp_metaclass_value_5;
bool tmp_condition_result_27;
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_28;
int tmp_truth_name_5;
PyObject *tmp_type_arg_9;
PyObject *tmp_expression_value_21;
PyObject *tmp_subscript_value_5;
PyObject *tmp_bases_value_5;
tmp_key_value_13 = mod_consts[205];
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_27 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_27 != false) {
goto condexpr_true_9;
} else {
goto condexpr_false_9;
}
condexpr_true_9:;
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[205];
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_9;
condexpr_false_9:;
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 = 121;
goto try_except_handler_19;
}
tmp_condition_result_28 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_28 == NUITKA_BOOL_TRUE) {
goto condexpr_true_10;
} else {
goto condexpr_false_10;
}
condexpr_true_10:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_expression_value_21 = tmp_class_creation_5__bases;
tmp_subscript_value_5 = mod_consts[29];
tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_21, 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 = 121;
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 = 121;
goto try_except_handler_19;
}
goto condexpr_end_10;
condexpr_false_10:;
tmp_metaclass_value_5 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_5);
condexpr_end_10:;
condexpr_end_9:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_bases_value_5 = tmp_class_creation_5__bases;
tmp_assign_source_63 = SELECT_METACLASS(tmp_metaclass_value_5, tmp_bases_value_5);
Py_DECREF(tmp_metaclass_value_5);
if (tmp_assign_source_63 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
goto try_except_handler_19;
}
assert(tmp_class_creation_5__metaclass == NULL);
tmp_class_creation_5__metaclass = tmp_assign_source_63;
}
{
bool tmp_condition_result_29;
PyObject *tmp_key_value_15;
PyObject *tmp_dict_arg_value_15;
tmp_key_value_15 = mod_consts[205];
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_29 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_29 != false) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_5__class_decl_dict;
tmp_dictdel_key = mod_consts[205];
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 = 121;
goto try_except_handler_19;
}
branch_no_19:;
{
nuitka_bool tmp_condition_result_30;
PyObject *tmp_expression_value_22;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_22 = tmp_class_creation_5__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_22, mod_consts[206]);
tmp_condition_result_30 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
{
PyObject *tmp_assign_source_64;
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_23;
PyObject *tmp_args_value_9;
PyObject *tmp_tuple_element_13;
PyObject *tmp_kwargs_value_9;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_23 = tmp_class_creation_5__metaclass;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[206]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
goto try_except_handler_19;
}
tmp_tuple_element_13 = mod_consts[31];
tmp_args_value_9 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_9, 0, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_13 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_9, 1, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_9 = tmp_class_creation_5__class_decl_dict;
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 121;
tmp_assign_source_64 = CALL_FUNCTION(tmp_called_value_9, tmp_args_value_9, tmp_kwargs_value_9);
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_args_value_9);
if (tmp_assign_source_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
goto try_except_handler_19;
}
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_64;
}
{
bool tmp_condition_result_31;
PyObject *tmp_operand_value_5;
PyObject *tmp_expression_value_24;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_expression_value_24 = tmp_class_creation_5__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_24, mod_consts[207]);
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 = 121;
goto try_except_handler_19;
}
tmp_condition_result_31 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_31 != false) {
goto branch_yes_21;
} else {
goto branch_no_21;
}
}
branch_yes_21:;
{
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_14;
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[208];
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_getattr_target_5 = tmp_class_creation_5__metaclass;
tmp_getattr_attr_5 = mod_consts[209];
tmp_getattr_default_5 = mod_consts[210];
tmp_tuple_element_14 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5);
if (tmp_tuple_element_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
goto try_except_handler_19;
}
tmp_mod_expr_right_5 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_25;
PyObject *tmp_type_arg_10;
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 0, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_type_arg_10 = tmp_class_creation_5__prepared;
tmp_expression_value_25 = BUILTIN_TYPE1(tmp_type_arg_10);
assert(!(tmp_expression_value_25 == NULL));
tmp_tuple_element_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[209]);
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 = 121;
goto tuple_build_exception_5;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 1, tmp_tuple_element_14);
}
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_mod_expr_right_5);
goto try_except_handler_19;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
tmp_raise_value_5 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_5, tmp_mod_expr_right_5);
Py_DECREF(tmp_mod_expr_right_5);
if (tmp_raise_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
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 = 121;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_19;
}
branch_no_21:;
goto branch_end_20;
branch_no_20:;
{
PyObject *tmp_assign_source_65;
tmp_assign_source_65 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_65;
}
branch_end_20:;
{
PyObject *tmp_assign_source_66;
{
PyObject *tmp_set_locals_5;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_set_locals_5 = tmp_class_creation_5__prepared;
locals_urllib3$response$$$class__5_MultiDecoder_121 = tmp_set_locals_5;
Py_INCREF(tmp_set_locals_5);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[211];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__5_MultiDecoder_121, mod_consts[212], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
goto try_except_handler_21;
}
tmp_dictset_value = mod_consts[227];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__5_MultiDecoder_121, mod_consts[171], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
goto try_except_handler_21;
}
tmp_dictset_value = mod_consts[31];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__5_MultiDecoder_121, mod_consts[213], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
goto try_except_handler_21;
}
if (isFrameUnusable(cache_frame_598d07bddcd1befd5de893c07e4341dc_6)) {
Py_XDECREF(cache_frame_598d07bddcd1befd5de893c07e4341dc_6);
#if _DEBUG_REFCOUNTS
if (cache_frame_598d07bddcd1befd5de893c07e4341dc_6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_598d07bddcd1befd5de893c07e4341dc_6 = MAKE_CLASS_FRAME(codeobj_598d07bddcd1befd5de893c07e4341dc, module_urllib3$response, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_598d07bddcd1befd5de893c07e4341dc_6->m_type_description == NULL);
frame_598d07bddcd1befd5de893c07e4341dc_6 = cache_frame_598d07bddcd1befd5de893c07e4341dc_6;
// Push the new frame as the currently active one.
pushFrameStack(frame_598d07bddcd1befd5de893c07e4341dc_6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_598d07bddcd1befd5de893c07e4341dc_6) == 2); // Frame stack
// Framed code:
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__10___init__();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__5_MultiDecoder_121, 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 = 130;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__11_flush();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__5_MultiDecoder_121, mod_consts[23], 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 = 133;
type_description_2 = "o";
goto frame_exception_exit_6;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__12_decompress();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__5_MultiDecoder_121, mod_consts[6], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_2 = "o";
goto frame_exception_exit_6;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_598d07bddcd1befd5de893c07e4341dc_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_598d07bddcd1befd5de893c07e4341dc_6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_598d07bddcd1befd5de893c07e4341dc_6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_598d07bddcd1befd5de893c07e4341dc_6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_598d07bddcd1befd5de893c07e4341dc_6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_598d07bddcd1befd5de893c07e4341dc_6,
type_description_2,
outline_4_var___class__
);
// Release cached frame if used for exception.
if (frame_598d07bddcd1befd5de893c07e4341dc_6 == cache_frame_598d07bddcd1befd5de893c07e4341dc_6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_598d07bddcd1befd5de893c07e4341dc_6);
cache_frame_598d07bddcd1befd5de893c07e4341dc_6 = NULL;
}
assertFrameObject(frame_598d07bddcd1befd5de893c07e4341dc_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_32;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_cmp_expr_left_7 = tmp_class_creation_5__bases;
tmp_cmp_expr_right_7 = mod_consts[204];
tmp_condition_result_32 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
if (tmp_condition_result_32 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
goto try_except_handler_21;
}
if (tmp_condition_result_32 == NUITKA_BOOL_TRUE) {
goto branch_yes_22;
} else {
goto branch_no_22;
}
}
branch_yes_22:;
tmp_dictset_value = mod_consts[204];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__5_MultiDecoder_121, mod_consts[219], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
goto try_except_handler_21;
}
branch_no_22:;
{
PyObject *tmp_assign_source_67;
PyObject *tmp_called_value_10;
PyObject *tmp_args_value_10;
PyObject *tmp_tuple_element_15;
PyObject *tmp_kwargs_value_10;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_called_value_10 = tmp_class_creation_5__metaclass;
tmp_tuple_element_15 = mod_consts[31];
tmp_args_value_10 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_10, 0, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_15 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_10, 1, tmp_tuple_element_15);
tmp_tuple_element_15 = locals_urllib3$response$$$class__5_MultiDecoder_121;
PyTuple_SET_ITEM0(tmp_args_value_10, 2, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_10 = tmp_class_creation_5__class_decl_dict;
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 121;
tmp_assign_source_67 = CALL_FUNCTION(tmp_called_value_10, tmp_args_value_10, tmp_kwargs_value_10);
Py_DECREF(tmp_args_value_10);
if (tmp_assign_source_67 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
goto try_except_handler_21;
}
assert(outline_4_var___class__ == NULL);
outline_4_var___class__ = tmp_assign_source_67;
}
CHECK_OBJECT(outline_4_var___class__);
tmp_assign_source_66 = outline_4_var___class__;
Py_INCREF(tmp_assign_source_66);
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_urllib3$response$$$class__5_MultiDecoder_121);
locals_urllib3$response$$$class__5_MultiDecoder_121 = 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_urllib3$response$$$class__5_MultiDecoder_121);
locals_urllib3$response$$$class__5_MultiDecoder_121 = 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 = 121;
goto try_except_handler_19;
outline_result_5:;
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[31], tmp_assign_source_66);
}
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:;
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;
{
PyObject *tmp_assign_source_68;
tmp_assign_source_68 = MAKE_FUNCTION_urllib3$response$$$function__13__get_decoder();
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[26], tmp_assign_source_68);
}
// Tried code:
{
PyObject *tmp_assign_source_69;
PyObject *tmp_tuple_element_16;
PyObject *tmp_expression_value_26;
tmp_expression_value_26 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_expression_value_26 == NULL)) {
tmp_expression_value_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
assert(!(tmp_expression_value_26 == NULL));
tmp_tuple_element_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[136]);
if (tmp_tuple_element_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_22;
}
tmp_assign_source_69 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_assign_source_69, 0, tmp_tuple_element_16);
assert(tmp_class_creation_6__bases_orig == NULL);
tmp_class_creation_6__bases_orig = tmp_assign_source_69;
}
{
PyObject *tmp_assign_source_70;
PyObject *tmp_dircall_arg1_6;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_dircall_arg1_6 = tmp_class_creation_6__bases_orig;
Py_INCREF(tmp_dircall_arg1_6);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_6};
tmp_assign_source_70 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_70 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_22;
}
assert(tmp_class_creation_6__bases == NULL);
tmp_class_creation_6__bases = tmp_assign_source_70;
}
{
PyObject *tmp_assign_source_71;
tmp_assign_source_71 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__class_decl_dict == NULL);
tmp_class_creation_6__class_decl_dict = tmp_assign_source_71;
}
{
PyObject *tmp_assign_source_72;
PyObject *tmp_metaclass_value_6;
bool tmp_condition_result_33;
PyObject *tmp_key_value_16;
PyObject *tmp_dict_arg_value_16;
PyObject *tmp_dict_arg_value_17;
PyObject *tmp_key_value_17;
nuitka_bool tmp_condition_result_34;
int tmp_truth_name_6;
PyObject *tmp_type_arg_11;
PyObject *tmp_expression_value_27;
PyObject *tmp_subscript_value_6;
PyObject *tmp_bases_value_6;
tmp_key_value_16 = mod_consts[205];
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dict_arg_value_16 = tmp_class_creation_6__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_16, tmp_key_value_16);
assert(!(tmp_res == -1));
tmp_condition_result_33 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_33 != false) {
goto condexpr_true_11;
} else {
goto condexpr_false_11;
}
condexpr_true_11:;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dict_arg_value_17 = tmp_class_creation_6__class_decl_dict;
tmp_key_value_17 = mod_consts[205];
tmp_metaclass_value_6 = DICT_GET_ITEM0(tmp_dict_arg_value_17, tmp_key_value_17);
if (tmp_metaclass_value_6 == NULL) {
tmp_metaclass_value_6 = Py_None;
}
assert(!(tmp_metaclass_value_6 == NULL));
Py_INCREF(tmp_metaclass_value_6);
goto condexpr_end_11;
condexpr_false_11:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_truth_name_6 = CHECK_IF_TRUE(tmp_class_creation_6__bases);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_22;
}
tmp_condition_result_34 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_34 == NUITKA_BOOL_TRUE) {
goto condexpr_true_12;
} else {
goto condexpr_false_12;
}
condexpr_true_12:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_expression_value_27 = tmp_class_creation_6__bases;
tmp_subscript_value_6 = mod_consts[29];
tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_27, tmp_subscript_value_6, 0);
if (tmp_type_arg_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_22;
}
tmp_metaclass_value_6 = BUILTIN_TYPE1(tmp_type_arg_11);
Py_DECREF(tmp_type_arg_11);
if (tmp_metaclass_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_22;
}
goto condexpr_end_12;
condexpr_false_12:;
tmp_metaclass_value_6 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_6);
condexpr_end_12:;
condexpr_end_11:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_bases_value_6 = tmp_class_creation_6__bases;
tmp_assign_source_72 = SELECT_METACLASS(tmp_metaclass_value_6, tmp_bases_value_6);
Py_DECREF(tmp_metaclass_value_6);
if (tmp_assign_source_72 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_22;
}
assert(tmp_class_creation_6__metaclass == NULL);
tmp_class_creation_6__metaclass = tmp_assign_source_72;
}
{
bool tmp_condition_result_35;
PyObject *tmp_key_value_18;
PyObject *tmp_dict_arg_value_18;
tmp_key_value_18 = mod_consts[205];
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dict_arg_value_18 = tmp_class_creation_6__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_18, tmp_key_value_18);
assert(!(tmp_res == -1));
tmp_condition_result_35 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_35 != false) {
goto branch_yes_23;
} else {
goto branch_no_23;
}
}
branch_yes_23:;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_6__class_decl_dict;
tmp_dictdel_key = mod_consts[205];
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 = 155;
goto try_except_handler_22;
}
branch_no_23:;
{
nuitka_bool tmp_condition_result_36;
PyObject *tmp_expression_value_28;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_28 = tmp_class_creation_6__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_28, mod_consts[206]);
tmp_condition_result_36 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_36 == NUITKA_BOOL_TRUE) {
goto branch_yes_24;
} else {
goto branch_no_24;
}
}
branch_yes_24:;
{
PyObject *tmp_assign_source_73;
PyObject *tmp_called_value_11;
PyObject *tmp_expression_value_29;
PyObject *tmp_args_value_11;
PyObject *tmp_tuple_element_17;
PyObject *tmp_kwargs_value_11;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_29 = tmp_class_creation_6__metaclass;
tmp_called_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[206]);
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_22;
}
tmp_tuple_element_17 = mod_consts[231];
tmp_args_value_11 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_11, 0, tmp_tuple_element_17);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_17 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_11, 1, tmp_tuple_element_17);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_11 = tmp_class_creation_6__class_decl_dict;
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 155;
tmp_assign_source_73 = CALL_FUNCTION(tmp_called_value_11, tmp_args_value_11, tmp_kwargs_value_11);
Py_DECREF(tmp_called_value_11);
Py_DECREF(tmp_args_value_11);
if (tmp_assign_source_73 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_22;
}
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_73;
}
{
bool tmp_condition_result_37;
PyObject *tmp_operand_value_6;
PyObject *tmp_expression_value_30;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_expression_value_30 = tmp_class_creation_6__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_30, mod_consts[207]);
tmp_operand_value_6 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_22;
}
tmp_condition_result_37 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_37 != false) {
goto branch_yes_25;
} else {
goto branch_no_25;
}
}
branch_yes_25:;
{
PyObject *tmp_raise_type_6;
PyObject *tmp_raise_value_6;
PyObject *tmp_mod_expr_left_6;
PyObject *tmp_mod_expr_right_6;
PyObject *tmp_tuple_element_18;
PyObject *tmp_getattr_target_6;
PyObject *tmp_getattr_attr_6;
PyObject *tmp_getattr_default_6;
tmp_raise_type_6 = PyExc_TypeError;
tmp_mod_expr_left_6 = mod_consts[208];
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_getattr_target_6 = tmp_class_creation_6__metaclass;
tmp_getattr_attr_6 = mod_consts[209];
tmp_getattr_default_6 = mod_consts[210];
tmp_tuple_element_18 = BUILTIN_GETATTR(tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6);
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_22;
}
tmp_mod_expr_right_6 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_31;
PyObject *tmp_type_arg_12;
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 0, tmp_tuple_element_18);
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_type_arg_12 = tmp_class_creation_6__prepared;
tmp_expression_value_31 = BUILTIN_TYPE1(tmp_type_arg_12);
assert(!(tmp_expression_value_31 == NULL));
tmp_tuple_element_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_31, mod_consts[209]);
Py_DECREF(tmp_expression_value_31);
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 1, tmp_tuple_element_18);
}
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_mod_expr_right_6);
goto try_except_handler_22;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
tmp_raise_value_6 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_6, tmp_mod_expr_right_6);
Py_DECREF(tmp_mod_expr_right_6);
if (tmp_raise_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_22;
}
exception_type = tmp_raise_type_6;
Py_INCREF(tmp_raise_type_6);
exception_value = tmp_raise_value_6;
exception_lineno = 155;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_22;
}
branch_no_25:;
goto branch_end_24;
branch_no_24:;
{
PyObject *tmp_assign_source_74;
tmp_assign_source_74 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_74;
}
branch_end_24:;
{
PyObject *tmp_assign_source_75;
{
PyObject *tmp_set_locals_6;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_set_locals_6 = tmp_class_creation_6__prepared;
locals_urllib3$response$$$class__6_HTTPResponse_155 = tmp_set_locals_6;
Py_INCREF(tmp_set_locals_6);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[211];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[212], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_24;
}
tmp_dictset_value = mod_consts[232];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[171], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_24;
}
tmp_dictset_value = mod_consts[231];
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[213], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_24;
}
if (isFrameUnusable(cache_frame_53bb57d36be660ca04f14f953ffe6402_7)) {
Py_XDECREF(cache_frame_53bb57d36be660ca04f14f953ffe6402_7);
#if _DEBUG_REFCOUNTS
if (cache_frame_53bb57d36be660ca04f14f953ffe6402_7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_53bb57d36be660ca04f14f953ffe6402_7 = MAKE_CLASS_FRAME(codeobj_53bb57d36be660ca04f14f953ffe6402, module_urllib3$response, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_53bb57d36be660ca04f14f953ffe6402_7->m_type_description == NULL);
frame_53bb57d36be660ca04f14f953ffe6402_7 = cache_frame_53bb57d36be660ca04f14f953ffe6402_7;
// Push the new frame as the currently active one.
pushFrameStack(frame_53bb57d36be660ca04f14f953ffe6402_7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_53bb57d36be660ca04f14f953ffe6402_7) == 2); // Frame stack
// Framed code:
tmp_dictset_value = LIST_COPY(mod_consts[233]);
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[89], 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 = 188;
type_description_2 = "o";
goto frame_exception_exit_7;
}
{
bool tmp_condition_result_38;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
tmp_cmp_expr_left_8 = PyObject_GetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[20]);
if (tmp_cmp_expr_left_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_cmp_expr_left_8 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_cmp_expr_left_8 == NULL)) {
tmp_cmp_expr_left_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_cmp_expr_left_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 189;
type_description_2 = "o";
goto frame_exception_exit_7;
}
Py_INCREF(tmp_cmp_expr_left_8);
} else {
goto frame_exception_exit_7;
}
}
tmp_cmp_expr_right_8 = Py_None;
tmp_condition_result_38 = (tmp_cmp_expr_left_8 != tmp_cmp_expr_right_8) ? true : false;
Py_DECREF(tmp_cmp_expr_left_8);
if (tmp_condition_result_38 != false) {
goto branch_yes_26;
} else {
goto branch_no_26;
}
}
branch_yes_26:;
{
PyObject *tmp_assign_source_76;
tmp_assign_source_76 = PyObject_GetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[89]);
if (unlikely(tmp_assign_source_76 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[89]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 190;
type_description_2 = "o";
goto frame_exception_exit_7;
}
if (tmp_assign_source_76 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
type_description_2 = "o";
goto frame_exception_exit_7;
}
assert(tmp_HTTPResponse$class_inplace_1__value == NULL);
tmp_HTTPResponse$class_inplace_1__value = tmp_assign_source_76;
}
// Tried code:
{
PyObject *tmp_assign_source_77;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
CHECK_OBJECT(tmp_HTTPResponse$class_inplace_1__value);
tmp_iadd_expr_left_1 = tmp_HTTPResponse$class_inplace_1__value;
tmp_iadd_expr_right_1 = LIST_COPY(mod_consts[234]);
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LIST(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
Py_DECREF(tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
type_description_2 = "o";
goto try_except_handler_25;
}
tmp_assign_source_77 = tmp_iadd_expr_left_1;
tmp_HTTPResponse$class_inplace_1__value = tmp_assign_source_77;
}
CHECK_OBJECT(tmp_HTTPResponse$class_inplace_1__value);
tmp_dictset_value = tmp_HTTPResponse$class_inplace_1__value;
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[89], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
type_description_2 = "o";
goto try_except_handler_25;
}
goto try_end_12;
// Exception handler code:
try_except_handler_25:;
exception_keeper_type_22 = exception_type;
exception_keeper_value_22 = exception_value;
exception_keeper_tb_22 = exception_tb;
exception_keeper_lineno_22 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_HTTPResponse$class_inplace_1__value);
Py_DECREF(tmp_HTTPResponse$class_inplace_1__value);
tmp_HTTPResponse$class_inplace_1__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_22;
exception_value = exception_keeper_value_22;
exception_tb = exception_keeper_tb_22;
exception_lineno = exception_keeper_lineno_22;
goto frame_exception_exit_7;
// End of try:
try_end_12:;
CHECK_OBJECT(tmp_HTTPResponse$class_inplace_1__value);
Py_DECREF(tmp_HTTPResponse$class_inplace_1__value);
tmp_HTTPResponse$class_inplace_1__value = NULL;
branch_no_26:;
tmp_dictset_value = LIST_COPY(mod_consts[235]);
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, 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 = 191;
type_description_2 = "o";
goto frame_exception_exit_7;
}
{
PyObject *tmp_defaults_1;
tmp_defaults_1 = mod_consts[236];
Py_INCREF(tmp_defaults_1);
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__14___init__(tmp_defaults_1);
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, 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 = 193;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__15_get_redirect_location();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[238], 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 = 260;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__16_release_conn();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[110], 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 = 273;
type_description_2 = "o";
goto frame_exception_exit_7;
}
{
nuitka_bool tmp_condition_result_39;
PyObject *tmp_called_value_12;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_13;
PyObject *tmp_args_element_value_2;
tmp_res = MAPPING_HAS_ITEM(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[241]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 280;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_condition_result_39 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_39 == NUITKA_BOOL_TRUE) {
goto condexpr_true_13;
} else {
goto condexpr_false_13;
}
condexpr_true_13:;
tmp_called_value_12 = PyObject_GetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[241]);
if (unlikely(tmp_called_value_12 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[241]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 280;
type_description_2 = "o";
goto frame_exception_exit_7;
}
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 280;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_args_element_value_1 = MAKE_FUNCTION_urllib3$response$$$function__17_data();
frame_53bb57d36be660ca04f14f953ffe6402_7->m_frame.f_lineno = 280;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_12, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_12);
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 = 280;
type_description_2 = "o";
goto frame_exception_exit_7;
}
goto condexpr_end_13;
condexpr_false_13:;
tmp_called_value_13 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_2 = MAKE_FUNCTION_urllib3$response$$$function__17_data();
frame_53bb57d36be660ca04f14f953ffe6402_7->m_frame.f_lineno = 280;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_13, 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 = 280;
type_description_2 = "o";
goto frame_exception_exit_7;
}
condexpr_end_13:;
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[17], 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 = 281;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
{
nuitka_bool tmp_condition_result_40;
PyObject *tmp_called_value_14;
PyObject *tmp_args_element_value_3;
PyObject *tmp_called_value_15;
PyObject *tmp_args_element_value_4;
tmp_res = MAPPING_HAS_ITEM(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[241]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 289;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_condition_result_40 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_40 == NUITKA_BOOL_TRUE) {
goto condexpr_true_14;
} else {
goto condexpr_false_14;
}
condexpr_true_14:;
tmp_called_value_14 = PyObject_GetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[241]);
if (unlikely(tmp_called_value_14 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[241]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 289;
type_description_2 = "o";
goto frame_exception_exit_7;
}
if (tmp_called_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 289;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_args_element_value_3 = MAKE_FUNCTION_urllib3$response$$$function__18_connection();
frame_53bb57d36be660ca04f14f953ffe6402_7->m_frame.f_lineno = 289;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_14, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_14);
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 = 289;
type_description_2 = "o";
goto frame_exception_exit_7;
}
goto condexpr_end_14;
condexpr_false_14:;
tmp_called_value_15 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_4 = MAKE_FUNCTION_urllib3$response$$$function__18_connection();
frame_53bb57d36be660ca04f14f953ffe6402_7->m_frame.f_lineno = 289;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_15, tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_4);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 289;
type_description_2 = "o";
goto frame_exception_exit_7;
}
condexpr_end_14:;
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[198], 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_7;
}
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__19_isclosed();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, 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 = 293;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__20_tell();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[245], 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 = 296;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__21__init_length();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[63], 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 = 304;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__22__init_decoder();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[113], 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 = 356;
type_description_2 = "o";
goto frame_exception_exit_7;
}
{
PyObject *tmp_tuple_element_19;
tmp_tuple_element_19 = PyObject_GetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[249]);
if (tmp_tuple_element_19 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_19 = PyExc_IOError;
Py_INCREF(tmp_tuple_element_19);
} else {
goto frame_exception_exit_7;
}
}
tmp_dictset_value = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_32;
PyTuple_SET_ITEM(tmp_dictset_value, 0, tmp_tuple_element_19);
tmp_expression_value_32 = PyObject_GetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[3]);
if (tmp_expression_value_32 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_32 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_expression_value_32 == NULL)) {
tmp_expression_value_32 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_expression_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 375;
type_description_2 = "o";
goto tuple_build_exception_7;
}
Py_INCREF(tmp_expression_value_32);
} else {
goto tuple_build_exception_7;
}
}
tmp_tuple_element_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_32, mod_consts[7]);
Py_DECREF(tmp_expression_value_32);
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 375;
type_description_2 = "o";
goto tuple_build_exception_7;
}
PyTuple_SET_ITEM(tmp_dictset_value, 1, tmp_tuple_element_19);
}
goto tuple_build_noexception_7;
// Exception handling pass through code for tuple_build:
tuple_build_exception_7:;
Py_DECREF(tmp_dictset_value);
goto frame_exception_exit_7;
// Finished with no exception for tuple_build:
tuple_build_noexception_7:;
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[91], 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 = 375;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
{
bool tmp_condition_result_41;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
tmp_cmp_expr_left_9 = PyObject_GetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[20]);
if (tmp_cmp_expr_left_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_cmp_expr_left_9 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_cmp_expr_left_9 == NULL)) {
tmp_cmp_expr_left_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_cmp_expr_left_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 376;
type_description_2 = "o";
goto frame_exception_exit_7;
}
Py_INCREF(tmp_cmp_expr_left_9);
} else {
goto frame_exception_exit_7;
}
}
tmp_cmp_expr_right_9 = Py_None;
tmp_condition_result_41 = (tmp_cmp_expr_left_9 != tmp_cmp_expr_right_9) ? true : false;
Py_DECREF(tmp_cmp_expr_left_9);
if (tmp_condition_result_41 != false) {
goto branch_yes_27;
} else {
goto branch_no_27;
}
}
branch_yes_27:;
{
PyObject *tmp_assign_source_78;
tmp_assign_source_78 = PyObject_GetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[91]);
if (unlikely(tmp_assign_source_78 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[91]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 377;
type_description_2 = "o";
goto frame_exception_exit_7;
}
if (tmp_assign_source_78 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_2 = "o";
goto frame_exception_exit_7;
}
assert(tmp_HTTPResponse$class_inplace_2__value == NULL);
tmp_HTTPResponse$class_inplace_2__value = tmp_assign_source_78;
}
// Tried code:
{
PyObject *tmp_assign_source_79;
PyObject *tmp_iadd_expr_left_2;
PyObject *tmp_iadd_expr_right_2;
PyObject *tmp_tuple_element_20;
PyObject *tmp_expression_value_33;
CHECK_OBJECT(tmp_HTTPResponse$class_inplace_2__value);
tmp_iadd_expr_left_2 = tmp_HTTPResponse$class_inplace_2__value;
tmp_expression_value_33 = PyObject_GetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[20]);
if (tmp_expression_value_33 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_33 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_expression_value_33 == NULL)) {
tmp_expression_value_33 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_expression_value_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_2 = "o";
goto try_except_handler_26;
}
Py_INCREF(tmp_expression_value_33);
} else {
goto try_except_handler_26;
}
}
tmp_tuple_element_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_33, mod_consts[7]);
Py_DECREF(tmp_expression_value_33);
if (tmp_tuple_element_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_2 = "o";
goto try_except_handler_26;
}
tmp_iadd_expr_right_2 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_iadd_expr_right_2, 0, tmp_tuple_element_20);
tmp_result = INPLACE_OPERATION_ADD_OBJECT_TUPLE(&tmp_iadd_expr_left_2, tmp_iadd_expr_right_2);
Py_DECREF(tmp_iadd_expr_right_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_2 = "o";
goto try_except_handler_26;
}
tmp_assign_source_79 = tmp_iadd_expr_left_2;
tmp_HTTPResponse$class_inplace_2__value = tmp_assign_source_79;
}
CHECK_OBJECT(tmp_HTTPResponse$class_inplace_2__value);
tmp_dictset_value = tmp_HTTPResponse$class_inplace_2__value;
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[91], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_2 = "o";
goto try_except_handler_26;
}
goto try_end_13;
// Exception handler code:
try_except_handler_26:;
exception_keeper_type_23 = exception_type;
exception_keeper_value_23 = exception_value;
exception_keeper_tb_23 = exception_tb;
exception_keeper_lineno_23 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_HTTPResponse$class_inplace_2__value);
Py_DECREF(tmp_HTTPResponse$class_inplace_2__value);
tmp_HTTPResponse$class_inplace_2__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_23;
exception_value = exception_keeper_value_23;
exception_tb = exception_keeper_tb_23;
exception_lineno = exception_keeper_lineno_23;
goto frame_exception_exit_7;
// End of try:
try_end_13:;
CHECK_OBJECT(tmp_HTTPResponse$class_inplace_2__value);
Py_DECREF(tmp_HTTPResponse$class_inplace_2__value);
tmp_HTTPResponse$class_inplace_2__value = NULL;
branch_no_27:;
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__23__decode();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[120], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__24__flush_decoder();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[94], 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 = 401;
type_description_2 = "o";
goto frame_exception_exit_7;
}
{
PyObject *tmp_called_value_16;
PyObject *tmp_args_element_value_5;
tmp_called_value_16 = PyObject_GetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[181]);
if (tmp_called_value_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_called_value_16 = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[181]);
if (unlikely(tmp_called_value_16 == NULL)) {
tmp_called_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[181]);
}
if (tmp_called_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 412;
type_description_2 = "o";
goto frame_exception_exit_7;
}
Py_INCREF(tmp_called_value_16);
} else {
goto frame_exception_exit_7;
}
}
tmp_args_element_value_5 = MAKE_FUNCTION_urllib3$response$$$function__25__error_catcher();
frame_53bb57d36be660ca04f14f953ffe6402_7->m_frame.f_lineno = 412;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_16, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_16);
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 = 412;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[111], 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 = 413;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
{
PyObject *tmp_defaults_2;
tmp_defaults_2 = mod_consts[252];
Py_INCREF(tmp_defaults_2);
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__26_read(tmp_defaults_2);
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[57], 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 = 469;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
{
PyObject *tmp_defaults_3;
tmp_defaults_3 = mod_consts[254];
Py_INCREF(tmp_defaults_3);
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__27_stream(tmp_defaults_3);
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[127], 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 = 543;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
{
nuitka_bool tmp_condition_result_42;
PyObject *tmp_called_value_17;
PyObject *tmp_args_element_value_6;
PyObject *tmp_classmethod_arg_1;
tmp_res = MAPPING_HAS_ITEM(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[255]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_condition_result_42 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_42 == NUITKA_BOOL_TRUE) {
goto condexpr_true_15;
} else {
goto condexpr_false_15;
}
condexpr_true_15:;
tmp_called_value_17 = PyObject_GetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[255]);
if (unlikely(tmp_called_value_17 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[255]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 569;
type_description_2 = "o";
goto frame_exception_exit_7;
}
if (tmp_called_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 569;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_args_element_value_6 = MAKE_FUNCTION_urllib3$response$$$function__28_from_httplib();
frame_53bb57d36be660ca04f14f953ffe6402_7->m_frame.f_lineno = 569;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_17, tmp_args_element_value_6);
Py_DECREF(tmp_called_value_17);
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 = 569;
type_description_2 = "o";
goto frame_exception_exit_7;
}
goto condexpr_end_15;
condexpr_false_15:;
tmp_classmethod_arg_1 = MAKE_FUNCTION_urllib3$response$$$function__28_from_httplib();
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_1);
Py_DECREF(tmp_classmethod_arg_1);
assert(!(tmp_dictset_value == NULL));
condexpr_end_15:;
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[131], 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 = 570;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__29_getheaders();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[257], 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 = 602;
type_description_2 = "o";
goto frame_exception_exit_7;
}
{
PyObject *tmp_defaults_4;
tmp_defaults_4 = mod_consts[259];
Py_INCREF(tmp_defaults_4);
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__30_getheader(tmp_defaults_4);
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[260], 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 = 605;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__31_info();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[262], 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 = 609;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__32_close();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[108], 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 = 613;
type_description_2 = "o";
goto frame_exception_exit_7;
}
{
nuitka_bool tmp_condition_result_43;
PyObject *tmp_called_value_18;
PyObject *tmp_args_element_value_7;
PyObject *tmp_called_value_19;
PyObject *tmp_args_element_value_8;
tmp_res = MAPPING_HAS_ITEM(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[241]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 623;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_condition_result_43 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_43 == NUITKA_BOOL_TRUE) {
goto condexpr_true_16;
} else {
goto condexpr_false_16;
}
condexpr_true_16:;
tmp_called_value_18 = PyObject_GetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[241]);
if (unlikely(tmp_called_value_18 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[241]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 623;
type_description_2 = "o";
goto frame_exception_exit_7;
}
if (tmp_called_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 623;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_args_element_value_7 = MAKE_FUNCTION_urllib3$response$$$function__33_closed();
frame_53bb57d36be660ca04f14f953ffe6402_7->m_frame.f_lineno = 623;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_18, tmp_args_element_value_7);
Py_DECREF(tmp_called_value_18);
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 = 623;
type_description_2 = "o";
goto frame_exception_exit_7;
}
goto condexpr_end_16;
condexpr_false_16:;
tmp_called_value_19 = (PyObject *)&PyProperty_Type;
tmp_args_element_value_8 = MAKE_FUNCTION_urllib3$response$$$function__33_closed();
frame_53bb57d36be660ca04f14f953ffe6402_7->m_frame.f_lineno = 623;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_19, tmp_args_element_value_8);
Py_DECREF(tmp_args_element_value_8);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 623;
type_description_2 = "o";
goto frame_exception_exit_7;
}
condexpr_end_16:;
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[114], 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 = 624;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__34_fileno();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[139], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 636;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__35_flush();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[23], 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 = 647;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__36_readable();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[268], 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 = 655;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__37_readinto();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[270], 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 = 659;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__38_supports_chunked_reads();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[123], 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_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__39__update_chunk_length();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[154], 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 = 677;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__40__handle_chunk();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[155], 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 = 691;
type_description_2 = "o";
goto frame_exception_exit_7;
}
{
PyObject *tmp_defaults_5;
tmp_defaults_5 = mod_consts[275];
Py_INCREF(tmp_defaults_5);
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__41_read_chunked(tmp_defaults_5);
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[124], 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 = 713;
type_description_2 = "o";
goto frame_exception_exit_7;
}
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__42_geturl();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[276], 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 = 783;
type_description_2 = "o";
goto frame_exception_exit_7;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$response$$$function__43___iter__();
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, 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 = 794;
type_description_2 = "o";
goto frame_exception_exit_7;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_53bb57d36be660ca04f14f953ffe6402_7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_6;
frame_exception_exit_7:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_53bb57d36be660ca04f14f953ffe6402_7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_53bb57d36be660ca04f14f953ffe6402_7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_53bb57d36be660ca04f14f953ffe6402_7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_53bb57d36be660ca04f14f953ffe6402_7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_53bb57d36be660ca04f14f953ffe6402_7,
type_description_2,
outline_5_var___class__
);
// Release cached frame if used for exception.
if (frame_53bb57d36be660ca04f14f953ffe6402_7 == cache_frame_53bb57d36be660ca04f14f953ffe6402_7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_53bb57d36be660ca04f14f953ffe6402_7);
cache_frame_53bb57d36be660ca04f14f953ffe6402_7 = NULL;
}
assertFrameObject(frame_53bb57d36be660ca04f14f953ffe6402_7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_6;
frame_no_exception_6:;
goto skip_nested_handling_6;
nested_frame_exit_6:;
goto try_except_handler_24;
skip_nested_handling_6:;
{
nuitka_bool tmp_condition_result_44;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_cmp_expr_left_10 = tmp_class_creation_6__bases;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_cmp_expr_right_10 = tmp_class_creation_6__bases_orig;
tmp_condition_result_44 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
if (tmp_condition_result_44 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_24;
}
if (tmp_condition_result_44 == NUITKA_BOOL_TRUE) {
goto branch_yes_28;
} else {
goto branch_no_28;
}
}
branch_yes_28:;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_dictset_value = tmp_class_creation_6__bases_orig;
tmp_res = PyObject_SetItem(locals_urllib3$response$$$class__6_HTTPResponse_155, mod_consts[219], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_24;
}
branch_no_28:;
{
PyObject *tmp_assign_source_80;
PyObject *tmp_called_value_20;
PyObject *tmp_args_value_12;
PyObject *tmp_tuple_element_21;
PyObject *tmp_kwargs_value_12;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_called_value_20 = tmp_class_creation_6__metaclass;
tmp_tuple_element_21 = mod_consts[231];
tmp_args_value_12 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_12, 0, tmp_tuple_element_21);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_21 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_12, 1, tmp_tuple_element_21);
tmp_tuple_element_21 = locals_urllib3$response$$$class__6_HTTPResponse_155;
PyTuple_SET_ITEM0(tmp_args_value_12, 2, tmp_tuple_element_21);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_12 = tmp_class_creation_6__class_decl_dict;
frame_20e862cbbb0ed9564511d2c897bb9835->m_frame.f_lineno = 155;
tmp_assign_source_80 = CALL_FUNCTION(tmp_called_value_20, tmp_args_value_12, tmp_kwargs_value_12);
Py_DECREF(tmp_args_value_12);
if (tmp_assign_source_80 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto try_except_handler_24;
}
assert(outline_5_var___class__ == NULL);
outline_5_var___class__ = tmp_assign_source_80;
}
CHECK_OBJECT(outline_5_var___class__);
tmp_assign_source_75 = outline_5_var___class__;
Py_INCREF(tmp_assign_source_75);
goto try_return_handler_24;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_24:;
Py_DECREF(locals_urllib3$response$$$class__6_HTTPResponse_155);
locals_urllib3$response$$$class__6_HTTPResponse_155 = NULL;
goto try_return_handler_23;
// Exception handler code:
try_except_handler_24:;
exception_keeper_type_24 = exception_type;
exception_keeper_value_24 = exception_value;
exception_keeper_tb_24 = exception_tb;
exception_keeper_lineno_24 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_urllib3$response$$$class__6_HTTPResponse_155);
locals_urllib3$response$$$class__6_HTTPResponse_155 = NULL;
// Re-raise.
exception_type = exception_keeper_type_24;
exception_value = exception_keeper_value_24;
exception_tb = exception_keeper_tb_24;
exception_lineno = exception_keeper_lineno_24;
goto try_except_handler_23;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_23:;
CHECK_OBJECT(outline_5_var___class__);
Py_DECREF(outline_5_var___class__);
outline_5_var___class__ = NULL;
goto outline_result_6;
// Exception handler code:
try_except_handler_23:;
exception_keeper_type_25 = exception_type;
exception_keeper_value_25 = exception_value;
exception_keeper_tb_25 = exception_tb;
exception_keeper_lineno_25 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_25;
exception_value = exception_keeper_value_25;
exception_tb = exception_keeper_tb_25;
exception_lineno = exception_keeper_lineno_25;
goto outline_exception_6;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_6:;
exception_lineno = 155;
goto try_except_handler_22;
outline_result_6:;
UPDATE_STRING_DICT1(moduledict_urllib3$response, (Nuitka_StringObject *)mod_consts[231], tmp_assign_source_75);
}
goto try_end_14;
// Exception handler code:
try_except_handler_22:;
exception_keeper_type_26 = exception_type;
exception_keeper_value_26 = exception_value;
exception_keeper_tb_26 = exception_tb;
exception_keeper_lineno_26 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_6__bases_orig);
tmp_class_creation_6__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_6__bases);
tmp_class_creation_6__bases = NULL;
Py_XDECREF(tmp_class_creation_6__class_decl_dict);
tmp_class_creation_6__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_6__metaclass);
tmp_class_creation_6__metaclass = NULL;
Py_XDECREF(tmp_class_creation_6__prepared);
tmp_class_creation_6__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_26;
exception_value = exception_keeper_value_26;
exception_tb = exception_keeper_tb_26;
exception_lineno = exception_keeper_lineno_26;
goto frame_exception_exit_1;
// End of try:
try_end_14:;
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_20e862cbbb0ed9564511d2c897bb9835);
#endif
popFrameStack();
goto frame_no_exception_7;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_20e862cbbb0ed9564511d2c897bb9835);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_20e862cbbb0ed9564511d2c897bb9835, exception_lineno);
} else if (exception_tb->tb_frame != &frame_20e862cbbb0ed9564511d2c897bb9835->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_20e862cbbb0ed9564511d2c897bb9835, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_7:;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
Py_DECREF(tmp_class_creation_6__bases_orig);
tmp_class_creation_6__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_6__bases);
Py_DECREF(tmp_class_creation_6__bases);
tmp_class_creation_6__bases = NULL;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
Py_DECREF(tmp_class_creation_6__class_decl_dict);
tmp_class_creation_6__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
Py_DECREF(tmp_class_creation_6__metaclass);
tmp_class_creation_6__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_6__prepared);
Py_DECREF(tmp_class_creation_6__prepared);
tmp_class_creation_6__prepared = NULL;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("urllib3.response", false);
Py_INCREF(module_urllib3$response);
return module_urllib3$response;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_urllib3$response, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("urllib3$response", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}