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.connectionpool'
* 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$connectionpool" 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$connectionpool;
PyDictObject *moduledict_urllib3$connectionpool;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[335];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[335];
#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.connectionpool"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 335; 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$connectionpool(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 335; 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_5ab3d0c0604486f636cbe5c9777c472f;
static PyCodeObject *codeobj_1eafb27a09a73ea502c6ffe2f1f78fb0;
static PyCodeObject *codeobj_45db51a6941488608899133f469410ab;
static PyCodeObject *codeobj_2080feca2b7363e908a93f436b9667e0;
static PyCodeObject *codeobj_991c95f4ba629594085ef7c664f9f240;
static PyCodeObject *codeobj_efdd071ce18754b403ce7fb9590819c1;
static PyCodeObject *codeobj_4b96b0d048d38f4dfda5e14acb7801b2;
static PyCodeObject *codeobj_6a43966078c5e714de9ff9342893be1c;
static PyCodeObject *codeobj_68e74fb1f55742bdaec6d60e80bf6bd6;
static PyCodeObject *codeobj_b6f7c450c72323a83593e8ff00cd333a;
static PyCodeObject *codeobj_beaa81692920eda5956dae444fa7e4a5;
static PyCodeObject *codeobj_da84d125a421b42a2994964465bf8468;
static PyCodeObject *codeobj_3a9f3bc071d6d54a52fd71ab84b1308a;
static PyCodeObject *codeobj_3a6fcbbf1b7c5d626d7a19c9c983337c;
static PyCodeObject *codeobj_dbe1fb812ff5e0ded39fc7b4c2578565;
static PyCodeObject *codeobj_7a86e8bf8f6718e3209bb36331b5f7b5;
static PyCodeObject *codeobj_7a57b6d7aa1ec911632966f485de4f28;
static PyCodeObject *codeobj_b18fed93ad1973768f71be3e58c1fa47;
static PyCodeObject *codeobj_321dc5503d0e84f4aad1883485f6ce03;
static PyCodeObject *codeobj_d50e713762c4fa6b69dd8f399fae3f65;
static PyCodeObject *codeobj_ed1a750dbd8c8b9bf99b003f4338b8a8;
static PyCodeObject *codeobj_cfafeff00e0058a216b1b1977fa6a5cd;
static PyCodeObject *codeobj_ffcb44db13ec29a1c66aa8742b0e5934;
static PyCodeObject *codeobj_0b3ead2fe5e7d2089de2fc53e2aa42de;
static PyCodeObject *codeobj_e249b88514fbb36c618e692e415fcca1;
static PyCodeObject *codeobj_d1eac4c0514abb292089431ff79d1163;
static PyCodeObject *codeobj_0f4f7138fd895aeaca12d3439754b3da;
static PyCodeObject *codeobj_d2ca02a16a1109af2bcafac4caadc23b;
static PyCodeObject *codeobj_a214df9caad0f58c47aac90b11df25ae;
static PyCodeObject *codeobj_f722454574357f70af53b39d461bb237;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[229]; CHECK_OBJECT(module_filename_obj);
codeobj_5ab3d0c0604486f636cbe5c9777c472f = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[313], mod_consts[313], NULL, NULL, 0, 0, 0);
codeobj_1eafb27a09a73ea502c6ffe2f1f78fb0 = MAKE_CODE_OBJECT(module_filename_obj, 64, CO_NOFREE, mod_consts[12], mod_consts[12], mod_consts[314], NULL, 0, 0, 0);
codeobj_45db51a6941488608899133f469410ab = MAKE_CODE_OBJECT(module_filename_obj, 103, CO_NOFREE, mod_consts[189], mod_consts[189], mod_consts[314], NULL, 0, 0, 0);
codeobj_2080feca2b7363e908a93f436b9667e0 = MAKE_CODE_OBJECT(module_filename_obj, 852, CO_NOFREE, mod_consts[212], mod_consts[212], mod_consts[314], NULL, 0, 0, 0);
codeobj_991c95f4ba629594085ef7c664f9f240 = MAKE_CODE_OBJECT(module_filename_obj, 84, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[282], mod_consts[282], mod_consts[315], NULL, 1, 0, 0);
codeobj_efdd071ce18754b403ce7fb9590819c1 = MAKE_CODE_OBJECT(module_filename_obj, 87, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[284], mod_consts[284], mod_consts[316], NULL, 4, 0, 0);
codeobj_4b96b0d048d38f4dfda5e14acb7801b2 = MAKE_CODE_OBJECT(module_filename_obj, 73, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[13], mod_consts[13], mod_consts[317], NULL, 3, 0, 0);
codeobj_6a43966078c5e714de9ff9342893be1c = MAKE_CODE_OBJECT(module_filename_obj, 167, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[13], mod_consts[13], mod_consts[318], NULL, 11, 0, 0);
codeobj_68e74fb1f55742bdaec6d60e80bf6bd6 = MAKE_CODE_OBJECT(module_filename_obj, 875, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[13], mod_consts[13], mod_consts[319], NULL, 20, 0, 0);
codeobj_b6f7c450c72323a83593e8ff00cd333a = MAKE_CODE_OBJECT(module_filename_obj, 81, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[280], mod_consts[280], mod_consts[315], NULL, 1, 0, 0);
codeobj_beaa81692920eda5956dae444fa7e4a5 = MAKE_CODE_OBJECT(module_filename_obj, 452, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[106], mod_consts[106], mod_consts[320], NULL, 2, 0, 0);
codeobj_da84d125a421b42a2994964465bf8468 = MAKE_CODE_OBJECT(module_filename_obj, 237, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[136], mod_consts[136], mod_consts[321], NULL, 2, 0, 0);
codeobj_3a9f3bc071d6d54a52fd71ab84b1308a = MAKE_CODE_OBJECT(module_filename_obj, 314, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[76], mod_consts[76], mod_consts[322], NULL, 2, 0, 0);
codeobj_3a6fcbbf1b7c5d626d7a19c9c983337c = MAKE_CODE_OBJECT(module_filename_obj, 351, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[139], mod_consts[139], mod_consts[323], NULL, 6, 0, 0);
codeobj_dbe1fb812ff5e0ded39fc7b4c2578565 = MAKE_CODE_OBJECT(module_filename_obj, 952, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[57], mod_consts[57], mod_consts[324], NULL, 1, 0, 0);
codeobj_7a86e8bf8f6718e3209bb36331b5f7b5 = MAKE_CODE_OBJECT(module_filename_obj, 216, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[57], mod_consts[57], mod_consts[325], NULL, 1, 0, 0);
codeobj_7a57b6d7aa1ec911632966f485de4f28 = MAKE_CODE_OBJECT(module_filename_obj, 1038, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[2], mod_consts[2], mod_consts[326], NULL, 2, 0, 0);
codeobj_b18fed93ad1973768f71be3e58c1fa47 = MAKE_CODE_OBJECT(module_filename_obj, 924, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[210], mod_consts[210], mod_consts[325], NULL, 2, 0, 0);
codeobj_321dc5503d0e84f4aad1883485f6ce03 = MAKE_CODE_OBJECT(module_filename_obj, 310, CO_NOFREE, mod_consts[138], mod_consts[138], mod_consts[325], NULL, 2, 0, 0);
codeobj_d50e713762c4fa6b69dd8f399fae3f65 = MAKE_CODE_OBJECT(module_filename_obj, 944, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[138], mod_consts[138], mod_consts[325], NULL, 2, 0, 0);
codeobj_ed1a750dbd8c8b9bf99b003f4338b8a8 = MAKE_CODE_OBJECT(module_filename_obj, 276, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[161], mod_consts[161], mod_consts[325], NULL, 2, 0, 0);
codeobj_cfafeff00e0058a216b1b1977fa6a5cd = MAKE_CODE_OBJECT(module_filename_obj, 326, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[80], mod_consts[80], mod_consts[327], NULL, 4, 0, 0);
codeobj_ffcb44db13ec29a1c66aa8742b0e5934 = MAKE_CODE_OBJECT(module_filename_obj, 304, CO_NOFREE, mod_consts[78], mod_consts[78], mod_consts[325], NULL, 2, 0, 0);
codeobj_0b3ead2fe5e7d2089de2fc53e2aa42de = MAKE_CODE_OBJECT(module_filename_obj, 988, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[78], mod_consts[78], mod_consts[328], NULL, 2, 0, 0);
codeobj_e249b88514fbb36c618e692e415fcca1 = MAKE_CODE_OBJECT(module_filename_obj, 92, CO_NOFREE, mod_consts[11], mod_consts[11], mod_consts[315], NULL, 1, 0, 0);
codeobj_d1eac4c0514abb292089431ff79d1163 = MAKE_CODE_OBJECT(module_filename_obj, 455, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[11], mod_consts[11], mod_consts[329], NULL, 1, 0, 0);
codeobj_0f4f7138fd895aeaca12d3439754b3da = MAKE_CODE_OBJECT(module_filename_obj, 1010, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[312], mod_consts[312], mod_consts[330], NULL, 1, 0, 0);
codeobj_d2ca02a16a1109af2bcafac4caadc23b = MAKE_CODE_OBJECT(module_filename_obj, 763, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[169], mod_consts[169], mod_consts[331], NULL, 1, 0, 0);
codeobj_a214df9caad0f58c47aac90b11df25ae = MAKE_CODE_OBJECT(module_filename_obj, 473, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[127], mod_consts[127], mod_consts[332], NULL, 2, 0, 0);
codeobj_f722454574357f70af53b39d461bb237 = MAKE_CODE_OBJECT(module_filename_obj, 494, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[163], mod_consts[163], mod_consts[333], NULL, 13, 0, 0);
}
// The module function declarations.
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);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__6_complex_call_helper_pos_star_dict(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__10_complex_call_helper_pos_keywords_star_dict(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__10__validate_conn();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__11__prepare_proxy();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__12__get_timeout();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__13__raise_timeout();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__14__make_request(PyObject *defaults);
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__15__absolute_url();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__16_close();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__17_is_same_host();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__18_urlopen(PyObject *defaults);
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__18_urlopen$$$function__1_drain_and_release_conn();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__19___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__1___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__20__prepare_conn();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__21__prepare_proxy();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__22__new_conn();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__23__validate_conn();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__24_connection_from_url();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__25__normalize_host();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__2___str__();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__3___enter__();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__4___exit__();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__5_close();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__6___init__(PyObject *defaults);
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__7__new_conn();
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__8__get_conn(PyObject *defaults);
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__9__put_conn();
// The module function definitions.
static PyObject *impl_urllib3$connectionpool$$$function__1___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_host = python_pars[1];
PyObject *par_port = python_pars[2];
struct Nuitka_FrameObject *frame_4b96b0d048d38f4dfda5e14acb7801b2;
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;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_4b96b0d048d38f4dfda5e14acb7801b2 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_4b96b0d048d38f4dfda5e14acb7801b2)) {
Py_XDECREF(cache_frame_4b96b0d048d38f4dfda5e14acb7801b2);
#if _DEBUG_REFCOUNTS
if (cache_frame_4b96b0d048d38f4dfda5e14acb7801b2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_4b96b0d048d38f4dfda5e14acb7801b2 = MAKE_FUNCTION_FRAME(codeobj_4b96b0d048d38f4dfda5e14acb7801b2, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_4b96b0d048d38f4dfda5e14acb7801b2->m_type_description == NULL);
frame_4b96b0d048d38f4dfda5e14acb7801b2 = cache_frame_4b96b0d048d38f4dfda5e14acb7801b2;
// Push the new frame as the currently active one.
pushFrameStack(frame_4b96b0d048d38f4dfda5e14acb7801b2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_4b96b0d048d38f4dfda5e14acb7801b2) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(par_host);
tmp_operand_value_1 = par_host;
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 = 74;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_4b96b0d048d38f4dfda5e14acb7801b2->m_frame.f_lineno = 75;
tmp_raise_type_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[1]);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 75;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_assattr_target_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[2]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[2]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 77;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_host);
tmp_kw_call_arg_value_0_1 = par_host;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_kw_call_dict_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[3]);
if (tmp_kw_call_dict_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 77;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_4b96b0d048d38f4dfda5e14acb7801b2->m_frame.f_lineno = 77;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_assattr_value_1 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_2, args, kw_values, mod_consts[4]);
}
Py_DECREF(tmp_kw_call_dict_value_0_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 77;
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[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 = 77;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_host);
tmp_expression_value_2 = par_host;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[6]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 78;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_4b96b0d048d38f4dfda5e14acb7801b2->m_frame.f_lineno = 78;
tmp_assattr_value_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 78;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[7], 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 = 78;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_port);
tmp_assattr_value_3 = par_port;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[8], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 79;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_4b96b0d048d38f4dfda5e14acb7801b2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_4b96b0d048d38f4dfda5e14acb7801b2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_4b96b0d048d38f4dfda5e14acb7801b2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_4b96b0d048d38f4dfda5e14acb7801b2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_4b96b0d048d38f4dfda5e14acb7801b2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_4b96b0d048d38f4dfda5e14acb7801b2,
type_description_1,
par_self,
par_host,
par_port
);
// Release cached frame if used for exception.
if (frame_4b96b0d048d38f4dfda5e14acb7801b2 == cache_frame_4b96b0d048d38f4dfda5e14acb7801b2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_4b96b0d048d38f4dfda5e14acb7801b2);
cache_frame_4b96b0d048d38f4dfda5e14acb7801b2 = NULL;
}
assertFrameObject(frame_4b96b0d048d38f4dfda5e14acb7801b2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
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_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
// 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$connectionpool$$$function__2___str__(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_b6f7c450c72323a83593e8ff00cd333a;
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_b6f7c450c72323a83593e8ff00cd333a = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b6f7c450c72323a83593e8ff00cd333a)) {
Py_XDECREF(cache_frame_b6f7c450c72323a83593e8ff00cd333a);
#if _DEBUG_REFCOUNTS
if (cache_frame_b6f7c450c72323a83593e8ff00cd333a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b6f7c450c72323a83593e8ff00cd333a = MAKE_FUNCTION_FRAME(codeobj_b6f7c450c72323a83593e8ff00cd333a, module_urllib3$connectionpool, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b6f7c450c72323a83593e8ff00cd333a->m_type_description == NULL);
frame_b6f7c450c72323a83593e8ff00cd333a = cache_frame_b6f7c450c72323a83593e8ff00cd333a;
// Push the new frame as the currently active one.
pushFrameStack(frame_b6f7c450c72323a83593e8ff00cd333a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b6f7c450c72323a83593e8ff00cd333a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_type_arg_1;
tmp_mod_expr_left_1 = mod_consts[9];
CHECK_OBJECT(par_self);
tmp_type_arg_1 = par_self;
tmp_expression_value_1 = BUILTIN_TYPE1(tmp_type_arg_1);
assert(!(tmp_expression_value_1 == NULL));
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[10]);
Py_DECREF(tmp_expression_value_1);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 82;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[5]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 82;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[8]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 82;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 2, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_return_value = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 82;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b6f7c450c72323a83593e8ff00cd333a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b6f7c450c72323a83593e8ff00cd333a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b6f7c450c72323a83593e8ff00cd333a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b6f7c450c72323a83593e8ff00cd333a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b6f7c450c72323a83593e8ff00cd333a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b6f7c450c72323a83593e8ff00cd333a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b6f7c450c72323a83593e8ff00cd333a,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_b6f7c450c72323a83593e8ff00cd333a == cache_frame_b6f7c450c72323a83593e8ff00cd333a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b6f7c450c72323a83593e8ff00cd333a);
cache_frame_b6f7c450c72323a83593e8ff00cd333a = NULL;
}
assertFrameObject(frame_b6f7c450c72323a83593e8ff00cd333a);
// 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$connectionpool$$$function__3___enter__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *tmp_return_value = NULL;
// Actual function body.
CHECK_OBJECT(par_self);
tmp_return_value = par_self;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_urllib3$connectionpool$$$function__4___exit__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_exc_type = python_pars[1];
PyObject *par_exc_val = python_pars[2];
PyObject *par_exc_tb = python_pars[3];
struct Nuitka_FrameObject *frame_efdd071ce18754b403ce7fb9590819c1;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_efdd071ce18754b403ce7fb9590819c1 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_efdd071ce18754b403ce7fb9590819c1)) {
Py_XDECREF(cache_frame_efdd071ce18754b403ce7fb9590819c1);
#if _DEBUG_REFCOUNTS
if (cache_frame_efdd071ce18754b403ce7fb9590819c1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_efdd071ce18754b403ce7fb9590819c1 = MAKE_FUNCTION_FRAME(codeobj_efdd071ce18754b403ce7fb9590819c1, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_efdd071ce18754b403ce7fb9590819c1->m_type_description == NULL);
frame_efdd071ce18754b403ce7fb9590819c1 = cache_frame_efdd071ce18754b403ce7fb9590819c1;
// Push the new frame as the currently active one.
pushFrameStack(frame_efdd071ce18754b403ce7fb9590819c1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_efdd071ce18754b403ce7fb9590819c1) == 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_efdd071ce18754b403ce7fb9590819c1->m_frame.f_lineno = 88;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[11]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_efdd071ce18754b403ce7fb9590819c1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_efdd071ce18754b403ce7fb9590819c1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_efdd071ce18754b403ce7fb9590819c1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_efdd071ce18754b403ce7fb9590819c1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_efdd071ce18754b403ce7fb9590819c1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_efdd071ce18754b403ce7fb9590819c1,
type_description_1,
par_self,
par_exc_type,
par_exc_val,
par_exc_tb
);
// Release cached frame if used for exception.
if (frame_efdd071ce18754b403ce7fb9590819c1 == cache_frame_efdd071ce18754b403ce7fb9590819c1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_efdd071ce18754b403ce7fb9590819c1);
cache_frame_efdd071ce18754b403ce7fb9590819c1 = NULL;
}
assertFrameObject(frame_efdd071ce18754b403ce7fb9590819c1);
// 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);
CHECK_OBJECT(par_exc_type);
Py_DECREF(par_exc_type);
CHECK_OBJECT(par_exc_val);
Py_DECREF(par_exc_val);
CHECK_OBJECT(par_exc_tb);
Py_DECREF(par_exc_tb);
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_exc_type);
Py_DECREF(par_exc_type);
CHECK_OBJECT(par_exc_val);
Py_DECREF(par_exc_val);
CHECK_OBJECT(par_exc_tb);
Py_DECREF(par_exc_tb);
// 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$connectionpool$$$function__6___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_host = python_pars[1];
PyObject *par_port = python_pars[2];
PyObject *par_strict = python_pars[3];
PyObject *par_timeout = python_pars[4];
PyObject *par_maxsize = python_pars[5];
PyObject *par_block = python_pars[6];
PyObject *par_headers = python_pars[7];
PyObject *par_retries = python_pars[8];
PyObject *par__proxy = python_pars[9];
PyObject *par__proxy_headers = python_pars[10];
PyObject *par_conn_kw = python_pars[11];
PyObject *var__ = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_6a43966078c5e714de9ff9342893be1c;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
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;
static struct Nuitka_FrameObject *cache_frame_6a43966078c5e714de9ff9342893be1c = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_6a43966078c5e714de9ff9342893be1c)) {
Py_XDECREF(cache_frame_6a43966078c5e714de9ff9342893be1c);
#if _DEBUG_REFCOUNTS
if (cache_frame_6a43966078c5e714de9ff9342893be1c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6a43966078c5e714de9ff9342893be1c = MAKE_FUNCTION_FRAME(codeobj_6a43966078c5e714de9ff9342893be1c, module_urllib3$connectionpool, 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_6a43966078c5e714de9ff9342893be1c->m_type_description == NULL);
frame_6a43966078c5e714de9ff9342893be1c = cache_frame_6a43966078c5e714de9ff9342893be1c;
// Push the new frame as the currently active one.
pushFrameStack(frame_6a43966078c5e714de9ff9342893be1c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6a43966078c5e714de9ff9342893be1c) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_1 = par_self;
CHECK_OBJECT(par_host);
tmp_args_element_value_2 = par_host;
CHECK_OBJECT(par_port);
tmp_args_element_value_3 = par_port;
frame_6a43966078c5e714de9ff9342893be1c->m_frame.f_lineno = 181;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_1,
mod_consts[13],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[14]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[14]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_4 = par_self;
CHECK_OBJECT(par_headers);
tmp_args_element_value_5 = par_headers;
frame_6a43966078c5e714de9ff9342893be1c->m_frame.f_lineno = 182;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_call_result_2 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_2,
mod_consts[13],
call_args
);
}
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_strict);
tmp_assattr_value_1 = par_strict;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[15], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_timeout);
tmp_isinstance_inst_1 = par_timeout;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 186;
type_description_1 = "ooooooooooooo";
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 = 186;
type_description_1 = "ooooooooooooo";
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 = 186;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_6;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_timeout);
tmp_args_element_value_6 = par_timeout;
frame_6a43966078c5e714de9ff9342893be1c->m_frame.f_lineno = 187;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[17], tmp_args_element_value_6);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_timeout;
assert(old != NULL);
par_timeout = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_retries);
tmp_cmp_expr_left_1 = par_retries;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[18]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[18]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[19]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_retries;
assert(old != NULL);
par_retries = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_2:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_timeout);
tmp_assattr_value_2 = par_timeout;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[20], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 192;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_retries);
tmp_assattr_value_3 = par_retries;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[21], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_called_instance_4;
PyObject *tmp_args_element_value_7;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_self);
tmp_called_instance_4 = par_self;
CHECK_OBJECT(par_maxsize);
tmp_args_element_value_7 = par_maxsize;
frame_6a43966078c5e714de9ff9342893be1c->m_frame.f_lineno = 195;
tmp_assattr_value_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[22], tmp_args_element_value_7);
if (tmp_assattr_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 195;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[23], tmp_assattr_value_4);
Py_DECREF(tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 195;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
CHECK_OBJECT(par_block);
tmp_assattr_value_5 = par_block;
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[24], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 196;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
CHECK_OBJECT(par__proxy);
tmp_assattr_value_6 = par__proxy;
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[25], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 198;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_assattr_target_7;
CHECK_OBJECT(par__proxy_headers);
tmp_or_left_value_1 = par__proxy_headers;
tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1);
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 199;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_or_right_value_1 = MAKE_DICT_EMPTY();
tmp_assattr_value_7 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
Py_INCREF(tmp_or_left_value_1);
tmp_assattr_value_7 = tmp_or_left_value_1;
or_end_1:;
CHECK_OBJECT(par_self);
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[26], tmp_assattr_value_7);
Py_DECREF(tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 199;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_8;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[27]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[27]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 202;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_maxsize);
tmp_args_element_value_8 = par_maxsize;
frame_6a43966078c5e714de9ff9342893be1c->m_frame.f_lineno = 202;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_8);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 202;
type_description_1 = "ooooooooooooo";
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 = 202;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_3;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_4 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_4 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooooooo";
exception_lineno = 202;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_5 = tmp_for_loop_1__iter_value;
{
PyObject *old = var__;
var__ = tmp_assign_source_5;
Py_INCREF(var__);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_instance_5;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_3;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 203;
type_description_1 = "ooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_2 = par_self;
tmp_called_instance_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[23]);
if (tmp_called_instance_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 203;
type_description_1 = "ooooooooooooo";
goto try_except_handler_2;
}
frame_6a43966078c5e714de9ff9342893be1c->m_frame.f_lineno = 203;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_5,
mod_consts[29],
PyTuple_GET_ITEM(mod_consts[30], 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 = 203;
type_description_1 = "ooooooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_3);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 202;
type_description_1 = "ooooooooooooo";
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;
{
PyObject *tmp_assattr_value_8;
PyObject *tmp_assattr_target_8;
tmp_assattr_value_8 = mod_consts[31];
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 206;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_8 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[32], tmp_assattr_value_8);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 206;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_9;
PyObject *tmp_assattr_target_9;
tmp_assattr_value_9 = mod_consts[31];
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 207;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_9 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[33], tmp_assattr_value_9);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 207;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_10;
PyObject *tmp_assattr_target_10;
CHECK_OBJECT(par_conn_kw);
tmp_assattr_value_10 = par_conn_kw;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 208;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_10 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_10, mod_consts[34], tmp_assattr_value_10);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 210;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[25]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 210;
type_description_1 = "ooooooooooooo";
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 = 210;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_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_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_4;
PyObject *tmp_call_arg_element_1;
PyObject *tmp_call_arg_element_2;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 214;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = par_self;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[34]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[35]);
Py_DECREF(tmp_expression_value_4);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_call_arg_element_1 = mod_consts[36];
tmp_call_arg_element_2 = MAKE_LIST_EMPTY(0);
frame_6a43966078c5e714de9ff9342893be1c->m_frame.f_lineno = 214;
{
PyObject *call_args[] = {tmp_call_arg_element_1, tmp_call_arg_element_2};
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_call_arg_element_2);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 214;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6a43966078c5e714de9ff9342893be1c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6a43966078c5e714de9ff9342893be1c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6a43966078c5e714de9ff9342893be1c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6a43966078c5e714de9ff9342893be1c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6a43966078c5e714de9ff9342893be1c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6a43966078c5e714de9ff9342893be1c,
type_description_1,
par_self,
par_host,
par_port,
par_strict,
par_timeout,
par_maxsize,
par_block,
par_headers,
par_retries,
par__proxy,
par__proxy_headers,
par_conn_kw,
var__
);
// Release cached frame if used for exception.
if (frame_6a43966078c5e714de9ff9342893be1c == cache_frame_6a43966078c5e714de9ff9342893be1c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6a43966078c5e714de9ff9342893be1c);
cache_frame_6a43966078c5e714de9ff9342893be1c = NULL;
}
assertFrameObject(frame_6a43966078c5e714de9ff9342893be1c);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(par_timeout);
Py_DECREF(par_timeout);
par_timeout = NULL;
CHECK_OBJECT(par_retries);
Py_DECREF(par_retries);
par_retries = NULL;
Py_XDECREF(var__);
var__ = 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_timeout);
par_timeout = NULL;
CHECK_OBJECT(par_retries);
Py_DECREF(par_retries);
par_retries = NULL;
Py_XDECREF(var__);
var__ = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_strict);
Py_DECREF(par_strict);
CHECK_OBJECT(par_maxsize);
Py_DECREF(par_maxsize);
CHECK_OBJECT(par_block);
Py_DECREF(par_block);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
CHECK_OBJECT(par__proxy);
Py_DECREF(par__proxy);
CHECK_OBJECT(par__proxy_headers);
Py_DECREF(par__proxy_headers);
CHECK_OBJECT(par_conn_kw);
Py_DECREF(par_conn_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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_strict);
Py_DECREF(par_strict);
CHECK_OBJECT(par_maxsize);
Py_DECREF(par_maxsize);
CHECK_OBJECT(par_block);
Py_DECREF(par_block);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
CHECK_OBJECT(par__proxy);
Py_DECREF(par__proxy);
CHECK_OBJECT(par__proxy_headers);
Py_DECREF(par__proxy_headers);
CHECK_OBJECT(par_conn_kw);
Py_DECREF(par_conn_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$connectionpool$$$function__7__new_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];
PyObject *var_conn = NULL;
PyObject *tmp_inplace_assign_1__value = NULL;
struct Nuitka_FrameObject *frame_7a86e8bf8f6718e3209bb36331b5f7b5;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_7a86e8bf8f6718e3209bb36331b5f7b5 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_7a86e8bf8f6718e3209bb36331b5f7b5)) {
Py_XDECREF(cache_frame_7a86e8bf8f6718e3209bb36331b5f7b5);
#if _DEBUG_REFCOUNTS
if (cache_frame_7a86e8bf8f6718e3209bb36331b5f7b5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7a86e8bf8f6718e3209bb36331b5f7b5 = MAKE_FUNCTION_FRAME(codeobj_7a86e8bf8f6718e3209bb36331b5f7b5, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7a86e8bf8f6718e3209bb36331b5f7b5->m_type_description == NULL);
frame_7a86e8bf8f6718e3209bb36331b5f7b5 = cache_frame_7a86e8bf8f6718e3209bb36331b5f7b5;
// Push the new frame as the currently active one.
pushFrameStack(frame_7a86e8bf8f6718e3209bb36331b5f7b5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7a86e8bf8f6718e3209bb36331b5f7b5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[32]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
type_description_1 = "oo";
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;
tmp_iadd_expr_right_1 = mod_consts[37];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
type_description_1 = "oo";
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[32], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 220;
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;
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;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_4;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_expression_value_5;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[38]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[38]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[39]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[40];
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[32]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 223;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[5]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 224;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_or_left_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[8]);
if (tmp_or_left_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
exception_lineno = 225;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1);
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_or_left_value_1);
exception_lineno = 225;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
Py_DECREF(tmp_or_left_value_1);
tmp_or_right_value_1 = mod_consts[41];
Py_INCREF(tmp_or_right_value_1);
tmp_args_element_value_4 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_args_element_value_4 = tmp_or_left_value_1;
or_end_1:;
frame_7a86e8bf8f6718e3209bb36331b5f7b5->m_frame.f_lineno = 221;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[42]);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_dict_key_1 = mod_consts[5];
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[5]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dircall_arg1_1);
exception_lineno = 229;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_dircall_arg2_1 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
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[8];
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[8]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 230;
type_description_1 = "oo";
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[20];
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_expression_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[20]);
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 231;
type_description_1 = "oo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[43]);
Py_DECREF(tmp_expression_value_9);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 231;
type_description_1 = "oo";
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[15];
CHECK_OBJECT(par_self);
tmp_expression_value_11 = par_self;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[15]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oo";
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));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_dircall_arg1_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_self);
tmp_expression_value_12 = par_self;
tmp_dircall_arg3_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[34]);
if (tmp_dircall_arg3_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dircall_arg1_1);
Py_DECREF(tmp_dircall_arg2_1);
exception_lineno = 233;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_assign_source_3 = impl___main__$$$function__9_complex_call_helper_keywords_star_dict(dir_call_args);
}
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_conn == NULL);
var_conn = tmp_assign_source_3;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a86e8bf8f6718e3209bb36331b5f7b5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a86e8bf8f6718e3209bb36331b5f7b5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7a86e8bf8f6718e3209bb36331b5f7b5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7a86e8bf8f6718e3209bb36331b5f7b5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7a86e8bf8f6718e3209bb36331b5f7b5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7a86e8bf8f6718e3209bb36331b5f7b5,
type_description_1,
par_self,
var_conn
);
// Release cached frame if used for exception.
if (frame_7a86e8bf8f6718e3209bb36331b5f7b5 == cache_frame_7a86e8bf8f6718e3209bb36331b5f7b5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7a86e8bf8f6718e3209bb36331b5f7b5);
cache_frame_7a86e8bf8f6718e3209bb36331b5f7b5 = NULL;
}
assertFrameObject(frame_7a86e8bf8f6718e3209bb36331b5f7b5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_conn);
tmp_return_value = var_conn;
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_conn);
Py_DECREF(var_conn);
var_conn = 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;
// 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$connectionpool$$$function__8__get_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];
PyObject *par_timeout = python_pars[1];
PyObject *var_conn = NULL;
struct Nuitka_FrameObject *frame_da84d125a421b42a2994964465bf8468;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_da84d125a421b42a2994964465bf8468 = 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 = Py_None;
assert(var_conn == NULL);
Py_INCREF(tmp_assign_source_1);
var_conn = tmp_assign_source_1;
}
// Tried code:
if (isFrameUnusable(cache_frame_da84d125a421b42a2994964465bf8468)) {
Py_XDECREF(cache_frame_da84d125a421b42a2994964465bf8468);
#if _DEBUG_REFCOUNTS
if (cache_frame_da84d125a421b42a2994964465bf8468 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_da84d125a421b42a2994964465bf8468 = MAKE_FUNCTION_FRAME(codeobj_da84d125a421b42a2994964465bf8468, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_da84d125a421b42a2994964465bf8468->m_type_description == NULL);
frame_da84d125a421b42a2994964465bf8468 = cache_frame_da84d125a421b42a2994964465bf8468;
// Push the new frame as the currently active one.
pushFrameStack(frame_da84d125a421b42a2994964465bf8468);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_da84d125a421b42a2994964465bf8468) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_kw_call_value_1_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[23]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[45]);
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 = 251;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_kw_call_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[24]);
if (tmp_kw_call_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 251;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_timeout);
tmp_kw_call_value_1_1 = par_timeout;
frame_da84d125a421b42a2994964465bf8468->m_frame.f_lineno = 251;
{
PyObject *kw_values[2] = {tmp_kw_call_value_0_1, tmp_kw_call_value_1_1};
tmp_assign_source_2 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, kw_values, mod_consts[46]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_1 = "ooo";
goto try_except_handler_2;
}
{
PyObject *old = var_conn;
assert(old != NULL);
var_conn = tmp_assign_source_2;
Py_DECREF(old);
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_da84d125a421b42a2994964465bf8468, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_da84d125a421b42a2994964465bf8468, 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_AttributeError;
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_raise_type_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[47]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[47]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_1 = "ooo";
goto try_except_handler_3;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_1 = par_self;
tmp_args_element_value_2 = mod_consts[48];
frame_da84d125a421b42a2994964465bf8468->m_frame.f_lineno = 254;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_1 = "ooo";
goto try_except_handler_3;
}
exception_type = tmp_raise_type_1;
exception_lineno = 254;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
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;
PyObject *tmp_expression_value_4;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[49]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[49]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 256;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[50]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 256;
type_description_1 = "ooo";
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 = 256;
type_description_1 = "ooo";
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:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[24]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 257;
type_description_1 = "ooo";
goto try_except_handler_3;
}
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 = 257;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[51]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[51]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "ooo";
goto try_except_handler_3;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_3 = par_self;
tmp_args_element_value_4 = mod_consts[52];
frame_da84d125a421b42a2994964465bf8468->m_frame.f_lineno = 258;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
if (tmp_raise_type_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 258;
type_description_1 = "ooo";
goto try_except_handler_3;
}
exception_type = tmp_raise_type_2;
exception_lineno = 258;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto try_except_handler_3;
}
branch_no_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 = 250;
}
if (exception_tb && exception_tb->tb_frame == &frame_da84d125a421b42a2994964465bf8468->m_frame) frame_da84d125a421b42a2994964465bf8468->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_3;
branch_end_2:;
branch_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
{
nuitka_bool tmp_condition_result_4;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
int tmp_truth_name_2;
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_5;
int tmp_truth_name_3;
CHECK_OBJECT(var_conn);
tmp_truth_name_2 = CHECK_IF_TRUE(var_conn);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
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$connectionpool, (Nuitka_StringObject *)mod_consts[53]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[53]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_conn);
tmp_args_element_value_5 = var_conn;
frame_da84d125a421b42a2994964465bf8468->m_frame.f_lineno = 265;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_5);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 265;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
tmp_condition_result_4 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_4 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_expression_value_7;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[38]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[38]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[39]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = mod_consts[54];
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_args_element_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[5]);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 266;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_da84d125a421b42a2994964465bf8468->m_frame.f_lineno = 266;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_7);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 266;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_3;
if (var_conn == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 267;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = var_conn;
frame_da84d125a421b42a2994964465bf8468->m_frame.f_lineno = 267;
tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[11]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 267;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
if (var_conn == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 268;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_getattr_target_1 = var_conn;
tmp_getattr_attr_1 = mod_consts[56];
tmp_getattr_default_1 = mod_consts[37];
tmp_cmp_expr_left_3 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = mod_consts[31];
tmp_condition_result_5 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_5 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = Py_None;
{
PyObject *old = var_conn;
var_conn = tmp_assign_source_3;
Py_INCREF(var_conn);
Py_XDECREF(old);
}
}
branch_no_5:;
branch_no_4:;
{
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_called_instance_2;
if (var_conn == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 274;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = var_conn;
tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1);
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(par_self);
tmp_called_instance_2 = par_self;
frame_da84d125a421b42a2994964465bf8468->m_frame.f_lineno = 274;
tmp_or_right_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[57]);
if (tmp_or_right_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_return_value = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
Py_INCREF(tmp_or_left_value_1);
tmp_return_value = tmp_or_left_value_1;
or_end_1:;
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_da84d125a421b42a2994964465bf8468);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_da84d125a421b42a2994964465bf8468);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_da84d125a421b42a2994964465bf8468);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_da84d125a421b42a2994964465bf8468, exception_lineno);
} else if (exception_tb->tb_frame != &frame_da84d125a421b42a2994964465bf8468->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_da84d125a421b42a2994964465bf8468, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_da84d125a421b42a2994964465bf8468,
type_description_1,
par_self,
par_timeout,
var_conn
);
// Release cached frame if used for exception.
if (frame_da84d125a421b42a2994964465bf8468 == cache_frame_da84d125a421b42a2994964465bf8468) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_da84d125a421b42a2994964465bf8468);
cache_frame_da84d125a421b42a2994964465bf8468 = NULL;
}
assertFrameObject(frame_da84d125a421b42a2994964465bf8468);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_conn);
var_conn = 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_conn);
var_conn = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_timeout);
Py_DECREF(par_timeout);
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_timeout);
Py_DECREF(par_timeout);
// 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$connectionpool$$$function__9__put_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];
PyObject *par_conn = python_pars[1];
struct Nuitka_FrameObject *frame_ed1a750dbd8c8b9bf99b003f4338b8a8;
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;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_ed1a750dbd8c8b9bf99b003f4338b8a8 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ed1a750dbd8c8b9bf99b003f4338b8a8)) {
Py_XDECREF(cache_frame_ed1a750dbd8c8b9bf99b003f4338b8a8);
#if _DEBUG_REFCOUNTS
if (cache_frame_ed1a750dbd8c8b9bf99b003f4338b8a8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ed1a750dbd8c8b9bf99b003f4338b8a8 = MAKE_FUNCTION_FRAME(codeobj_ed1a750dbd8c8b9bf99b003f4338b8a8, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ed1a750dbd8c8b9bf99b003f4338b8a8->m_type_description == NULL);
frame_ed1a750dbd8c8b9bf99b003f4338b8a8 = cache_frame_ed1a750dbd8c8b9bf99b003f4338b8a8;
// Push the new frame as the currently active one.
pushFrameStack(frame_ed1a750dbd8c8b9bf99b003f4338b8a8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ed1a750dbd8c8b9bf99b003f4338b8a8) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[23]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 291;
type_description_1 = "oo";
goto try_except_handler_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[29]);
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 = 291;
type_description_1 = "oo";
goto try_except_handler_1;
}
CHECK_OBJECT(par_conn);
tmp_tuple_element_1 = par_conn;
tmp_args_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_1);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[59]);
frame_ed1a750dbd8c8b9bf99b003f4338b8a8->m_frame.f_lineno = 291;
tmp_call_result_1 = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 291;
type_description_1 = "oo";
goto try_except_handler_1;
}
Py_DECREF(tmp_call_result_1);
}
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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_ed1a750dbd8c8b9bf99b003f4338b8a8, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_ed1a750dbd8c8b9bf99b003f4338b8a8, 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_AttributeError;
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:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_3;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[49]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[49]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 296;
type_description_1 = "oo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[60]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 296;
type_description_1 = "oo";
goto try_except_handler_2;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 296;
type_description_1 = "oo";
goto try_except_handler_2;
}
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_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_5;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[38]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[38]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 298;
type_description_1 = "oo";
goto try_except_handler_2;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[61]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 298;
type_description_1 = "oo";
goto try_except_handler_2;
}
tmp_args_element_value_1 = mod_consts[62];
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[5]);
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 = 298;
type_description_1 = "oo";
goto try_except_handler_2;
}
frame_ed1a750dbd8c8b9bf99b003f4338b8a8->m_frame.f_lineno = 298;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 298;
type_description_1 = "oo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_2);
}
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 290;
}
if (exception_tb && exception_tb->tb_frame == &frame_ed1a750dbd8c8b9bf99b003f4338b8a8->m_frame) frame_ed1a750dbd8c8b9bf99b003f4338b8a8->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_2;
branch_end_2:;
branch_no_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_2;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_2:;
{
nuitka_bool tmp_condition_result_3;
int tmp_truth_name_1;
CHECK_OBJECT(par_conn);
tmp_truth_name_1 = CHECK_IF_TRUE(par_conn);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_3;
CHECK_OBJECT(par_conn);
tmp_called_instance_1 = par_conn;
frame_ed1a750dbd8c8b9bf99b003f4338b8a8->m_frame.f_lineno = 302;
tmp_call_result_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[11]);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 302;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ed1a750dbd8c8b9bf99b003f4338b8a8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ed1a750dbd8c8b9bf99b003f4338b8a8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ed1a750dbd8c8b9bf99b003f4338b8a8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ed1a750dbd8c8b9bf99b003f4338b8a8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ed1a750dbd8c8b9bf99b003f4338b8a8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ed1a750dbd8c8b9bf99b003f4338b8a8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ed1a750dbd8c8b9bf99b003f4338b8a8,
type_description_1,
par_self,
par_conn
);
// Release cached frame if used for exception.
if (frame_ed1a750dbd8c8b9bf99b003f4338b8a8 == cache_frame_ed1a750dbd8c8b9bf99b003f4338b8a8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ed1a750dbd8c8b9bf99b003f4338b8a8);
cache_frame_ed1a750dbd8c8b9bf99b003f4338b8a8 = NULL;
}
assertFrameObject(frame_ed1a750dbd8c8b9bf99b003f4338b8a8);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_conn);
Py_DECREF(par_conn);
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_conn);
Py_DECREF(par_conn);
// 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$connectionpool$$$function__12__get_timeout(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_timeout = python_pars[1];
struct Nuitka_FrameObject *frame_3a9f3bc071d6d54a52fd71ab84b1308a;
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;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_3a9f3bc071d6d54a52fd71ab84b1308a = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_3a9f3bc071d6d54a52fd71ab84b1308a)) {
Py_XDECREF(cache_frame_3a9f3bc071d6d54a52fd71ab84b1308a);
#if _DEBUG_REFCOUNTS
if (cache_frame_3a9f3bc071d6d54a52fd71ab84b1308a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3a9f3bc071d6d54a52fd71ab84b1308a = MAKE_FUNCTION_FRAME(codeobj_3a9f3bc071d6d54a52fd71ab84b1308a, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3a9f3bc071d6d54a52fd71ab84b1308a->m_type_description == NULL);
frame_3a9f3bc071d6d54a52fd71ab84b1308a = cache_frame_3a9f3bc071d6d54a52fd71ab84b1308a;
// Push the new frame as the currently active one.
pushFrameStack(frame_3a9f3bc071d6d54a52fd71ab84b1308a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3a9f3bc071d6d54a52fd71ab84b1308a) == 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_timeout);
tmp_cmp_expr_left_1 = par_timeout;
tmp_cmp_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[64]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[64]);
}
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 316;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
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_called_instance_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[20]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 317;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_3a9f3bc071d6d54a52fd71ab84b1308a->m_frame.f_lineno = 317;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[65]);
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 = 317;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_timeout);
tmp_isinstance_inst_1 = par_timeout;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 319;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 319;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_instance_2;
CHECK_OBJECT(par_timeout);
tmp_called_instance_2 = par_timeout;
frame_3a9f3bc071d6d54a52fd71ab84b1308a->m_frame.f_lineno = 320;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[65]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 320;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_1;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 324;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_timeout);
tmp_args_element_value_1 = par_timeout;
frame_3a9f3bc071d6d54a52fd71ab84b1308a->m_frame.f_lineno = 324;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[17], tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 324;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3a9f3bc071d6d54a52fd71ab84b1308a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3a9f3bc071d6d54a52fd71ab84b1308a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3a9f3bc071d6d54a52fd71ab84b1308a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3a9f3bc071d6d54a52fd71ab84b1308a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3a9f3bc071d6d54a52fd71ab84b1308a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3a9f3bc071d6d54a52fd71ab84b1308a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3a9f3bc071d6d54a52fd71ab84b1308a,
type_description_1,
par_self,
par_timeout
);
// Release cached frame if used for exception.
if (frame_3a9f3bc071d6d54a52fd71ab84b1308a == cache_frame_3a9f3bc071d6d54a52fd71ab84b1308a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3a9f3bc071d6d54a52fd71ab84b1308a);
cache_frame_3a9f3bc071d6d54a52fd71ab84b1308a = NULL;
}
assertFrameObject(frame_3a9f3bc071d6d54a52fd71ab84b1308a);
// 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_timeout);
Py_DECREF(par_timeout);
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_timeout);
Py_DECREF(par_timeout);
// 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$connectionpool$$$function__13__raise_timeout(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_err = python_pars[1];
PyObject *par_url = python_pars[2];
PyObject *par_timeout_value = python_pars[3];
struct Nuitka_FrameObject *frame_cfafeff00e0058a216b1b1977fa6a5cd;
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_cfafeff00e0058a216b1b1977fa6a5cd = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_cfafeff00e0058a216b1b1977fa6a5cd)) {
Py_XDECREF(cache_frame_cfafeff00e0058a216b1b1977fa6a5cd);
#if _DEBUG_REFCOUNTS
if (cache_frame_cfafeff00e0058a216b1b1977fa6a5cd == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_cfafeff00e0058a216b1b1977fa6a5cd = MAKE_FUNCTION_FRAME(codeobj_cfafeff00e0058a216b1b1977fa6a5cd, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_cfafeff00e0058a216b1b1977fa6a5cd->m_type_description == NULL);
frame_cfafeff00e0058a216b1b1977fa6a5cd = cache_frame_cfafeff00e0058a216b1b1977fa6a5cd;
// Push the new frame as the currently active one.
pushFrameStack(frame_cfafeff00e0058a216b1b1977fa6a5cd);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_cfafeff00e0058a216b1b1977fa6a5cd) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_err);
tmp_isinstance_inst_1 = par_err;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[67]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[67]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 329;
type_description_1 = "oooo";
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 = 329;
type_description_1 = "oooo";
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_raise_type_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[68]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[68]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_1 = par_self;
CHECK_OBJECT(par_url);
tmp_args_element_value_2 = par_url;
tmp_mod_expr_left_1 = mod_consts[69];
CHECK_OBJECT(par_timeout_value);
tmp_mod_expr_right_1 = par_timeout_value;
tmp_args_element_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 331;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_cfafeff00e0058a216b1b1977fa6a5cd->m_frame.f_lineno = 330;
{
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_3);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 330;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_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;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_err);
tmp_expression_value_1 = par_err;
tmp_attribute_value_1 = mod_consts[70];
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 = 336;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "oooo";
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_err);
tmp_expression_value_2 = par_err;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[70]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
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 = 336;
type_description_1 = "oooo";
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);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 1) ? 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_raise_type_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[68]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[68]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_4 = par_self;
CHECK_OBJECT(par_url);
tmp_args_element_value_5 = par_url;
tmp_mod_expr_left_2 = mod_consts[69];
CHECK_OBJECT(par_timeout_value);
tmp_mod_expr_right_2 = par_timeout_value;
tmp_args_element_value_6 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 338;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_cfafeff00e0058a216b1b1977fa6a5cd->m_frame.f_lineno = 337;
{
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_6);
if (tmp_raise_type_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_2;
exception_lineno = 337;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
bool tmp_condition_result_3;
int tmp_or_left_truth_1;
bool tmp_or_left_value_1;
bool tmp_or_right_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_unicode_arg_1;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_unicode_arg_2;
tmp_cmp_expr_left_2 = mod_consts[72];
if (par_err == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[73]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 344;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_unicode_arg_1 = par_err;
tmp_cmp_expr_right_2 = PyObject_Unicode(tmp_unicode_arg_1);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
type_description_1 = "oooo";
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 = 344;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (tmp_res == 1) ? 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:;
tmp_cmp_expr_left_3 = mod_consts[74];
if (par_err == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[73]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 345;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_unicode_arg_2 = par_err;
tmp_cmp_expr_right_3 = PyObject_Unicode(tmp_unicode_arg_2);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_3, tmp_cmp_expr_left_3);
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = (tmp_res == 1) ? true : false;
tmp_condition_result_3 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_3 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[68]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[68]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_7 = par_self;
CHECK_OBJECT(par_url);
tmp_args_element_value_8 = par_url;
tmp_mod_expr_left_3 = mod_consts[69];
CHECK_OBJECT(par_timeout_value);
tmp_mod_expr_right_3 = par_timeout_value;
tmp_args_element_value_9 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_3, tmp_mod_expr_right_3);
if (tmp_args_element_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_cfafeff00e0058a216b1b1977fa6a5cd->m_frame.f_lineno = 347;
{
PyObject *call_args[] = {tmp_args_element_value_7, tmp_args_element_value_8, tmp_args_element_value_9};
tmp_raise_type_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_args_element_value_9);
if (tmp_raise_type_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_3;
exception_lineno = 347;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cfafeff00e0058a216b1b1977fa6a5cd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cfafeff00e0058a216b1b1977fa6a5cd);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_cfafeff00e0058a216b1b1977fa6a5cd, exception_lineno);
} else if (exception_tb->tb_frame != &frame_cfafeff00e0058a216b1b1977fa6a5cd->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_cfafeff00e0058a216b1b1977fa6a5cd, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_cfafeff00e0058a216b1b1977fa6a5cd,
type_description_1,
par_self,
par_err,
par_url,
par_timeout_value
);
// Release cached frame if used for exception.
if (frame_cfafeff00e0058a216b1b1977fa6a5cd == cache_frame_cfafeff00e0058a216b1b1977fa6a5cd) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_cfafeff00e0058a216b1b1977fa6a5cd);
cache_frame_cfafeff00e0058a216b1b1977fa6a5cd = NULL;
}
assertFrameObject(frame_cfafeff00e0058a216b1b1977fa6a5cd);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_err);
Py_DECREF(par_err);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
CHECK_OBJECT(par_timeout_value);
Py_DECREF(par_timeout_value);
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_err);
Py_DECREF(par_err);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
CHECK_OBJECT(par_timeout_value);
Py_DECREF(par_timeout_value);
// 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$connectionpool$$$function__14__make_request(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_conn = python_pars[1];
PyObject *par_method = python_pars[2];
PyObject *par_url = python_pars[3];
PyObject *par_timeout = python_pars[4];
PyObject *par_chunked = python_pars[5];
PyObject *par_httplib_request_kw = python_pars[6];
PyObject *var_timeout_obj = NULL;
PyObject *var_e = NULL;
PyObject *var_read_timeout = NULL;
PyObject *var_httplib_response = NULL;
PyObject *var_http_version = NULL;
PyObject *var_hpe = NULL;
PyObject *tmp_inplace_assign_1__value = NULL;
struct Nuitka_FrameObject *frame_3a6fcbbf1b7c5d626d7a19c9c983337c;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
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;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
struct Nuitka_ExceptionStackItem exception_preserved_3;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
struct Nuitka_ExceptionStackItem exception_preserved_4;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
struct Nuitka_ExceptionStackItem exception_preserved_5;
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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_3a6fcbbf1b7c5d626d7a19c9c983337c = NULL;
PyObject *exception_keeper_type_16;
PyObject *exception_keeper_value_16;
PyTracebackObject *exception_keeper_tb_16;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_3a6fcbbf1b7c5d626d7a19c9c983337c)) {
Py_XDECREF(cache_frame_3a6fcbbf1b7c5d626d7a19c9c983337c);
#if _DEBUG_REFCOUNTS
if (cache_frame_3a6fcbbf1b7c5d626d7a19c9c983337c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3a6fcbbf1b7c5d626d7a19c9c983337c = MAKE_FUNCTION_FRAME(codeobj_3a6fcbbf1b7c5d626d7a19c9c983337c, module_urllib3$connectionpool, 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_3a6fcbbf1b7c5d626d7a19c9c983337c->m_type_description == NULL);
frame_3a6fcbbf1b7c5d626d7a19c9c983337c = cache_frame_3a6fcbbf1b7c5d626d7a19c9c983337c;
// Push the new frame as the currently active one.
pushFrameStack(frame_3a6fcbbf1b7c5d626d7a19c9c983337c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3a6fcbbf1b7c5d626d7a19c9c983337c) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[33]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 368;
type_description_1 = "ooooooooooooo";
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;
tmp_iadd_expr_right_1 = mod_consts[37];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 368;
type_description_1 = "ooooooooooooo";
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[33], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 368;
type_description_1 = "ooooooooooooo";
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;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_timeout);
tmp_args_element_value_1 = par_timeout;
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 370;
tmp_assign_source_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[76], tmp_args_element_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 370;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_timeout_obj == NULL);
var_timeout_obj = tmp_assign_source_3;
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_1;
CHECK_OBJECT(var_timeout_obj);
tmp_called_instance_2 = var_timeout_obj;
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 371;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[77]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 371;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(var_timeout_obj);
tmp_expression_value_2 = var_timeout_obj;
tmp_assattr_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[43]);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_conn);
tmp_assattr_target_2 = par_conn;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[20], 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 = 372;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
// Tried code:
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_called_instance_3 = par_self;
CHECK_OBJECT(par_conn);
tmp_args_element_value_2 = par_conn;
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 376;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[78], tmp_args_element_value_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 376;
type_description_1 = "ooooooooooooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_2);
}
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_2 == NULL) {
exception_keeper_tb_2 = MAKE_TRACEBACK(frame_3a6fcbbf1b7c5d626d7a19c9c983337c, exception_keeper_lineno_2);
} else if (exception_keeper_lineno_2 != 0) {
exception_keeper_tb_2 = ADD_TRACEBACK(exception_keeper_tb_2, frame_3a6fcbbf1b7c5d626d7a19c9c983337c, exception_keeper_lineno_2);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_tuple_element_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[67]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[67]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_1 = "ooooooooooooo";
goto try_except_handler_4;
}
tmp_cmp_expr_right_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_cmp_expr_right_1, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 377;
type_description_1 = "ooooooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_1, 1, tmp_tuple_element_1);
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_cmp_expr_right_1);
goto try_except_handler_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
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 = 377;
type_description_1 = "ooooooooooooo";
goto try_except_handler_4;
}
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_4);
var_e = tmp_assign_source_4;
}
// Tried code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_3;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_kw_call_value_1_1;
PyObject *tmp_kw_call_value_2_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[80]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_1 = "ooooooooooooo";
goto try_except_handler_5;
}
CHECK_OBJECT(var_e);
tmp_kw_call_value_0_1 = var_e;
CHECK_OBJECT(par_url);
tmp_kw_call_value_1_1 = par_url;
if (par_conn == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 379;
type_description_1 = "ooooooooooooo";
goto try_except_handler_5;
}
tmp_expression_value_4 = par_conn;
tmp_kw_call_value_2_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[20]);
if (tmp_kw_call_value_2_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 379;
type_description_1 = "ooooooooooooo";
goto try_except_handler_5;
}
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 379;
{
PyObject *kw_values[3] = {tmp_kw_call_value_0_1, tmp_kw_call_value_1_1, tmp_kw_call_value_2_1};
tmp_call_result_3 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, kw_values, mod_consts[81]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_2_1);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 379;
type_description_1 = "ooooooooooooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_3);
}
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 380;
}
if (exception_tb && exception_tb->tb_frame == &frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame) frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooo";
goto try_except_handler_5;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_4;
// End of try:
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 375;
}
if (exception_tb && exception_tb->tb_frame == &frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame) frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooo";
goto try_except_handler_4;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 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:
// End of try:
try_end_2:;
{
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
CHECK_OBJECT(par_chunked);
tmp_truth_name_1 = CHECK_IF_TRUE(par_chunked);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 384;
type_description_1 = "ooooooooooooo";
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_dircall_arg1_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_call_result_4;
CHECK_OBJECT(par_conn);
tmp_expression_value_5 = par_conn;
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[82]);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_method);
tmp_tuple_element_2 = par_method;
tmp_dircall_arg2_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 0, tmp_tuple_element_2);
CHECK_OBJECT(par_url);
tmp_tuple_element_2 = par_url;
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 1, tmp_tuple_element_2);
CHECK_OBJECT(par_httplib_request_kw);
tmp_dircall_arg3_1 = par_httplib_request_kw;
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_call_result_4 = impl___main__$$$function__6_complex_call_helper_pos_star_dict(dir_call_args);
}
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 385;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_dircall_arg2_2;
PyObject *tmp_tuple_element_3;
PyObject *tmp_dircall_arg3_2;
PyObject *tmp_call_result_5;
CHECK_OBJECT(par_conn);
tmp_expression_value_6 = par_conn;
tmp_dircall_arg1_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[83]);
if (tmp_dircall_arg1_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_method);
tmp_tuple_element_3 = par_method;
tmp_dircall_arg2_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 0, tmp_tuple_element_3);
CHECK_OBJECT(par_url);
tmp_tuple_element_3 = par_url;
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 1, tmp_tuple_element_3);
CHECK_OBJECT(par_httplib_request_kw);
tmp_dircall_arg3_2 = par_httplib_request_kw;
Py_INCREF(tmp_dircall_arg3_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2};
tmp_call_result_5 = impl___main__$$$function__6_complex_call_helper_pos_star_dict(dir_call_args);
}
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
branch_end_2:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(var_timeout_obj);
tmp_expression_value_7 = var_timeout_obj;
tmp_assign_source_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[84]);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 390;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_read_timeout == NULL);
var_read_timeout = tmp_assign_source_5;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
PyObject *tmp_capi_result_1;
int tmp_truth_name_2;
CHECK_OBJECT(par_conn);
tmp_getattr_target_1 = par_conn;
tmp_getattr_attr_1 = mod_consts[85];
tmp_getattr_default_1 = Py_None;
tmp_capi_result_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_capi_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 393;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_capi_result_1);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_capi_result_1);
exception_lineno = 393;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_capi_result_1);
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_read_timeout);
tmp_cmp_expr_left_2 = var_read_timeout;
tmp_cmp_expr_right_2 = mod_consts[31];
tmp_condition_result_4 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_4 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 399;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[68]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[68]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_args_element_value_3 = par_self;
CHECK_OBJECT(par_url);
tmp_args_element_value_4 = par_url;
tmp_mod_expr_left_1 = mod_consts[69];
CHECK_OBJECT(var_read_timeout);
tmp_mod_expr_right_1 = var_read_timeout;
tmp_args_element_value_5 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 400;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_args_element_value_5);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 400;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
branch_no_4:;
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(var_read_timeout);
tmp_cmp_expr_left_3 = var_read_timeout;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 403;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[86]);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 403;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_6;
PyObject *tmp_args_element_value_6;
PyObject *tmp_called_instance_4;
CHECK_OBJECT(par_conn);
tmp_expression_value_10 = par_conn;
tmp_expression_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[85]);
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[87]);
Py_DECREF(tmp_expression_value_9);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[88]);
if (unlikely(tmp_called_instance_4 == NULL)) {
tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[88]);
}
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 404;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 404;
tmp_args_element_value_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[89]);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 404;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 404;
tmp_call_result_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_6);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_6);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 404;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_6);
}
goto branch_end_5;
branch_no_5:;
{
PyObject *tmp_called_instance_5;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_7;
PyObject *tmp_args_element_value_7;
CHECK_OBJECT(par_conn);
tmp_expression_value_11 = par_conn;
tmp_called_instance_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[85]);
if (tmp_called_instance_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 406;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_read_timeout);
tmp_args_element_value_7 = var_read_timeout;
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 406;
tmp_call_result_7 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_5, mod_consts[87], tmp_args_element_value_7);
Py_DECREF(tmp_called_instance_5);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 406;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_7);
}
branch_end_5:;
branch_no_3:;
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(par_conn);
tmp_expression_value_12 = par_conn;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[90]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 412;
type_description_1 = "ooooooooooooo";
goto try_except_handler_7;
}
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 412;
tmp_assign_source_6 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_4, &PyTuple_GET_ITEM(mod_consts[91], 0), mod_consts[92]);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 412;
type_description_1 = "ooooooooooooo";
goto try_except_handler_7;
}
assert(var_httplib_response == NULL);
var_httplib_response = tmp_assign_source_6;
}
goto try_end_3;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 3.
exception_preserved_3 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_5 == NULL) {
exception_keeper_tb_5 = MAKE_TRACEBACK(frame_3a6fcbbf1b7c5d626d7a19c9c983337c, exception_keeper_lineno_5);
} else if (exception_keeper_lineno_5 != 0) {
exception_keeper_tb_5 = ADD_TRACEBACK(exception_keeper_tb_5, frame_3a6fcbbf1b7c5d626d7a19c9c983337c, 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_6;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
tmp_cmp_expr_left_4 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_4 = PyExc_TypeError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
assert(!(tmp_res == -1));
tmp_condition_result_6 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_called_instance_6;
CHECK_OBJECT(par_conn);
tmp_called_instance_6 = par_conn;
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 416;
tmp_assign_source_7 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[90]);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 416;
type_description_1 = "ooooooooooooo";
goto try_except_handler_9;
}
assert(var_httplib_response == NULL);
var_httplib_response = tmp_assign_source_7;
}
goto try_end_4;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_6 == NULL) {
exception_keeper_tb_6 = MAKE_TRACEBACK(frame_3a6fcbbf1b7c5d626d7a19c9c983337c, exception_keeper_lineno_6);
} else if (exception_keeper_lineno_6 != 0) {
exception_keeper_tb_6 = ADD_TRACEBACK(exception_keeper_tb_6, frame_3a6fcbbf1b7c5d626d7a19c9c983337c, exception_keeper_lineno_6);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_6, &exception_keeper_value_6, &exception_keeper_tb_6);
// Tried code:
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
tmp_cmp_expr_left_5 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_5 = PyExc_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
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_8;
tmp_assign_source_8 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_8);
var_e = tmp_assign_source_8;
}
// Tried code:
{
PyObject *tmp_called_instance_7;
PyObject *tmp_call_result_8;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
tmp_called_instance_7 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[93]);
if (unlikely(tmp_called_instance_7 == NULL)) {
tmp_called_instance_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[93]);
}
if (tmp_called_instance_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 421;
type_description_1 = "ooooooooooooo";
goto try_except_handler_11;
}
CHECK_OBJECT(var_e);
tmp_args_element_value_8 = var_e;
tmp_args_element_value_9 = Py_None;
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 421;
{
PyObject *call_args[] = {tmp_args_element_value_8, tmp_args_element_value_9};
tmp_call_result_8 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_7,
mod_consts[94],
call_args
);
}
if (tmp_call_result_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 421;
type_description_1 = "ooooooooooooo";
goto try_except_handler_11;
}
Py_DECREF(tmp_call_result_8);
}
goto try_end_5;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = 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_10;
// End of try:
try_end_5:;
Py_XDECREF(var_e);
var_e = NULL;
goto branch_end_7;
branch_no_7:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 415;
}
if (exception_tb && exception_tb->tb_frame == &frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame) frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooo";
goto try_except_handler_10;
branch_end_7:;
goto try_end_6;
// Exception handler code:
try_except_handler_10:;
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;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_8;
// End of try:
try_end_6:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_4;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_4:;
goto branch_end_6;
branch_no_6:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 410;
}
if (exception_tb && exception_tb->tb_frame == &frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame) frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooo";
goto try_except_handler_8;
branch_end_6:;
goto try_end_7;
// Exception handler code:
try_except_handler_8:;
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;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto try_except_handler_6;
// End of try:
try_end_7:;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
goto try_end_3;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_3:;
goto try_end_8;
// Exception handler code:
try_except_handler_6:;
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;
// Preserve existing published exception id 4.
exception_preserved_4 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_10 == NULL) {
exception_keeper_tb_10 = MAKE_TRACEBACK(frame_3a6fcbbf1b7c5d626d7a19c9c983337c, exception_keeper_lineno_10);
} else if (exception_keeper_lineno_10 != 0) {
exception_keeper_tb_10 = ADD_TRACEBACK(exception_keeper_tb_10, frame_3a6fcbbf1b7c5d626d7a19c9c983337c, exception_keeper_lineno_10);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_10, &exception_keeper_value_10, &exception_keeper_tb_10);
// Tried code:
{
bool tmp_condition_result_8;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
PyObject *tmp_tuple_element_4;
tmp_cmp_expr_left_6 = EXC_TYPE(PyThreadState_GET());
tmp_tuple_element_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[67]);
if (unlikely(tmp_tuple_element_4 == NULL)) {
tmp_tuple_element_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[67]);
}
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 422;
type_description_1 = "ooooooooooooo";
goto try_except_handler_12;
}
tmp_cmp_expr_right_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_cmp_expr_right_6, 0, tmp_tuple_element_4);
tmp_tuple_element_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_tuple_element_4 == NULL)) {
tmp_tuple_element_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 422;
type_description_1 = "ooooooooooooo";
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_6, 1, tmp_tuple_element_4);
tmp_tuple_element_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[95]);
if (unlikely(tmp_tuple_element_4 == NULL)) {
tmp_tuple_element_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[95]);
}
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 422;
type_description_1 = "ooooooooooooo";
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_6, 2, tmp_tuple_element_4);
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_cmp_expr_right_6);
goto try_except_handler_12;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
Py_DECREF(tmp_cmp_expr_right_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 422;
type_description_1 = "ooooooooooooo";
goto try_except_handler_12;
}
tmp_condition_result_8 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_assign_source_9;
tmp_assign_source_9 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_9);
var_e = tmp_assign_source_9;
}
// Tried code:
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_13;
PyObject *tmp_call_result_9;
PyObject *tmp_kw_call_value_0_2;
PyObject *tmp_kw_call_value_1_2;
PyObject *tmp_kw_call_value_2_2;
CHECK_OBJECT(par_self);
tmp_expression_value_13 = par_self;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[80]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_1 = "ooooooooooooo";
goto try_except_handler_13;
}
CHECK_OBJECT(var_e);
tmp_kw_call_value_0_2 = var_e;
CHECK_OBJECT(par_url);
tmp_kw_call_value_1_2 = par_url;
if (var_read_timeout == NULL) {
Py_DECREF(tmp_called_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[84]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 423;
type_description_1 = "ooooooooooooo";
goto try_except_handler_13;
}
tmp_kw_call_value_2_2 = var_read_timeout;
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 423;
{
PyObject *kw_values[3] = {tmp_kw_call_value_0_2, tmp_kw_call_value_1_2, tmp_kw_call_value_2_2};
tmp_call_result_9 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_5, kw_values, mod_consts[81]);
}
Py_DECREF(tmp_called_value_5);
if (tmp_call_result_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 423;
type_description_1 = "ooooooooooooo";
goto try_except_handler_13;
}
Py_DECREF(tmp_call_result_9);
}
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 424;
}
if (exception_tb && exception_tb->tb_frame == &frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame) frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooo";
goto try_except_handler_13;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_13:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = NULL;
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto try_except_handler_12;
// End of try:
goto branch_end_8;
branch_no_8:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 409;
}
if (exception_tb && exception_tb->tb_frame == &frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame) frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooo";
goto try_except_handler_12;
branch_end_8:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_12:;
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;
// Restore previous exception id 4.
SET_CURRENT_EXCEPTION(&exception_preserved_4);
// 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:
// End of try:
try_end_8:;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
CHECK_OBJECT(par_conn);
tmp_getattr_target_2 = par_conn;
tmp_getattr_attr_2 = mod_consts[96];
tmp_getattr_default_2 = mod_consts[97];
tmp_assign_source_10 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 427;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_http_version == NULL);
var_http_version = tmp_assign_source_10;
}
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_14;
PyObject *tmp_call_result_10;
PyObject *tmp_args_element_value_10;
PyObject *tmp_args_element_value_11;
PyObject *tmp_expression_value_15;
PyObject *tmp_args_element_value_12;
PyObject *tmp_expression_value_16;
PyObject *tmp_args_element_value_13;
PyObject *tmp_expression_value_17;
PyObject *tmp_args_element_value_14;
PyObject *tmp_args_element_value_15;
PyObject *tmp_args_element_value_16;
PyObject *tmp_args_element_value_17;
PyObject *tmp_expression_value_18;
PyObject *tmp_args_element_value_18;
PyObject *tmp_expression_value_19;
tmp_expression_value_14 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[38]);
if (unlikely(tmp_expression_value_14 == NULL)) {
tmp_expression_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[38]);
}
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[39]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_10 = mod_consts[98];
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_args_element_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[3]);
if (tmp_args_element_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 430;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_16 = par_self;
tmp_args_element_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[5]);
if (tmp_args_element_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_11);
exception_lineno = 431;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_17 = par_self;
tmp_args_element_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[8]);
if (tmp_args_element_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_11);
Py_DECREF(tmp_args_element_value_12);
exception_lineno = 432;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_method);
tmp_args_element_value_14 = par_method;
CHECK_OBJECT(par_url);
tmp_args_element_value_15 = par_url;
CHECK_OBJECT(var_http_version);
tmp_args_element_value_16 = var_http_version;
if (var_httplib_response == NULL) {
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_11);
Py_DECREF(tmp_args_element_value_12);
Py_DECREF(tmp_args_element_value_13);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[99]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 436;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_18 = var_httplib_response;
tmp_args_element_value_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[100]);
if (tmp_args_element_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_11);
Py_DECREF(tmp_args_element_value_12);
Py_DECREF(tmp_args_element_value_13);
exception_lineno = 436;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
if (var_httplib_response == NULL) {
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_11);
Py_DECREF(tmp_args_element_value_12);
Py_DECREF(tmp_args_element_value_13);
Py_DECREF(tmp_args_element_value_17);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[99]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 437;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_19 = var_httplib_response;
tmp_args_element_value_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[101]);
if (tmp_args_element_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_11);
Py_DECREF(tmp_args_element_value_12);
Py_DECREF(tmp_args_element_value_13);
Py_DECREF(tmp_args_element_value_17);
exception_lineno = 437;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 428;
{
PyObject *call_args[] = {tmp_args_element_value_10, tmp_args_element_value_11, tmp_args_element_value_12, tmp_args_element_value_13, tmp_args_element_value_14, tmp_args_element_value_15, tmp_args_element_value_16, tmp_args_element_value_17, tmp_args_element_value_18};
tmp_call_result_10 = CALL_FUNCTION_WITH_ARGS9(tmp_called_value_6, call_args);
}
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_11);
Py_DECREF(tmp_args_element_value_12);
Py_DECREF(tmp_args_element_value_13);
Py_DECREF(tmp_args_element_value_17);
Py_DECREF(tmp_args_element_value_18);
if (tmp_call_result_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 428;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_10);
}
// Tried code:
{
PyObject *tmp_called_value_7;
PyObject *tmp_call_result_11;
PyObject *tmp_args_element_value_19;
PyObject *tmp_expression_value_20;
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[102]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[102]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooooooooooooo";
goto try_except_handler_14;
}
if (var_httplib_response == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[99]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 441;
type_description_1 = "ooooooooooooo";
goto try_except_handler_14;
}
tmp_expression_value_20 = var_httplib_response;
tmp_args_element_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[103]);
if (tmp_args_element_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooooooooooooo";
goto try_except_handler_14;
}
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 441;
tmp_call_result_11 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_19);
Py_DECREF(tmp_args_element_value_19);
if (tmp_call_result_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooooooooooooo";
goto try_except_handler_14;
}
Py_DECREF(tmp_call_result_11);
}
goto try_end_9;
// Exception handler code:
try_except_handler_14:;
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;
// Preserve existing published exception id 5.
exception_preserved_5 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_13 == NULL) {
exception_keeper_tb_13 = MAKE_TRACEBACK(frame_3a6fcbbf1b7c5d626d7a19c9c983337c, exception_keeper_lineno_13);
} else if (exception_keeper_lineno_13 != 0) {
exception_keeper_tb_13 = ADD_TRACEBACK(exception_keeper_tb_13, frame_3a6fcbbf1b7c5d626d7a19c9c983337c, exception_keeper_lineno_13);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_13, &exception_keeper_value_13, &exception_keeper_tb_13);
// Tried code:
{
bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
PyObject *tmp_tuple_element_5;
tmp_cmp_expr_left_7 = EXC_TYPE(PyThreadState_GET());
tmp_tuple_element_5 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_tuple_element_5 == NULL)) {
tmp_tuple_element_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 442;
type_description_1 = "ooooooooooooo";
goto try_except_handler_15;
}
tmp_cmp_expr_right_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_cmp_expr_right_7, 0, tmp_tuple_element_5);
tmp_tuple_element_5 = PyExc_TypeError;
PyTuple_SET_ITEM0(tmp_cmp_expr_right_7, 1, tmp_tuple_element_5);
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
Py_DECREF(tmp_cmp_expr_right_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 442;
type_description_1 = "ooooooooooooo";
goto try_except_handler_15;
}
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:;
{
PyObject *tmp_assign_source_11;
tmp_assign_source_11 = EXC_VALUE(PyThreadState_GET());
assert(var_hpe == NULL);
Py_INCREF(tmp_assign_source_11);
var_hpe = tmp_assign_source_11;
}
// Tried code:
{
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_21;
PyObject *tmp_call_result_12;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kwargs_value_1;
tmp_expression_value_21 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[38]);
if (unlikely(tmp_expression_value_21 == NULL)) {
tmp_expression_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[38]);
}
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 443;
type_description_1 = "ooooooooooooo";
goto try_except_handler_16;
}
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[61]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 443;
type_description_1 = "ooooooooooooo";
goto try_except_handler_16;
}
tmp_tuple_element_6 = mod_consts[105];
tmp_args_value_1 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_called_instance_8;
PyObject *tmp_args_element_value_20;
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_6);
CHECK_OBJECT(par_self);
tmp_called_instance_8 = par_self;
CHECK_OBJECT(par_url);
tmp_args_element_value_20 = par_url;
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 445;
tmp_tuple_element_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_8, mod_consts[106], tmp_args_element_value_20);
if (tmp_tuple_element_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
type_description_1 = "ooooooooooooo";
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_args_value_1, 1, tmp_tuple_element_6);
CHECK_OBJECT(var_hpe);
tmp_tuple_element_6 = var_hpe;
PyTuple_SET_ITEM0(tmp_args_value_1, 2, tmp_tuple_element_6);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_value_1);
goto try_except_handler_16;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
tmp_kwargs_value_1 = DICT_COPY(mod_consts[107]);
frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = 443;
tmp_call_result_12 = CALL_FUNCTION(tmp_called_value_8, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_call_result_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 443;
type_description_1 = "ooooooooooooo";
goto try_except_handler_16;
}
Py_DECREF(tmp_call_result_12);
}
goto try_end_10;
// Exception handler code:
try_except_handler_16:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_hpe);
var_hpe = NULL;
// Re-raise.
exception_type = exception_keeper_type_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto try_except_handler_15;
// End of try:
try_end_10:;
Py_XDECREF(var_hpe);
var_hpe = NULL;
goto branch_end_9;
branch_no_9:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 440;
}
if (exception_tb && exception_tb->tb_frame == &frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame) frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooo";
goto try_except_handler_15;
branch_end_9:;
goto try_end_11;
// Exception handler code:
try_except_handler_15:;
exception_keeper_type_15 = exception_type;
exception_keeper_value_15 = exception_value;
exception_keeper_tb_15 = exception_tb;
exception_keeper_lineno_15 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 5.
SET_CURRENT_EXCEPTION(&exception_preserved_5);
// 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_11:;
// Restore previous exception id 5.
SET_CURRENT_EXCEPTION(&exception_preserved_5);
goto try_end_9;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_9:;
if (var_httplib_response == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[99]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 450;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_httplib_response;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3a6fcbbf1b7c5d626d7a19c9c983337c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3a6fcbbf1b7c5d626d7a19c9c983337c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3a6fcbbf1b7c5d626d7a19c9c983337c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3a6fcbbf1b7c5d626d7a19c9c983337c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3a6fcbbf1b7c5d626d7a19c9c983337c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3a6fcbbf1b7c5d626d7a19c9c983337c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3a6fcbbf1b7c5d626d7a19c9c983337c,
type_description_1,
par_self,
par_conn,
par_method,
par_url,
par_timeout,
par_chunked,
par_httplib_request_kw,
var_timeout_obj,
var_e,
var_read_timeout,
var_httplib_response,
var_http_version,
var_hpe
);
// Release cached frame if used for exception.
if (frame_3a6fcbbf1b7c5d626d7a19c9c983337c == cache_frame_3a6fcbbf1b7c5d626d7a19c9c983337c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3a6fcbbf1b7c5d626d7a19c9c983337c);
cache_frame_3a6fcbbf1b7c5d626d7a19c9c983337c = NULL;
}
assertFrameObject(frame_3a6fcbbf1b7c5d626d7a19c9c983337c);
// 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_timeout_obj);
Py_DECREF(var_timeout_obj);
var_timeout_obj = NULL;
Py_XDECREF(var_read_timeout);
var_read_timeout = NULL;
Py_XDECREF(var_httplib_response);
var_httplib_response = NULL;
CHECK_OBJECT(var_http_version);
Py_DECREF(var_http_version);
var_http_version = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_16 = exception_type;
exception_keeper_value_16 = exception_value;
exception_keeper_tb_16 = exception_tb;
exception_keeper_lineno_16 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_timeout_obj);
var_timeout_obj = NULL;
Py_XDECREF(var_read_timeout);
var_read_timeout = NULL;
Py_XDECREF(var_httplib_response);
var_httplib_response = NULL;
Py_XDECREF(var_http_version);
var_http_version = NULL;
// Re-raise.
exception_type = exception_keeper_type_16;
exception_value = exception_keeper_value_16;
exception_tb = exception_keeper_tb_16;
exception_lineno = exception_keeper_lineno_16;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_conn);
Py_DECREF(par_conn);
CHECK_OBJECT(par_method);
Py_DECREF(par_method);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
CHECK_OBJECT(par_timeout);
Py_DECREF(par_timeout);
CHECK_OBJECT(par_chunked);
Py_DECREF(par_chunked);
CHECK_OBJECT(par_httplib_request_kw);
Py_DECREF(par_httplib_request_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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_conn);
Py_DECREF(par_conn);
CHECK_OBJECT(par_method);
Py_DECREF(par_method);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
CHECK_OBJECT(par_timeout);
Py_DECREF(par_timeout);
CHECK_OBJECT(par_chunked);
Py_DECREF(par_chunked);
CHECK_OBJECT(par_httplib_request_kw);
Py_DECREF(par_httplib_request_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$connectionpool$$$function__15__absolute_url(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_path = python_pars[1];
struct Nuitka_FrameObject *frame_beaa81692920eda5956dae444fa7e4a5;
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_beaa81692920eda5956dae444fa7e4a5 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_beaa81692920eda5956dae444fa7e4a5)) {
Py_XDECREF(cache_frame_beaa81692920eda5956dae444fa7e4a5);
#if _DEBUG_REFCOUNTS
if (cache_frame_beaa81692920eda5956dae444fa7e4a5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_beaa81692920eda5956dae444fa7e4a5 = MAKE_FUNCTION_FRAME(codeobj_beaa81692920eda5956dae444fa7e4a5, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_beaa81692920eda5956dae444fa7e4a5->m_type_description == NULL);
frame_beaa81692920eda5956dae444fa7e4a5 = cache_frame_beaa81692920eda5956dae444fa7e4a5;
// Push the new frame as the currently active one.
pushFrameStack(frame_beaa81692920eda5956dae444fa7e4a5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_beaa81692920eda5956dae444fa7e4a5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_kw_call_value_1_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_kw_call_value_2_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_kw_call_value_3_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[109]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[109]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_kw_call_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[3]);
if (tmp_kw_call_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_kw_call_value_1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[5]);
if (tmp_kw_call_value_1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_kw_call_value_0_1);
exception_lineno = 453;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_kw_call_value_2_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[8]);
if (tmp_kw_call_value_2_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
exception_lineno = 453;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_path);
tmp_kw_call_value_3_1 = par_path;
frame_beaa81692920eda5956dae444fa7e4a5->m_frame.f_lineno = 453;
{
PyObject *kw_values[4] = {tmp_kw_call_value_0_1, tmp_kw_call_value_1_1, tmp_kw_call_value_2_1, tmp_kw_call_value_3_1};
tmp_expression_value_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, kw_values, mod_consts[110]);
}
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[111]);
Py_DECREF(tmp_expression_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_beaa81692920eda5956dae444fa7e4a5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_beaa81692920eda5956dae444fa7e4a5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_beaa81692920eda5956dae444fa7e4a5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_beaa81692920eda5956dae444fa7e4a5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_beaa81692920eda5956dae444fa7e4a5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_beaa81692920eda5956dae444fa7e4a5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_beaa81692920eda5956dae444fa7e4a5,
type_description_1,
par_self,
par_path
);
// Release cached frame if used for exception.
if (frame_beaa81692920eda5956dae444fa7e4a5 == cache_frame_beaa81692920eda5956dae444fa7e4a5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_beaa81692920eda5956dae444fa7e4a5);
cache_frame_beaa81692920eda5956dae444fa7e4a5 = NULL;
}
assertFrameObject(frame_beaa81692920eda5956dae444fa7e4a5);
// 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_path);
Py_DECREF(par_path);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_path);
Py_DECREF(par_path);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_urllib3$connectionpool$$$function__16_close(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *var_old_pool = NULL;
PyObject *var_conn = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_d1eac4c0514abb292089431ff79d1163;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_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;
static struct Nuitka_FrameObject *cache_frame_d1eac4c0514abb292089431ff79d1163 = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_d1eac4c0514abb292089431ff79d1163)) {
Py_XDECREF(cache_frame_d1eac4c0514abb292089431ff79d1163);
#if _DEBUG_REFCOUNTS
if (cache_frame_d1eac4c0514abb292089431ff79d1163 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d1eac4c0514abb292089431ff79d1163 = MAKE_FUNCTION_FRAME(codeobj_d1eac4c0514abb292089431ff79d1163, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d1eac4c0514abb292089431ff79d1163->m_type_description == NULL);
frame_d1eac4c0514abb292089431ff79d1163 = cache_frame_d1eac4c0514abb292089431ff79d1163;
// Push the new frame as the currently active one.
pushFrameStack(frame_d1eac4c0514abb292089431ff79d1163);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d1eac4c0514abb292089431ff79d1163) == 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[23]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 459;
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:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[23]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_iter_arg_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_iter_arg_1, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = Py_None;
PyTuple_SET_ITEM0(tmp_iter_arg_1, 1, tmp_tuple_element_1);
tmp_assign_source_1 = MAKE_ITERATOR_INFALLIBLE(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
assert(!(tmp_assign_source_1 == NULL));
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_2 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooo";
exception_lineno = 462;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_3 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooo";
exception_lineno = 462;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
exception_lineno = 462;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[112];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooo";
exception_lineno = 462;
goto try_except_handler_3;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_2;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_4 = tmp_tuple_unpack_1__element_1;
assert(var_old_pool == NULL);
Py_INCREF(tmp_assign_source_4);
var_old_pool = tmp_assign_source_4;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assattr_value_1 = tmp_tuple_unpack_1__element_2;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[23], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 462;
type_description_1 = "ooo";
goto try_except_handler_2;
}
}
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
// Tried code:
loop_start_1:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
if (var_old_pool == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[113]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 466;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_expression_value_3 = var_old_pool;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[45]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 466;
type_description_1 = "ooo";
goto try_except_handler_4;
}
frame_d1eac4c0514abb292089431ff79d1163->m_frame.f_lineno = 466;
tmp_assign_source_5 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, &PyTuple_GET_ITEM(mod_consts[114], 0), mod_consts[115]);
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 = 466;
type_description_1 = "ooo";
goto try_except_handler_4;
}
{
PyObject *old = var_conn;
var_conn = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
CHECK_OBJECT(var_conn);
tmp_truth_name_1 = CHECK_IF_TRUE(var_conn);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(var_conn);
tmp_called_instance_1 = var_conn;
frame_d1eac4c0514abb292089431ff79d1163->m_frame.f_lineno = 468;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[11]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 468;
type_description_1 = "ooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_2:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 465;
type_description_1 = "ooo";
goto try_except_handler_4;
}
goto loop_start_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_d1eac4c0514abb292089431ff79d1163, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_d1eac4c0514abb292089431ff79d1163, 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_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_4;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[49]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[49]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 470;
type_description_1 = "ooo";
goto try_except_handler_5;
}
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[50]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 470;
type_description_1 = "ooo";
goto try_except_handler_5;
}
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 = 470;
type_description_1 = "ooo";
goto try_except_handler_5;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 464;
}
if (exception_tb && exception_tb->tb_frame == &frame_d1eac4c0514abb292089431ff79d1163->m_frame) frame_d1eac4c0514abb292089431ff79d1163->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_5;
branch_no_3:;
goto try_end_3;
// 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_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_4;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_4:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d1eac4c0514abb292089431ff79d1163);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d1eac4c0514abb292089431ff79d1163);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d1eac4c0514abb292089431ff79d1163);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d1eac4c0514abb292089431ff79d1163, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d1eac4c0514abb292089431ff79d1163->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d1eac4c0514abb292089431ff79d1163, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d1eac4c0514abb292089431ff79d1163,
type_description_1,
par_self,
var_old_pool,
var_conn
);
// Release cached frame if used for exception.
if (frame_d1eac4c0514abb292089431ff79d1163 == cache_frame_d1eac4c0514abb292089431ff79d1163) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d1eac4c0514abb292089431ff79d1163);
cache_frame_d1eac4c0514abb292089431ff79d1163 = NULL;
}
assertFrameObject(frame_d1eac4c0514abb292089431ff79d1163);
// 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_old_pool);
var_old_pool = NULL;
Py_XDECREF(var_conn);
var_conn = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_old_pool);
var_old_pool = NULL;
Py_XDECREF(var_conn);
var_conn = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_urllib3$connectionpool$$$function__17_is_same_host(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_url = python_pars[1];
PyObject *var_scheme = NULL;
PyObject *var_host = NULL;
PyObject *var_port = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__element_3 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_a214df9caad0f58c47aac90b11df25ae;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_a214df9caad0f58c47aac90b11df25ae = 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_a214df9caad0f58c47aac90b11df25ae)) {
Py_XDECREF(cache_frame_a214df9caad0f58c47aac90b11df25ae);
#if _DEBUG_REFCOUNTS
if (cache_frame_a214df9caad0f58c47aac90b11df25ae == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a214df9caad0f58c47aac90b11df25ae = MAKE_FUNCTION_FRAME(codeobj_a214df9caad0f58c47aac90b11df25ae, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a214df9caad0f58c47aac90b11df25ae->m_type_description == NULL);
frame_a214df9caad0f58c47aac90b11df25ae = cache_frame_a214df9caad0f58c47aac90b11df25ae;
// Push the new frame as the currently active one.
pushFrameStack(frame_a214df9caad0f58c47aac90b11df25ae);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a214df9caad0f58c47aac90b11df25ae) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_url);
tmp_expression_value_1 = par_url;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[117]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 478;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_a214df9caad0f58c47aac90b11df25ae->m_frame.f_lineno = 478;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[118]);
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 478;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 478;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_True;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_1;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_url);
tmp_args_element_value_1 = par_url;
frame_a214df9caad0f58c47aac90b11df25ae->m_frame.f_lineno = 482;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, 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 = 482;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 482;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 3);
if (tmp_assign_source_2 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooo";
exception_lineno = 482;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 3);
if (tmp_assign_source_3 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooo";
exception_lineno = 482;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_3, 2, 3);
if (tmp_assign_source_4 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooo";
exception_lineno = 482;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_3 == NULL);
tmp_tuple_unpack_1__element_3 = tmp_assign_source_4;
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
exception_lineno = 482;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[120];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooo";
exception_lineno = 482;
goto try_except_handler_3;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_2;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_5 = tmp_tuple_unpack_1__element_1;
assert(var_scheme == NULL);
Py_INCREF(tmp_assign_source_5);
var_scheme = tmp_assign_source_5;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_6 = tmp_tuple_unpack_1__element_2;
assert(var_host == NULL);
Py_INCREF(tmp_assign_source_6);
var_host = tmp_assign_source_6;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_3);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_3;
assert(var_port == NULL);
Py_INCREF(tmp_assign_source_7);
var_port = tmp_assign_source_7;
}
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_host);
tmp_cmp_expr_left_1 = var_host;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_3;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_dict_value_0_1;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[2]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[2]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_host);
tmp_kw_call_arg_value_0_1 = var_host;
CHECK_OBJECT(var_scheme);
tmp_kw_call_dict_value_0_1 = var_scheme;
frame_a214df9caad0f58c47aac90b11df25ae->m_frame.f_lineno = 484;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_assign_source_8 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_3, args, kw_values, mod_consts[4]);
}
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 484;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_host;
assert(old != NULL);
var_host = tmp_assign_source_8;
Py_DECREF(old);
}
}
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_expression_value_2;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_2;
PyObject *tmp_operand_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[8]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 487;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 487;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(var_port);
tmp_operand_value_1 = var_port;
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 = 487;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_3 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_3 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_2;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[121]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[121]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 488;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[45]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 488;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (var_scheme == NULL) {
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[3]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 488;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = var_scheme;
frame_a214df9caad0f58c47aac90b11df25ae->m_frame.f_lineno = 488;
tmp_assign_source_9 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_4);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 488;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_port;
assert(old != NULL);
var_port = tmp_assign_source_9;
Py_DECREF(old);
}
}
goto branch_end_3;
branch_no_3:;
{
nuitka_bool tmp_condition_result_4;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_operand_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[8]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 489;
type_description_1 = "ooooo";
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 = 489;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(var_port);
tmp_cmp_expr_left_2 = var_port;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[121]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[121]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 489;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[45]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 489;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (var_scheme == NULL) {
Py_DECREF(tmp_called_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[3]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 489;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = var_scheme;
frame_a214df9caad0f58c47aac90b11df25ae->m_frame.f_lineno = 489;
tmp_cmp_expr_right_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_5);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 489;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_and_right_value_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 489;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_condition_result_4 = tmp_and_left_value_2;
and_end_2:;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
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_port;
assert(old != NULL);
var_port = tmp_assign_source_10;
Py_INCREF(var_port);
Py_DECREF(old);
}
}
branch_no_4:;
branch_end_3:;
{
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_tuple_element_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_expression_value_6;
if (var_scheme == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[3]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 492;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = var_scheme;
tmp_cmp_expr_left_3 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_cmp_expr_left_3, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_host);
tmp_tuple_element_1 = var_host;
PyTuple_SET_ITEM0(tmp_cmp_expr_left_3, 1, tmp_tuple_element_1);
CHECK_OBJECT(var_port);
tmp_tuple_element_1 = var_port;
PyTuple_SET_ITEM0(tmp_cmp_expr_left_3, 2, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[3]);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_3);
exception_lineno = 492;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
PyTuple_SET_ITEM(tmp_cmp_expr_right_3, 0, tmp_tuple_element_2);
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[5]);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 492;
type_description_1 = "ooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_cmp_expr_right_3, 1, tmp_tuple_element_2);
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[8]);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 492;
type_description_1 = "ooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_cmp_expr_right_3, 2, tmp_tuple_element_2);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_cmp_expr_left_3);
Py_DECREF(tmp_cmp_expr_right_3);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_return_value = RICH_COMPARE_EQ_OBJECT_TUPLE_TUPLE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 492;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a214df9caad0f58c47aac90b11df25ae);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a214df9caad0f58c47aac90b11df25ae);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a214df9caad0f58c47aac90b11df25ae);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a214df9caad0f58c47aac90b11df25ae, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a214df9caad0f58c47aac90b11df25ae->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a214df9caad0f58c47aac90b11df25ae, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a214df9caad0f58c47aac90b11df25ae,
type_description_1,
par_self,
par_url,
var_scheme,
var_host,
var_port
);
// Release cached frame if used for exception.
if (frame_a214df9caad0f58c47aac90b11df25ae == cache_frame_a214df9caad0f58c47aac90b11df25ae) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a214df9caad0f58c47aac90b11df25ae);
cache_frame_a214df9caad0f58c47aac90b11df25ae = NULL;
}
assertFrameObject(frame_a214df9caad0f58c47aac90b11df25ae);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_scheme);
var_scheme = NULL;
Py_XDECREF(var_host);
var_host = NULL;
Py_XDECREF(var_port);
var_port = 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_scheme);
var_scheme = NULL;
Py_XDECREF(var_host);
var_host = NULL;
Py_XDECREF(var_port);
var_port = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_urllib3$connectionpool$$$function__18_urlopen(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_method = python_pars[1];
PyObject *par_url = python_pars[2];
PyObject *par_body = python_pars[3];
PyObject *par_headers = python_pars[4];
PyObject *par_retries = python_pars[5];
PyObject *par_redirect = python_pars[6];
PyObject *par_assert_same_host = python_pars[7];
PyObject *par_timeout = python_pars[8];
PyObject *par_pool_timeout = python_pars[9];
PyObject *par_release_conn = python_pars[10];
PyObject *par_chunked = python_pars[11];
PyObject *par_body_pos = python_pars[12];
PyObject *par_response_kw = python_pars[13];
PyObject *var_conn = NULL;
PyObject *var_release_this_conn = NULL;
PyObject *var_err = NULL;
nuitka_bool var_clean_exit = NUITKA_BOOL_UNASSIGNED;
PyObject *var_timeout_obj = NULL;
PyObject *var_is_new_proxy_conn = NULL;
PyObject *var_httplib_response = NULL;
PyObject *var_response_conn = NULL;
PyObject *var_response = NULL;
PyObject *var_e = NULL;
PyObject *var_drain_and_release_conn = NULL;
PyObject *var_redirect_location = NULL;
PyObject *var_has_retry_after = NULL;
struct Nuitka_FrameObject *frame_f722454574357f70af53b39d461bb237;
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;
bool tmp_result;
PyObject *tmp_dictset_value;
PyObject *tmp_dictset_dict;
PyObject *tmp_dictset_key;
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;
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;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
struct Nuitka_ExceptionStackItem exception_preserved_3;
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;
struct Nuitka_ExceptionStackItem exception_preserved_4;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
static struct Nuitka_FrameObject *cache_frame_f722454574357f70af53b39d461bb237 = 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;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_f722454574357f70af53b39d461bb237)) {
Py_XDECREF(cache_frame_f722454574357f70af53b39d461bb237);
#if _DEBUG_REFCOUNTS
if (cache_frame_f722454574357f70af53b39d461bb237 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f722454574357f70af53b39d461bb237 = MAKE_FUNCTION_FRAME(codeobj_f722454574357f70af53b39d461bb237, module_urllib3$connectionpool, sizeof(nuitka_bool)+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 *)+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_f722454574357f70af53b39d461bb237->m_type_description == NULL);
frame_f722454574357f70af53b39d461bb237 = cache_frame_f722454574357f70af53b39d461bb237;
// Push the new frame as the currently active one.
pushFrameStack(frame_f722454574357f70af53b39d461bb237);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f722454574357f70af53b39d461bb237) == 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_headers);
tmp_cmp_expr_left_1 = par_headers;
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[123]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 601;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_headers;
assert(old != NULL);
par_headers = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_retries);
tmp_isinstance_inst_1 = par_retries;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[18]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[18]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 603;
type_description_1 = "ooooooooooooooooobooooooooo";
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 = 603;
type_description_1 = "ooooooooooooooooobooooooooo";
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 = 603;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_2;
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;
PyObject *tmp_kw_call_dict_value_1_1;
PyObject *tmp_expression_value_3;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[18]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[18]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 604;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
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(&exception_type, &exception_value, &exception_tb);
exception_lineno = 604;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_retries);
tmp_kw_call_arg_value_0_1 = par_retries;
CHECK_OBJECT(par_redirect);
tmp_kw_call_dict_value_0_1 = par_redirect;
if (par_self == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 604;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = par_self;
tmp_kw_call_dict_value_1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[21]);
if (tmp_kw_call_dict_value_1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 604;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 604;
{
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_2 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[125]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_dict_value_1_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 604;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_retries;
assert(old != NULL);
par_retries = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_release_conn);
tmp_cmp_expr_left_2 = par_release_conn;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_key_value_1;
PyObject *tmp_default_value_1;
CHECK_OBJECT(par_response_kw);
tmp_dict_arg_value_1 = par_response_kw;
tmp_key_value_1 = mod_consts[126];
tmp_default_value_1 = Py_True;
tmp_assign_source_3 = DICT_GET_ITEM1(tmp_dict_arg_value_1, tmp_key_value_1);
if (tmp_assign_source_3 == NULL) {
tmp_assign_source_3 = tmp_default_value_1;
Py_INCREF(tmp_assign_source_3);
}
assert(!(tmp_assign_source_3 == NULL));
{
PyObject *old = par_release_conn;
assert(old != NULL);
par_release_conn = tmp_assign_source_3;
Py_DECREF(old);
}
}
branch_no_3:;
{
nuitka_bool tmp_condition_result_4;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
int tmp_truth_name_1;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_assert_same_host);
tmp_truth_name_1 = CHECK_IF_TRUE(par_assert_same_host);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 610;
type_description_1 = "ooooooooooooooooobooooooooo";
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 = 610;
type_description_1 = "ooooooooooooooooobooooooooo";
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 (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 610;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_url);
tmp_args_element_value_1 = par_url;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 610;
tmp_operand_value_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[127], tmp_args_element_value_1);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 610;
type_description_1 = "ooooooooooooooooobooooooooo";
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 = 610;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_4 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_4 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[128]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[128]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 611;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 611;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = par_self;
if (par_url == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[111]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 611;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = par_url;
CHECK_OBJECT(par_retries);
tmp_args_element_value_4 = par_retries;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 611;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 611;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 611;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
branch_no_4:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
int tmp_truth_name_2;
if (par_url == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[111]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 614;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = par_url;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[117]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 614;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 614;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[118]);
Py_DECREF(tmp_called_value_3);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 614;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 614;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_5;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_6;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[93]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[93]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 615;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[129]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 615;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[130]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[130]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 615;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
if (par_url == NULL) {
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[111]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 615;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = par_url;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 615;
tmp_args_element_value_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_6);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 615;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 615;
tmp_assign_source_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_5);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 615;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_url;
par_url = tmp_assign_source_4;
Py_XDECREF(old);
}
}
goto branch_end_5;
branch_no_5:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_expression_value_7;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_8;
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[93]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[93]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[129]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_7 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[131]);
if (unlikely(tmp_called_value_7 == NULL)) {
tmp_called_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[131]);
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 617;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
if (par_url == NULL) {
Py_DECREF(tmp_called_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[111]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 617;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_8 = par_url;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 617;
tmp_expression_value_7 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_8);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 617;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[111]);
Py_DECREF(tmp_expression_value_7);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 617;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 617;
tmp_assign_source_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_7);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_7);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_url;
par_url = tmp_assign_source_5;
Py_XDECREF(old);
}
}
branch_end_5:;
{
PyObject *tmp_assign_source_6;
tmp_assign_source_6 = Py_None;
assert(var_conn == NULL);
Py_INCREF(tmp_assign_source_6);
var_conn = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(par_release_conn);
tmp_assign_source_7 = par_release_conn;
assert(var_release_this_conn == NULL);
Py_INCREF(tmp_assign_source_7);
var_release_this_conn = tmp_assign_source_7;
}
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_8;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 635;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_8 = par_self;
tmp_cmp_expr_left_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[3]);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 635;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = mod_consts[132];
tmp_condition_result_6 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_6 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 635;
type_description_1 = "ooooooooooooooooobooooooooo";
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_8;
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(par_headers);
tmp_expression_value_9 = par_headers;
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[133]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 636;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 636;
tmp_assign_source_8 = CALL_FUNCTION_NO_ARGS(tmp_called_value_8);
Py_DECREF(tmp_called_value_8);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 636;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_headers;
assert(old != NULL);
par_headers = tmp_assign_source_8;
Py_DECREF(old);
}
}
{
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_9;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(par_headers);
tmp_expression_value_10 = par_headers;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[134]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 637;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
if (par_self == NULL) {
Py_DECREF(tmp_called_value_9);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 637;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_11 = par_self;
tmp_args_element_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[26]);
if (tmp_args_element_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_9);
exception_lineno = 637;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 637;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_9, tmp_args_element_value_9);
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_args_element_value_9);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 637;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_6:;
{
PyObject *tmp_assign_source_9;
tmp_assign_source_9 = Py_None;
assert(var_err == NULL);
Py_INCREF(tmp_assign_source_9);
var_err = tmp_assign_source_9;
}
{
nuitka_bool tmp_assign_source_10;
tmp_assign_source_10 = NUITKA_BOOL_FALSE;
var_clean_exit = tmp_assign_source_10;
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_called_value_10;
PyObject *tmp_args_element_value_10;
PyObject *tmp_args_element_value_11;
tmp_called_value_10 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[135]);
if (unlikely(tmp_called_value_10 == NULL)) {
tmp_called_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[135]);
}
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_body);
tmp_args_element_value_10 = par_body;
CHECK_OBJECT(par_body_pos);
tmp_args_element_value_11 = par_body_pos;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 649;
{
PyObject *call_args[] = {tmp_args_element_value_10, tmp_args_element_value_11};
tmp_assign_source_11 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_10, call_args);
}
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_body_pos;
assert(old != NULL);
par_body_pos = tmp_assign_source_11;
Py_DECREF(old);
}
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_12;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_12;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 653;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_called_instance_2 = par_self;
CHECK_OBJECT(par_timeout);
tmp_args_element_value_12 = par_timeout;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 653;
tmp_assign_source_12 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[76], tmp_args_element_value_12);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 653;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
assert(var_timeout_obj == NULL);
var_timeout_obj = tmp_assign_source_12;
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_called_value_11;
PyObject *tmp_expression_value_12;
PyObject *tmp_kw_call_value_0_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 654;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_expression_value_12 = par_self;
tmp_called_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[136]);
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(par_pool_timeout);
tmp_kw_call_value_0_1 = par_pool_timeout;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 654;
{
PyObject *kw_values[1] = {tmp_kw_call_value_0_1};
tmp_assign_source_13 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_11, kw_values, mod_consts[137]);
}
Py_DECREF(tmp_called_value_11);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 654;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
{
PyObject *old = var_conn;
assert(old != NULL);
var_conn = tmp_assign_source_13;
Py_DECREF(old);
}
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_expression_value_13;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(var_timeout_obj);
tmp_expression_value_13 = var_timeout_obj;
tmp_assattr_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[43]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 656;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_conn);
tmp_assattr_target_1 = var_conn;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[20], 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 = 656;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
}
{
PyObject *tmp_assign_source_14;
int tmp_and_left_truth_2;
PyObject *tmp_and_left_value_2;
PyObject *tmp_and_right_value_2;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_expression_value_14;
PyObject *tmp_operand_value_3;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 658;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_expression_value_14 = par_self;
tmp_cmp_expr_left_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[25]);
if (tmp_cmp_expr_left_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 658;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_4 = Py_None;
tmp_and_left_value_2 = (tmp_cmp_expr_left_4 != tmp_cmp_expr_right_4) ? Py_True : Py_False;
Py_DECREF(tmp_cmp_expr_left_4);
tmp_and_left_truth_2 = CHECK_IF_TRUE(tmp_and_left_value_2);
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(var_conn);
tmp_getattr_target_1 = var_conn;
tmp_getattr_attr_1 = mod_consts[85];
tmp_getattr_default_1 = Py_None;
tmp_operand_value_3 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_operand_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 658;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
Py_DECREF(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 658;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_and_right_value_2 = (tmp_res == 0) ? Py_True : Py_False;
tmp_assign_source_14 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_assign_source_14 = tmp_and_left_value_2;
and_end_2:;
assert(var_is_new_proxy_conn == NULL);
Py_INCREF(tmp_assign_source_14);
var_is_new_proxy_conn = tmp_assign_source_14;
}
{
nuitka_bool tmp_condition_result_7;
int tmp_truth_name_3;
CHECK_OBJECT(var_is_new_proxy_conn);
tmp_truth_name_3 = CHECK_IF_TRUE(var_is_new_proxy_conn);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 661;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_condition_result_7 = tmp_truth_name_3 == 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_called_instance_3;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_13;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 662;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_called_instance_3 = par_self;
CHECK_OBJECT(var_conn);
tmp_args_element_value_13 = var_conn;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 662;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[138], tmp_args_element_value_13);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 662;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_7:;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_value_12;
PyObject *tmp_expression_value_15;
PyObject *tmp_kw_call_arg_value_0_2;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_kw_call_arg_value_2_1;
PyObject *tmp_kw_call_dict_value_0_2;
PyObject *tmp_kw_call_dict_value_1_2;
PyObject *tmp_kw_call_dict_value_2_1;
PyObject *tmp_kw_call_dict_value_3_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 665;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_expression_value_15 = par_self;
tmp_called_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[139]);
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 665;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
if (var_conn == NULL) {
Py_DECREF(tmp_called_value_12);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 666;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_kw_call_arg_value_0_2 = var_conn;
CHECK_OBJECT(par_method);
tmp_kw_call_arg_value_1_1 = par_method;
CHECK_OBJECT(par_url);
tmp_kw_call_arg_value_2_1 = par_url;
CHECK_OBJECT(var_timeout_obj);
tmp_kw_call_dict_value_0_2 = var_timeout_obj;
CHECK_OBJECT(par_body);
tmp_kw_call_dict_value_1_2 = par_body;
if (par_headers == NULL) {
Py_DECREF(tmp_called_value_12);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[123]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 671;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_kw_call_dict_value_2_1 = par_headers;
CHECK_OBJECT(par_chunked);
tmp_kw_call_dict_value_3_1 = par_chunked;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 665;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_2, tmp_kw_call_arg_value_1_1, tmp_kw_call_arg_value_2_1};
PyObject *kw_values[4] = {tmp_kw_call_dict_value_0_2, tmp_kw_call_dict_value_1_2, tmp_kw_call_dict_value_2_1, tmp_kw_call_dict_value_3_1};
tmp_assign_source_15 = CALL_FUNCTION_WITH_ARGS3_KWSPLIT(tmp_called_value_12, args, kw_values, mod_consts[140]);
}
Py_DECREF(tmp_called_value_12);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 665;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
assert(var_httplib_response == NULL);
var_httplib_response = tmp_assign_source_15;
}
{
PyObject *tmp_assign_source_16;
bool tmp_condition_result_8;
PyObject *tmp_operand_value_4;
CHECK_OBJECT(par_release_conn);
tmp_operand_value_4 = par_release_conn;
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 = 679;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_condition_result_8 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_8 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
if (var_conn == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 679;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_assign_source_16 = var_conn;
goto condexpr_end_1;
condexpr_false_1:;
tmp_assign_source_16 = Py_None;
condexpr_end_1:;
assert(var_response_conn == NULL);
Py_INCREF(tmp_assign_source_16);
var_response_conn = tmp_assign_source_16;
}
CHECK_OBJECT(par_method);
tmp_dictset_value = par_method;
CHECK_OBJECT(par_response_kw);
tmp_dictset_dict = par_response_kw;
tmp_dictset_key = mod_consts[141];
assert(PyDict_CheckExact(tmp_dictset_dict));
tmp_res = PyDict_SetItem(tmp_dictset_dict, tmp_dictset_key, tmp_dictset_value);
assert(!(tmp_res != 0));
{
PyObject *tmp_assign_source_17;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_16;
PyObject *tmp_expression_value_17;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_dircall_arg4_1;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 685;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_expression_value_17 = par_self;
tmp_expression_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[142]);
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 685;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[143]);
Py_DECREF(tmp_expression_value_16);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 685;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_httplib_response);
tmp_tuple_element_1 = var_httplib_response;
tmp_dircall_arg2_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 0, tmp_tuple_element_1);
tmp_dict_key_1 = mod_consts[23];
if (par_self == NULL) {
Py_DECREF(tmp_dircall_arg1_1);
Py_DECREF(tmp_dircall_arg2_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 687;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
tmp_dict_value_1 = par_self;
tmp_dircall_arg3_1 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[144];
CHECK_OBJECT(var_response_conn);
tmp_dict_value_1 = var_response_conn;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[21];
CHECK_OBJECT(par_retries);
tmp_dict_value_1 = par_retries;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
CHECK_OBJECT(par_response_kw);
tmp_dircall_arg4_1 = par_response_kw;
Py_INCREF(tmp_dircall_arg4_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1, tmp_dircall_arg4_1};
tmp_assign_source_17 = impl___main__$$$function__10_complex_call_helper_pos_keywords_star_dict(dir_call_args);
}
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 685;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_3;
}
assert(var_response == NULL);
var_response = tmp_assign_source_17;
}
{
nuitka_bool tmp_assign_source_18;
tmp_assign_source_18 = NUITKA_BOOL_TRUE;
var_clean_exit = tmp_assign_source_18;
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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_f722454574357f70af53b39d461bb237, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_f722454574357f70af53b39d461bb237, 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_9;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_expression_value_18;
tmp_cmp_expr_left_5 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_18 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[49]);
if (unlikely(tmp_expression_value_18 == NULL)) {
tmp_expression_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[49]);
}
if (tmp_expression_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_4;
}
tmp_cmp_expr_right_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[50]);
if (tmp_cmp_expr_right_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_4;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
Py_DECREF(tmp_cmp_expr_right_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 696;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_4;
}
tmp_condition_result_9 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_called_value_13;
PyObject *tmp_args_element_value_14;
PyObject *tmp_args_element_value_15;
tmp_called_value_13 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[51]);
if (unlikely(tmp_called_value_13 == NULL)) {
tmp_called_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[51]);
}
if (tmp_called_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 698;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_4;
}
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 698;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_4;
}
tmp_args_element_value_14 = par_self;
tmp_args_element_value_15 = mod_consts[145];
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 698;
{
PyObject *call_args[] = {tmp_args_element_value_14, tmp_args_element_value_15};
tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_13, call_args);
}
if (tmp_raise_type_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 698;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_4;
}
exception_type = tmp_raise_type_2;
exception_lineno = 698;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_4;
}
goto branch_end_8;
branch_no_8:;
{
bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
PyObject *tmp_tuple_element_2;
tmp_cmp_expr_left_6 = EXC_TYPE(PyThreadState_GET());
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 701;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_4;
}
tmp_cmp_expr_right_6 = MAKE_TUPLE_EMPTY(7);
PyTuple_SET_ITEM0(tmp_cmp_expr_right_6, 0, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 702;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_6, 1, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[95]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[95]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 703;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_6, 2, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 704;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_6, 3, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 705;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_6, 4, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[149]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[149]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 706;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_6, 5, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[150]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[150]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 707;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_6, 6, tmp_tuple_element_2);
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_cmp_expr_right_6);
goto try_except_handler_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
Py_DECREF(tmp_cmp_expr_right_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 700;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_4;
}
tmp_condition_result_10 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_10 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_assign_source_19;
tmp_assign_source_19 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_19);
var_e = tmp_assign_source_19;
}
{
nuitka_bool tmp_assign_source_20;
tmp_assign_source_20 = NUITKA_BOOL_FALSE;
var_clean_exit = tmp_assign_source_20;
}
// Tried code:
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
PyObject *tmp_tuple_element_3;
CHECK_OBJECT(var_e);
tmp_isinstance_inst_2 = var_e;
tmp_tuple_element_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_tuple_element_3 == NULL)) {
tmp_tuple_element_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 712;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_isinstance_cls_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_isinstance_cls_2, 0, tmp_tuple_element_3);
tmp_tuple_element_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[150]);
if (unlikely(tmp_tuple_element_3 == NULL)) {
tmp_tuple_element_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[150]);
}
if (tmp_tuple_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 712;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM0(tmp_isinstance_cls_2, 1, tmp_tuple_element_3);
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_isinstance_cls_2);
goto try_except_handler_5;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
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 = 712;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_condition_result_11 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_21;
PyObject *tmp_called_value_14;
PyObject *tmp_args_element_value_16;
tmp_called_value_14 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[149]);
if (unlikely(tmp_called_value_14 == NULL)) {
tmp_called_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[149]);
}
if (tmp_called_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 713;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
CHECK_OBJECT(var_e);
tmp_args_element_value_16 = var_e;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 713;
tmp_assign_source_21 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_14, tmp_args_element_value_16);
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 713;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
{
PyObject *old = var_e;
assert(old != NULL);
var_e = tmp_assign_source_21;
Py_DECREF(old);
}
}
goto branch_end_10;
branch_no_10:;
{
nuitka_bool tmp_condition_result_12;
int tmp_and_left_truth_3;
nuitka_bool tmp_and_left_value_3;
nuitka_bool tmp_and_right_value_3;
PyObject *tmp_isinstance_inst_3;
PyObject *tmp_isinstance_cls_3;
PyObject *tmp_tuple_element_4;
PyObject *tmp_expression_value_19;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_4;
CHECK_OBJECT(var_e);
tmp_isinstance_inst_3 = var_e;
tmp_tuple_element_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[95]);
if (unlikely(tmp_tuple_element_4 == NULL)) {
tmp_tuple_element_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[95]);
}
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 714;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_isinstance_cls_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_isinstance_cls_3, 0, tmp_tuple_element_4);
tmp_tuple_element_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[151]);
if (unlikely(tmp_tuple_element_4 == NULL)) {
tmp_tuple_element_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[151]);
}
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 714;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM0(tmp_isinstance_cls_3, 1, tmp_tuple_element_4);
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_isinstance_cls_3);
goto try_except_handler_5;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_3, tmp_isinstance_cls_3);
Py_DECREF(tmp_isinstance_cls_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 714;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_and_left_value_3 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 714;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 714;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_expression_value_19 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[25]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 714;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_truth_name_4 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 714;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_and_right_value_3 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
tmp_condition_result_12 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_condition_result_12 = tmp_and_left_value_3;
and_end_3:;
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_assign_source_22;
PyObject *tmp_called_value_15;
PyObject *tmp_args_element_value_17;
PyObject *tmp_args_element_value_18;
tmp_called_value_15 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[152]);
if (unlikely(tmp_called_value_15 == NULL)) {
tmp_called_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[152]);
}
if (tmp_called_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 715;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_args_element_value_17 = mod_consts[153];
CHECK_OBJECT(var_e);
tmp_args_element_value_18 = var_e;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 715;
{
PyObject *call_args[] = {tmp_args_element_value_17, tmp_args_element_value_18};
tmp_assign_source_22 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_15, call_args);
}
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 715;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
{
PyObject *old = var_e;
assert(old != NULL);
var_e = tmp_assign_source_22;
Py_DECREF(old);
}
}
goto branch_end_11;
branch_no_11:;
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_isinstance_inst_4;
PyObject *tmp_isinstance_cls_4;
PyObject *tmp_tuple_element_5;
CHECK_OBJECT(var_e);
tmp_isinstance_inst_4 = var_e;
tmp_tuple_element_5 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[95]);
if (unlikely(tmp_tuple_element_5 == NULL)) {
tmp_tuple_element_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[95]);
}
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 716;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_isinstance_cls_4 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_isinstance_cls_4, 0, tmp_tuple_element_5);
tmp_tuple_element_5 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_tuple_element_5 == NULL)) {
tmp_tuple_element_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_tuple_element_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 716;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM0(tmp_isinstance_cls_4, 1, tmp_tuple_element_5);
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_isinstance_cls_4);
goto try_except_handler_5;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_4, tmp_isinstance_cls_4);
Py_DECREF(tmp_isinstance_cls_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 716;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_condition_result_13 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
PyObject *tmp_assign_source_23;
PyObject *tmp_called_value_16;
PyObject *tmp_args_element_value_19;
PyObject *tmp_args_element_value_20;
tmp_called_value_16 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_called_value_16 == NULL)) {
tmp_called_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_called_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_args_element_value_19 = mod_consts[154];
CHECK_OBJECT(var_e);
tmp_args_element_value_20 = var_e;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 717;
{
PyObject *call_args[] = {tmp_args_element_value_19, tmp_args_element_value_20};
tmp_assign_source_23 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_16, call_args);
}
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 717;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
{
PyObject *old = var_e;
assert(old != NULL);
var_e = tmp_assign_source_23;
Py_DECREF(old);
}
}
branch_no_12:;
branch_end_11:;
branch_end_10:;
{
PyObject *tmp_assign_source_24;
PyObject *tmp_called_value_17;
PyObject *tmp_expression_value_20;
PyObject *tmp_kw_call_arg_value_0_3;
PyObject *tmp_kw_call_arg_value_1_2;
PyObject *tmp_kw_call_dict_value_0_3;
PyObject *tmp_kw_call_dict_value_1_3;
PyObject *tmp_kw_call_dict_value_2_2;
PyObject *tmp_expression_value_21;
PyObject *tmp_called_instance_4;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_retries);
tmp_expression_value_20 = par_retries;
tmp_called_value_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[155]);
if (tmp_called_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 719;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
CHECK_OBJECT(par_method);
tmp_kw_call_arg_value_0_3 = par_method;
CHECK_OBJECT(par_url);
tmp_kw_call_arg_value_1_2 = par_url;
CHECK_OBJECT(var_e);
tmp_kw_call_dict_value_0_3 = var_e;
if (par_self == NULL) {
Py_DECREF(tmp_called_value_17);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 720;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_kw_call_dict_value_1_3 = par_self;
tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[156]);
if (unlikely(tmp_called_instance_4 == NULL)) {
tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[156]);
}
assert(!(tmp_called_instance_4 == NULL));
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 720;
tmp_expression_value_21 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[157]);
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_17);
exception_lineno = 720;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
tmp_subscript_value_1 = mod_consts[158];
tmp_kw_call_dict_value_2_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_21, tmp_subscript_value_1, 2);
Py_DECREF(tmp_expression_value_21);
if (tmp_kw_call_dict_value_2_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_17);
exception_lineno = 720;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 719;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_3, tmp_kw_call_arg_value_1_2};
PyObject *kw_values[3] = {tmp_kw_call_dict_value_0_3, tmp_kw_call_dict_value_1_3, tmp_kw_call_dict_value_2_2};
tmp_assign_source_24 = CALL_FUNCTION_WITH_ARGS2_KWSPLIT(tmp_called_value_17, args, kw_values, mod_consts[159]);
}
Py_DECREF(tmp_called_value_17);
Py_DECREF(tmp_kw_call_dict_value_2_2);
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 719;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
{
PyObject *old = par_retries;
assert(old != NULL);
par_retries = tmp_assign_source_24;
Py_DECREF(old);
}
}
{
PyObject *tmp_called_instance_5;
PyObject *tmp_call_result_4;
CHECK_OBJECT(par_retries);
tmp_called_instance_5 = par_retries;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 722;
tmp_call_result_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[160]);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 722;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_4);
}
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;
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_4;
// End of try:
try_end_2:;
{
PyObject *tmp_assign_source_25;
CHECK_OBJECT(var_e);
tmp_assign_source_25 = var_e;
{
PyObject *old = var_err;
assert(old != NULL);
var_err = tmp_assign_source_25;
Py_INCREF(var_err);
Py_DECREF(old);
}
}
Py_XDECREF(var_e);
var_e = NULL;
goto branch_end_9;
branch_no_9:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 651;
}
if (exception_tb && exception_tb->tb_frame == &frame_f722454574357f70af53b39d461bb237->m_frame) frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_4;
branch_end_9:;
branch_end_8:;
goto try_end_3;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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 try_except_handler_2;
// End of try:
try_end_3:;
// 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_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;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_4 == NULL) {
exception_keeper_tb_4 = MAKE_TRACEBACK(frame_f722454574357f70af53b39d461bb237, exception_keeper_lineno_4);
} else if (exception_keeper_lineno_4 != 0) {
exception_keeper_tb_4 = ADD_TRACEBACK(exception_keeper_tb_4, frame_f722454574357f70af53b39d461bb237, exception_keeper_lineno_4);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4);
{
PyObject *tmp_operand_value_5;
assert(var_clean_exit != NUITKA_BOOL_UNASSIGNED);
tmp_operand_value_5 = (var_clean_exit == NUITKA_BOOL_TRUE) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_5);
assert(!(tmp_res == -1));
}
// Tried code:
{
PyObject *tmp_assign_source_26;
int tmp_and_left_truth_4;
PyObject *tmp_and_left_value_4;
PyObject *tmp_and_right_value_4;
PyObject *tmp_called_instance_6;
if (var_conn == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 733;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_6;
}
tmp_and_left_value_4 = var_conn;
tmp_and_left_truth_4 = CHECK_IF_TRUE(tmp_and_left_value_4);
if (tmp_and_left_truth_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 733;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_6;
}
if (tmp_and_left_truth_4 == 1) {
goto and_right_4;
} else {
goto and_left_4;
}
and_right_4:;
if (var_conn == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 733;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_6;
}
tmp_called_instance_6 = var_conn;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 733;
tmp_and_right_value_4 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[11]);
if (tmp_and_right_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 733;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_6;
}
tmp_assign_source_26 = tmp_and_right_value_4;
goto and_end_4;
and_left_4:;
Py_INCREF(tmp_and_left_value_4);
tmp_assign_source_26 = tmp_and_left_value_4;
and_end_4:;
{
PyObject *old = var_conn;
var_conn = tmp_assign_source_26;
Py_XDECREF(old);
}
}
Py_XDECREF(var_release_this_conn);
var_release_this_conn = NULL;
{
PyObject *tmp_called_instance_7;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_21;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 740;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_6;
}
tmp_called_instance_7 = par_self;
CHECK_OBJECT(var_conn);
tmp_args_element_value_21 = var_conn;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 740;
tmp_call_result_5 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_7, mod_consts[161], tmp_args_element_value_21);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 740;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_6;
}
Py_DECREF(tmp_call_result_5);
}
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 651;
}
if (exception_tb && exception_tb->tb_frame == &frame_f722454574357f70af53b39d461bb237->m_frame) frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooooooobooooooooo";
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_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_4:;
{
bool tmp_condition_result_14;
PyObject *tmp_operand_value_6;
assert(var_clean_exit != NUITKA_BOOL_UNASSIGNED);
tmp_operand_value_6 = (var_clean_exit == NUITKA_BOOL_TRUE) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_6);
assert(!(tmp_res == -1));
tmp_condition_result_14 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_14 != false) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
{
PyObject *tmp_assign_source_27;
int tmp_and_left_truth_5;
PyObject *tmp_and_left_value_5;
PyObject *tmp_and_right_value_5;
PyObject *tmp_called_instance_8;
if (var_conn == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 733;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_5 = var_conn;
tmp_and_left_truth_5 = CHECK_IF_TRUE(tmp_and_left_value_5);
if (tmp_and_left_truth_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 733;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_5 == 1) {
goto and_right_5;
} else {
goto and_left_5;
}
and_right_5:;
if (var_conn == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 733;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_8 = var_conn;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 733;
tmp_and_right_value_5 = CALL_METHOD_NO_ARGS(tmp_called_instance_8, mod_consts[11]);
if (tmp_and_right_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 733;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_27 = tmp_and_right_value_5;
goto and_end_5;
and_left_5:;
Py_INCREF(tmp_and_left_value_5);
tmp_assign_source_27 = tmp_and_left_value_5;
and_end_5:;
{
PyObject *old = var_conn;
var_conn = tmp_assign_source_27;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_28;
tmp_assign_source_28 = Py_True;
{
PyObject *old = var_release_this_conn;
assert(old != NULL);
var_release_this_conn = tmp_assign_source_28;
Py_INCREF(var_release_this_conn);
Py_DECREF(old);
}
}
branch_no_13:;
{
nuitka_bool tmp_condition_result_15;
int tmp_truth_name_5;
CHECK_OBJECT(var_release_this_conn);
tmp_truth_name_5 = CHECK_IF_TRUE(var_release_this_conn);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 736;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_15 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
PyObject *tmp_called_value_18;
PyObject *tmp_expression_value_22;
PyObject *tmp_call_result_6;
PyObject *tmp_args_element_value_22;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 740;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_22 = par_self;
tmp_called_value_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[161]);
if (tmp_called_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 740;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
if (var_conn == NULL) {
Py_DECREF(tmp_called_value_18);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 740;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_22 = var_conn;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 740;
tmp_call_result_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_18, tmp_args_element_value_22);
Py_DECREF(tmp_called_value_18);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 740;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_6);
}
branch_no_14:;
{
bool tmp_condition_result_16;
PyObject *tmp_operand_value_7;
if (var_conn == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 742;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_operand_value_7 = var_conn;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 742;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_16 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_16 != false) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
PyObject *tmp_called_value_19;
PyObject *tmp_expression_value_23;
PyObject *tmp_call_result_7;
PyObject *tmp_args_element_value_23;
PyObject *tmp_args_element_value_24;
PyObject *tmp_args_element_value_25;
PyObject *tmp_args_element_value_26;
tmp_expression_value_23 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[38]);
if (unlikely(tmp_expression_value_23 == NULL)) {
tmp_expression_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[38]);
}
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 744;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[61]);
if (tmp_called_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 744;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_23 = mod_consts[162];
if (par_retries == NULL) {
Py_DECREF(tmp_called_value_19);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[21]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 745;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_24 = par_retries;
CHECK_OBJECT(var_err);
tmp_args_element_value_25 = var_err;
CHECK_OBJECT(par_url);
tmp_args_element_value_26 = par_url;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 744;
{
PyObject *call_args[] = {tmp_args_element_value_23, tmp_args_element_value_24, tmp_args_element_value_25, tmp_args_element_value_26};
tmp_call_result_7 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_19, call_args);
}
Py_DECREF(tmp_called_value_19);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 744;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_7);
}
{
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_expression_value_24;
PyObject *tmp_dircall_arg2_2;
PyObject *tmp_tuple_element_6;
PyObject *tmp_dircall_arg3_2;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
PyObject *tmp_dircall_arg4_2;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 747;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_24 = par_self;
tmp_dircall_arg1_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[163]);
if (tmp_dircall_arg1_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 747;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_method);
tmp_tuple_element_6 = par_method;
tmp_dircall_arg2_2 = MAKE_TUPLE_EMPTY(7);
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 0, tmp_tuple_element_6);
CHECK_OBJECT(par_url);
tmp_tuple_element_6 = par_url;
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 1, tmp_tuple_element_6);
CHECK_OBJECT(par_body);
tmp_tuple_element_6 = par_body;
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 2, tmp_tuple_element_6);
if (par_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[123]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 751;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_5;
}
tmp_tuple_element_6 = par_headers;
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 3, tmp_tuple_element_6);
if (par_retries == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[21]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 752;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_5;
}
tmp_tuple_element_6 = par_retries;
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 4, tmp_tuple_element_6);
if (par_redirect == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[164]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 753;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_5;
}
tmp_tuple_element_6 = par_redirect;
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 5, tmp_tuple_element_6);
CHECK_OBJECT(par_assert_same_host);
tmp_tuple_element_6 = par_assert_same_host;
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 6, tmp_tuple_element_6);
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_dircall_arg1_2);
Py_DECREF(tmp_dircall_arg2_2);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
tmp_dict_key_2 = mod_consts[20];
CHECK_OBJECT(par_timeout);
tmp_dict_value_2 = par_timeout;
tmp_dircall_arg3_2 = _PyDict_NewPresized( 5 );
tmp_res = PyDict_SetItem(tmp_dircall_arg3_2, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[165];
CHECK_OBJECT(par_pool_timeout);
tmp_dict_value_2 = par_pool_timeout;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_2, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[166];
CHECK_OBJECT(par_release_conn);
tmp_dict_value_2 = par_release_conn;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_2, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[167];
CHECK_OBJECT(par_chunked);
tmp_dict_value_2 = par_chunked;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_2, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[168];
CHECK_OBJECT(par_body_pos);
tmp_dict_value_2 = par_body_pos;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_2, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
CHECK_OBJECT(par_response_kw);
tmp_dircall_arg4_2 = par_response_kw;
Py_INCREF(tmp_dircall_arg4_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2, tmp_dircall_arg4_2};
tmp_return_value = impl___main__$$$function__10_complex_call_helper_pos_keywords_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 747;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_15:;
{
PyObject *tmp_assign_source_29;
tmp_assign_source_29 = MAKE_FUNCTION_urllib3$connectionpool$$$function__18_urlopen$$$function__1_drain_and_release_conn();
assert(var_drain_and_release_conn == NULL);
var_drain_and_release_conn = tmp_assign_source_29;
}
{
PyObject *tmp_assign_source_30;
int tmp_and_left_truth_6;
PyObject *tmp_and_left_value_6;
PyObject *tmp_and_right_value_6;
PyObject *tmp_called_instance_9;
if (par_redirect == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[164]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 779;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_6 = par_redirect;
tmp_and_left_truth_6 = CHECK_IF_TRUE(tmp_and_left_value_6);
if (tmp_and_left_truth_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 779;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_6 == 1) {
goto and_right_6;
} else {
goto and_left_6;
}
and_right_6:;
if (var_response == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 779;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_9 = var_response;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 779;
tmp_and_right_value_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_9, mod_consts[172]);
if (tmp_and_right_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 779;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_30 = tmp_and_right_value_6;
goto and_end_6;
and_left_6:;
Py_INCREF(tmp_and_left_value_6);
tmp_assign_source_30 = tmp_and_left_value_6;
and_end_6:;
assert(var_redirect_location == NULL);
var_redirect_location = tmp_assign_source_30;
}
{
nuitka_bool tmp_condition_result_17;
int tmp_truth_name_6;
CHECK_OBJECT(var_redirect_location);
tmp_truth_name_6 = CHECK_IF_TRUE(var_redirect_location);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 780;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_17 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
PyObject *tmp_expression_value_25;
if (var_response == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 781;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_25 = var_response;
tmp_cmp_expr_left_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[100]);
if (tmp_cmp_expr_left_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_7 = mod_consts[173];
tmp_condition_result_18 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
Py_DECREF(tmp_cmp_expr_left_7);
if (tmp_condition_result_18 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 781;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
{
PyObject *tmp_assign_source_31;
tmp_assign_source_31 = mod_consts[174];
{
PyObject *old = par_method;
assert(old != NULL);
par_method = tmp_assign_source_31;
Py_INCREF(par_method);
Py_DECREF(old);
}
}
branch_no_17:;
// Tried code:
{
PyObject *tmp_assign_source_32;
PyObject *tmp_called_value_20;
PyObject *tmp_expression_value_26;
PyObject *tmp_kw_call_arg_value_0_4;
PyObject *tmp_kw_call_arg_value_1_3;
PyObject *tmp_kw_call_dict_value_0_4;
PyObject *tmp_kw_call_dict_value_1_4;
if (par_retries == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[21]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 785;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_7;
}
tmp_expression_value_26 = par_retries;
tmp_called_value_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[155]);
if (tmp_called_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 785;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_7;
}
if (par_method == NULL) {
Py_DECREF(tmp_called_value_20);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[175]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 785;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_7;
}
tmp_kw_call_arg_value_0_4 = par_method;
CHECK_OBJECT(par_url);
tmp_kw_call_arg_value_1_3 = par_url;
if (var_response == NULL) {
Py_DECREF(tmp_called_value_20);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 785;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_7;
}
tmp_kw_call_dict_value_0_4 = var_response;
if (par_self == NULL) {
Py_DECREF(tmp_called_value_20);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 785;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_7;
}
tmp_kw_call_dict_value_1_4 = par_self;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 785;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_4, tmp_kw_call_arg_value_1_3};
PyObject *kw_values[2] = {tmp_kw_call_dict_value_0_4, tmp_kw_call_dict_value_1_4};
tmp_assign_source_32 = CALL_FUNCTION_WITH_ARGS2_KWSPLIT(tmp_called_value_20, args, kw_values, mod_consts[176]);
}
Py_DECREF(tmp_called_value_20);
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 785;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_7;
}
{
PyObject *old = par_retries;
par_retries = tmp_assign_source_32;
Py_XDECREF(old);
}
}
goto try_end_5;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 3.
exception_preserved_3 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_6 == NULL) {
exception_keeper_tb_6 = MAKE_TRACEBACK(frame_f722454574357f70af53b39d461bb237, exception_keeper_lineno_6);
} else if (exception_keeper_lineno_6 != 0) {
exception_keeper_tb_6 = ADD_TRACEBACK(exception_keeper_tb_6, frame_f722454574357f70af53b39d461bb237, exception_keeper_lineno_6);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_6, &exception_keeper_value_6, &exception_keeper_tb_6);
// Tried code:
{
bool tmp_condition_result_19;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
tmp_cmp_expr_left_8 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_8 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[177]);
if (unlikely(tmp_cmp_expr_right_8 == NULL)) {
tmp_cmp_expr_right_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[177]);
}
if (tmp_cmp_expr_right_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 786;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_8;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 786;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_8;
}
tmp_condition_result_19 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_19 != false) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
{
nuitka_bool tmp_condition_result_20;
PyObject *tmp_expression_value_27;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_7;
if (par_retries == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[21]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 787;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_8;
}
tmp_expression_value_27 = par_retries;
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_27, mod_consts[178]);
if (tmp_attribute_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 787;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_8;
}
tmp_truth_name_7 = CHECK_IF_TRUE(tmp_attribute_value_2);
if (tmp_truth_name_7 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_2);
exception_lineno = 787;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_8;
}
tmp_condition_result_20 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_2);
if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
{
PyObject *tmp_called_value_21;
PyObject *tmp_call_result_8;
PyObject *tmp_args_element_value_27;
CHECK_OBJECT(var_drain_and_release_conn);
tmp_called_value_21 = var_drain_and_release_conn;
if (var_response == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 790;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_8;
}
tmp_args_element_value_27 = var_response;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 790;
tmp_call_result_8 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_21, tmp_args_element_value_27);
if (tmp_call_result_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 790;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_8;
}
Py_DECREF(tmp_call_result_8);
}
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 791;
}
if (exception_tb && exception_tb->tb_frame == &frame_f722454574357f70af53b39d461bb237->m_frame) frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_8;
branch_no_19:;
if (var_response == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 792;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_8;
}
tmp_return_value = var_response;
Py_INCREF(tmp_return_value);
goto try_return_handler_8;
goto branch_end_18;
branch_no_18:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 784;
}
if (exception_tb && exception_tb->tb_frame == &frame_f722454574357f70af53b39d461bb237->m_frame) frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_8;
branch_end_18:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_8:;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_5:;
{
PyObject *tmp_called_value_22;
PyObject *tmp_call_result_9;
PyObject *tmp_args_element_value_28;
CHECK_OBJECT(var_drain_and_release_conn);
tmp_called_value_22 = var_drain_and_release_conn;
if (var_response == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 795;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_28 = var_response;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 795;
tmp_call_result_9 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_22, tmp_args_element_value_28);
if (tmp_call_result_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 795;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_9);
}
{
PyObject *tmp_called_value_23;
PyObject *tmp_expression_value_28;
PyObject *tmp_call_result_10;
PyObject *tmp_args_element_value_29;
CHECK_OBJECT(par_retries);
tmp_expression_value_28 = par_retries;
tmp_called_value_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[179]);
if (tmp_called_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 797;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
if (var_response == NULL) {
Py_DECREF(tmp_called_value_23);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 797;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_29 = var_response;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 797;
tmp_call_result_10 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_23, tmp_args_element_value_29);
Py_DECREF(tmp_called_value_23);
if (tmp_call_result_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 797;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_10);
}
{
PyObject *tmp_called_instance_10;
PyObject *tmp_call_result_11;
PyObject *tmp_args_element_value_30;
PyObject *tmp_args_element_value_31;
PyObject *tmp_args_element_value_32;
tmp_called_instance_10 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[38]);
if (unlikely(tmp_called_instance_10 == NULL)) {
tmp_called_instance_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[38]);
}
if (tmp_called_instance_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 798;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_30 = mod_consts[180];
CHECK_OBJECT(par_url);
tmp_args_element_value_31 = par_url;
CHECK_OBJECT(var_redirect_location);
tmp_args_element_value_32 = var_redirect_location;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 798;
{
PyObject *call_args[] = {tmp_args_element_value_30, tmp_args_element_value_31, tmp_args_element_value_32};
tmp_call_result_11 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_10,
mod_consts[39],
call_args
);
}
if (tmp_call_result_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 798;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_11);
}
{
PyObject *tmp_dircall_arg1_3;
PyObject *tmp_expression_value_29;
PyObject *tmp_dircall_arg2_3;
PyObject *tmp_tuple_element_7;
PyObject *tmp_dircall_arg3_3;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
PyObject *tmp_dircall_arg4_3;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 799;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_29 = par_self;
tmp_dircall_arg1_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[163]);
if (tmp_dircall_arg1_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 799;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
if (par_method == NULL) {
Py_DECREF(tmp_dircall_arg1_3);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[175]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 800;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_tuple_element_7 = par_method;
tmp_dircall_arg2_3 = MAKE_TUPLE_EMPTY(4);
PyTuple_SET_ITEM0(tmp_dircall_arg2_3, 0, tmp_tuple_element_7);
CHECK_OBJECT(var_redirect_location);
tmp_tuple_element_7 = var_redirect_location;
PyTuple_SET_ITEM0(tmp_dircall_arg2_3, 1, tmp_tuple_element_7);
CHECK_OBJECT(par_body);
tmp_tuple_element_7 = par_body;
PyTuple_SET_ITEM0(tmp_dircall_arg2_3, 2, tmp_tuple_element_7);
if (par_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[123]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 803;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_6;
}
tmp_tuple_element_7 = par_headers;
PyTuple_SET_ITEM0(tmp_dircall_arg2_3, 3, tmp_tuple_element_7);
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_dircall_arg1_3);
Py_DECREF(tmp_dircall_arg2_3);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
tmp_dict_key_3 = mod_consts[21];
CHECK_OBJECT(par_retries);
tmp_dict_value_3 = par_retries;
tmp_dircall_arg3_3 = _PyDict_NewPresized( 8 );
tmp_res = PyDict_SetItem(tmp_dircall_arg3_3, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[164];
if (par_redirect == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[164]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 805;
type_description_1 = "ooooooooooooooooobooooooooo";
goto dict_build_exception_1;
}
tmp_dict_value_3 = par_redirect;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_3, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[181];
CHECK_OBJECT(par_assert_same_host);
tmp_dict_value_3 = par_assert_same_host;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_3, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[20];
CHECK_OBJECT(par_timeout);
tmp_dict_value_3 = par_timeout;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_3, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[165];
CHECK_OBJECT(par_pool_timeout);
tmp_dict_value_3 = par_pool_timeout;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_3, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[166];
CHECK_OBJECT(par_release_conn);
tmp_dict_value_3 = par_release_conn;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_3, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[167];
CHECK_OBJECT(par_chunked);
tmp_dict_value_3 = par_chunked;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_3, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[168];
CHECK_OBJECT(par_body_pos);
tmp_dict_value_3 = par_body_pos;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_3, tmp_dict_key_3, tmp_dict_value_3);
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_arg1_3);
Py_DECREF(tmp_dircall_arg2_3);
Py_DECREF(tmp_dircall_arg3_3);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
CHECK_OBJECT(par_response_kw);
tmp_dircall_arg4_3 = par_response_kw;
Py_INCREF(tmp_dircall_arg4_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3, tmp_dircall_arg2_3, tmp_dircall_arg3_3, tmp_dircall_arg4_3};
tmp_return_value = impl___main__$$$function__10_complex_call_helper_pos_keywords_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 799;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_16:;
{
PyObject *tmp_assign_source_33;
PyObject *tmp_value_value_1;
PyObject *tmp_called_instance_11;
if (var_response == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 816;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_11 = var_response;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 816;
tmp_value_value_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_11,
mod_consts[182],
PyTuple_GET_ITEM(mod_consts[183], 0)
);
if (tmp_value_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 816;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_value_value_1);
Py_DECREF(tmp_value_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 816;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_33 = (tmp_res != 0) ? Py_True : Py_False;
assert(var_has_retry_after == NULL);
Py_INCREF(tmp_assign_source_33);
var_has_retry_after = tmp_assign_source_33;
}
{
nuitka_bool tmp_condition_result_21;
PyObject *tmp_called_value_24;
PyObject *tmp_expression_value_30;
PyObject *tmp_call_result_12;
PyObject *tmp_args_element_value_33;
PyObject *tmp_args_element_value_34;
PyObject *tmp_expression_value_31;
PyObject *tmp_args_element_value_35;
int tmp_truth_name_8;
if (par_retries == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[21]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 817;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_30 = par_retries;
tmp_called_value_24 = LOOKUP_ATTRIBUTE(tmp_expression_value_30, mod_consts[184]);
if (tmp_called_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 817;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_method);
tmp_args_element_value_33 = par_method;
if (var_response == NULL) {
Py_DECREF(tmp_called_value_24);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 817;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_31 = var_response;
tmp_args_element_value_34 = LOOKUP_ATTRIBUTE(tmp_expression_value_31, mod_consts[100]);
if (tmp_args_element_value_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_24);
exception_lineno = 817;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_has_retry_after);
tmp_args_element_value_35 = var_has_retry_after;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 817;
{
PyObject *call_args[] = {tmp_args_element_value_33, tmp_args_element_value_34, tmp_args_element_value_35};
tmp_call_result_12 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_24, call_args);
}
Py_DECREF(tmp_called_value_24);
Py_DECREF(tmp_args_element_value_34);
if (tmp_call_result_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 817;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_8 = CHECK_IF_TRUE(tmp_call_result_12);
if (tmp_truth_name_8 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_12);
exception_lineno = 817;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_21 = tmp_truth_name_8 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_12);
if (tmp_condition_result_21 == NUITKA_BOOL_TRUE) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
// Tried code:
{
PyObject *tmp_assign_source_34;
PyObject *tmp_called_value_25;
PyObject *tmp_expression_value_32;
PyObject *tmp_kw_call_arg_value_0_5;
PyObject *tmp_kw_call_arg_value_1_4;
PyObject *tmp_kw_call_dict_value_0_5;
PyObject *tmp_kw_call_dict_value_1_5;
if (par_retries == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[21]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 819;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_9;
}
tmp_expression_value_32 = par_retries;
tmp_called_value_25 = LOOKUP_ATTRIBUTE(tmp_expression_value_32, mod_consts[155]);
if (tmp_called_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 819;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_9;
}
CHECK_OBJECT(par_method);
tmp_kw_call_arg_value_0_5 = par_method;
CHECK_OBJECT(par_url);
tmp_kw_call_arg_value_1_4 = par_url;
if (var_response == NULL) {
Py_DECREF(tmp_called_value_25);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 819;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_9;
}
tmp_kw_call_dict_value_0_5 = var_response;
if (par_self == NULL) {
Py_DECREF(tmp_called_value_25);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 819;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_9;
}
tmp_kw_call_dict_value_1_5 = par_self;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 819;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_5, tmp_kw_call_arg_value_1_4};
PyObject *kw_values[2] = {tmp_kw_call_dict_value_0_5, tmp_kw_call_dict_value_1_5};
tmp_assign_source_34 = CALL_FUNCTION_WITH_ARGS2_KWSPLIT(tmp_called_value_25, args, kw_values, mod_consts[176]);
}
Py_DECREF(tmp_called_value_25);
if (tmp_assign_source_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 819;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_9;
}
{
PyObject *old = par_retries;
par_retries = tmp_assign_source_34;
Py_XDECREF(old);
}
}
goto try_end_6;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 4.
exception_preserved_4 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_8 == NULL) {
exception_keeper_tb_8 = MAKE_TRACEBACK(frame_f722454574357f70af53b39d461bb237, exception_keeper_lineno_8);
} else if (exception_keeper_lineno_8 != 0) {
exception_keeper_tb_8 = ADD_TRACEBACK(exception_keeper_tb_8, frame_f722454574357f70af53b39d461bb237, exception_keeper_lineno_8);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_8, &exception_keeper_value_8, &exception_keeper_tb_8);
// Tried code:
{
bool tmp_condition_result_22;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
tmp_cmp_expr_left_9 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_9 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[177]);
if (unlikely(tmp_cmp_expr_right_9 == NULL)) {
tmp_cmp_expr_right_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[177]);
}
if (tmp_cmp_expr_right_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 820;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_10;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 820;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_10;
}
tmp_condition_result_22 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_22 != false) {
goto branch_yes_21;
} else {
goto branch_no_21;
}
}
branch_yes_21:;
{
nuitka_bool tmp_condition_result_23;
PyObject *tmp_expression_value_33;
PyObject *tmp_attribute_value_3;
int tmp_truth_name_9;
if (par_retries == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[21]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 821;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_10;
}
tmp_expression_value_33 = par_retries;
tmp_attribute_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_33, mod_consts[185]);
if (tmp_attribute_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 821;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_10;
}
tmp_truth_name_9 = CHECK_IF_TRUE(tmp_attribute_value_3);
if (tmp_truth_name_9 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_3);
exception_lineno = 821;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_10;
}
tmp_condition_result_23 = tmp_truth_name_9 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_3);
if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) {
goto branch_yes_22;
} else {
goto branch_no_22;
}
}
branch_yes_22:;
{
PyObject *tmp_called_value_26;
PyObject *tmp_call_result_13;
PyObject *tmp_args_element_value_36;
CHECK_OBJECT(var_drain_and_release_conn);
tmp_called_value_26 = var_drain_and_release_conn;
if (var_response == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 824;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_10;
}
tmp_args_element_value_36 = var_response;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 824;
tmp_call_result_13 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_26, tmp_args_element_value_36);
if (tmp_call_result_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 824;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_10;
}
Py_DECREF(tmp_call_result_13);
}
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 825;
}
if (exception_tb && exception_tb->tb_frame == &frame_f722454574357f70af53b39d461bb237->m_frame) frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_10;
branch_no_22:;
if (var_response == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 826;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_10;
}
tmp_return_value = var_response;
Py_INCREF(tmp_return_value);
goto try_return_handler_10;
goto branch_end_21;
branch_no_21:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 818;
}
if (exception_tb && exception_tb->tb_frame == &frame_f722454574357f70af53b39d461bb237->m_frame) frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooooooobooooooooo";
goto try_except_handler_10;
branch_end_21:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_10:;
// Restore previous exception id 4.
SET_CURRENT_EXCEPTION(&exception_preserved_4);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_10:;
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;
// Restore previous exception id 4.
SET_CURRENT_EXCEPTION(&exception_preserved_4);
// 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:
// End of try:
try_end_6:;
{
PyObject *tmp_called_value_27;
PyObject *tmp_call_result_14;
PyObject *tmp_args_element_value_37;
CHECK_OBJECT(var_drain_and_release_conn);
tmp_called_value_27 = var_drain_and_release_conn;
if (var_response == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 829;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_37 = var_response;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 829;
tmp_call_result_14 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_27, tmp_args_element_value_37);
if (tmp_call_result_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 829;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_14);
}
{
PyObject *tmp_called_value_28;
PyObject *tmp_expression_value_34;
PyObject *tmp_call_result_15;
PyObject *tmp_args_element_value_38;
CHECK_OBJECT(par_retries);
tmp_expression_value_34 = par_retries;
tmp_called_value_28 = LOOKUP_ATTRIBUTE(tmp_expression_value_34, mod_consts[160]);
if (tmp_called_value_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 831;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
if (var_response == NULL) {
Py_DECREF(tmp_called_value_28);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 831;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_38 = var_response;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 831;
tmp_call_result_15 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_28, tmp_args_element_value_38);
Py_DECREF(tmp_called_value_28);
if (tmp_call_result_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 831;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_15);
}
{
PyObject *tmp_called_instance_12;
PyObject *tmp_call_result_16;
PyObject *tmp_args_element_value_39;
PyObject *tmp_args_element_value_40;
tmp_called_instance_12 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[38]);
if (unlikely(tmp_called_instance_12 == NULL)) {
tmp_called_instance_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[38]);
}
if (tmp_called_instance_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 832;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_39 = mod_consts[186];
CHECK_OBJECT(par_url);
tmp_args_element_value_40 = par_url;
frame_f722454574357f70af53b39d461bb237->m_frame.f_lineno = 832;
{
PyObject *call_args[] = {tmp_args_element_value_39, tmp_args_element_value_40};
tmp_call_result_16 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_12,
mod_consts[39],
call_args
);
}
if (tmp_call_result_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 832;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_16);
}
{
PyObject *tmp_dircall_arg1_4;
PyObject *tmp_expression_value_35;
PyObject *tmp_dircall_arg2_4;
PyObject *tmp_tuple_element_8;
PyObject *tmp_dircall_arg3_4;
PyObject *tmp_dict_key_4;
PyObject *tmp_dict_value_4;
PyObject *tmp_dircall_arg4_4;
if (par_self == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[28]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 833;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_35 = par_self;
tmp_dircall_arg1_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_35, mod_consts[163]);
if (tmp_dircall_arg1_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 833;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_method);
tmp_tuple_element_8 = par_method;
tmp_dircall_arg2_4 = MAKE_TUPLE_EMPTY(4);
PyTuple_SET_ITEM0(tmp_dircall_arg2_4, 0, tmp_tuple_element_8);
CHECK_OBJECT(par_url);
tmp_tuple_element_8 = par_url;
PyTuple_SET_ITEM0(tmp_dircall_arg2_4, 1, tmp_tuple_element_8);
CHECK_OBJECT(par_body);
tmp_tuple_element_8 = par_body;
PyTuple_SET_ITEM0(tmp_dircall_arg2_4, 2, tmp_tuple_element_8);
if (par_headers == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[123]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 837;
type_description_1 = "ooooooooooooooooobooooooooo";
goto tuple_build_exception_7;
}
tmp_tuple_element_8 = par_headers;
PyTuple_SET_ITEM0(tmp_dircall_arg2_4, 3, tmp_tuple_element_8);
goto tuple_build_noexception_7;
// Exception handling pass through code for tuple_build:
tuple_build_exception_7:;
Py_DECREF(tmp_dircall_arg1_4);
Py_DECREF(tmp_dircall_arg2_4);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_7:;
tmp_dict_key_4 = mod_consts[21];
CHECK_OBJECT(par_retries);
tmp_dict_value_4 = par_retries;
tmp_dircall_arg3_4 = _PyDict_NewPresized( 8 );
tmp_res = PyDict_SetItem(tmp_dircall_arg3_4, tmp_dict_key_4, tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[164];
if (par_redirect == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[164]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 839;
type_description_1 = "ooooooooooooooooobooooooooo";
goto dict_build_exception_2;
}
tmp_dict_value_4 = par_redirect;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_4, tmp_dict_key_4, tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[181];
CHECK_OBJECT(par_assert_same_host);
tmp_dict_value_4 = par_assert_same_host;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_4, tmp_dict_key_4, tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[20];
CHECK_OBJECT(par_timeout);
tmp_dict_value_4 = par_timeout;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_4, tmp_dict_key_4, tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[165];
CHECK_OBJECT(par_pool_timeout);
tmp_dict_value_4 = par_pool_timeout;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_4, tmp_dict_key_4, tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[166];
CHECK_OBJECT(par_release_conn);
tmp_dict_value_4 = par_release_conn;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_4, tmp_dict_key_4, tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[167];
CHECK_OBJECT(par_chunked);
tmp_dict_value_4 = par_chunked;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_4, tmp_dict_key_4, tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[168];
CHECK_OBJECT(par_body_pos);
tmp_dict_value_4 = par_body_pos;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_4, tmp_dict_key_4, tmp_dict_value_4);
assert(!(tmp_res != 0));
goto dict_build_noexception_2;
// Exception handling pass through code for dict_build:
dict_build_exception_2:;
Py_DECREF(tmp_dircall_arg1_4);
Py_DECREF(tmp_dircall_arg2_4);
Py_DECREF(tmp_dircall_arg3_4);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_2:;
CHECK_OBJECT(par_response_kw);
tmp_dircall_arg4_4 = par_response_kw;
Py_INCREF(tmp_dircall_arg4_4);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_4, tmp_dircall_arg2_4, tmp_dircall_arg3_4, tmp_dircall_arg4_4};
tmp_return_value = impl___main__$$$function__10_complex_call_helper_pos_keywords_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 833;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_20:;
if (var_response == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[171]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 849;
type_description_1 = "ooooooooooooooooobooooooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_response;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f722454574357f70af53b39d461bb237);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f722454574357f70af53b39d461bb237);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f722454574357f70af53b39d461bb237);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f722454574357f70af53b39d461bb237, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f722454574357f70af53b39d461bb237->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f722454574357f70af53b39d461bb237, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f722454574357f70af53b39d461bb237,
type_description_1,
par_self,
par_method,
par_url,
par_body,
par_headers,
par_retries,
par_redirect,
par_assert_same_host,
par_timeout,
par_pool_timeout,
par_release_conn,
par_chunked,
par_body_pos,
par_response_kw,
var_conn,
var_release_this_conn,
var_err,
(int)var_clean_exit,
var_timeout_obj,
var_is_new_proxy_conn,
var_httplib_response,
var_response_conn,
var_response,
var_e,
var_drain_and_release_conn,
var_redirect_location,
var_has_retry_after
);
// Release cached frame if used for exception.
if (frame_f722454574357f70af53b39d461bb237 == cache_frame_f722454574357f70af53b39d461bb237) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f722454574357f70af53b39d461bb237);
cache_frame_f722454574357f70af53b39d461bb237 = NULL;
}
assertFrameObject(frame_f722454574357f70af53b39d461bb237);
// 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_method);
par_method = NULL;
CHECK_OBJECT(par_url);
Py_DECREF(par_url);
par_url = NULL;
Py_XDECREF(par_headers);
par_headers = NULL;
Py_XDECREF(par_retries);
par_retries = NULL;
CHECK_OBJECT(par_release_conn);
Py_DECREF(par_release_conn);
par_release_conn = NULL;
CHECK_OBJECT(par_body_pos);
Py_DECREF(par_body_pos);
par_body_pos = NULL;
Py_XDECREF(var_conn);
var_conn = NULL;
CHECK_OBJECT(var_release_this_conn);
Py_DECREF(var_release_this_conn);
var_release_this_conn = NULL;
Py_XDECREF(var_err);
var_err = NULL;
assert(var_clean_exit != NUITKA_BOOL_UNASSIGNED);
var_clean_exit = NUITKA_BOOL_UNASSIGNED;
Py_XDECREF(var_timeout_obj);
var_timeout_obj = NULL;
Py_XDECREF(var_is_new_proxy_conn);
var_is_new_proxy_conn = NULL;
Py_XDECREF(var_httplib_response);
var_httplib_response = NULL;
Py_XDECREF(var_response_conn);
var_response_conn = NULL;
Py_XDECREF(var_response);
var_response = NULL;
Py_XDECREF(var_drain_and_release_conn);
var_drain_and_release_conn = NULL;
Py_XDECREF(var_redirect_location);
var_redirect_location = NULL;
Py_XDECREF(var_has_retry_after);
var_has_retry_after = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_method);
par_method = NULL;
Py_XDECREF(par_url);
par_url = NULL;
Py_XDECREF(par_headers);
par_headers = NULL;
Py_XDECREF(par_retries);
par_retries = NULL;
Py_XDECREF(par_release_conn);
par_release_conn = NULL;
Py_XDECREF(par_body_pos);
par_body_pos = NULL;
Py_XDECREF(var_conn);
var_conn = NULL;
Py_XDECREF(var_release_this_conn);
var_release_this_conn = NULL;
Py_XDECREF(var_err);
var_err = NULL;
var_clean_exit = NUITKA_BOOL_UNASSIGNED;
Py_XDECREF(var_timeout_obj);
var_timeout_obj = NULL;
Py_XDECREF(var_is_new_proxy_conn);
var_is_new_proxy_conn = NULL;
Py_XDECREF(var_httplib_response);
var_httplib_response = NULL;
Py_XDECREF(var_response_conn);
var_response_conn = NULL;
Py_XDECREF(var_response);
var_response = NULL;
Py_XDECREF(var_drain_and_release_conn);
var_drain_and_release_conn = NULL;
Py_XDECREF(var_redirect_location);
var_redirect_location = NULL;
Py_XDECREF(var_has_retry_after);
var_has_retry_after = 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 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_redirect);
Py_DECREF(par_redirect);
CHECK_OBJECT(par_assert_same_host);
Py_DECREF(par_assert_same_host);
CHECK_OBJECT(par_timeout);
Py_DECREF(par_timeout);
CHECK_OBJECT(par_pool_timeout);
Py_DECREF(par_pool_timeout);
CHECK_OBJECT(par_chunked);
Py_DECREF(par_chunked);
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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_body);
Py_DECREF(par_body);
CHECK_OBJECT(par_redirect);
Py_DECREF(par_redirect);
CHECK_OBJECT(par_assert_same_host);
Py_DECREF(par_assert_same_host);
CHECK_OBJECT(par_timeout);
Py_DECREF(par_timeout);
CHECK_OBJECT(par_pool_timeout);
Py_DECREF(par_pool_timeout);
CHECK_OBJECT(par_chunked);
Py_DECREF(par_chunked);
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$connectionpool$$$function__18_urlopen$$$function__1_drain_and_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_response = python_pars[0];
struct Nuitka_FrameObject *frame_d2ca02a16a1109af2bcafac4caadc23b;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_d2ca02a16a1109af2bcafac4caadc23b = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_d2ca02a16a1109af2bcafac4caadc23b)) {
Py_XDECREF(cache_frame_d2ca02a16a1109af2bcafac4caadc23b);
#if _DEBUG_REFCOUNTS
if (cache_frame_d2ca02a16a1109af2bcafac4caadc23b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d2ca02a16a1109af2bcafac4caadc23b = MAKE_FUNCTION_FRAME(codeobj_d2ca02a16a1109af2bcafac4caadc23b, module_urllib3$connectionpool, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d2ca02a16a1109af2bcafac4caadc23b->m_type_description == NULL);
frame_d2ca02a16a1109af2bcafac4caadc23b = cache_frame_d2ca02a16a1109af2bcafac4caadc23b;
// Push the new frame as the currently active one.
pushFrameStack(frame_d2ca02a16a1109af2bcafac4caadc23b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d2ca02a16a1109af2bcafac4caadc23b) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_response);
tmp_called_instance_1 = par_response;
frame_d2ca02a16a1109af2bcafac4caadc23b->m_frame.f_lineno = 767;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[188]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 767;
type_description_1 = "o";
goto try_except_handler_1;
}
Py_DECREF(tmp_call_result_1);
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_d2ca02a16a1109af2bcafac4caadc23b, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_d2ca02a16a1109af2bcafac4caadc23b, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_tuple_element_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[146]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[146]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 769;
type_description_1 = "o";
goto try_except_handler_2;
}
tmp_cmp_expr_right_1 = MAKE_TUPLE_EMPTY(6);
PyTuple_SET_ITEM0(tmp_cmp_expr_right_1, 0, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 770;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_1, 1, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[95]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[95]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 771;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_1, 2, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[148]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[148]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 772;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_1, 3, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 773;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_1, 4, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[149]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[149]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 774;
type_description_1 = "o";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_cmp_expr_right_1, 5, 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_1);
goto try_except_handler_2;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
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 = 768;
type_description_1 = "o";
goto try_except_handler_2;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 764;
}
if (exception_tb && exception_tb->tb_frame == &frame_d2ca02a16a1109af2bcafac4caadc23b->m_frame) frame_d2ca02a16a1109af2bcafac4caadc23b->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "o";
goto try_except_handler_2;
branch_no_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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d2ca02a16a1109af2bcafac4caadc23b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d2ca02a16a1109af2bcafac4caadc23b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d2ca02a16a1109af2bcafac4caadc23b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d2ca02a16a1109af2bcafac4caadc23b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d2ca02a16a1109af2bcafac4caadc23b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d2ca02a16a1109af2bcafac4caadc23b,
type_description_1,
par_response
);
// Release cached frame if used for exception.
if (frame_d2ca02a16a1109af2bcafac4caadc23b == cache_frame_d2ca02a16a1109af2bcafac4caadc23b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d2ca02a16a1109af2bcafac4caadc23b);
cache_frame_d2ca02a16a1109af2bcafac4caadc23b = NULL;
}
assertFrameObject(frame_d2ca02a16a1109af2bcafac4caadc23b);
// 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_response);
Py_DECREF(par_response);
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_response);
Py_DECREF(par_response);
// 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$connectionpool$$$function__19___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_host = python_pars[1];
PyObject *par_port = python_pars[2];
PyObject *par_strict = python_pars[3];
PyObject *par_timeout = python_pars[4];
PyObject *par_maxsize = python_pars[5];
PyObject *par_block = python_pars[6];
PyObject *par_headers = python_pars[7];
PyObject *par_retries = python_pars[8];
PyObject *par__proxy = python_pars[9];
PyObject *par__proxy_headers = python_pars[10];
PyObject *par_key_file = python_pars[11];
PyObject *par_cert_file = python_pars[12];
PyObject *par_cert_reqs = python_pars[13];
PyObject *par_key_password = python_pars[14];
PyObject *par_ca_certs = python_pars[15];
PyObject *par_ssl_version = python_pars[16];
PyObject *par_assert_hostname = python_pars[17];
PyObject *par_assert_fingerprint = python_pars[18];
PyObject *par_ca_cert_dir = python_pars[19];
PyObject *par_conn_kw = python_pars[20];
struct Nuitka_FrameObject *frame_68e74fb1f55742bdaec6d60e80bf6bd6;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_68e74fb1f55742bdaec6d60e80bf6bd6 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_68e74fb1f55742bdaec6d60e80bf6bd6)) {
Py_XDECREF(cache_frame_68e74fb1f55742bdaec6d60e80bf6bd6);
#if _DEBUG_REFCOUNTS
if (cache_frame_68e74fb1f55742bdaec6d60e80bf6bd6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_68e74fb1f55742bdaec6d60e80bf6bd6 = MAKE_FUNCTION_FRAME(codeobj_68e74fb1f55742bdaec6d60e80bf6bd6, module_urllib3$connectionpool, 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 *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_68e74fb1f55742bdaec6d60e80bf6bd6->m_type_description == NULL);
frame_68e74fb1f55742bdaec6d60e80bf6bd6 = cache_frame_68e74fb1f55742bdaec6d60e80bf6bd6;
// Push the new frame as the currently active one.
pushFrameStack(frame_68e74fb1f55742bdaec6d60e80bf6bd6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_68e74fb1f55742bdaec6d60e80bf6bd6) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_call_result_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[189]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[189]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 899;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[13]);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 899;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_tuple_element_1 = par_self;
tmp_dircall_arg2_1 = MAKE_TUPLE_EMPTY(11);
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_host);
tmp_tuple_element_1 = par_host;
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(par_port);
tmp_tuple_element_1 = par_port;
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 2, tmp_tuple_element_1);
CHECK_OBJECT(par_strict);
tmp_tuple_element_1 = par_strict;
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 3, tmp_tuple_element_1);
CHECK_OBJECT(par_timeout);
tmp_tuple_element_1 = par_timeout;
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 4, tmp_tuple_element_1);
CHECK_OBJECT(par_maxsize);
tmp_tuple_element_1 = par_maxsize;
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 5, tmp_tuple_element_1);
CHECK_OBJECT(par_block);
tmp_tuple_element_1 = par_block;
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 6, tmp_tuple_element_1);
CHECK_OBJECT(par_headers);
tmp_tuple_element_1 = par_headers;
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 7, tmp_tuple_element_1);
CHECK_OBJECT(par_retries);
tmp_tuple_element_1 = par_retries;
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 8, tmp_tuple_element_1);
CHECK_OBJECT(par__proxy);
tmp_tuple_element_1 = par__proxy;
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 9, tmp_tuple_element_1);
CHECK_OBJECT(par__proxy_headers);
tmp_tuple_element_1 = par__proxy_headers;
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 10, tmp_tuple_element_1);
CHECK_OBJECT(par_conn_kw);
tmp_dircall_arg3_1 = par_conn_kw;
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_call_result_1 = impl___main__$$$function__6_complex_call_helper_pos_star_dict(dir_call_args);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 899;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_key_file);
tmp_assattr_value_1 = par_key_file;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[190], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 914;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_cert_file);
tmp_assattr_value_2 = par_cert_file;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[191], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 915;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(par_cert_reqs);
tmp_assattr_value_3 = par_cert_reqs;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[192], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 916;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(par_key_password);
tmp_assattr_value_4 = par_key_password;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[193], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 917;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_assattr_target_5;
CHECK_OBJECT(par_ca_certs);
tmp_assattr_value_5 = par_ca_certs;
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[194], tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 918;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
CHECK_OBJECT(par_ca_cert_dir);
tmp_assattr_value_6 = par_ca_cert_dir;
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[195], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 919;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_assattr_target_7;
CHECK_OBJECT(par_ssl_version);
tmp_assattr_value_7 = par_ssl_version;
CHECK_OBJECT(par_self);
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[196], tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 920;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_8;
PyObject *tmp_assattr_target_8;
CHECK_OBJECT(par_assert_hostname);
tmp_assattr_value_8 = par_assert_hostname;
CHECK_OBJECT(par_self);
tmp_assattr_target_8 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[197], tmp_assattr_value_8);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 921;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_9;
PyObject *tmp_assattr_target_9;
CHECK_OBJECT(par_assert_fingerprint);
tmp_assattr_value_9 = par_assert_fingerprint;
CHECK_OBJECT(par_self);
tmp_assattr_target_9 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_9, mod_consts[198], tmp_assattr_value_9);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 922;
type_description_1 = "ooooooooooooooooooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_68e74fb1f55742bdaec6d60e80bf6bd6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_68e74fb1f55742bdaec6d60e80bf6bd6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_68e74fb1f55742bdaec6d60e80bf6bd6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_68e74fb1f55742bdaec6d60e80bf6bd6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_68e74fb1f55742bdaec6d60e80bf6bd6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_68e74fb1f55742bdaec6d60e80bf6bd6,
type_description_1,
par_self,
par_host,
par_port,
par_strict,
par_timeout,
par_maxsize,
par_block,
par_headers,
par_retries,
par__proxy,
par__proxy_headers,
par_key_file,
par_cert_file,
par_cert_reqs,
par_key_password,
par_ca_certs,
par_ssl_version,
par_assert_hostname,
par_assert_fingerprint,
par_ca_cert_dir,
par_conn_kw
);
// Release cached frame if used for exception.
if (frame_68e74fb1f55742bdaec6d60e80bf6bd6 == cache_frame_68e74fb1f55742bdaec6d60e80bf6bd6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_68e74fb1f55742bdaec6d60e80bf6bd6);
cache_frame_68e74fb1f55742bdaec6d60e80bf6bd6 = NULL;
}
assertFrameObject(frame_68e74fb1f55742bdaec6d60e80bf6bd6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_strict);
Py_DECREF(par_strict);
CHECK_OBJECT(par_timeout);
Py_DECREF(par_timeout);
CHECK_OBJECT(par_maxsize);
Py_DECREF(par_maxsize);
CHECK_OBJECT(par_block);
Py_DECREF(par_block);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
CHECK_OBJECT(par_retries);
Py_DECREF(par_retries);
CHECK_OBJECT(par__proxy);
Py_DECREF(par__proxy);
CHECK_OBJECT(par__proxy_headers);
Py_DECREF(par__proxy_headers);
CHECK_OBJECT(par_key_file);
Py_DECREF(par_key_file);
CHECK_OBJECT(par_cert_file);
Py_DECREF(par_cert_file);
CHECK_OBJECT(par_cert_reqs);
Py_DECREF(par_cert_reqs);
CHECK_OBJECT(par_key_password);
Py_DECREF(par_key_password);
CHECK_OBJECT(par_ca_certs);
Py_DECREF(par_ca_certs);
CHECK_OBJECT(par_ssl_version);
Py_DECREF(par_ssl_version);
CHECK_OBJECT(par_assert_hostname);
Py_DECREF(par_assert_hostname);
CHECK_OBJECT(par_assert_fingerprint);
Py_DECREF(par_assert_fingerprint);
CHECK_OBJECT(par_ca_cert_dir);
Py_DECREF(par_ca_cert_dir);
CHECK_OBJECT(par_conn_kw);
Py_DECREF(par_conn_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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_strict);
Py_DECREF(par_strict);
CHECK_OBJECT(par_timeout);
Py_DECREF(par_timeout);
CHECK_OBJECT(par_maxsize);
Py_DECREF(par_maxsize);
CHECK_OBJECT(par_block);
Py_DECREF(par_block);
CHECK_OBJECT(par_headers);
Py_DECREF(par_headers);
CHECK_OBJECT(par_retries);
Py_DECREF(par_retries);
CHECK_OBJECT(par__proxy);
Py_DECREF(par__proxy);
CHECK_OBJECT(par__proxy_headers);
Py_DECREF(par__proxy_headers);
CHECK_OBJECT(par_key_file);
Py_DECREF(par_key_file);
CHECK_OBJECT(par_cert_file);
Py_DECREF(par_cert_file);
CHECK_OBJECT(par_cert_reqs);
Py_DECREF(par_cert_reqs);
CHECK_OBJECT(par_key_password);
Py_DECREF(par_key_password);
CHECK_OBJECT(par_ca_certs);
Py_DECREF(par_ca_certs);
CHECK_OBJECT(par_ssl_version);
Py_DECREF(par_ssl_version);
CHECK_OBJECT(par_assert_hostname);
Py_DECREF(par_assert_hostname);
CHECK_OBJECT(par_assert_fingerprint);
Py_DECREF(par_assert_fingerprint);
CHECK_OBJECT(par_ca_cert_dir);
Py_DECREF(par_ca_cert_dir);
CHECK_OBJECT(par_conn_kw);
Py_DECREF(par_conn_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$connectionpool$$$function__20__prepare_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];
PyObject *par_conn = python_pars[1];
struct Nuitka_FrameObject *frame_b18fed93ad1973768f71be3e58c1fa47;
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;
bool tmp_result;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_b18fed93ad1973768f71be3e58c1fa47 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b18fed93ad1973768f71be3e58c1fa47)) {
Py_XDECREF(cache_frame_b18fed93ad1973768f71be3e58c1fa47);
#if _DEBUG_REFCOUNTS
if (cache_frame_b18fed93ad1973768f71be3e58c1fa47 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b18fed93ad1973768f71be3e58c1fa47 = MAKE_FUNCTION_FRAME(codeobj_b18fed93ad1973768f71be3e58c1fa47, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b18fed93ad1973768f71be3e58c1fa47->m_type_description == NULL);
frame_b18fed93ad1973768f71be3e58c1fa47 = cache_frame_b18fed93ad1973768f71be3e58c1fa47;
// Push the new frame as the currently active one.
pushFrameStack(frame_b18fed93ad1973768f71be3e58c1fa47);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b18fed93ad1973768f71be3e58c1fa47) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_conn);
tmp_isinstance_inst_1 = par_conn;
tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[199]);
if (unlikely(tmp_isinstance_cls_1 == NULL)) {
tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[199]);
}
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 930;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 930;
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_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_kw_call_value_1_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_kw_call_value_2_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_kw_call_value_3_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_kw_call_value_4_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_kw_call_value_5_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_kw_call_value_6_1;
PyObject *tmp_expression_value_8;
PyObject *tmp_kw_call_value_7_1;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(par_conn);
tmp_expression_value_1 = par_conn;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[200]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 931;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_kw_call_value_0_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[190]);
if (tmp_kw_call_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 932;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_kw_call_value_1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[193]);
if (tmp_kw_call_value_1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
exception_lineno = 933;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_kw_call_value_2_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[191]);
if (tmp_kw_call_value_2_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
exception_lineno = 934;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_kw_call_value_3_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[192]);
if (tmp_kw_call_value_3_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
exception_lineno = 935;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_kw_call_value_4_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[194]);
if (tmp_kw_call_value_4_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
Py_DECREF(tmp_kw_call_value_3_1);
exception_lineno = 936;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_kw_call_value_5_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[195]);
if (tmp_kw_call_value_5_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
Py_DECREF(tmp_kw_call_value_3_1);
Py_DECREF(tmp_kw_call_value_4_1);
exception_lineno = 937;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_kw_call_value_6_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[197]);
if (tmp_kw_call_value_6_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
Py_DECREF(tmp_kw_call_value_3_1);
Py_DECREF(tmp_kw_call_value_4_1);
Py_DECREF(tmp_kw_call_value_5_1);
exception_lineno = 938;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_kw_call_value_7_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[198]);
if (tmp_kw_call_value_7_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
Py_DECREF(tmp_kw_call_value_3_1);
Py_DECREF(tmp_kw_call_value_4_1);
Py_DECREF(tmp_kw_call_value_5_1);
Py_DECREF(tmp_kw_call_value_6_1);
exception_lineno = 939;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_b18fed93ad1973768f71be3e58c1fa47->m_frame.f_lineno = 931;
{
PyObject *kw_values[8] = {tmp_kw_call_value_0_1, tmp_kw_call_value_1_1, tmp_kw_call_value_2_1, tmp_kw_call_value_3_1, tmp_kw_call_value_4_1, tmp_kw_call_value_5_1, tmp_kw_call_value_6_1, tmp_kw_call_value_7_1};
tmp_call_result_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, kw_values, mod_consts[201]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_value_0_1);
Py_DECREF(tmp_kw_call_value_1_1);
Py_DECREF(tmp_kw_call_value_2_1);
Py_DECREF(tmp_kw_call_value_3_1);
Py_DECREF(tmp_kw_call_value_4_1);
Py_DECREF(tmp_kw_call_value_5_1);
Py_DECREF(tmp_kw_call_value_6_1);
Py_DECREF(tmp_kw_call_value_7_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 931;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_expression_value_10;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_assattr_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[196]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 941;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_conn);
tmp_assattr_target_1 = par_conn;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[196], 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 = 941;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
branch_no_1:;
if (par_conn == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 942;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = par_conn;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b18fed93ad1973768f71be3e58c1fa47);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b18fed93ad1973768f71be3e58c1fa47);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b18fed93ad1973768f71be3e58c1fa47);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b18fed93ad1973768f71be3e58c1fa47, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b18fed93ad1973768f71be3e58c1fa47->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b18fed93ad1973768f71be3e58c1fa47, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b18fed93ad1973768f71be3e58c1fa47,
type_description_1,
par_self,
par_conn
);
// Release cached frame if used for exception.
if (frame_b18fed93ad1973768f71be3e58c1fa47 == cache_frame_b18fed93ad1973768f71be3e58c1fa47) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b18fed93ad1973768f71be3e58c1fa47);
cache_frame_b18fed93ad1973768f71be3e58c1fa47 = NULL;
}
assertFrameObject(frame_b18fed93ad1973768f71be3e58c1fa47);
// 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_conn);
Py_DECREF(par_conn);
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_conn);
Py_DECREF(par_conn);
// 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$connectionpool$$$function__21__prepare_proxy(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_conn = python_pars[1];
struct Nuitka_FrameObject *frame_d50e713762c4fa6b69dd8f399fae3f65;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_d50e713762c4fa6b69dd8f399fae3f65 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_d50e713762c4fa6b69dd8f399fae3f65)) {
Py_XDECREF(cache_frame_d50e713762c4fa6b69dd8f399fae3f65);
#if _DEBUG_REFCOUNTS
if (cache_frame_d50e713762c4fa6b69dd8f399fae3f65 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d50e713762c4fa6b69dd8f399fae3f65 = MAKE_FUNCTION_FRAME(codeobj_d50e713762c4fa6b69dd8f399fae3f65, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d50e713762c4fa6b69dd8f399fae3f65->m_type_description == NULL);
frame_d50e713762c4fa6b69dd8f399fae3f65 = cache_frame_d50e713762c4fa6b69dd8f399fae3f65;
// Push the new frame as the currently active one.
pushFrameStack(frame_d50e713762c4fa6b69dd8f399fae3f65);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d50e713762c4fa6b69dd8f399fae3f65) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_conn);
tmp_expression_value_1 = par_conn;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[203]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 949;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[7]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 949;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[8]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 949;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[26]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 949;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_d50e713762c4fa6b69dd8f399fae3f65->m_frame.f_lineno = 949;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 949;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_2;
CHECK_OBJECT(par_conn);
tmp_called_instance_1 = par_conn;
frame_d50e713762c4fa6b69dd8f399fae3f65->m_frame.f_lineno = 950;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[204]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 950;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d50e713762c4fa6b69dd8f399fae3f65);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d50e713762c4fa6b69dd8f399fae3f65);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d50e713762c4fa6b69dd8f399fae3f65, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d50e713762c4fa6b69dd8f399fae3f65->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d50e713762c4fa6b69dd8f399fae3f65, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d50e713762c4fa6b69dd8f399fae3f65,
type_description_1,
par_self,
par_conn
);
// Release cached frame if used for exception.
if (frame_d50e713762c4fa6b69dd8f399fae3f65 == cache_frame_d50e713762c4fa6b69dd8f399fae3f65) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d50e713762c4fa6b69dd8f399fae3f65);
cache_frame_d50e713762c4fa6b69dd8f399fae3f65 = NULL;
}
assertFrameObject(frame_d50e713762c4fa6b69dd8f399fae3f65);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_conn);
Py_DECREF(par_conn);
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_conn);
Py_DECREF(par_conn);
// 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$connectionpool$$$function__22__new_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];
PyObject *var_actual_host = NULL;
PyObject *var_actual_port = NULL;
PyObject *var_conn = NULL;
PyObject *tmp_inplace_assign_1__value = NULL;
struct Nuitka_FrameObject *frame_dbe1fb812ff5e0ded39fc7b4c2578565;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
int tmp_res;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_dbe1fb812ff5e0ded39fc7b4c2578565 = 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_dbe1fb812ff5e0ded39fc7b4c2578565)) {
Py_XDECREF(cache_frame_dbe1fb812ff5e0ded39fc7b4c2578565);
#if _DEBUG_REFCOUNTS
if (cache_frame_dbe1fb812ff5e0ded39fc7b4c2578565 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_dbe1fb812ff5e0ded39fc7b4c2578565 = MAKE_FUNCTION_FRAME(codeobj_dbe1fb812ff5e0ded39fc7b4c2578565, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_dbe1fb812ff5e0ded39fc7b4c2578565->m_type_description == NULL);
frame_dbe1fb812ff5e0ded39fc7b4c2578565 = cache_frame_dbe1fb812ff5e0ded39fc7b4c2578565;
// Push the new frame as the currently active one.
pushFrameStack(frame_dbe1fb812ff5e0ded39fc7b4c2578565);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_dbe1fb812ff5e0ded39fc7b4c2578565) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[32]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 956;
type_description_1 = "oooo";
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;
tmp_iadd_expr_right_1 = mod_consts[37];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 956;
type_description_1 = "oooo";
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[32], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 956;
type_description_1 = "oooo";
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;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_4;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_expression_value_5;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[38]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[38]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 957;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[39]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 957;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[206];
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[32]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 959;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[5]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 960;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_or_left_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[8]);
if (tmp_or_left_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
exception_lineno = 961;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1);
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_or_left_value_1);
exception_lineno = 961;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
Py_DECREF(tmp_or_left_value_1);
tmp_or_right_value_1 = mod_consts[207];
Py_INCREF(tmp_or_right_value_1);
tmp_args_element_value_4 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_args_element_value_4 = tmp_or_left_value_1;
or_end_1:;
frame_dbe1fb812ff5e0ded39fc7b4c2578565->m_frame.f_lineno = 957;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 957;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
bool tmp_condition_result_1;
int tmp_or_left_truth_2;
bool tmp_or_left_value_2;
bool tmp_or_right_value_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[42]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 964;
type_description_1 = "oooo";
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 = 964;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_2 = (tmp_res == 0) ? true : false;
tmp_or_left_truth_2 = tmp_or_left_value_2 != false ? 1 : 0;
if (tmp_or_left_truth_2 == 1) {
goto or_left_2;
} else {
goto or_right_2;
}
or_right_2:;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[42]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 964;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[208]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[208]);
}
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 = 964;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_or_right_value_2 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
tmp_condition_result_1 = tmp_or_right_value_2;
goto or_end_2;
or_left_2:;
tmp_condition_result_1 = tmp_or_left_value_2;
or_end_2:;
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_2;
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[149]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[149]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 965;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_dbe1fb812ff5e0ded39fc7b4c2578565->m_frame.f_lineno = 965;
tmp_raise_type_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[209]);
if (tmp_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 965;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 965;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[5]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 969;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_actual_host == NULL);
var_actual_host = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_assign_source_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[8]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 970;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_actual_port == NULL);
var_actual_port = tmp_assign_source_4;
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[25]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 971;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_expression_value_11;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(par_self);
tmp_expression_value_12 = par_self;
tmp_expression_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[25]);
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 972;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[5]);
Py_DECREF(tmp_expression_value_11);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 972;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_actual_host;
assert(old != NULL);
var_actual_host = tmp_assign_source_5;
Py_DECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_expression_value_13;
PyObject *tmp_expression_value_14;
CHECK_OBJECT(par_self);
tmp_expression_value_14 = par_self;
tmp_expression_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[25]);
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 973;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[8]);
Py_DECREF(tmp_expression_value_13);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 973;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_actual_port;
assert(old != NULL);
var_actual_port = tmp_assign_source_6;
Py_DECREF(old);
}
}
branch_no_2:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_15;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_expression_value_22;
CHECK_OBJECT(par_self);
tmp_expression_value_15 = par_self;
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[42]);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 975;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_dict_key_1 = mod_consts[5];
CHECK_OBJECT(var_actual_host);
tmp_dict_value_1 = var_actual_host;
tmp_dircall_arg2_1 = _PyDict_NewPresized( 7 );
{
PyObject *tmp_expression_value_16;
PyObject *tmp_expression_value_17;
PyObject *tmp_expression_value_18;
PyObject *tmp_expression_value_19;
PyObject *tmp_expression_value_20;
PyObject *tmp_expression_value_21;
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[8];
CHECK_OBJECT(var_actual_port);
tmp_dict_value_1 = var_actual_port;
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[20];
CHECK_OBJECT(par_self);
tmp_expression_value_17 = par_self;
tmp_expression_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[20]);
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 978;
type_description_1 = "oooo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[43]);
Py_DECREF(tmp_expression_value_16);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 978;
type_description_1 = "oooo";
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[15];
CHECK_OBJECT(par_self);
tmp_expression_value_18 = par_self;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[15]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 979;
type_description_1 = "oooo";
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[191];
CHECK_OBJECT(par_self);
tmp_expression_value_19 = par_self;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[191]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 980;
type_description_1 = "oooo";
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[190];
CHECK_OBJECT(par_self);
tmp_expression_value_20 = par_self;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[190]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 981;
type_description_1 = "oooo";
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[193];
CHECK_OBJECT(par_self);
tmp_expression_value_21 = par_self;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[193]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 982;
type_description_1 = "oooo";
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));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_dircall_arg1_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_self);
tmp_expression_value_22 = par_self;
tmp_dircall_arg3_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[34]);
if (tmp_dircall_arg3_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_dircall_arg1_1);
Py_DECREF(tmp_dircall_arg2_1);
exception_lineno = 983;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_assign_source_7 = impl___main__$$$function__9_complex_call_helper_keywords_star_dict(dir_call_args);
}
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 975;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_conn == NULL);
var_conn = tmp_assign_source_7;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(var_conn);
tmp_args_element_value_5 = var_conn;
frame_dbe1fb812ff5e0ded39fc7b4c2578565->m_frame.f_lineno = 986;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[210], tmp_args_element_value_5);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 986;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_dbe1fb812ff5e0ded39fc7b4c2578565);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dbe1fb812ff5e0ded39fc7b4c2578565);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dbe1fb812ff5e0ded39fc7b4c2578565);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_dbe1fb812ff5e0ded39fc7b4c2578565, exception_lineno);
} else if (exception_tb->tb_frame != &frame_dbe1fb812ff5e0ded39fc7b4c2578565->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_dbe1fb812ff5e0ded39fc7b4c2578565, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_dbe1fb812ff5e0ded39fc7b4c2578565,
type_description_1,
par_self,
var_actual_host,
var_actual_port,
var_conn
);
// Release cached frame if used for exception.
if (frame_dbe1fb812ff5e0ded39fc7b4c2578565 == cache_frame_dbe1fb812ff5e0ded39fc7b4c2578565) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_dbe1fb812ff5e0ded39fc7b4c2578565);
cache_frame_dbe1fb812ff5e0ded39fc7b4c2578565 = NULL;
}
assertFrameObject(frame_dbe1fb812ff5e0ded39fc7b4c2578565);
// 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_actual_host);
Py_DECREF(var_actual_host);
var_actual_host = NULL;
CHECK_OBJECT(var_actual_port);
Py_DECREF(var_actual_port);
var_actual_port = NULL;
CHECK_OBJECT(var_conn);
Py_DECREF(var_conn);
var_conn = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_actual_host);
var_actual_host = NULL;
Py_XDECREF(var_actual_port);
var_actual_port = NULL;
Py_XDECREF(var_conn);
var_conn = 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$connectionpool$$$function__23__validate_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];
PyObject *par_conn = python_pars[1];
struct Nuitka_FrameObject *frame_0b3ead2fe5e7d2089de2fc53e2aa42de;
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;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_0b3ead2fe5e7d2089de2fc53e2aa42de = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_0b3ead2fe5e7d2089de2fc53e2aa42de)) {
Py_XDECREF(cache_frame_0b3ead2fe5e7d2089de2fc53e2aa42de);
#if _DEBUG_REFCOUNTS
if (cache_frame_0b3ead2fe5e7d2089de2fc53e2aa42de == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0b3ead2fe5e7d2089de2fc53e2aa42de = MAKE_FUNCTION_FRAME(codeobj_0b3ead2fe5e7d2089de2fc53e2aa42de, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0b3ead2fe5e7d2089de2fc53e2aa42de->m_type_description == NULL);
frame_0b3ead2fe5e7d2089de2fc53e2aa42de = cache_frame_0b3ead2fe5e7d2089de2fc53e2aa42de;
// Push the new frame as the currently active one.
pushFrameStack(frame_0b3ead2fe5e7d2089de2fc53e2aa42de);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0b3ead2fe5e7d2089de2fc53e2aa42de) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[212]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[212]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 992;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER2(moduledict_urllib3$connectionpool, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 992;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_conn);
tmp_args_element_value_1 = par_conn;
frame_0b3ead2fe5e7d2089de2fc53e2aa42de->m_frame.f_lineno = 992;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[78], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 992;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
CHECK_OBJECT(par_conn);
tmp_getattr_target_1 = par_conn;
tmp_getattr_attr_1 = mod_consts[85];
tmp_getattr_default_1 = Py_None;
tmp_operand_value_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 995;
type_description_1 = "ooN";
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 = 995;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
CHECK_OBJECT(par_conn);
tmp_called_instance_2 = par_conn;
frame_0b3ead2fe5e7d2089de2fc53e2aa42de->m_frame.f_lineno = 996;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[204]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 996;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_conn);
tmp_expression_value_1 = par_conn;
tmp_operand_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[213]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 998;
type_description_1 = "ooN";
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 = 998;
type_description_1 = "ooN";
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_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_3;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[214]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[214]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 999;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[215]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 999;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
tmp_mod_expr_left_1 = mod_consts[216];
CHECK_OBJECT(par_conn);
tmp_expression_value_3 = par_conn;
tmp_mod_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[5]);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 1004;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 1004;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[217]);
if (unlikely(tmp_args_element_value_3 == NULL)) {
tmp_args_element_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[217]);
}
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
exception_lineno = 1006;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
frame_0b3ead2fe5e7d2089de2fc53e2aa42de->m_frame.f_lineno = 999;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 999;
type_description_1 = "ooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0b3ead2fe5e7d2089de2fc53e2aa42de);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0b3ead2fe5e7d2089de2fc53e2aa42de);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0b3ead2fe5e7d2089de2fc53e2aa42de, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0b3ead2fe5e7d2089de2fc53e2aa42de->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0b3ead2fe5e7d2089de2fc53e2aa42de, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0b3ead2fe5e7d2089de2fc53e2aa42de,
type_description_1,
par_self,
par_conn,
NULL
);
// Release cached frame if used for exception.
if (frame_0b3ead2fe5e7d2089de2fc53e2aa42de == cache_frame_0b3ead2fe5e7d2089de2fc53e2aa42de) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0b3ead2fe5e7d2089de2fc53e2aa42de);
cache_frame_0b3ead2fe5e7d2089de2fc53e2aa42de = NULL;
}
assertFrameObject(frame_0b3ead2fe5e7d2089de2fc53e2aa42de);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_conn);
Py_DECREF(par_conn);
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_conn);
Py_DECREF(par_conn);
// 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$connectionpool$$$function__24_connection_from_url(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_url = python_pars[0];
PyObject *par_kw = python_pars[1];
PyObject *var_scheme = NULL;
PyObject *var_host = NULL;
PyObject *var_port = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__element_3 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_0f4f7138fd895aeaca12d3439754b3da;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *tmp_return_value = NULL;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_0f4f7138fd895aeaca12d3439754b3da = 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_0f4f7138fd895aeaca12d3439754b3da)) {
Py_XDECREF(cache_frame_0f4f7138fd895aeaca12d3439754b3da);
#if _DEBUG_REFCOUNTS
if (cache_frame_0f4f7138fd895aeaca12d3439754b3da == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0f4f7138fd895aeaca12d3439754b3da = MAKE_FUNCTION_FRAME(codeobj_0f4f7138fd895aeaca12d3439754b3da, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0f4f7138fd895aeaca12d3439754b3da->m_type_description == NULL);
frame_0f4f7138fd895aeaca12d3439754b3da = cache_frame_0f4f7138fd895aeaca12d3439754b3da;
// Push the new frame as the currently active one.
pushFrameStack(frame_0f4f7138fd895aeaca12d3439754b3da);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0f4f7138fd895aeaca12d3439754b3da) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1030;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_url);
tmp_args_element_value_1 = par_url;
frame_0f4f7138fd895aeaca12d3439754b3da->m_frame.f_lineno = 1030;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1030;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1030;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 3);
if (tmp_assign_source_2 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooo";
exception_lineno = 1030;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 3);
if (tmp_assign_source_3 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooo";
exception_lineno = 1030;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_3, 2, 3);
if (tmp_assign_source_4 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooo";
exception_lineno = 1030;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_3 == NULL);
tmp_tuple_unpack_1__element_3 = tmp_assign_source_4;
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
exception_lineno = 1030;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[120];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooo";
exception_lineno = 1030;
goto try_except_handler_3;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_2;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_5 = tmp_tuple_unpack_1__element_1;
assert(var_scheme == NULL);
Py_INCREF(tmp_assign_source_5);
var_scheme = tmp_assign_source_5;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_6 = tmp_tuple_unpack_1__element_2;
assert(var_host == NULL);
Py_INCREF(tmp_assign_source_6);
var_host = tmp_assign_source_6;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_3);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_3;
assert(var_port == NULL);
Py_INCREF(tmp_assign_source_7);
var_port = tmp_assign_source_7;
}
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
{
PyObject *tmp_assign_source_8;
int tmp_or_left_truth_1;
PyObject *tmp_or_left_value_1;
PyObject *tmp_or_right_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(var_port);
tmp_or_left_value_1 = var_port;
tmp_or_left_truth_1 = CHECK_IF_TRUE(tmp_or_left_value_1);
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1031;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[121]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[121]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1031;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[45]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1031;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_scheme);
tmp_args_element_value_2 = var_scheme;
tmp_args_element_value_3 = mod_consts[219];
frame_0f4f7138fd895aeaca12d3439754b3da->m_frame.f_lineno = 1031;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_or_right_value_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
if (tmp_or_right_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1031;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_8 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
Py_INCREF(tmp_or_left_value_1);
tmp_assign_source_8 = tmp_or_left_value_1;
or_end_1:;
{
PyObject *old = var_port;
assert(old != NULL);
var_port = tmp_assign_source_8;
Py_DECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
if (var_scheme == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[3]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1032;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_1 = var_scheme;
tmp_cmp_expr_right_1 = mod_consts[220];
tmp_condition_result_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1032;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_dircall_arg4_1;
tmp_dircall_arg1_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[212]);
if (unlikely(tmp_dircall_arg1_1 == NULL)) {
tmp_dircall_arg1_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[212]);
}
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1033;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_host);
tmp_tuple_element_1 = var_host;
tmp_dircall_arg2_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 0, tmp_tuple_element_1);
tmp_dict_key_1 = mod_consts[8];
CHECK_OBJECT(var_port);
tmp_dict_value_1 = var_port;
tmp_dircall_arg3_1 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
CHECK_OBJECT(par_kw);
tmp_dircall_arg4_1 = par_kw;
Py_INCREF(tmp_dircall_arg1_1);
Py_INCREF(tmp_dircall_arg4_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1, tmp_dircall_arg4_1};
tmp_return_value = impl___main__$$$function__10_complex_call_helper_pos_keywords_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1033;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_dircall_arg2_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_dircall_arg3_2;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
PyObject *tmp_dircall_arg4_2;
tmp_dircall_arg1_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[189]);
if (unlikely(tmp_dircall_arg1_2 == NULL)) {
tmp_dircall_arg1_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[189]);
}
if (tmp_dircall_arg1_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1035;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_host);
tmp_tuple_element_2 = var_host;
tmp_dircall_arg2_2 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 0, tmp_tuple_element_2);
tmp_dict_key_2 = mod_consts[8];
CHECK_OBJECT(var_port);
tmp_dict_value_2 = var_port;
tmp_dircall_arg3_2 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_dircall_arg3_2, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
CHECK_OBJECT(par_kw);
tmp_dircall_arg4_2 = par_kw;
Py_INCREF(tmp_dircall_arg1_2);
Py_INCREF(tmp_dircall_arg4_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2, tmp_dircall_arg4_2};
tmp_return_value = impl___main__$$$function__10_complex_call_helper_pos_keywords_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1035;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0f4f7138fd895aeaca12d3439754b3da);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0f4f7138fd895aeaca12d3439754b3da);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0f4f7138fd895aeaca12d3439754b3da);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0f4f7138fd895aeaca12d3439754b3da, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0f4f7138fd895aeaca12d3439754b3da->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0f4f7138fd895aeaca12d3439754b3da, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0f4f7138fd895aeaca12d3439754b3da,
type_description_1,
par_url,
par_kw,
var_scheme,
var_host,
var_port
);
// Release cached frame if used for exception.
if (frame_0f4f7138fd895aeaca12d3439754b3da == cache_frame_0f4f7138fd895aeaca12d3439754b3da) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0f4f7138fd895aeaca12d3439754b3da);
cache_frame_0f4f7138fd895aeaca12d3439754b3da = NULL;
}
assertFrameObject(frame_0f4f7138fd895aeaca12d3439754b3da);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_scheme);
var_scheme = NULL;
CHECK_OBJECT(var_host);
Py_DECREF(var_host);
var_host = NULL;
CHECK_OBJECT(var_port);
Py_DECREF(var_port);
var_port = 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_scheme);
var_scheme = NULL;
Py_XDECREF(var_host);
var_host = NULL;
Py_XDECREF(var_port);
var_port = 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_url);
Py_DECREF(par_url);
CHECK_OBJECT(par_kw);
Py_DECREF(par_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_url);
Py_DECREF(par_url);
CHECK_OBJECT(par_kw);
Py_DECREF(par_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$connectionpool$$$function__25__normalize_host(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_host = python_pars[0];
PyObject *par_scheme = python_pars[1];
struct Nuitka_FrameObject *frame_7a57b6d7aa1ec911632966f485de4f28;
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_7a57b6d7aa1ec911632966f485de4f28 = 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_7a57b6d7aa1ec911632966f485de4f28)) {
Py_XDECREF(cache_frame_7a57b6d7aa1ec911632966f485de4f28);
#if _DEBUG_REFCOUNTS
if (cache_frame_7a57b6d7aa1ec911632966f485de4f28 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7a57b6d7aa1ec911632966f485de4f28 = MAKE_FUNCTION_FRAME(codeobj_7a57b6d7aa1ec911632966f485de4f28, module_urllib3$connectionpool, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7a57b6d7aa1ec911632966f485de4f28->m_type_description == NULL);
frame_7a57b6d7aa1ec911632966f485de4f28 = cache_frame_7a57b6d7aa1ec911632966f485de4f28;
// Push the new frame as the currently active one.
pushFrameStack(frame_7a57b6d7aa1ec911632966f485de4f28);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7a57b6d7aa1ec911632966f485de4f28) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[222]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[222]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1043;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_host);
tmp_args_element_value_1 = par_host;
CHECK_OBJECT(par_scheme);
tmp_args_element_value_2 = par_scheme;
frame_7a57b6d7aa1ec911632966f485de4f28->m_frame.f_lineno = 1043;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1043;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_host;
assert(old != NULL);
par_host = tmp_assign_source_1;
Py_DECREF(old);
}
}
{
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_called_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
int tmp_truth_name_1;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_2;
int tmp_truth_name_2;
CHECK_OBJECT(par_host);
tmp_expression_value_1 = par_host;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[117]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1051;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_7a57b6d7aa1ec911632966f485de4f28->m_frame.f_lineno = 1051;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[223]);
Py_DECREF(tmp_called_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1051;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 1051;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1051;
type_description_1 = "oo";
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_host);
tmp_expression_value_2 = par_host;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[224]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1051;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_7a57b6d7aa1ec911632966f485de4f28->m_frame.f_lineno = 1051;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[225]);
Py_DECREF(tmp_called_value_3);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1051;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_2);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_2);
exception_lineno = 1051;
type_description_1 = "oo";
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_2);
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_host);
tmp_expression_value_3 = par_host;
tmp_subscript_value_1 = mod_consts[226];
tmp_assign_source_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1052;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_host;
assert(old != NULL);
par_host = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_1:;
if (par_host == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[5]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 1053;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = par_host;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a57b6d7aa1ec911632966f485de4f28);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a57b6d7aa1ec911632966f485de4f28);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7a57b6d7aa1ec911632966f485de4f28);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7a57b6d7aa1ec911632966f485de4f28, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7a57b6d7aa1ec911632966f485de4f28->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7a57b6d7aa1ec911632966f485de4f28, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7a57b6d7aa1ec911632966f485de4f28,
type_description_1,
par_host,
par_scheme
);
// Release cached frame if used for exception.
if (frame_7a57b6d7aa1ec911632966f485de4f28 == cache_frame_7a57b6d7aa1ec911632966f485de4f28) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7a57b6d7aa1ec911632966f485de4f28);
cache_frame_7a57b6d7aa1ec911632966f485de4f28 = NULL;
}
assertFrameObject(frame_7a57b6d7aa1ec911632966f485de4f28);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(par_host);
par_host = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_host);
par_host = 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_scheme);
Py_DECREF(par_scheme);
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_scheme);
Py_DECREF(par_scheme);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__10__validate_conn() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[78],
#if PYTHON_VERSION >= 0x300
mod_consts[295],
#endif
codeobj_ffcb44db13ec29a1c66aa8742b0e5934,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[218],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__11__prepare_proxy() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[138],
#if PYTHON_VERSION >= 0x300
mod_consts[296],
#endif
codeobj_321dc5503d0e84f4aad1883485f6ce03,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__12__get_timeout() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__12__get_timeout,
mod_consts[76],
#if PYTHON_VERSION >= 0x300
mod_consts[297],
#endif
codeobj_3a9f3bc071d6d54a52fd71ab84b1308a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[66],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__13__raise_timeout() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__13__raise_timeout,
mod_consts[80],
#if PYTHON_VERSION >= 0x300
mod_consts[298],
#endif
codeobj_cfafeff00e0058a216b1b1977fa6a5cd,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[75],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__14__make_request(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__14__make_request,
mod_consts[139],
#if PYTHON_VERSION >= 0x300
mod_consts[299],
#endif
codeobj_3a6fcbbf1b7c5d626d7a19c9c983337c,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[108],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__15__absolute_url() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__15__absolute_url,
mod_consts[106],
#if PYTHON_VERSION >= 0x300
mod_consts[300],
#endif
codeobj_beaa81692920eda5956dae444fa7e4a5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__16_close() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__16_close,
mod_consts[11],
#if PYTHON_VERSION >= 0x300
mod_consts[301],
#endif
codeobj_d1eac4c0514abb292089431ff79d1163,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[116],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__17_is_same_host() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__17_is_same_host,
mod_consts[127],
#if PYTHON_VERSION >= 0x300
mod_consts[302],
#endif
codeobj_a214df9caad0f58c47aac90b11df25ae,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[122],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__18_urlopen(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__18_urlopen,
mod_consts[163],
#if PYTHON_VERSION >= 0x300
mod_consts[303],
#endif
codeobj_f722454574357f70af53b39d461bb237,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[187],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__18_urlopen$$$function__1_drain_and_release_conn() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__18_urlopen$$$function__1_drain_and_release_conn,
mod_consts[169],
#if PYTHON_VERSION >= 0x300
mod_consts[170],
#endif
codeobj_d2ca02a16a1109af2bcafac4caadc23b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__19___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__19___init__,
mod_consts[13],
#if PYTHON_VERSION >= 0x300
mod_consts[307],
#endif
codeobj_68e74fb1f55742bdaec6d60e80bf6bd6,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__1___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__1___init__,
mod_consts[13],
#if PYTHON_VERSION >= 0x300
mod_consts[279],
#endif
codeobj_4b96b0d048d38f4dfda5e14acb7801b2,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__20__prepare_conn() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__20__prepare_conn,
mod_consts[210],
#if PYTHON_VERSION >= 0x300
mod_consts[308],
#endif
codeobj_b18fed93ad1973768f71be3e58c1fa47,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[202],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__21__prepare_proxy() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__21__prepare_proxy,
mod_consts[138],
#if PYTHON_VERSION >= 0x300
mod_consts[309],
#endif
codeobj_d50e713762c4fa6b69dd8f399fae3f65,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[205],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__22__new_conn() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__22__new_conn,
mod_consts[57],
#if PYTHON_VERSION >= 0x300
mod_consts[310],
#endif
codeobj_dbe1fb812ff5e0ded39fc7b4c2578565,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[211],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__23__validate_conn() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__23__validate_conn,
mod_consts[78],
#if PYTHON_VERSION >= 0x300
mod_consts[311],
#endif
codeobj_0b3ead2fe5e7d2089de2fc53e2aa42de,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[218],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__24_connection_from_url() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__24_connection_from_url,
mod_consts[312],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_0f4f7138fd895aeaca12d3439754b3da,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[221],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__25__normalize_host() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__25__normalize_host,
mod_consts[2],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_7a57b6d7aa1ec911632966f485de4f28,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[227],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__2___str__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__2___str__,
mod_consts[280],
#if PYTHON_VERSION >= 0x300
mod_consts[281],
#endif
codeobj_b6f7c450c72323a83593e8ff00cd333a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__3___enter__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__3___enter__,
mod_consts[282],
#if PYTHON_VERSION >= 0x300
mod_consts[283],
#endif
codeobj_991c95f4ba629594085ef7c664f9f240,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__4___exit__() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__4___exit__,
mod_consts[284],
#if PYTHON_VERSION >= 0x300
mod_consts[285],
#endif
codeobj_efdd071ce18754b403ce7fb9590819c1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__5_close() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[11],
#if PYTHON_VERSION >= 0x300
mod_consts[286],
#endif
codeobj_e249b88514fbb36c618e692e415fcca1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[116],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__6___init__(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__6___init__,
mod_consts[13],
#if PYTHON_VERSION >= 0x300
mod_consts[291],
#endif
codeobj_6a43966078c5e714de9ff9342893be1c,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__7__new_conn() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__7__new_conn,
mod_consts[57],
#if PYTHON_VERSION >= 0x300
mod_consts[292],
#endif
codeobj_7a86e8bf8f6718e3209bb36331b5f7b5,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[44],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__8__get_conn(PyObject *defaults) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__8__get_conn,
mod_consts[136],
#if PYTHON_VERSION >= 0x300
mod_consts[293],
#endif
codeobj_da84d125a421b42a2994964465bf8468,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[58],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_urllib3$connectionpool$$$function__9__put_conn() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_urllib3$connectionpool$$$function__9__put_conn,
mod_consts[161],
#if PYTHON_VERSION >= 0x300
mod_consts[294],
#endif
codeobj_ed1a750dbd8c8b9bf99b003f4338b8a8,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_urllib3$connectionpool,
mod_consts[63],
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$connectionpool[] = {
impl_urllib3$connectionpool$$$function__18_urlopen$$$function__1_drain_and_release_conn,
impl_urllib3$connectionpool$$$function__1___init__,
impl_urllib3$connectionpool$$$function__2___str__,
impl_urllib3$connectionpool$$$function__3___enter__,
impl_urllib3$connectionpool$$$function__4___exit__,
NULL,
impl_urllib3$connectionpool$$$function__6___init__,
impl_urllib3$connectionpool$$$function__7__new_conn,
impl_urllib3$connectionpool$$$function__8__get_conn,
impl_urllib3$connectionpool$$$function__9__put_conn,
NULL,
NULL,
impl_urllib3$connectionpool$$$function__12__get_timeout,
impl_urllib3$connectionpool$$$function__13__raise_timeout,
impl_urllib3$connectionpool$$$function__14__make_request,
impl_urllib3$connectionpool$$$function__15__absolute_url,
impl_urllib3$connectionpool$$$function__16_close,
impl_urllib3$connectionpool$$$function__17_is_same_host,
impl_urllib3$connectionpool$$$function__18_urlopen,
impl_urllib3$connectionpool$$$function__19___init__,
impl_urllib3$connectionpool$$$function__20__prepare_conn,
impl_urllib3$connectionpool$$$function__21__prepare_proxy,
impl_urllib3$connectionpool$$$function__22__new_conn,
impl_urllib3$connectionpool$$$function__23__validate_conn,
impl_urllib3$connectionpool$$$function__24_connection_from_url,
impl_urllib3$connectionpool$$$function__25__normalize_host,
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$connectionpool;
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$connectionpool) || 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$connectionpool[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$connectionpool,
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$connectionpool(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("urllib3.connectionpool");
// Store the module for future use.
module_urllib3$connectionpool = 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.connectionpool: 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.connectionpool: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("urllib3.connectionpool: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in initurllib3$connectionpool\n");
moduledict_urllib3$connectionpool = MODULE_DICT(module_urllib3$connectionpool);
#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$connectionpool,
(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$connectionpool,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[334]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_urllib3$connectionpool,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (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$connectionpool,
(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$connectionpool, (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$connectionpool,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_urllib3$connectionpool);
// 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$connectionpool, (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$connectionpool, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_urllib3$connectionpool, (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$connectionpool, (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$connectionpool);
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$connectionpool, (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 *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__bases_orig = NULL;
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
PyObject *tmp_class_creation_2__metaclass = NULL;
PyObject *tmp_class_creation_2__prepared = NULL;
PyObject *tmp_class_creation_3__bases = NULL;
PyObject *tmp_class_creation_3__bases_orig = NULL;
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
PyObject *tmp_class_creation_3__metaclass = NULL;
PyObject *tmp_class_creation_3__prepared = NULL;
PyObject *tmp_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_5ab3d0c0604486f636cbe5c9777c472f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_urllib3$connectionpool$$$class__1_ConnectionPool_64 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2 = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103 = NULL;
struct Nuitka_FrameObject *frame_45db51a6941488608899133f469410ab_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_45db51a6941488608899133f469410ab_3 = NULL;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
PyObject *locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852 = NULL;
struct Nuitka_FrameObject *frame_2080feca2b7363e908a93f436b9667e0_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_2080feca2b7363e908a93f436b9667e0_4 = NULL;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = Py_None;
UPDATE_STRING_DICT0(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[228], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[229];
UPDATE_STRING_DICT0(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[230], tmp_assign_source_2);
}
// Frame without reuse.
frame_5ab3d0c0604486f636cbe5c9777c472f = MAKE_MODULE_FRAME(codeobj_5ab3d0c0604486f636cbe5c9777c472f, module_urllib3$connectionpool);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_5ab3d0c0604486f636cbe5c9777c472f);
assert(Py_REFCNT(frame_5ab3d0c0604486f636cbe5c9777c472f) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[229];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[231]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[231]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[232], 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$connectionpool, (Nuitka_StringObject *)mod_consts[231]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[231]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[233], 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$connectionpool, (Nuitka_StringObject *)mod_consts[234], 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[235]);
}
assert(!(tmp_assign_source_4 == NULL));
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[235], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
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[70];
tmp_globals_arg_value_1 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[31];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 2;
tmp_assign_source_5 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
assert(!(tmp_assign_source_5 == NULL));
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[70], 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[236];
tmp_globals_arg_value_2 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[31];
frame_5ab3d0c0604486f636cbe5c9777c472f->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);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 3;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[236], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
tmp_assign_source_7 = IMPORT_HARD_SYS();
assert(!(tmp_assign_source_7 == NULL));
UPDATE_STRING_DICT0(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[156], 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[214];
tmp_globals_arg_value_3 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[31];
frame_5ab3d0c0604486f636cbe5c9777c472f->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$connectionpool, (Nuitka_StringObject *)mod_consts[214], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
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[88];
tmp_globals_arg_value_4 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[237];
tmp_level_value_4 = mod_consts[31];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 7;
tmp_assign_source_9 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 7;
goto frame_exception_exit_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_9;
}
// Tried code:
{
PyObject *tmp_assign_source_10;
PyObject *tmp_import_name_from_1;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_1 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_10 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[238],
mod_consts[31]
);
} else {
tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[238]);
}
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 7;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[95], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_import_name_from_2;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_2 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_11 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[20],
mod_consts[31]
);
} else {
tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[20]);
}
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 7;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[67], 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;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
{
PyObject *tmp_assign_source_12;
PyObject *tmp_name_value_5;
PyObject *tmp_globals_arg_value_5;
PyObject *tmp_locals_arg_value_5;
PyObject *tmp_fromlist_value_5;
PyObject *tmp_level_value_5;
tmp_name_value_5 = mod_consts[88];
tmp_globals_arg_value_5 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = Py_None;
tmp_level_value_5 = mod_consts[31];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 8;
tmp_assign_source_12 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 8;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[88], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
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[239];
tmp_globals_arg_value_6 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = mod_consts[240];
tmp_level_value_6 = mod_consts[37];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 11;
tmp_assign_source_13 = 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_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto frame_exception_exit_1;
}
assert(tmp_import_from_2__module == NULL);
tmp_import_from_2__module = tmp_assign_source_13;
}
// Tried code:
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_3;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_3 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[47],
mod_consts[31]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[47]);
}
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[47], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_4;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_4 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[148],
mod_consts[31]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[148]);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[148], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_5 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[51],
mod_consts[31]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[51]);
}
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[51], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_6 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[104],
mod_consts[31]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[104]);
}
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[104], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_import_name_from_7;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_7 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[128],
mod_consts[31]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[128]);
}
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[128], tmp_assign_source_18);
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_8 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_19 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[0],
mod_consts[31]
);
} else {
tmp_assign_source_19 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[0]);
}
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_19);
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_9;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_9 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[177],
mod_consts[31]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[177]);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[177], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_import_name_from_10;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_10 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_10)) {
tmp_assign_source_21 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[152],
mod_consts[31]
);
} else {
tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[152]);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[152], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_import_name_from_11;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_11 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_11)) {
tmp_assign_source_22 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_11,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[68],
mod_consts[31]
);
} else {
tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[68]);
}
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[68], tmp_assign_source_22);
}
{
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$connectionpool,
mod_consts[149],
mod_consts[31]
);
} else {
tmp_assign_source_23 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[149]);
}
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[149], 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$connectionpool,
mod_consts[146],
mod_consts[31]
);
} else {
tmp_assign_source_24 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[146]);
}
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[146], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
PyObject *tmp_import_name_from_14;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_14 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_14)) {
tmp_assign_source_25 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_14,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[217],
mod_consts[31]
);
} else {
tmp_assign_source_25 = IMPORT_NAME(tmp_import_name_from_14, mod_consts[217]);
}
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[217], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
PyObject *tmp_import_name_from_15;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_15 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_15)) {
tmp_assign_source_26 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_15,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[151],
mod_consts[31]
);
} else {
tmp_assign_source_26 = IMPORT_NAME(tmp_import_name_from_15, mod_consts[151]);
}
if (tmp_assign_source_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 11;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[151], tmp_assign_source_26);
}
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
{
PyObject *tmp_assign_source_27;
PyObject *tmp_import_name_from_16;
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[241];
tmp_globals_arg_value_7 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[242];
tmp_level_value_7 = mod_consts[37];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 26;
tmp_import_name_from_16 = 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_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_16)) {
tmp_assign_source_27 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_16,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[150],
mod_consts[31]
);
} else {
tmp_assign_source_27 = IMPORT_NAME(tmp_import_name_from_16, mod_consts[150]);
}
Py_DECREF(tmp_import_name_from_16);
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 26;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[150], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
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[93];
tmp_globals_arg_value_8 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = Py_None;
tmp_level_value_8 = mod_consts[31];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 27;
tmp_assign_source_28 = 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_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 27;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[93], tmp_assign_source_28);
}
{
PyObject *tmp_assign_source_29;
PyObject *tmp_import_name_from_17;
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[243];
tmp_globals_arg_value_9 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_9 = Py_None;
tmp_fromlist_value_9 = mod_consts[244];
tmp_level_value_9 = mod_consts[31];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 28;
tmp_import_name_from_17 = IMPORT_MODULE5(tmp_name_value_9, tmp_globals_arg_value_9, tmp_locals_arg_value_9, tmp_fromlist_value_9, tmp_level_value_9);
if (tmp_import_name_from_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 28;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_17)) {
tmp_assign_source_29 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_17,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[49],
mod_consts[31]
);
} else {
tmp_assign_source_29 = IMPORT_NAME(tmp_import_name_from_17, mod_consts[49]);
}
Py_DECREF(tmp_import_name_from_17);
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 28;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[49], tmp_assign_source_29);
}
{
PyObject *tmp_assign_source_30;
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[144];
tmp_globals_arg_value_10 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_10 = Py_None;
tmp_fromlist_value_10 = mod_consts[245];
tmp_level_value_10 = mod_consts[37];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 29;
tmp_assign_source_30 = IMPORT_MODULE5(tmp_name_value_10, tmp_globals_arg_value_10, tmp_locals_arg_value_10, tmp_fromlist_value_10, tmp_level_value_10);
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto frame_exception_exit_1;
}
assert(tmp_import_from_3__module == NULL);
tmp_import_from_3__module = tmp_assign_source_30;
}
// Tried code:
{
PyObject *tmp_assign_source_31;
PyObject *tmp_import_name_from_18;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_18 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_18)) {
tmp_assign_source_31 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_18,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[121],
mod_consts[31]
);
} else {
tmp_assign_source_31 = IMPORT_NAME(tmp_import_name_from_18, mod_consts[121]);
}
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[121], tmp_assign_source_31);
}
{
PyObject *tmp_assign_source_32;
PyObject *tmp_import_name_from_19;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_19 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_19)) {
tmp_assign_source_32 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_19,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[208],
mod_consts[31]
);
} else {
tmp_assign_source_32 = IMPORT_NAME(tmp_import_name_from_19, mod_consts[208]);
}
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[208], tmp_assign_source_32);
}
{
PyObject *tmp_assign_source_33;
PyObject *tmp_import_name_from_20;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_20 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_20)) {
tmp_assign_source_33 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_20,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[246],
mod_consts[31]
);
} else {
tmp_assign_source_33 = IMPORT_NAME(tmp_import_name_from_20, mod_consts[246]);
}
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[246], tmp_assign_source_33);
}
{
PyObject *tmp_assign_source_34;
PyObject *tmp_import_name_from_21;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_21 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_21)) {
tmp_assign_source_34 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_21,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[247],
mod_consts[31]
);
} else {
tmp_assign_source_34 = IMPORT_NAME(tmp_import_name_from_21, mod_consts[247]);
}
if (tmp_assign_source_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[247], tmp_assign_source_34);
}
{
PyObject *tmp_assign_source_35;
PyObject *tmp_import_name_from_22;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_22 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_22)) {
tmp_assign_source_35 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_22,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[199],
mod_consts[31]
);
} else {
tmp_assign_source_35 = IMPORT_NAME(tmp_import_name_from_22, mod_consts[199]);
}
if (tmp_assign_source_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[199], tmp_assign_source_35);
}
{
PyObject *tmp_assign_source_36;
PyObject *tmp_import_name_from_23;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_23 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_23)) {
tmp_assign_source_36 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_23,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[147],
mod_consts[31]
);
} else {
tmp_assign_source_36 = IMPORT_NAME(tmp_import_name_from_23, mod_consts[147]);
}
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[147], tmp_assign_source_36);
}
{
PyObject *tmp_assign_source_37;
PyObject *tmp_import_name_from_24;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_24 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_24)) {
tmp_assign_source_37 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_24,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[79],
mod_consts[31]
);
} else {
tmp_assign_source_37 = IMPORT_NAME(tmp_import_name_from_24, mod_consts[79]);
}
if (tmp_assign_source_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[79], tmp_assign_source_37);
}
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
{
PyObject *tmp_assign_source_38;
PyObject *tmp_import_name_from_25;
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[83];
tmp_globals_arg_value_11 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_11 = Py_None;
tmp_fromlist_value_11 = mod_consts[248];
tmp_level_value_11 = mod_consts[37];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 38;
tmp_import_name_from_25 = IMPORT_MODULE5(tmp_name_value_11, tmp_globals_arg_value_11, tmp_locals_arg_value_11, tmp_fromlist_value_11, tmp_level_value_11);
if (tmp_import_name_from_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_25)) {
tmp_assign_source_38 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_25,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[14],
mod_consts[31]
);
} else {
tmp_assign_source_38 = IMPORT_NAME(tmp_import_name_from_25, mod_consts[14]);
}
Py_DECREF(tmp_import_name_from_25);
if (tmp_assign_source_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 38;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[14], tmp_assign_source_38);
}
{
PyObject *tmp_assign_source_39;
PyObject *tmp_import_name_from_26;
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[171];
tmp_globals_arg_value_12 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_12 = Py_None;
tmp_fromlist_value_12 = mod_consts[249];
tmp_level_value_12 = mod_consts[37];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 39;
tmp_import_name_from_26 = IMPORT_MODULE5(tmp_name_value_12, tmp_globals_arg_value_12, tmp_locals_arg_value_12, tmp_fromlist_value_12, tmp_level_value_12);
if (tmp_import_name_from_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_26)) {
tmp_assign_source_39 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_26,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[250],
mod_consts[31]
);
} else {
tmp_assign_source_39 = IMPORT_NAME(tmp_import_name_from_26, mod_consts[250]);
}
Py_DECREF(tmp_import_name_from_26);
if (tmp_assign_source_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[250], tmp_assign_source_39);
}
{
PyObject *tmp_assign_source_40;
PyObject *tmp_import_name_from_27;
PyObject *tmp_name_value_13;
PyObject *tmp_globals_arg_value_13;
PyObject *tmp_locals_arg_value_13;
PyObject *tmp_fromlist_value_13;
PyObject *tmp_level_value_13;
tmp_name_value_13 = mod_consts[251];
tmp_globals_arg_value_13 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_13 = Py_None;
tmp_fromlist_value_13 = mod_consts[252];
tmp_level_value_13 = mod_consts[37];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 41;
tmp_import_name_from_27 = IMPORT_MODULE5(tmp_name_value_13, tmp_globals_arg_value_13, tmp_locals_arg_value_13, tmp_fromlist_value_13, tmp_level_value_13);
if (tmp_import_name_from_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 41;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_27)) {
tmp_assign_source_40 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_27,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[53],
mod_consts[31]
);
} else {
tmp_assign_source_40 = IMPORT_NAME(tmp_import_name_from_27, mod_consts[53]);
}
Py_DECREF(tmp_import_name_from_27);
if (tmp_assign_source_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 41;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[53], tmp_assign_source_40);
}
{
PyObject *tmp_assign_source_41;
PyObject *tmp_import_name_from_28;
PyObject *tmp_name_value_14;
PyObject *tmp_globals_arg_value_14;
PyObject *tmp_locals_arg_value_14;
PyObject *tmp_fromlist_value_14;
PyObject *tmp_level_value_14;
tmp_name_value_14 = mod_consts[253];
tmp_globals_arg_value_14 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_14 = Py_None;
tmp_fromlist_value_14 = mod_consts[254];
tmp_level_value_14 = mod_consts[37];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 42;
tmp_import_name_from_28 = IMPORT_MODULE5(tmp_name_value_14, tmp_globals_arg_value_14, tmp_locals_arg_value_14, tmp_fromlist_value_14, tmp_level_value_14);
if (tmp_import_name_from_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_28)) {
tmp_assign_source_41 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_28,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[135],
mod_consts[31]
);
} else {
tmp_assign_source_41 = IMPORT_NAME(tmp_import_name_from_28, mod_consts[135]);
}
Py_DECREF(tmp_import_name_from_28);
if (tmp_assign_source_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 42;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[135], tmp_assign_source_41);
}
{
PyObject *tmp_assign_source_42;
PyObject *tmp_import_name_from_29;
PyObject *tmp_name_value_15;
PyObject *tmp_globals_arg_value_15;
PyObject *tmp_locals_arg_value_15;
PyObject *tmp_fromlist_value_15;
PyObject *tmp_level_value_15;
tmp_name_value_15 = mod_consts[255];
tmp_globals_arg_value_15 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_15 = Py_None;
tmp_fromlist_value_15 = mod_consts[256];
tmp_level_value_15 = mod_consts[37];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 43;
tmp_import_name_from_29 = IMPORT_MODULE5(tmp_name_value_15, tmp_globals_arg_value_15, tmp_locals_arg_value_15, tmp_fromlist_value_15, tmp_level_value_15);
if (tmp_import_name_from_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 43;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_29)) {
tmp_assign_source_42 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_29,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[102],
mod_consts[31]
);
} else {
tmp_assign_source_42 = IMPORT_NAME(tmp_import_name_from_29, mod_consts[102]);
}
Py_DECREF(tmp_import_name_from_29);
if (tmp_assign_source_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 43;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[102], tmp_assign_source_42);
}
{
PyObject *tmp_assign_source_43;
PyObject *tmp_import_name_from_30;
PyObject *tmp_name_value_16;
PyObject *tmp_globals_arg_value_16;
PyObject *tmp_locals_arg_value_16;
PyObject *tmp_fromlist_value_16;
PyObject *tmp_level_value_16;
tmp_name_value_16 = mod_consts[257];
tmp_globals_arg_value_16 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_16 = Py_None;
tmp_fromlist_value_16 = mod_consts[258];
tmp_level_value_16 = mod_consts[37];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 44;
tmp_import_name_from_30 = IMPORT_MODULE5(tmp_name_value_16, tmp_globals_arg_value_16, tmp_locals_arg_value_16, tmp_fromlist_value_16, tmp_level_value_16);
if (tmp_import_name_from_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 44;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_30)) {
tmp_assign_source_43 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_30,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[18],
mod_consts[31]
);
} else {
tmp_assign_source_43 = IMPORT_NAME(tmp_import_name_from_30, mod_consts[18]);
}
Py_DECREF(tmp_import_name_from_30);
if (tmp_assign_source_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 44;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[18], tmp_assign_source_43);
}
{
PyObject *tmp_assign_source_44;
PyObject *tmp_import_name_from_31;
PyObject *tmp_name_value_17;
PyObject *tmp_globals_arg_value_17;
PyObject *tmp_locals_arg_value_17;
PyObject *tmp_fromlist_value_17;
PyObject *tmp_level_value_17;
tmp_name_value_17 = mod_consts[259];
tmp_globals_arg_value_17 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_17 = Py_None;
tmp_fromlist_value_17 = mod_consts[260];
tmp_level_value_17 = mod_consts[37];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 45;
tmp_import_name_from_31 = IMPORT_MODULE5(tmp_name_value_17, tmp_globals_arg_value_17, tmp_locals_arg_value_17, tmp_fromlist_value_17, tmp_level_value_17);
if (tmp_import_name_from_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 45;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_31)) {
tmp_assign_source_44 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_31,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[16],
mod_consts[31]
);
} else {
tmp_assign_source_44 = IMPORT_NAME(tmp_import_name_from_31, mod_consts[16]);
}
Py_DECREF(tmp_import_name_from_31);
if (tmp_assign_source_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 45;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[16], tmp_assign_source_44);
}
{
PyObject *tmp_assign_source_45;
PyObject *tmp_name_value_18;
PyObject *tmp_globals_arg_value_18;
PyObject *tmp_locals_arg_value_18;
PyObject *tmp_fromlist_value_18;
PyObject *tmp_level_value_18;
tmp_name_value_18 = mod_consts[261];
tmp_globals_arg_value_18 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_18 = Py_None;
tmp_fromlist_value_18 = mod_consts[262];
tmp_level_value_18 = mod_consts[37];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 46;
tmp_assign_source_45 = IMPORT_MODULE5(tmp_name_value_18, tmp_globals_arg_value_18, tmp_locals_arg_value_18, tmp_fromlist_value_18, tmp_level_value_18);
if (tmp_assign_source_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
goto frame_exception_exit_1;
}
assert(tmp_import_from_4__module == NULL);
tmp_import_from_4__module = tmp_assign_source_45;
}
// Tried code:
{
PyObject *tmp_assign_source_46;
PyObject *tmp_import_name_from_32;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_32 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_32)) {
tmp_assign_source_46 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_32,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[119],
mod_consts[31]
);
} else {
tmp_assign_source_46 = IMPORT_NAME(tmp_import_name_from_32, mod_consts[119]);
}
if (tmp_assign_source_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[119], tmp_assign_source_46);
}
{
PyObject *tmp_assign_source_47;
PyObject *tmp_import_name_from_33;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_33 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_33)) {
tmp_assign_source_47 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_33,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[131],
mod_consts[31]
);
} else {
tmp_assign_source_47 = IMPORT_NAME(tmp_import_name_from_33, mod_consts[131]);
}
if (tmp_assign_source_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[131], tmp_assign_source_47);
}
{
PyObject *tmp_assign_source_48;
PyObject *tmp_import_name_from_34;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_34 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_34)) {
tmp_assign_source_48 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_34,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[109],
mod_consts[31]
);
} else {
tmp_assign_source_48 = IMPORT_NAME(tmp_import_name_from_34, mod_consts[109]);
}
if (tmp_assign_source_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[109], tmp_assign_source_48);
}
{
PyObject *tmp_assign_source_49;
PyObject *tmp_import_name_from_35;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_35 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_35)) {
tmp_assign_source_49 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_35,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[2],
mod_consts[31]
);
} else {
tmp_assign_source_49 = IMPORT_NAME(tmp_import_name_from_35, mod_consts[2]);
}
if (tmp_assign_source_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[222], tmp_assign_source_49);
}
{
PyObject *tmp_assign_source_50;
PyObject *tmp_import_name_from_36;
CHECK_OBJECT(tmp_import_from_4__module);
tmp_import_name_from_36 = tmp_import_from_4__module;
if (PyModule_Check(tmp_import_name_from_36)) {
tmp_assign_source_50 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_36,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[130],
mod_consts[31]
);
} else {
tmp_assign_source_50 = IMPORT_NAME(tmp_import_name_from_36, mod_consts[130]);
}
if (tmp_assign_source_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 46;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[130], tmp_assign_source_50);
}
goto try_end_4;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_4__module);
Py_DECREF(tmp_import_from_4__module);
tmp_import_from_4__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_import_from_4__module);
Py_DECREF(tmp_import_from_4__module);
tmp_import_from_4__module = NULL;
{
PyObject *tmp_assign_source_51;
PyObject *tmp_import_name_from_37;
PyObject *tmp_name_value_19;
PyObject *tmp_globals_arg_value_19;
PyObject *tmp_locals_arg_value_19;
PyObject *tmp_fromlist_value_19;
PyObject *tmp_level_value_19;
tmp_name_value_19 = mod_consts[263];
tmp_globals_arg_value_19 = (PyObject *)moduledict_urllib3$connectionpool;
tmp_locals_arg_value_19 = Py_None;
tmp_fromlist_value_19 = mod_consts[264];
tmp_level_value_19 = mod_consts[37];
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 53;
tmp_import_name_from_37 = IMPORT_MODULE5(tmp_name_value_19, tmp_globals_arg_value_19, tmp_locals_arg_value_19, tmp_fromlist_value_19, tmp_level_value_19);
if (tmp_import_name_from_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_37)) {
tmp_assign_source_51 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_37,
(PyObject *)moduledict_urllib3$connectionpool,
mod_consts[265],
mod_consts[31]
);
} else {
tmp_assign_source_51 = IMPORT_NAME(tmp_import_name_from_37, mod_consts[265]);
}
Py_DECREF(tmp_import_name_from_37);
if (tmp_assign_source_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[265], tmp_assign_source_51);
}
{
PyObject *tmp_assign_source_52;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[93]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[93]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 56;
goto frame_exception_exit_1;
}
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[266]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 56;
goto frame_exception_exit_1;
}
tmp_assign_source_52 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[27]);
Py_DECREF(tmp_expression_value_1);
if (tmp_assign_source_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 56;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[27], tmp_assign_source_52);
}
{
PyObject *tmp_assign_source_53;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[236]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[236]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 58;
goto frame_exception_exit_1;
}
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 58;
tmp_assign_source_53 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[267],
PyTuple_GET_ITEM(mod_consts[268], 0)
);
if (tmp_assign_source_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 58;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[38], tmp_assign_source_53);
}
{
PyObject *tmp_assign_source_54;
PyObject *tmp_called_value_1;
tmp_called_value_1 = (PyObject *)&PyBaseObject_Type;
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 60;
tmp_assign_source_54 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_54 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[64], tmp_assign_source_54);
}
// Tried code:
{
PyObject *tmp_assign_source_55;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[269];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_55 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_55 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_5;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_55;
}
{
PyObject *tmp_assign_source_56;
tmp_assign_source_56 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_56;
}
{
PyObject *tmp_assign_source_57;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_1;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[270];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_1, tmp_key_value_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_value_2 = mod_consts[270];
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 = 64;
goto try_except_handler_5;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_expression_value_3 = tmp_class_creation_1__bases;
tmp_subscript_value_1 = mod_consts[31];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_3, tmp_subscript_value_1, 0);
if (tmp_type_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_5;
}
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 = 64;
goto try_except_handler_5;
}
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_57 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_57 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_5;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_57;
}
{
bool tmp_condition_result_3;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[270];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_3, tmp_key_value_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[270];
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_5;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_4 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_4, mod_consts[271]);
tmp_condition_result_4 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_58;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_5;
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_5 = tmp_class_creation_1__metaclass;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[271]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_5;
}
tmp_tuple_element_1 = mod_consts[12];
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_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 64;
tmp_assign_source_58 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_value_1);
if (tmp_assign_source_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_5;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_58;
}
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_6 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_6, mod_consts[272]);
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 = 64;
goto try_except_handler_5;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_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[273];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[10];
tmp_getattr_default_1 = mod_consts[274];
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 = 64;
goto try_except_handler_5;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_7;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_expression_value_7 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_7 == NULL));
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[10]);
Py_DECREF(tmp_expression_value_7);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
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_5;
// 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 = 64;
goto try_except_handler_5;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 64;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_5;
}
branch_no_3:;
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_59;
tmp_assign_source_59 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_59;
}
branch_end_2:;
{
PyObject *tmp_assign_source_60;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_urllib3$connectionpool$$$class__1_ConnectionPool_64 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[275];
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64, mod_consts[276], 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_7;
}
tmp_dictset_value = mod_consts[277];
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64, mod_consts[228], 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_7;
}
tmp_dictset_value = mod_consts[12];
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64, mod_consts[278], 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_7;
}
if (isFrameUnusable(cache_frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2)) {
Py_XDECREF(cache_frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2 = MAKE_CLASS_FRAME(codeobj_1eafb27a09a73ea502c6ffe2f1f78fb0, module_urllib3$connectionpool, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2->m_type_description == NULL);
frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2 = cache_frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2) == 2); // Frame stack
// Framed code:
tmp_dictset_value = Py_None;
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64, mod_consts[3], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 70;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = PyObject_GetItem(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64, mod_consts[265]);
if (tmp_dictset_value == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[265]);
if (unlikely(tmp_dictset_value == NULL)) {
tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[265]);
}
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 71;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_dictset_value);
} else {
goto frame_exception_exit_2;
}
}
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64, mod_consts[22], 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 = 71;
type_description_2 = "o";
goto frame_exception_exit_2;
}
{
PyObject *tmp_defaults_1;
tmp_defaults_1 = mod_consts[30];
Py_INCREF(tmp_defaults_1);
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__1___init__(tmp_defaults_1);
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64, mod_consts[13], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__2___str__();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64, mod_consts[280], 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 = 81;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__3___enter__();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64, mod_consts[282], 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 = 84;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__4___exit__();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64, mod_consts[284], 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 = 87;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__5_close();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64, mod_consts[11], 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 = 92;
type_description_2 = "o";
goto frame_exception_exit_2;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1eafb27a09a73ea502c6ffe2f1f78fb0_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_1eafb27a09a73ea502c6ffe2f1f78fb0_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2 == cache_frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2);
cache_frame_1eafb27a09a73ea502c6ffe2f1f78fb0_2 = NULL;
}
assertFrameObject(frame_1eafb27a09a73ea502c6ffe2f1f78fb0_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_7;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_1 = tmp_class_creation_1__bases;
tmp_cmp_expr_right_1 = mod_consts[269];
tmp_condition_result_6 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_6 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_7;
}
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_dictset_value = mod_consts[269];
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64, mod_consts[287], 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_7;
}
branch_no_4:;
{
PyObject *tmp_assign_source_61;
PyObject *tmp_called_value_3;
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_3 = tmp_class_creation_1__metaclass;
tmp_tuple_element_3 = mod_consts[12];
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$connectionpool$$$class__1_ConnectionPool_64;
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_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 64;
tmp_assign_source_61 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_7;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_61;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_60 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_60);
goto try_return_handler_7;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_7:;
Py_DECREF(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64);
locals_urllib3$connectionpool$$$class__1_ConnectionPool_64 = NULL;
goto try_return_handler_6;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_urllib3$connectionpool$$$class__1_ConnectionPool_64);
locals_urllib3$connectionpool$$$class__1_ConnectionPool_64 = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_6;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_6:;
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_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;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 64;
goto try_except_handler_5;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[12], tmp_assign_source_60);
}
goto try_end_5;
// Exception handler code:
try_except_handler_5:;
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(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_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:
try_end_5:;
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;
{
PyObject *tmp_assign_source_62;
PyObject *tmp_set_element_1;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[70]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[70]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 100;
goto frame_exception_exit_1;
}
tmp_set_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[288]);
if (tmp_set_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 100;
goto frame_exception_exit_1;
}
tmp_assign_source_62 = PySet_New(NULL);
assert(tmp_assign_source_62);
tmp_res = PySet_Add(tmp_assign_source_62, tmp_set_element_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_set_element_1);
Py_DECREF(tmp_assign_source_62);
exception_lineno = 100;
goto frame_exception_exit_1;
}
Py_DECREF(tmp_set_element_1);
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[70]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[70]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_assign_source_62);
exception_lineno = 100;
goto frame_exception_exit_1;
}
tmp_set_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[289]);
if (tmp_set_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_assign_source_62);
exception_lineno = 100;
goto frame_exception_exit_1;
}
tmp_res = PySet_Add(tmp_assign_source_62, tmp_set_element_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_assign_source_62);
Py_DECREF(tmp_set_element_1);
exception_lineno = 100;
goto frame_exception_exit_1;
}
Py_DECREF(tmp_set_element_1);
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[71], tmp_assign_source_62);
}
// Tried code:
{
PyObject *tmp_assign_source_63;
PyObject *tmp_tuple_element_4;
tmp_tuple_element_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_tuple_element_4 == NULL)) {
tmp_tuple_element_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_8;
}
tmp_assign_source_63 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_assign_source_63, 0, tmp_tuple_element_4);
tmp_tuple_element_4 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[14]);
if (unlikely(tmp_tuple_element_4 == NULL)) {
tmp_tuple_element_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[14]);
}
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM0(tmp_assign_source_63, 1, tmp_tuple_element_4);
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_assign_source_63);
goto try_except_handler_8;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
assert(tmp_class_creation_2__bases_orig == NULL);
tmp_class_creation_2__bases_orig = tmp_assign_source_63;
}
{
PyObject *tmp_assign_source_64;
PyObject *tmp_dircall_arg1_2;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
tmp_dircall_arg1_2 = tmp_class_creation_2__bases_orig;
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_64 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_8;
}
assert(tmp_class_creation_2__bases == NULL);
tmp_class_creation_2__bases = tmp_assign_source_64;
}
{
PyObject *tmp_assign_source_65;
tmp_assign_source_65 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_65;
}
{
PyObject *tmp_assign_source_66;
PyObject *tmp_metaclass_value_2;
bool tmp_condition_result_7;
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_8;
int tmp_truth_name_2;
PyObject *tmp_type_arg_3;
PyObject *tmp_expression_value_10;
PyObject *tmp_subscript_value_2;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[270];
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_7 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_7 != 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[270];
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 = 103;
goto try_except_handler_8;
}
tmp_condition_result_8 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_8 == 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_10 = tmp_class_creation_2__bases;
tmp_subscript_value_2 = mod_consts[31];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_10, 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 = 103;
goto try_except_handler_8;
}
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 = 103;
goto try_except_handler_8;
}
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_66 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
Py_DECREF(tmp_metaclass_value_2);
if (tmp_assign_source_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_8;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_66;
}
{
bool tmp_condition_result_9;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[270];
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_9 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = mod_consts[270];
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_8;
}
branch_no_5:;
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_11 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_11, mod_consts[271]);
tmp_condition_result_10 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_assign_source_67;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_12;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_5;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_12 = tmp_class_creation_2__metaclass;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[271]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_8;
}
tmp_tuple_element_5 = mod_consts[189];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_5 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 103;
tmp_assign_source_67 = CALL_FUNCTION(tmp_called_value_4, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_value_3);
if (tmp_assign_source_67 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_8;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_67;
}
{
bool tmp_condition_result_11;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_13;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_13 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_13, mod_consts[272]);
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 = 103;
goto try_except_handler_8;
}
tmp_condition_result_11 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_11 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_6;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
tmp_raise_type_2 = PyExc_TypeError;
tmp_mod_expr_left_2 = mod_consts[273];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[10];
tmp_getattr_default_2 = mod_consts[274];
tmp_tuple_element_6 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_8;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_14;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_expression_value_14 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_14 == NULL));
tmp_tuple_element_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[10]);
Py_DECREF(tmp_expression_value_14);
if (tmp_tuple_element_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_6);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_mod_expr_right_2);
goto try_except_handler_8;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_raise_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_8;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 103;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_8;
}
branch_no_7:;
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_assign_source_68;
tmp_assign_source_68 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_68;
}
branch_end_6:;
{
PyObject *tmp_assign_source_69;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[275];
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[276], 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_10;
}
tmp_dictset_value = mod_consts[290];
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[228], 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_10;
}
tmp_dictset_value = mod_consts[189];
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[278], 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_10;
}
if (isFrameUnusable(cache_frame_45db51a6941488608899133f469410ab_3)) {
Py_XDECREF(cache_frame_45db51a6941488608899133f469410ab_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_45db51a6941488608899133f469410ab_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_45db51a6941488608899133f469410ab_3 = MAKE_CLASS_FRAME(codeobj_45db51a6941488608899133f469410ab, module_urllib3$connectionpool, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_45db51a6941488608899133f469410ab_3->m_type_description == NULL);
frame_45db51a6941488608899133f469410ab_3 = cache_frame_45db51a6941488608899133f469410ab_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_45db51a6941488608899133f469410ab_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_45db51a6941488608899133f469410ab_3) == 2); // Frame stack
// Framed code:
tmp_dictset_value = mod_consts[132];
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[3], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 163;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = PyObject_GetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[246]);
if (tmp_dictset_value == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[246]);
if (unlikely(tmp_dictset_value == NULL)) {
tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[246]);
}
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 164;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_dictset_value);
} else {
goto frame_exception_exit_3;
}
}
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[42], 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 = 164;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = PyObject_GetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[250]);
if (tmp_dictset_value == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[250]);
if (unlikely(tmp_dictset_value == NULL)) {
tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[250]);
}
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_dictset_value);
} else {
goto frame_exception_exit_3;
}
}
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[142], 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 = 165;
type_description_2 = "o";
goto frame_exception_exit_3;
}
{
PyObject *tmp_defaults_2;
PyObject *tmp_tuple_element_7;
tmp_tuple_element_7 = Py_None;
tmp_defaults_2 = MAKE_TUPLE_EMPTY(9);
{
PyObject *tmp_expression_value_15;
PyTuple_SET_ITEM0(tmp_defaults_2, 0, tmp_tuple_element_7);
tmp_tuple_element_7 = Py_False;
PyTuple_SET_ITEM0(tmp_defaults_2, 1, tmp_tuple_element_7);
tmp_expression_value_15 = PyObject_GetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[16]);
if (tmp_expression_value_15 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_15 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_expression_value_15 == NULL)) {
tmp_expression_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_expression_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_2 = "o";
goto tuple_build_exception_4;
}
Py_INCREF(tmp_expression_value_15);
} else {
goto tuple_build_exception_4;
}
}
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[86]);
Py_DECREF(tmp_expression_value_15);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 172;
type_description_2 = "o";
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM(tmp_defaults_2, 2, tmp_tuple_element_7);
tmp_tuple_element_7 = mod_consts[37];
PyTuple_SET_ITEM0(tmp_defaults_2, 3, tmp_tuple_element_7);
tmp_tuple_element_7 = Py_False;
PyTuple_SET_ITEM0(tmp_defaults_2, 4, tmp_tuple_element_7);
tmp_tuple_element_7 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_2, 5, tmp_tuple_element_7);
tmp_tuple_element_7 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_2, 6, tmp_tuple_element_7);
tmp_tuple_element_7 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_2, 7, tmp_tuple_element_7);
tmp_tuple_element_7 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_2, 8, tmp_tuple_element_7);
}
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_defaults_2);
goto frame_exception_exit_3;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__6___init__(tmp_defaults_2);
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[13], 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 = 167;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__7__new_conn();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, 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 = 216;
type_description_2 = "o";
goto frame_exception_exit_3;
}
{
PyObject *tmp_defaults_3;
tmp_defaults_3 = mod_consts[30];
Py_INCREF(tmp_defaults_3);
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__8__get_conn(tmp_defaults_3);
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[136], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__9__put_conn();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[161], 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 = 276;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__10__validate_conn();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[78], 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_3;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__11__prepare_proxy();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[138], 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 = 310;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__12__get_timeout();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[76], 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 = 314;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__13__raise_timeout();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[80], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_2 = "o";
goto frame_exception_exit_3;
}
{
PyObject *tmp_defaults_4;
PyObject *tmp_tuple_element_8;
tmp_tuple_element_8 = PyObject_GetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[64]);
if (tmp_tuple_element_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_8 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[64]);
if (unlikely(tmp_tuple_element_8 == NULL)) {
tmp_tuple_element_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[64]);
}
if (tmp_tuple_element_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_tuple_element_8);
} else {
goto frame_exception_exit_3;
}
}
tmp_defaults_4 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_defaults_4, 0, tmp_tuple_element_8);
tmp_tuple_element_8 = Py_False;
PyTuple_SET_ITEM0(tmp_defaults_4, 1, tmp_tuple_element_8);
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__14__make_request(tmp_defaults_4);
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, 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 = 351;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__15__absolute_url();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[106], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 452;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__16_close();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[11], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 455;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__17_is_same_host();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, 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 = 473;
type_description_2 = "o";
goto frame_exception_exit_3;
}
{
PyObject *tmp_defaults_5;
PyObject *tmp_tuple_element_9;
tmp_tuple_element_9 = Py_None;
tmp_defaults_5 = MAKE_TUPLE_EMPTY(10);
PyTuple_SET_ITEM0(tmp_defaults_5, 0, tmp_tuple_element_9);
tmp_tuple_element_9 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_5, 1, tmp_tuple_element_9);
tmp_tuple_element_9 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_5, 2, tmp_tuple_element_9);
tmp_tuple_element_9 = Py_True;
PyTuple_SET_ITEM0(tmp_defaults_5, 3, tmp_tuple_element_9);
tmp_tuple_element_9 = Py_True;
PyTuple_SET_ITEM0(tmp_defaults_5, 4, tmp_tuple_element_9);
tmp_tuple_element_9 = PyObject_GetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[64]);
if (tmp_tuple_element_9 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_9 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[64]);
if (unlikely(tmp_tuple_element_9 == NULL)) {
tmp_tuple_element_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[64]);
}
if (tmp_tuple_element_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 503;
type_description_2 = "o";
goto tuple_build_exception_5;
}
Py_INCREF(tmp_tuple_element_9);
} else {
goto tuple_build_exception_5;
}
}
PyTuple_SET_ITEM(tmp_defaults_5, 5, tmp_tuple_element_9);
tmp_tuple_element_9 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_5, 6, tmp_tuple_element_9);
tmp_tuple_element_9 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_5, 7, tmp_tuple_element_9);
tmp_tuple_element_9 = Py_False;
PyTuple_SET_ITEM0(tmp_defaults_5, 8, tmp_tuple_element_9);
tmp_tuple_element_9 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_5, 9, tmp_tuple_element_9);
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_defaults_5);
goto frame_exception_exit_3;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__18_urlopen(tmp_defaults_5);
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[163], 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 = 494;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_45db51a6941488608899133f469410ab_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_45db51a6941488608899133f469410ab_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_45db51a6941488608899133f469410ab_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_45db51a6941488608899133f469410ab_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_45db51a6941488608899133f469410ab_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_45db51a6941488608899133f469410ab_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_45db51a6941488608899133f469410ab_3 == cache_frame_45db51a6941488608899133f469410ab_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_45db51a6941488608899133f469410ab_3);
cache_frame_45db51a6941488608899133f469410ab_3 = NULL;
}
assertFrameObject(frame_45db51a6941488608899133f469410ab_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_10;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_12;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_cmp_expr_left_2 = tmp_class_creation_2__bases;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
tmp_cmp_expr_right_2 = tmp_class_creation_2__bases_orig;
tmp_condition_result_12 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_12 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_10;
}
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
tmp_dictset_value = tmp_class_creation_2__bases_orig;
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103, mod_consts[287], 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_10;
}
branch_no_8:;
{
PyObject *tmp_assign_source_70;
PyObject *tmp_called_value_5;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_10;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_5 = tmp_class_creation_2__metaclass;
tmp_tuple_element_10 = mod_consts[189];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_10 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_10);
tmp_tuple_element_10 = locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_10);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 103;
tmp_assign_source_70 = CALL_FUNCTION(tmp_called_value_5, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_70 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 103;
goto try_except_handler_10;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_70;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_69 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_69);
goto try_return_handler_10;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_10:;
Py_DECREF(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103);
locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103 = NULL;
goto try_return_handler_9;
// Exception handler code:
try_except_handler_10:;
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_DECREF(locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103);
locals_urllib3$connectionpool$$$class__2_HTTPConnectionPool_103 = NULL;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_9;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_9:;
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_9:;
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;
// 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 outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 103;
goto try_except_handler_8;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[189], tmp_assign_source_69);
}
goto try_end_6;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_2__bases_orig);
tmp_class_creation_2__bases_orig = NULL;
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_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
Py_DECREF(tmp_class_creation_2__bases_orig);
tmp_class_creation_2__bases_orig = NULL;
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_71;
PyObject *tmp_tuple_element_11;
tmp_tuple_element_11 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[189]);
if (unlikely(tmp_tuple_element_11 == NULL)) {
tmp_tuple_element_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[189]);
}
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_11;
}
tmp_assign_source_71 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_71, 0, tmp_tuple_element_11);
assert(tmp_class_creation_3__bases_orig == NULL);
tmp_class_creation_3__bases_orig = tmp_assign_source_71;
}
{
PyObject *tmp_assign_source_72;
PyObject *tmp_dircall_arg1_3;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig;
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_72 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_72 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_11;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_72;
}
{
PyObject *tmp_assign_source_73;
tmp_assign_source_73 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_73;
}
{
PyObject *tmp_assign_source_74;
PyObject *tmp_metaclass_value_3;
bool tmp_condition_result_13;
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_14;
int tmp_truth_name_3;
PyObject *tmp_type_arg_5;
PyObject *tmp_expression_value_16;
PyObject *tmp_subscript_value_3;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[270];
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_13 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_13 != 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[270];
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 = 852;
goto try_except_handler_11;
}
tmp_condition_result_14 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_14 == 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_16 = tmp_class_creation_3__bases;
tmp_subscript_value_3 = mod_consts[31];
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_16, tmp_subscript_value_3, 0);
if (tmp_type_arg_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_11;
}
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 = 852;
goto try_except_handler_11;
}
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_74 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_74 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_11;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_74;
}
{
bool tmp_condition_result_15;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[270];
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_15 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_15 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
tmp_dictdel_key = mod_consts[270];
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 = 852;
goto try_except_handler_11;
}
branch_no_9:;
{
nuitka_bool tmp_condition_result_16;
PyObject *tmp_expression_value_17;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_17 = tmp_class_creation_3__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_17, mod_consts[271]);
tmp_condition_result_16 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_75;
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_18;
PyObject *tmp_args_value_5;
PyObject *tmp_tuple_element_12;
PyObject *tmp_kwargs_value_5;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_18 = tmp_class_creation_3__metaclass;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[271]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_11;
}
tmp_tuple_element_12 = mod_consts[212];
tmp_args_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_5, 0, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_12 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_5, 1, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_5 = tmp_class_creation_3__class_decl_dict;
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 852;
tmp_assign_source_75 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_5, tmp_kwargs_value_5);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_value_5);
if (tmp_assign_source_75 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_11;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_75;
}
{
bool tmp_condition_result_17;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_19;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_expression_value_19 = tmp_class_creation_3__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_19, mod_consts[272]);
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 = 852;
goto try_except_handler_11;
}
tmp_condition_result_17 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_17 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_raise_value_3;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
PyObject *tmp_tuple_element_13;
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[273];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[10];
tmp_getattr_default_3 = mod_consts[274];
tmp_tuple_element_13 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3);
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_11;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_20;
PyObject *tmp_type_arg_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_expression_value_20 = BUILTIN_TYPE1(tmp_type_arg_6);
assert(!(tmp_expression_value_20 == NULL));
tmp_tuple_element_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[10]);
Py_DECREF(tmp_expression_value_20);
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_13);
}
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_mod_expr_right_3);
goto try_except_handler_11;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
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 = 852;
goto try_except_handler_11;
}
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_value = tmp_raise_value_3;
exception_lineno = 852;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_11;
}
branch_no_11:;
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_assign_source_76;
tmp_assign_source_76 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_76;
}
branch_end_10:;
{
PyObject *tmp_assign_source_77;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[275];
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, mod_consts[276], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_13;
}
tmp_dictset_value = mod_consts[304];
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, mod_consts[228], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_13;
}
tmp_dictset_value = mod_consts[212];
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, mod_consts[278], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_13;
}
if (isFrameUnusable(cache_frame_2080feca2b7363e908a93f436b9667e0_4)) {
Py_XDECREF(cache_frame_2080feca2b7363e908a93f436b9667e0_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_2080feca2b7363e908a93f436b9667e0_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2080feca2b7363e908a93f436b9667e0_4 = MAKE_CLASS_FRAME(codeobj_2080feca2b7363e908a93f436b9667e0, module_urllib3$connectionpool, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2080feca2b7363e908a93f436b9667e0_4->m_type_description == NULL);
frame_2080feca2b7363e908a93f436b9667e0_4 = cache_frame_2080feca2b7363e908a93f436b9667e0_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_2080feca2b7363e908a93f436b9667e0_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2080feca2b7363e908a93f436b9667e0_4) == 2); // Frame stack
// Framed code:
tmp_dictset_value = mod_consts[220];
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, mod_consts[3], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 872;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = PyObject_GetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, mod_consts[247]);
if (tmp_dictset_value == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[247]);
if (unlikely(tmp_dictset_value == NULL)) {
tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[247]);
}
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 873;
type_description_2 = "o";
goto frame_exception_exit_4;
}
Py_INCREF(tmp_dictset_value);
} else {
goto frame_exception_exit_4;
}
}
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, mod_consts[42], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 873;
type_description_2 = "o";
goto frame_exception_exit_4;
}
{
PyObject *tmp_defaults_6;
PyObject *tmp_tuple_element_14;
tmp_tuple_element_14 = Py_None;
tmp_defaults_6 = MAKE_TUPLE_EMPTY(18);
{
PyObject *tmp_expression_value_21;
PyTuple_SET_ITEM0(tmp_defaults_6, 0, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_False;
PyTuple_SET_ITEM0(tmp_defaults_6, 1, tmp_tuple_element_14);
tmp_expression_value_21 = PyObject_GetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, mod_consts[16]);
if (tmp_expression_value_21 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_21 = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[16]);
if (unlikely(tmp_expression_value_21 == NULL)) {
tmp_expression_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[16]);
}
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 880;
type_description_2 = "o";
goto tuple_build_exception_7;
}
Py_INCREF(tmp_expression_value_21);
} else {
goto tuple_build_exception_7;
}
}
tmp_tuple_element_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[86]);
Py_DECREF(tmp_expression_value_21);
if (tmp_tuple_element_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 880;
type_description_2 = "o";
goto tuple_build_exception_7;
}
PyTuple_SET_ITEM(tmp_defaults_6, 2, tmp_tuple_element_14);
tmp_tuple_element_14 = mod_consts[37];
PyTuple_SET_ITEM0(tmp_defaults_6, 3, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_False;
PyTuple_SET_ITEM0(tmp_defaults_6, 4, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 5, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 6, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 7, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 8, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 9, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 10, tmp_tuple_element_14);
tmp_tuple_element_14 = mod_consts[305];
PyTuple_SET_ITEM0(tmp_defaults_6, 11, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 12, tmp_tuple_element_14);
tmp_tuple_element_14 = mod_consts[306];
PyTuple_SET_ITEM0(tmp_defaults_6, 13, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 14, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 15, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 16, tmp_tuple_element_14);
tmp_tuple_element_14 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_6, 17, tmp_tuple_element_14);
}
goto tuple_build_noexception_7;
// Exception handling pass through code for tuple_build:
tuple_build_exception_7:;
Py_DECREF(tmp_defaults_6);
goto frame_exception_exit_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_7:;
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__19___init__(tmp_defaults_6);
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, mod_consts[13], 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 = 875;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__20__prepare_conn();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, mod_consts[210], 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 = 924;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__21__prepare_proxy();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, mod_consts[138], 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 = 944;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__22__new_conn();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, 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 = 952;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = MAKE_FUNCTION_urllib3$connectionpool$$$function__23__validate_conn();
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, mod_consts[78], 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 = 988;
type_description_2 = "o";
goto frame_exception_exit_4;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_2080feca2b7363e908a93f436b9667e0_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_2080feca2b7363e908a93f436b9667e0_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2080feca2b7363e908a93f436b9667e0_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2080feca2b7363e908a93f436b9667e0_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2080feca2b7363e908a93f436b9667e0_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2080feca2b7363e908a93f436b9667e0_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame if used for exception.
if (frame_2080feca2b7363e908a93f436b9667e0_4 == cache_frame_2080feca2b7363e908a93f436b9667e0_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2080feca2b7363e908a93f436b9667e0_4);
cache_frame_2080feca2b7363e908a93f436b9667e0_4 = NULL;
}
assertFrameObject(frame_2080feca2b7363e908a93f436b9667e0_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_13;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_cmp_expr_left_3 = tmp_class_creation_3__bases;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_cmp_expr_right_3 = tmp_class_creation_3__bases_orig;
tmp_condition_result_18 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_18 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_13;
}
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dictset_value = tmp_class_creation_3__bases_orig;
tmp_res = PyObject_SetItem(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852, mod_consts[287], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_13;
}
branch_no_12:;
{
PyObject *tmp_assign_source_78;
PyObject *tmp_called_value_7;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_15;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_7 = tmp_class_creation_3__metaclass;
tmp_tuple_element_15 = mod_consts[212];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_15 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_15);
tmp_tuple_element_15 = locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame.f_lineno = 852;
tmp_assign_source_78 = CALL_FUNCTION(tmp_called_value_7, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_78 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 852;
goto try_except_handler_13;
}
assert(outline_2_var___class__ == NULL);
outline_2_var___class__ = tmp_assign_source_78;
}
CHECK_OBJECT(outline_2_var___class__);
tmp_assign_source_77 = outline_2_var___class__;
Py_INCREF(tmp_assign_source_77);
goto try_return_handler_13;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_13:;
Py_DECREF(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852);
locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852 = NULL;
goto try_return_handler_12;
// Exception handler code:
try_except_handler_13:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852);
locals_urllib3$connectionpool$$$class__3_HTTPSConnectionPool_852 = NULL;
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto try_except_handler_12;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_12:;
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_12:;
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;
// 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 outline_exception_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_3:;
exception_lineno = 852;
goto try_except_handler_11;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[212], tmp_assign_source_77);
}
goto try_end_7;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
Py_XDECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
Py_XDECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_13;
exception_value = exception_keeper_value_13;
exception_tb = exception_keeper_tb_13;
exception_lineno = exception_keeper_lineno_13;
goto frame_exception_exit_1;
// End of try:
try_end_7:;
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_5ab3d0c0604486f636cbe5c9777c472f);
#endif
popFrameStack();
goto frame_no_exception_4;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5ab3d0c0604486f636cbe5c9777c472f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5ab3d0c0604486f636cbe5c9777c472f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5ab3d0c0604486f636cbe5c9777c472f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5ab3d0c0604486f636cbe5c9777c472f, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_4:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
Py_DECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_3__bases);
Py_DECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
Py_DECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
Py_DECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_3__prepared);
Py_DECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
{
PyObject *tmp_assign_source_79;
tmp_assign_source_79 = MAKE_FUNCTION_urllib3$connectionpool$$$function__24_connection_from_url();
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[312], tmp_assign_source_79);
}
{
PyObject *tmp_assign_source_80;
tmp_assign_source_80 = MAKE_FUNCTION_urllib3$connectionpool$$$function__25__normalize_host();
UPDATE_STRING_DICT1(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)mod_consts[2], tmp_assign_source_80);
}
// Report to PGO about leaving the module without error.
PGO_onModuleExit("urllib3.connectionpool", false);
Py_INCREF(module_urllib3$connectionpool);
return module_urllib3$connectionpool;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_urllib3$connectionpool, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("urllib3$connectionpool", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}