Files
fesmoo_perdoliq/baraban.build/module.future.backports.urllib.error.c
2019-12-06 12:23:21 +03:00

5602 lines
176 KiB
C

/* Generated code for Python source for module 'future.backports.urllib.error'
* created by Nuitka version 0.6.0
*
* This code is in part copyright 2018 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 "__helpers.h"
/* The _module_future$backports$urllib$error 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_future$backports$urllib$error;
PyDictObject *moduledict_future$backports$urllib$error;
/* The module constants used, if any. */
extern PyObject *const_str_plain___orig_bases__;
extern PyObject *const_tuple_none_tuple;
static PyObject *const_str_digest_030cbab10abd84609fdf09fc1a0c762b;
static PyObject *const_str_plain_urllib_response;
extern PyObject *const_str_plain___module__;
extern PyObject *const_str_plain_metaclass;
extern PyObject *const_str_plain___str__;
extern PyObject *const_str_plain_absolute_import;
extern PyObject *const_str_plain_unicode_literals;
extern PyObject *const_str_plain_filename;
static PyObject *const_str_digest_6181242e4217a24e8c5728bdfbc9a317;
extern PyObject *const_str_plain___name__;
static PyObject *const_list_d3e364208de3d0eca6cabf8daa8c2522_list;
extern PyObject *const_tuple_type_OSError_tuple;
extern PyObject *const_str_plain___getitem__;
extern PyObject *const_str_plain___all__;
extern PyObject *const_str_plain___qualname__;
extern PyObject *const_tuple_str_plain___class___tuple;
extern PyObject *const_str_angle_metaclass;
extern PyObject *const_str_plain_URLError;
static PyObject *const_str_digest_03ba1cb3ca75b719ae66560a1cc2ccad;
extern PyObject *const_str_plain___file__;
static PyObject *const_str_digest_53824c23e85cfa1cf7840f8dc5a0bc8b;
extern PyObject *const_str_plain_hdrs;
static PyObject *const_tuple_str_plain_self_str_plain_reason_str_plain_filename_tuple;
extern PyObject *const_str_plain_args;
extern PyObject *const_str_digest_0ac0833f32ef9672b68f8e39be86bb39;
static PyObject *const_str_digest_589185e78d93a80ad8057662dd30f035;
extern PyObject *const_str_plain_content;
extern PyObject *const_int_0;
static PyObject *const_str_digest_166f392afc41e242efe15b8de6b27134;
extern PyObject *const_str_plain_code;
extern PyObject *const_str_plain___init__;
extern PyObject *const_str_plain_msg;
static PyObject *const_tuple_str_plain_standard_library_tuple;
extern PyObject *const_str_plain_division;
extern PyObject *const_str_plain_response;
extern PyObject *const_str_plain___prepare__;
extern PyObject *const_tuple_str_plain_self_tuple;
extern PyObject *const_str_plain_url;
static PyObject *const_str_digest_222267f1febf39c1ef1e61ba01762676;
extern PyObject *const_str_plain_self;
extern PyObject *const_str_plain_message;
extern PyObject *const_tuple_str_plain_response_tuple;
extern PyObject *const_str_plain_future;
static PyObject *const_str_digest_ee876a31c96217fb9ac5caffc4830d3f;
static PyObject *const_str_digest_f3b04471f62d2dc6e2277e196afe9870;
extern PyObject *const_str_plain_addinfourl;
extern PyObject *const_str_plain_fp;
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
extern PyObject *const_str_plain_None;
extern PyObject *const_tuple_empty;
static PyObject *const_str_digest_24733dff1e0d0d205f5861fe1795eb8f;
extern PyObject *const_str_plain_HTTPError;
static PyObject *const_tuple_str_plain_self_str_plain_message_str_plain_content_tuple;
static PyObject *const_str_digest_7a0637ff0a08d5788d0cccf7741daa08;
static PyObject *const_str_digest_c2be9e0e69a7ce0379a4b1f1dda54482;
extern PyObject *const_str_plain_property;
extern PyObject *const_str_plain_info;
static PyObject *const_str_digest_9ae43236726a55ce273542ff6c5d3ea2;
extern PyObject *const_str_plain_type;
static PyObject *const_str_plain_standard_library;
static PyObject *const_str_digest_68bb97bcb5267dffd4b13c20d5a14818;
extern PyObject *const_str_plain_ContentTooShortError;
static PyObject *const_tuple_c192204d0195117e4d5e67e2cace3798_tuple;
static PyObject *const_str_plain__HTTPError__super_init;
extern PyObject *const_str_plain___doc__;
extern PyObject *const_str_plain___cached__;
extern PyObject *const_str_plain_reason;
extern PyObject *const_str_plain___class__;
static PyObject *module_filename_obj;
static bool constants_created = false;
static void createModuleConstants( void )
{
const_str_digest_030cbab10abd84609fdf09fc1a0c762b = UNSTREAM_STRING( &constant_bin[ 665818 ], 16, 0 );
const_str_plain_urllib_response = UNSTREAM_STRING( &constant_bin[ 665834 ], 15, 1 );
const_str_digest_6181242e4217a24e8c5728bdfbc9a317 = UNSTREAM_STRING( &constant_bin[ 665849 ], 18, 0 );
const_list_d3e364208de3d0eca6cabf8daa8c2522_list = PyList_New( 3 );
PyList_SET_ITEM( const_list_d3e364208de3d0eca6cabf8daa8c2522_list, 0, const_str_plain_URLError ); Py_INCREF( const_str_plain_URLError );
PyList_SET_ITEM( const_list_d3e364208de3d0eca6cabf8daa8c2522_list, 1, const_str_plain_HTTPError ); Py_INCREF( const_str_plain_HTTPError );
PyList_SET_ITEM( const_list_d3e364208de3d0eca6cabf8daa8c2522_list, 2, const_str_plain_ContentTooShortError ); Py_INCREF( const_str_plain_ContentTooShortError );
const_str_digest_03ba1cb3ca75b719ae66560a1cc2ccad = UNSTREAM_STRING( &constant_bin[ 665867 ], 29, 0 );
const_str_digest_53824c23e85cfa1cf7840f8dc5a0bc8b = UNSTREAM_STRING( &constant_bin[ 665896 ], 17, 0 );
const_tuple_str_plain_self_str_plain_reason_str_plain_filename_tuple = PyTuple_New( 3 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_reason_str_plain_filename_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_reason_str_plain_filename_tuple, 1, const_str_plain_reason ); Py_INCREF( const_str_plain_reason );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_reason_str_plain_filename_tuple, 2, const_str_plain_filename ); Py_INCREF( const_str_plain_filename );
const_str_digest_589185e78d93a80ad8057662dd30f035 = UNSTREAM_STRING( &constant_bin[ 665913 ], 66, 0 );
const_str_digest_166f392afc41e242efe15b8de6b27134 = UNSTREAM_STRING( &constant_bin[ 665979 ], 17, 0 );
const_tuple_str_plain_standard_library_tuple = PyTuple_New( 1 );
const_str_plain_standard_library = UNSTREAM_STRING( &constant_bin[ 539986 ], 16, 1 );
PyTuple_SET_ITEM( const_tuple_str_plain_standard_library_tuple, 0, const_str_plain_standard_library ); Py_INCREF( const_str_plain_standard_library );
const_str_digest_222267f1febf39c1ef1e61ba01762676 = UNSTREAM_STRING( &constant_bin[ 665996 ], 18, 0 );
const_str_digest_ee876a31c96217fb9ac5caffc4830d3f = UNSTREAM_STRING( &constant_bin[ 666014 ], 17, 0 );
const_str_digest_f3b04471f62d2dc6e2277e196afe9870 = UNSTREAM_STRING( &constant_bin[ 666031 ], 495, 0 );
const_str_digest_24733dff1e0d0d205f5861fe1795eb8f = UNSTREAM_STRING( &constant_bin[ 666526 ], 38, 0 );
const_tuple_str_plain_self_str_plain_message_str_plain_content_tuple = PyTuple_New( 3 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_message_str_plain_content_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_message_str_plain_content_tuple, 1, const_str_plain_message ); Py_INCREF( const_str_plain_message );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_message_str_plain_content_tuple, 2, const_str_plain_content ); Py_INCREF( const_str_plain_content );
const_str_digest_7a0637ff0a08d5788d0cccf7741daa08 = UNSTREAM_STRING( &constant_bin[ 666564 ], 65, 0 );
const_str_digest_c2be9e0e69a7ce0379a4b1f1dda54482 = UNSTREAM_STRING( &constant_bin[ 666629 ], 16, 0 );
const_str_digest_9ae43236726a55ce273542ff6c5d3ea2 = UNSTREAM_STRING( &constant_bin[ 666645 ], 14, 0 );
const_str_digest_68bb97bcb5267dffd4b13c20d5a14818 = UNSTREAM_STRING( &constant_bin[ 666534 ], 29, 0 );
const_tuple_c192204d0195117e4d5e67e2cace3798_tuple = PyTuple_New( 6 );
PyTuple_SET_ITEM( const_tuple_c192204d0195117e4d5e67e2cace3798_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_c192204d0195117e4d5e67e2cace3798_tuple, 1, const_str_plain_url ); Py_INCREF( const_str_plain_url );
PyTuple_SET_ITEM( const_tuple_c192204d0195117e4d5e67e2cace3798_tuple, 2, const_str_plain_code ); Py_INCREF( const_str_plain_code );
PyTuple_SET_ITEM( const_tuple_c192204d0195117e4d5e67e2cace3798_tuple, 3, const_str_plain_msg ); Py_INCREF( const_str_plain_msg );
PyTuple_SET_ITEM( const_tuple_c192204d0195117e4d5e67e2cace3798_tuple, 4, const_str_plain_hdrs ); Py_INCREF( const_str_plain_hdrs );
PyTuple_SET_ITEM( const_tuple_c192204d0195117e4d5e67e2cace3798_tuple, 5, const_str_plain_fp ); Py_INCREF( const_str_plain_fp );
const_str_plain__HTTPError__super_init = UNSTREAM_STRING( &constant_bin[ 666659 ], 22, 1 );
constants_created = true;
}
#ifndef __NUITKA_NO_ASSERT__
void checkModuleConstants_future$backports$urllib$error( void )
{
// The module may not have been used at all.
if (constants_created == false) return;
}
#endif
// The module code objects.
static PyCodeObject *codeobj_423e0f0b1eb02bbe068f233a3fd4468d;
static PyCodeObject *codeobj_b4e77fb4265c42fc3aa8f65e8514c5b9;
static PyCodeObject *codeobj_2838c0a614368495c74bb211f9addf39;
static PyCodeObject *codeobj_32365a5298a8c023f4335e1121bddd82;
static PyCodeObject *codeobj_59cdbabfd9bc5b03895da86730bf0521;
static PyCodeObject *codeobj_520be05e1b910a00b828413ad4b7e6f8;
static PyCodeObject *codeobj_d1ab4c096e2da1d96e33f64d47b08914;
static PyCodeObject *codeobj_3052ffaf8d597f834ff35e3aa87d14d4;
static PyCodeObject *codeobj_6b7b31bfb46cf3ad2af650b1a91745af;
static PyCodeObject *codeobj_0c5090061b1070300afeb83b50374a83;
static PyCodeObject *codeobj_e2f8f33af100774f6d2d56ceb9fbce7c;
static void createModuleCodeObjects(void)
{
module_filename_obj = const_str_digest_7a0637ff0a08d5788d0cccf7741daa08;
codeobj_423e0f0b1eb02bbe068f233a3fd4468d = MAKE_CODEOBJ( module_filename_obj, const_str_digest_24733dff1e0d0d205f5861fe1795eb8f, 1, const_tuple_empty, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_b4e77fb4265c42fc3aa8f65e8514c5b9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_ContentTooShortError, 72, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_2838c0a614368495c74bb211f9addf39 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_HTTPError, 41, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_32365a5298a8c023f4335e1121bddd82 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_URLError, 26, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_59cdbabfd9bc5b03895da86730bf0521 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 32, const_tuple_str_plain_self_str_plain_reason_str_plain_filename_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_520be05e1b910a00b828413ad4b7e6f8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 45, const_tuple_c192204d0195117e4d5e67e2cace3798_tuple, 6, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_d1ab4c096e2da1d96e33f64d47b08914 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 73, const_tuple_str_plain_self_str_plain_message_str_plain_content_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_3052ffaf8d597f834ff35e3aa87d14d4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___str__, 38, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_6b7b31bfb46cf3ad2af650b1a91745af = MAKE_CODEOBJ( module_filename_obj, const_str_plain___str__, 58, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_0c5090061b1070300afeb83b50374a83 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_info, 67, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
codeobj_e2f8f33af100774f6d2d56ceb9fbce7c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_reason, 63, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
}
// The module function declarations.
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars );
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_1___init__( PyObject *defaults );
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_2___str__( );
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_3___init__( );
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_4___str__( );
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_5_reason( );
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_6_info( );
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_7___init__( );
// The module function definitions.
static PyObject *impl_future$backports$urllib$error$$$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_reason = python_pars[ 1 ];
PyObject *par_filename = python_pars[ 2 ];
struct Nuitka_FrameObject *frame_59cdbabfd9bc5b03895da86730bf0521;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_59cdbabfd9bc5b03895da86730bf0521 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_59cdbabfd9bc5b03895da86730bf0521, codeobj_59cdbabfd9bc5b03895da86730bf0521, module_future$backports$urllib$error, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_59cdbabfd9bc5b03895da86730bf0521 = cache_frame_59cdbabfd9bc5b03895da86730bf0521;
// Push the new frame as the currently active one.
pushFrameStack( frame_59cdbabfd9bc5b03895da86730bf0521 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_59cdbabfd9bc5b03895da86730bf0521 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT( par_reason );
tmp_tuple_element_1 = par_reason;
tmp_assattr_name_1 = PyTuple_New( 1 );
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_assattr_name_1, 0, tmp_tuple_element_1 );
CHECK_OBJECT( par_self );
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_args, tmp_assattr_name_1 );
Py_DECREF( tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 33;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_assattr_target_2;
if ( par_reason == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "reason" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 34;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_2 = par_reason;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 34;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_reason, tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
if ( par_filename == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "filename" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 35;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_1 = par_filename;
tmp_compexpr_right_1 = Py_None;
tmp_condition_result_1 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_assattr_name_3;
PyObject *tmp_assattr_target_3;
if ( par_filename == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "filename" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 36;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_3 = par_filename;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 36;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_filename, tmp_assattr_name_3 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 36;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
branch_no_1:;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_59cdbabfd9bc5b03895da86730bf0521 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_59cdbabfd9bc5b03895da86730bf0521 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_59cdbabfd9bc5b03895da86730bf0521, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_59cdbabfd9bc5b03895da86730bf0521->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_59cdbabfd9bc5b03895da86730bf0521, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_59cdbabfd9bc5b03895da86730bf0521,
type_description_1,
par_self,
par_reason,
par_filename
);
// Release cached frame.
if ( frame_59cdbabfd9bc5b03895da86730bf0521 == cache_frame_59cdbabfd9bc5b03895da86730bf0521 )
{
Py_DECREF( frame_59cdbabfd9bc5b03895da86730bf0521 );
}
cache_frame_59cdbabfd9bc5b03895da86730bf0521 = NULL;
assertFrameObject( frame_59cdbabfd9bc5b03895da86730bf0521 );
// 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;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_1___init__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_reason );
par_reason = NULL;
}
{
Py_XDECREF( par_filename );
par_filename = 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_self );
par_self = NULL;
}
{
Py_XDECREF( par_reason );
par_reason = NULL;
}
{
Py_XDECREF( par_filename );
par_filename = 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:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_1___init__ );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_future$backports$urllib$error$$$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_3052ffaf8d597f834ff35e3aa87d14d4;
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_3052ffaf8d597f834ff35e3aa87d14d4 = 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 code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_3052ffaf8d597f834ff35e3aa87d14d4, codeobj_3052ffaf8d597f834ff35e3aa87d14d4, module_future$backports$urllib$error, sizeof(void *) );
frame_3052ffaf8d597f834ff35e3aa87d14d4 = cache_frame_3052ffaf8d597f834ff35e3aa87d14d4;
// Push the new frame as the currently active one.
pushFrameStack( frame_3052ffaf8d597f834ff35e3aa87d14d4 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_3052ffaf8d597f834ff35e3aa87d14d4 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_left_name_1;
PyObject *tmp_right_name_1;
PyObject *tmp_source_name_1;
tmp_left_name_1 = const_str_digest_6181242e4217a24e8c5728bdfbc9a317;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_right_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_reason );
if ( tmp_right_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 39;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
Py_DECREF( tmp_right_name_1 );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 39;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_3052ffaf8d597f834ff35e3aa87d14d4 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_3052ffaf8d597f834ff35e3aa87d14d4 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_3052ffaf8d597f834ff35e3aa87d14d4 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_3052ffaf8d597f834ff35e3aa87d14d4, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_3052ffaf8d597f834ff35e3aa87d14d4->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_3052ffaf8d597f834ff35e3aa87d14d4, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_3052ffaf8d597f834ff35e3aa87d14d4,
type_description_1,
par_self
);
// Release cached frame.
if ( frame_3052ffaf8d597f834ff35e3aa87d14d4 == cache_frame_3052ffaf8d597f834ff35e3aa87d14d4 )
{
Py_DECREF( frame_3052ffaf8d597f834ff35e3aa87d14d4 );
}
cache_frame_3052ffaf8d597f834ff35e3aa87d14d4 = NULL;
assertFrameObject( frame_3052ffaf8d597f834ff35e3aa87d14d4 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_2___str__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = 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_self );
par_self = 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:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_2___str__ );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_future$backports$urllib$error$$$function_3___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_url = python_pars[ 1 ];
PyObject *par_code = python_pars[ 2 ];
PyObject *par_msg = python_pars[ 3 ];
PyObject *par_hdrs = python_pars[ 4 ];
PyObject *par_fp = python_pars[ 5 ];
struct Nuitka_FrameObject *frame_520be05e1b910a00b828413ad4b7e6f8;
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;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
static struct Nuitka_FrameObject *cache_frame_520be05e1b910a00b828413ad4b7e6f8 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_520be05e1b910a00b828413ad4b7e6f8, codeobj_520be05e1b910a00b828413ad4b7e6f8, module_future$backports$urllib$error, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_520be05e1b910a00b828413ad4b7e6f8 = cache_frame_520be05e1b910a00b828413ad4b7e6f8;
// Push the new frame as the currently active one.
pushFrameStack( frame_520be05e1b910a00b828413ad4b7e6f8 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_520be05e1b910a00b828413ad4b7e6f8 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT( par_code );
tmp_assattr_name_1 = par_code;
CHECK_OBJECT( par_self );
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_code, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 46;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_assattr_target_2;
if ( par_msg == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "msg" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 47;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_2 = par_msg;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 47;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_msg, tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 47;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_3;
PyObject *tmp_assattr_target_3;
if ( par_hdrs == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "hdrs" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 48;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_3 = par_hdrs;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 48;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_hdrs, tmp_assattr_name_3 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 48;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_4;
PyObject *tmp_assattr_target_4;
if ( par_fp == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fp" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 49;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_4 = par_fp;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 49;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_fp, tmp_assattr_name_4 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 49;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_5;
PyObject *tmp_assattr_target_5;
if ( par_url == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "url" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 50;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_5 = par_url;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 50;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_filename, tmp_assattr_name_5 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 50;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
if ( par_fp == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fp" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 55;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_1 = par_fp;
tmp_compexpr_right_1 = Py_None;
tmp_condition_result_1 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? 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_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
PyObject *tmp_args_element_name_3;
PyObject *tmp_args_element_name_4;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 56;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_source_name_1 = par_self;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__HTTPError__super_init );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 56;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if ( par_fp == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fp" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 56;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_fp;
if ( par_hdrs == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "hdrs" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 56;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = par_hdrs;
if ( par_url == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "url" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 56;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_3 = par_url;
if ( par_code == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "code" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 56;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_4 = par_code;
frame_520be05e1b910a00b828413ad4b7e6f8->m_frame.f_lineno = 56;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4 };
tmp_unused = CALL_FUNCTION_WITH_ARGS4( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 56;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_1:;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_520be05e1b910a00b828413ad4b7e6f8 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_520be05e1b910a00b828413ad4b7e6f8 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_520be05e1b910a00b828413ad4b7e6f8, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_520be05e1b910a00b828413ad4b7e6f8->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_520be05e1b910a00b828413ad4b7e6f8, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_520be05e1b910a00b828413ad4b7e6f8,
type_description_1,
par_self,
par_url,
par_code,
par_msg,
par_hdrs,
par_fp
);
// Release cached frame.
if ( frame_520be05e1b910a00b828413ad4b7e6f8 == cache_frame_520be05e1b910a00b828413ad4b7e6f8 )
{
Py_DECREF( frame_520be05e1b910a00b828413ad4b7e6f8 );
}
cache_frame_520be05e1b910a00b828413ad4b7e6f8 = NULL;
assertFrameObject( frame_520be05e1b910a00b828413ad4b7e6f8 );
// 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;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_3___init__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_url );
par_url = NULL;
}
{
Py_XDECREF( par_code );
par_code = NULL;
}
{
Py_XDECREF( par_msg );
par_msg = NULL;
}
{
Py_XDECREF( par_hdrs );
par_hdrs = NULL;
}
{
Py_XDECREF( par_fp );
par_fp = 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_self );
par_self = NULL;
}
{
Py_XDECREF( par_url );
par_url = NULL;
}
{
Py_XDECREF( par_code );
par_code = NULL;
}
{
Py_XDECREF( par_msg );
par_msg = NULL;
}
{
Py_XDECREF( par_hdrs );
par_hdrs = NULL;
}
{
Py_XDECREF( par_fp );
par_fp = 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:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_3___init__ );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_future$backports$urllib$error$$$function_4___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_6b7b31bfb46cf3ad2af650b1a91745af;
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_6b7b31bfb46cf3ad2af650b1a91745af = 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 code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_6b7b31bfb46cf3ad2af650b1a91745af, codeobj_6b7b31bfb46cf3ad2af650b1a91745af, module_future$backports$urllib$error, sizeof(void *) );
frame_6b7b31bfb46cf3ad2af650b1a91745af = cache_frame_6b7b31bfb46cf3ad2af650b1a91745af;
// Push the new frame as the currently active one.
pushFrameStack( frame_6b7b31bfb46cf3ad2af650b1a91745af );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_6b7b31bfb46cf3ad2af650b1a91745af ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_left_name_1;
PyObject *tmp_right_name_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
tmp_left_name_1 = const_str_digest_ee876a31c96217fb9ac5caffc4830d3f;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_code );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 59;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_right_name_1 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 );
if ( par_self == NULL )
{
Py_DECREF( tmp_right_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 59;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_source_name_2 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_msg );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_1 );
exception_lineno = 59;
type_description_1 = "o";
goto frame_exception_exit_1;
}
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_1 );
tmp_return_value = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
Py_DECREF( tmp_right_name_1 );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 59;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_6b7b31bfb46cf3ad2af650b1a91745af );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_6b7b31bfb46cf3ad2af650b1a91745af );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_6b7b31bfb46cf3ad2af650b1a91745af );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_6b7b31bfb46cf3ad2af650b1a91745af, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_6b7b31bfb46cf3ad2af650b1a91745af->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_6b7b31bfb46cf3ad2af650b1a91745af, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_6b7b31bfb46cf3ad2af650b1a91745af,
type_description_1,
par_self
);
// Release cached frame.
if ( frame_6b7b31bfb46cf3ad2af650b1a91745af == cache_frame_6b7b31bfb46cf3ad2af650b1a91745af )
{
Py_DECREF( frame_6b7b31bfb46cf3ad2af650b1a91745af );
}
cache_frame_6b7b31bfb46cf3ad2af650b1a91745af = NULL;
assertFrameObject( frame_6b7b31bfb46cf3ad2af650b1a91745af );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_4___str__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = 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_self );
par_self = 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:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_4___str__ );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_future$backports$urllib$error$$$function_5_reason( 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_e2f8f33af100774f6d2d56ceb9fbce7c;
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_e2f8f33af100774f6d2d56ceb9fbce7c = 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 code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_e2f8f33af100774f6d2d56ceb9fbce7c, codeobj_e2f8f33af100774f6d2d56ceb9fbce7c, module_future$backports$urllib$error, sizeof(void *) );
frame_e2f8f33af100774f6d2d56ceb9fbce7c = cache_frame_e2f8f33af100774f6d2d56ceb9fbce7c;
// Push the new frame as the currently active one.
pushFrameStack( frame_e2f8f33af100774f6d2d56ceb9fbce7c );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_e2f8f33af100774f6d2d56ceb9fbce7c ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_source_name_1;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_msg );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 65;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_e2f8f33af100774f6d2d56ceb9fbce7c );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_e2f8f33af100774f6d2d56ceb9fbce7c );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_e2f8f33af100774f6d2d56ceb9fbce7c );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_e2f8f33af100774f6d2d56ceb9fbce7c, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_e2f8f33af100774f6d2d56ceb9fbce7c->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_e2f8f33af100774f6d2d56ceb9fbce7c, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_e2f8f33af100774f6d2d56ceb9fbce7c,
type_description_1,
par_self
);
// Release cached frame.
if ( frame_e2f8f33af100774f6d2d56ceb9fbce7c == cache_frame_e2f8f33af100774f6d2d56ceb9fbce7c )
{
Py_DECREF( frame_e2f8f33af100774f6d2d56ceb9fbce7c );
}
cache_frame_e2f8f33af100774f6d2d56ceb9fbce7c = NULL;
assertFrameObject( frame_e2f8f33af100774f6d2d56ceb9fbce7c );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_5_reason );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = 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_self );
par_self = 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:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_5_reason );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_future$backports$urllib$error$$$function_6_info( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
struct Nuitka_FrameObject *frame_0c5090061b1070300afeb83b50374a83;
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_0c5090061b1070300afeb83b50374a83 = 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 code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_0c5090061b1070300afeb83b50374a83, codeobj_0c5090061b1070300afeb83b50374a83, module_future$backports$urllib$error, sizeof(void *) );
frame_0c5090061b1070300afeb83b50374a83 = cache_frame_0c5090061b1070300afeb83b50374a83;
// Push the new frame as the currently active one.
pushFrameStack( frame_0c5090061b1070300afeb83b50374a83 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_0c5090061b1070300afeb83b50374a83 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_source_name_1;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_hdrs );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 68;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_0c5090061b1070300afeb83b50374a83 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_0c5090061b1070300afeb83b50374a83 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_0c5090061b1070300afeb83b50374a83 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_0c5090061b1070300afeb83b50374a83, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_0c5090061b1070300afeb83b50374a83->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_0c5090061b1070300afeb83b50374a83, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_0c5090061b1070300afeb83b50374a83,
type_description_1,
par_self
);
// Release cached frame.
if ( frame_0c5090061b1070300afeb83b50374a83 == cache_frame_0c5090061b1070300afeb83b50374a83 )
{
Py_DECREF( frame_0c5090061b1070300afeb83b50374a83 );
}
cache_frame_0c5090061b1070300afeb83b50374a83 = NULL;
assertFrameObject( frame_0c5090061b1070300afeb83b50374a83 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_6_info );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = 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_self );
par_self = 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:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_6_info );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_future$backports$urllib$error$$$function_7___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_message = python_pars[ 1 ];
PyObject *par_content = python_pars[ 2 ];
struct Nuitka_FrameObject *frame_d1ab4c096e2da1d96e33f64d47b08914;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED PyObject *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_d1ab4c096e2da1d96e33f64d47b08914 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_d1ab4c096e2da1d96e33f64d47b08914, codeobj_d1ab4c096e2da1d96e33f64d47b08914, module_future$backports$urllib$error, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_d1ab4c096e2da1d96e33f64d47b08914 = cache_frame_d1ab4c096e2da1d96e33f64d47b08914;
// Push the new frame as the currently active one.
pushFrameStack( frame_d1ab4c096e2da1d96e33f64d47b08914 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_d1ab4c096e2da1d96e33f64d47b08914 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_mvar_value_1;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_URLError );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_URLError );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "URLError" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 74;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_1 = tmp_mvar_value_1;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___init__ );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 74;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 74;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_self;
if ( par_message == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "message" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 74;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = par_message;
frame_d1ab4c096e2da1d96e33f64d47b08914->m_frame.f_lineno = 74;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 74;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
if ( par_content == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "content" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 75;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_1 = par_content;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 75;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_content, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 75;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_d1ab4c096e2da1d96e33f64d47b08914 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_d1ab4c096e2da1d96e33f64d47b08914 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_d1ab4c096e2da1d96e33f64d47b08914, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_d1ab4c096e2da1d96e33f64d47b08914->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_d1ab4c096e2da1d96e33f64d47b08914, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_d1ab4c096e2da1d96e33f64d47b08914,
type_description_1,
par_self,
par_message,
par_content
);
// Release cached frame.
if ( frame_d1ab4c096e2da1d96e33f64d47b08914 == cache_frame_d1ab4c096e2da1d96e33f64d47b08914 )
{
Py_DECREF( frame_d1ab4c096e2da1d96e33f64d47b08914 );
}
cache_frame_d1ab4c096e2da1d96e33f64d47b08914 = NULL;
assertFrameObject( frame_d1ab4c096e2da1d96e33f64d47b08914 );
// 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;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_7___init__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_message );
par_message = NULL;
}
{
Py_XDECREF( par_content );
par_content = 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_self );
par_self = NULL;
}
{
Py_XDECREF( par_message );
par_message = NULL;
}
{
Py_XDECREF( par_content );
par_content = 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:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error$$$function_7___init__ );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_1___init__( PyObject *defaults )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_future$backports$urllib$error$$$function_1___init__,
const_str_plain___init__,
#if PYTHON_VERSION >= 300
const_str_digest_53824c23e85cfa1cf7840f8dc5a0bc8b,
#endif
codeobj_59cdbabfd9bc5b03895da86730bf0521,
defaults,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_future$backports$urllib$error,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_2___str__( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_future$backports$urllib$error$$$function_2___str__,
const_str_plain___str__,
#if PYTHON_VERSION >= 300
const_str_digest_030cbab10abd84609fdf09fc1a0c762b,
#endif
codeobj_3052ffaf8d597f834ff35e3aa87d14d4,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_future$backports$urllib$error,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_3___init__( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_future$backports$urllib$error$$$function_3___init__,
const_str_plain___init__,
#if PYTHON_VERSION >= 300
const_str_digest_222267f1febf39c1ef1e61ba01762676,
#endif
codeobj_520be05e1b910a00b828413ad4b7e6f8,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_future$backports$urllib$error,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_4___str__( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_future$backports$urllib$error$$$function_4___str__,
const_str_plain___str__,
#if PYTHON_VERSION >= 300
const_str_digest_166f392afc41e242efe15b8de6b27134,
#endif
codeobj_6b7b31bfb46cf3ad2af650b1a91745af,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_future$backports$urllib$error,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_5_reason( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_future$backports$urllib$error$$$function_5_reason,
const_str_plain_reason,
#if PYTHON_VERSION >= 300
const_str_digest_c2be9e0e69a7ce0379a4b1f1dda54482,
#endif
codeobj_e2f8f33af100774f6d2d56ceb9fbce7c,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_future$backports$urllib$error,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_6_info( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_future$backports$urllib$error$$$function_6_info,
const_str_plain_info,
#if PYTHON_VERSION >= 300
const_str_digest_9ae43236726a55ce273542ff6c5d3ea2,
#endif
codeobj_0c5090061b1070300afeb83b50374a83,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_future$backports$urllib$error,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_future$backports$urllib$error$$$function_7___init__( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_future$backports$urllib$error$$$function_7___init__,
const_str_plain___init__,
#if PYTHON_VERSION >= 300
const_str_digest_03ba1cb3ca75b719ae66560a1cc2ccad,
#endif
codeobj_d1ab4c096e2da1d96e33f64d47b08914,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_future$backports$urllib$error,
NULL,
0
);
return (PyObject *)result;
}
#if PYTHON_VERSION >= 300
static struct PyModuleDef mdef_future$backports$urllib$error =
{
PyModuleDef_HEAD_INIT,
"future.backports.urllib.error", /* m_name */
NULL, /* m_doc */
-1, /* m_size */
NULL, /* m_methods */
NULL, /* m_reload */
NULL, /* m_traverse */
NULL, /* m_clear */
NULL, /* m_free */
};
#endif
extern PyObject *const_str_plain___package__;
#if PYTHON_VERSION >= 300
extern PyObject *const_str_dot;
extern PyObject *const_str_plain___loader__;
extern PyObject *metapath_based_loader;
#endif
#if PYTHON_VERSION >= 340
extern PyObject *const_str_plain___spec__;
extern PyObject *const_str_plain__initializing;
#endif
extern void _initCompiledCellType();
extern void _initCompiledGeneratorType();
extern void _initCompiledFunctionType();
extern void _initCompiledMethodType();
extern void _initCompiledFrameType();
#if PYTHON_VERSION >= 350
extern void _initCompiledCoroutineTypes();
#endif
#if PYTHON_VERSION >= 360
extern void _initCompiledAsyncgenTypes();
#endif
// The exported interface to CPython. On import of the module, this function
// gets called. It has to have an exact function name, in cases it's a shared
// library export. This is hidden behind the MOD_INIT_DECL.
MOD_INIT_DECL( future$backports$urllib$error )
{
#if defined(_NUITKA_EXE) || PYTHON_VERSION >= 300
static bool _init_done = false;
// Modules might be imported repeatedly, which is to be ignored.
if ( _init_done )
{
return MOD_RETURN_VALUE( module_future$backports$urllib$error );
}
else
{
_init_done = true;
}
#endif
#ifdef _NUITKA_MODULE
// In case of a stand alone extension module, need to call initialization
// the init here because that's the first and only time we are going to get
// called here.
// Initialize the constant values used.
_initBuiltinModule();
createGlobalConstants();
/* Initialize the compiled types of Nuitka. */
_initCompiledCellType();
_initCompiledGeneratorType();
_initCompiledFunctionType();
_initCompiledMethodType();
_initCompiledFrameType();
#if PYTHON_VERSION >= 350
_initCompiledCoroutineTypes();
#endif
#if PYTHON_VERSION >= 360
_initCompiledAsyncgenTypes();
#endif
#if PYTHON_VERSION < 300
_initSlotCompare();
#endif
#if PYTHON_VERSION >= 270
_initSlotIternext();
#endif
patchBuiltinModule();
patchTypeComparison();
// Enable meta path based loader if not already done.
#ifdef _NUITKA_TRACE
puts("future.backports.urllib.error: Calling setupMetaPathBasedLoader().");
#endif
setupMetaPathBasedLoader();
#if PYTHON_VERSION >= 300
patchInspectModule();
#endif
#endif
/* The constants only used by this module are created now. */
#ifdef _NUITKA_TRACE
puts("future.backports.urllib.error: Calling createModuleConstants().");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
puts("future.backports.urllib.error: Calling createModuleCodeObjects().");
#endif
createModuleCodeObjects();
// puts( "in initfuture$backports$urllib$error" );
// Create the module object first. There are no methods initially, all are
// added dynamically in actual code only. Also no "__doc__" is initially
// set at this time, as it could not contain NUL characters this way, they
// are instead set in early module code. No "self" for modules, we have no
// use for it.
#if PYTHON_VERSION < 300
module_future$backports$urllib$error = Py_InitModule4(
"future.backports.urllib.error", // Module Name
NULL, // No methods initially, all are added
// dynamically in actual module code only.
NULL, // No "__doc__" is initially set, as it could
// not contain NUL this way, added early in
// actual code.
NULL, // No self for modules, we don't use it.
PYTHON_API_VERSION
);
#else
module_future$backports$urllib$error = PyModule_Create( &mdef_future$backports$urllib$error );
#endif
moduledict_future$backports$urllib$error = MODULE_DICT( module_future$backports$urllib$error );
// Update "__package__" value to what it ought to be.
{
#if 0
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain___name__ );
UPDATE_STRING_DICT1(
moduledict_future$backports$urllib$error,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 300
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$backports$urllib$error, (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_future$backports$urllib$error,
(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_future$backports$urllib$error, (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_future$backports$urllib$error,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring( module_name, 0, dot_index )
);
}
#endif
#endif
}
CHECK_OBJECT( module_future$backports$urllib$error );
// Seems to work for Python2.7 out of the box, but for Python3, the module
// doesn't automatically enter "sys.modules", so do it manually.
#if PYTHON_VERSION >= 300
{
int r = PyObject_SetItem( PySys_GetObject( (char *)"modules" ), const_str_digest_68bb97bcb5267dffd4b13c20d5a14818, module_future$backports$urllib$error );
assert( r != -1 );
}
#endif
// 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_future$backports$urllib$error, (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_EXE) || !0
value = PyModule_GetDict( value );
#endif
UPDATE_STRING_DICT0( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain___builtins__, value );
}
#if PYTHON_VERSION >= 300
UPDATE_STRING_DICT0( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
#endif
#if PYTHON_VERSION >= 340
#if 0
UPDATE_STRING_DICT0( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain___spec__, Py_None );
#else
{
PyObject *bootstrap_module = PyImport_ImportModule("importlib._bootstrap");
CHECK_OBJECT( bootstrap_module );
PyObject *module_spec_class = PyObject_GetAttrString( bootstrap_module, "ModuleSpec" );
Py_DECREF( bootstrap_module );
PyObject *args[] = {
GET_STRING_DICT_VALUE( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain___name__ ),
metapath_based_loader
};
PyObject *spec_value = CALL_FUNCTION_WITH_ARGS2(
module_spec_class,
args
);
SET_ATTRIBUTE( spec_value, const_str_plain__initializing, Py_True );
UPDATE_STRING_DICT1( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain___spec__, spec_value );
Py_DECREF( module_spec_class );
}
#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;
struct Nuitka_FrameObject *frame_423e0f0b1eb02bbe068f233a3fd4468d;
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;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
bool tmp_result;
PyObject *locals_future$backports$urllib$error_26 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_32365a5298a8c023f4335e1121bddd82_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_32365a5298a8c023f4335e1121bddd82_2 = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
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 *locals_future$backports$urllib$error_41 = NULL;
struct Nuitka_FrameObject *frame_2838c0a614368495c74bb211f9addf39_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_2838c0a614368495c74bb211f9addf39_3 = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
PyObject *locals_future$backports$urllib$error_72 = NULL;
struct Nuitka_FrameObject *frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4 = 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;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = const_str_digest_f3b04471f62d2dc6e2277e196afe9870;
UPDATE_STRING_DICT0( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = const_str_digest_7a0637ff0a08d5788d0cccf7741daa08;
UPDATE_STRING_DICT0( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain___file__, tmp_assign_source_2 );
}
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = Py_None;
UPDATE_STRING_DICT0( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = PyImport_ImportModule("__future__");
assert( !(tmp_assign_source_4 == NULL) );
assert( tmp_import_from_1__module == NULL );
Py_INCREF( tmp_assign_source_4 );
tmp_import_from_1__module = tmp_assign_source_4;
}
// Frame without reuse.
frame_423e0f0b1eb02bbe068f233a3fd4468d = MAKE_MODULE_FRAME( codeobj_423e0f0b1eb02bbe068f233a3fd4468d, module_future$backports$urllib$error );
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack( frame_423e0f0b1eb02bbe068f233a3fd4468d );
assert( Py_REFCNT( frame_423e0f0b1eb02bbe068f233a3fd4468d ) == 2 );
// Framed code:
{
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_import_name_from_1;
CHECK_OBJECT( tmp_import_from_1__module );
tmp_import_name_from_1 = tmp_import_from_1__module;
tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_absolute_import );
if ( tmp_assign_source_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 13;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_absolute_import, tmp_assign_source_5 );
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_import_name_from_2;
CHECK_OBJECT( tmp_import_from_1__module );
tmp_import_name_from_2 = tmp_import_from_1__module;
tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_division );
if ( tmp_assign_source_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 13;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_division, tmp_assign_source_6 );
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_import_name_from_3;
CHECK_OBJECT( tmp_import_from_1__module );
tmp_import_name_from_3 = tmp_import_from_1__module;
tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_unicode_literals );
if ( tmp_assign_source_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 13;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_unicode_literals, tmp_assign_source_7 );
}
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( (PyObject *)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( (PyObject *)tmp_import_from_1__module );
Py_DECREF( tmp_import_from_1__module );
tmp_import_from_1__module = NULL;
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_import_name_from_4;
PyObject *tmp_name_name_1;
PyObject *tmp_globals_name_1;
PyObject *tmp_locals_name_1;
PyObject *tmp_fromlist_name_1;
PyObject *tmp_level_name_1;
tmp_name_name_1 = const_str_plain_future;
tmp_globals_name_1 = (PyObject *)moduledict_future$backports$urllib$error;
tmp_locals_name_1 = Py_None;
tmp_fromlist_name_1 = const_tuple_str_plain_standard_library_tuple;
tmp_level_name_1 = const_int_0;
frame_423e0f0b1eb02bbe068f233a3fd4468d->m_frame.f_lineno = 14;
tmp_import_name_from_4 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
if ( tmp_import_name_from_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 14;
goto frame_exception_exit_1;
}
tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_standard_library );
Py_DECREF( tmp_import_name_from_4 );
if ( tmp_assign_source_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 14;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_standard_library, tmp_assign_source_8 );
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_import_name_from_5;
PyObject *tmp_name_name_2;
PyObject *tmp_globals_name_2;
PyObject *tmp_locals_name_2;
PyObject *tmp_fromlist_name_2;
PyObject *tmp_level_name_2;
tmp_name_name_2 = const_str_digest_0ac0833f32ef9672b68f8e39be86bb39;
tmp_globals_name_2 = (PyObject *)moduledict_future$backports$urllib$error;
tmp_locals_name_2 = Py_None;
tmp_fromlist_name_2 = const_tuple_str_plain_response_tuple;
tmp_level_name_2 = const_int_0;
frame_423e0f0b1eb02bbe068f233a3fd4468d->m_frame.f_lineno = 16;
tmp_import_name_from_5 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 );
if ( tmp_import_name_from_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 16;
goto frame_exception_exit_1;
}
tmp_assign_source_9 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_response );
Py_DECREF( tmp_import_name_from_5 );
if ( tmp_assign_source_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 16;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_urllib_response, tmp_assign_source_9 );
}
{
PyObject *tmp_assign_source_10;
tmp_assign_source_10 = LIST_COPY( const_list_d3e364208de3d0eca6cabf8daa8c2522_list );
UPDATE_STRING_DICT1( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain___all__, tmp_assign_source_10 );
}
{
// Tried code:
{
PyObject *tmp_assign_source_11;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = const_tuple_type_OSError_tuple;
Py_INCREF( tmp_dircall_arg1_1 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_11 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
}
if ( tmp_assign_source_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_2;
}
assert( tmp_class_creation_1__bases == NULL );
tmp_class_creation_1__bases = tmp_assign_source_11;
}
{
PyObject *tmp_assign_source_12;
tmp_assign_source_12 = PyDict_New();
assert( tmp_class_creation_1__class_decl_dict == NULL );
tmp_class_creation_1__class_decl_dict = tmp_assign_source_12;
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_metaclass_name_1;
nuitka_bool tmp_condition_result_1;
PyObject *tmp_key_name_1;
PyObject *tmp_dict_name_1;
PyObject *tmp_dict_name_2;
PyObject *tmp_key_name_2;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_subscript_name_1;
PyObject *tmp_bases_name_1;
tmp_key_name_1 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_1, tmp_key_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_2;
}
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_1;
}
else
{
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_name_2 = const_str_plain_metaclass;
tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 );
if ( tmp_metaclass_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_2;
}
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 = 26;
goto try_except_handler_2;
}
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_2;
}
else
{
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_subscribed_name_1 = tmp_class_creation_1__bases;
tmp_subscript_name_1 = const_int_0;
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
if ( tmp_type_arg_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_2;
}
tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 );
Py_DECREF( tmp_type_arg_1 );
if ( tmp_metaclass_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_2;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_name_1 = (PyObject *)&PyType_Type;
Py_INCREF( tmp_metaclass_name_1 );
condexpr_end_2:;
condexpr_end_1:;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_bases_name_1 = tmp_class_creation_1__bases;
tmp_assign_source_13 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
Py_DECREF( tmp_metaclass_name_1 );
if ( tmp_assign_source_13 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_2;
}
assert( tmp_class_creation_1__metaclass == NULL );
tmp_class_creation_1__metaclass = tmp_assign_source_13;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_key_name_3;
PyObject *tmp_dict_name_3;
tmp_key_name_3 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_2;
}
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
{
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 = const_str_plain_metaclass;
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 = 26;
goto try_except_handler_2;
}
}
branch_no_1:;
}
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_source_name_1;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_source_name_1 = tmp_class_creation_1__metaclass;
tmp_res = PyObject_HasAttr( tmp_source_name_1, const_str_plain___prepare__ );
tmp_condition_result_4 = ( tmp_res != 0 ) ? 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_14;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_args_name_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kw_name_1;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_source_name_2 = tmp_class_creation_1__metaclass;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___prepare__ );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_2;
}
tmp_tuple_element_1 = const_str_plain_URLError;
tmp_args_name_1 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_tuple_element_1 = tmp_class_creation_1__bases;
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
frame_423e0f0b1eb02bbe068f233a3fd4468d->m_frame.f_lineno = 26;
tmp_assign_source_14 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 );
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_name_1 );
if ( tmp_assign_source_14 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_2;
}
assert( tmp_class_creation_1__prepared == NULL );
tmp_class_creation_1__prepared = tmp_assign_source_14;
}
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_operand_name_1;
PyObject *tmp_source_name_3;
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_source_name_3 = tmp_class_creation_1__prepared;
tmp_res = PyObject_HasAttr( tmp_source_name_3, const_str_plain___getitem__ );
tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_2;
}
tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
{
goto branch_yes_3;
}
else
{
goto branch_no_3;
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_left_name_1;
PyObject *tmp_right_name_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
PyObject *tmp_source_name_4;
PyObject *tmp_type_arg_2;
tmp_raise_type_1 = PyExc_TypeError;
tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = const_str_plain___name__;
tmp_getattr_default_1 = const_str_angle_metaclass;
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 = 26;
goto try_except_handler_2;
}
tmp_right_name_1 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_2 );
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_source_name_4 = BUILTIN_TYPE1( tmp_type_arg_2 );
assert( !(tmp_source_name_4 == NULL) );
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ );
Py_DECREF( tmp_source_name_4 );
if ( tmp_tuple_element_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_1 );
exception_lineno = 26;
goto try_except_handler_2;
}
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_2 );
tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
Py_DECREF( tmp_right_name_1 );
if ( tmp_raise_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_2;
}
exception_type = tmp_raise_type_1;
Py_INCREF( tmp_raise_type_1 );
exception_value = tmp_raise_value_1;
exception_lineno = 26;
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
goto try_except_handler_2;
}
branch_no_3:;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_15;
tmp_assign_source_15 = PyDict_New();
assert( tmp_class_creation_1__prepared == NULL );
tmp_class_creation_1__prepared = tmp_assign_source_15;
}
branch_end_2:;
}
{
PyObject *tmp_assign_source_16;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_future$backports$urllib$error_26 = tmp_set_locals_1;
Py_INCREF( tmp_set_locals_1 );
}
{
// Tried code:
{
// Tried code:
{
tmp_dictset_value = const_str_digest_68bb97bcb5267dffd4b13c20d5a14818;
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_26, const_str_plain___module__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_4;
}
}
{
tmp_dictset_value = const_str_plain_URLError;
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_26, const_str_plain___qualname__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_4;
}
}
MAKE_OR_REUSE_FRAME( cache_frame_32365a5298a8c023f4335e1121bddd82_2, codeobj_32365a5298a8c023f4335e1121bddd82, module_future$backports$urllib$error, sizeof(void *) );
frame_32365a5298a8c023f4335e1121bddd82_2 = cache_frame_32365a5298a8c023f4335e1121bddd82_2;
// Push the new frame as the currently active one.
pushFrameStack( frame_32365a5298a8c023f4335e1121bddd82_2 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_32365a5298a8c023f4335e1121bddd82_2 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_1;
tmp_defaults_1 = const_tuple_none_tuple;
Py_INCREF( tmp_defaults_1 );
tmp_dictset_value = MAKE_FUNCTION_future$backports$urllib$error$$$function_1___init__( tmp_defaults_1 );
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_26, const_str_plain___init__, 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 = 32;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_future$backports$urllib$error$$$function_2___str__( );
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_26, const_str_plain___str__, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 38;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_32365a5298a8c023f4335e1121bddd82_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_32365a5298a8c023f4335e1121bddd82_2 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_32365a5298a8c023f4335e1121bddd82_2, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_32365a5298a8c023f4335e1121bddd82_2->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_32365a5298a8c023f4335e1121bddd82_2, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_32365a5298a8c023f4335e1121bddd82_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame.
if ( frame_32365a5298a8c023f4335e1121bddd82_2 == cache_frame_32365a5298a8c023f4335e1121bddd82_2 )
{
Py_DECREF( frame_32365a5298a8c023f4335e1121bddd82_2 );
}
cache_frame_32365a5298a8c023f4335e1121bddd82_2 = NULL;
assertFrameObject( frame_32365a5298a8c023f4335e1121bddd82_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_4;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_compexpr_left_1 = tmp_class_creation_1__bases;
tmp_compexpr_right_1 = const_tuple_type_OSError_tuple;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_4;
}
tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
{
goto branch_yes_4;
}
else
{
goto branch_no_4;
}
branch_yes_4:;
{
tmp_dictset_value = const_tuple_type_OSError_tuple;
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_26, const_str_plain___orig_bases__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_4;
}
}
branch_no_4:;
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_called_name_2;
PyObject *tmp_args_name_2;
PyObject *tmp_tuple_element_3;
PyObject *tmp_kw_name_2;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_called_name_2 = tmp_class_creation_1__metaclass;
tmp_tuple_element_3 = const_str_plain_URLError;
tmp_args_name_2 = PyTuple_New( 3 );
Py_INCREF( tmp_tuple_element_3 );
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_3 );
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_tuple_element_3 = tmp_class_creation_1__bases;
Py_INCREF( tmp_tuple_element_3 );
PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_3 );
tmp_tuple_element_3 = locals_future$backports$urllib$error_26;
Py_INCREF( tmp_tuple_element_3 );
PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_3 );
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
frame_423e0f0b1eb02bbe068f233a3fd4468d->m_frame.f_lineno = 26;
tmp_assign_source_17 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 );
Py_DECREF( tmp_args_name_2 );
if ( tmp_assign_source_17 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
goto try_except_handler_4;
}
assert( outline_0_var___class__ == NULL );
outline_0_var___class__ = tmp_assign_source_17;
}
{
CHECK_OBJECT( outline_0_var___class__ );
tmp_assign_source_16 = outline_0_var___class__;
Py_INCREF( tmp_assign_source_16 );
goto try_return_handler_4;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_4:;
{
Py_DECREF( locals_future$backports$urllib$error_26 );
locals_future$backports$urllib$error_26 = NULL;
}
{
goto try_return_handler_3;
}
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_DECREF( locals_future$backports$urllib$error_26 );
locals_future$backports$urllib$error_26 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
}
// End of try:
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_3:;
{
CHECK_OBJECT( (PyObject *)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_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;
{
// 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 outline_exception_1;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error );
return MOD_RETURN_VALUE( NULL );
outline_exception_1:;
exception_lineno = 26;
goto try_except_handler_2;
outline_result_1:;
UPDATE_STRING_DICT1( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_URLError, tmp_assign_source_16 );
}
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_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_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
}
// End of try:
try_end_2:;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases );
Py_DECREF( tmp_class_creation_1__bases );
tmp_class_creation_1__bases = NULL;
}
{
CHECK_OBJECT( (PyObject *)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( (PyObject *)tmp_class_creation_1__metaclass );
Py_DECREF( tmp_class_creation_1__metaclass );
tmp_class_creation_1__metaclass = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared );
Py_DECREF( tmp_class_creation_1__prepared );
tmp_class_creation_1__prepared = NULL;
}
{
// Tried code:
{
PyObject *tmp_assign_source_18;
PyObject *tmp_tuple_element_4;
PyObject *tmp_mvar_value_1;
PyObject *tmp_source_name_5;
PyObject *tmp_mvar_value_2;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_URLError );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_URLError );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "URLError" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_tuple_element_4 = tmp_mvar_value_1;
tmp_assign_source_18 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_4 );
PyTuple_SET_ITEM( tmp_assign_source_18, 0, tmp_tuple_element_4 );
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_urllib_response );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_urllib_response );
}
if ( tmp_mvar_value_2 == NULL )
{
Py_DECREF( tmp_assign_source_18 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "urllib_response" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_source_name_5 = tmp_mvar_value_2;
tmp_tuple_element_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_addinfourl );
if ( tmp_tuple_element_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_assign_source_18 );
exception_lineno = 41;
goto try_except_handler_5;
}
PyTuple_SET_ITEM( tmp_assign_source_18, 1, tmp_tuple_element_4 );
assert( tmp_class_creation_2__bases_orig == NULL );
tmp_class_creation_2__bases_orig = tmp_assign_source_18;
}
{
PyObject *tmp_assign_source_19;
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_19 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
}
if ( tmp_assign_source_19 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
assert( tmp_class_creation_2__bases == NULL );
tmp_class_creation_2__bases = tmp_assign_source_19;
}
{
PyObject *tmp_assign_source_20;
tmp_assign_source_20 = PyDict_New();
assert( tmp_class_creation_2__class_decl_dict == NULL );
tmp_class_creation_2__class_decl_dict = tmp_assign_source_20;
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_metaclass_name_2;
nuitka_bool tmp_condition_result_7;
PyObject *tmp_key_name_4;
PyObject *tmp_dict_name_4;
PyObject *tmp_dict_name_5;
PyObject *tmp_key_name_5;
nuitka_bool tmp_condition_result_8;
int tmp_truth_name_2;
PyObject *tmp_type_arg_3;
PyObject *tmp_subscribed_name_2;
PyObject *tmp_subscript_name_2;
PyObject *tmp_bases_name_2;
tmp_key_name_4 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_dict_name_4 = tmp_class_creation_2__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_4, tmp_key_name_4 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_3;
}
else
{
goto condexpr_false_3;
}
condexpr_true_3:;
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_dict_name_5 = tmp_class_creation_2__class_decl_dict;
tmp_key_name_5 = const_str_plain_metaclass;
tmp_metaclass_name_2 = DICT_GET_ITEM( tmp_dict_name_5, tmp_key_name_5 );
if ( tmp_metaclass_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
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 = 41;
goto try_except_handler_5;
}
tmp_condition_result_8 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
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_subscribed_name_2 = tmp_class_creation_2__bases;
tmp_subscript_name_2 = const_int_0;
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 );
if ( tmp_type_arg_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_metaclass_name_2 = BUILTIN_TYPE1( tmp_type_arg_3 );
Py_DECREF( tmp_type_arg_3 );
if ( tmp_metaclass_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_metaclass_name_2 = (PyObject *)&PyType_Type;
Py_INCREF( tmp_metaclass_name_2 );
condexpr_end_4:;
condexpr_end_3:;
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_bases_name_2 = tmp_class_creation_2__bases;
tmp_assign_source_21 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 );
Py_DECREF( tmp_metaclass_name_2 );
if ( tmp_assign_source_21 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
assert( tmp_class_creation_2__metaclass == NULL );
tmp_class_creation_2__metaclass = tmp_assign_source_21;
}
{
nuitka_bool tmp_condition_result_9;
PyObject *tmp_key_name_6;
PyObject *tmp_dict_name_6;
tmp_key_name_6 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_dict_name_6 = tmp_class_creation_2__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_6, tmp_key_name_6 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE )
{
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 = const_str_plain_metaclass;
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 = 41;
goto try_except_handler_5;
}
}
branch_no_5:;
}
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_source_name_6;
CHECK_OBJECT( tmp_class_creation_2__metaclass );
tmp_source_name_6 = tmp_class_creation_2__metaclass;
tmp_res = PyObject_HasAttr( tmp_source_name_6, const_str_plain___prepare__ );
tmp_condition_result_10 = ( tmp_res != 0 ) ? 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_22;
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_7;
PyObject *tmp_args_name_3;
PyObject *tmp_tuple_element_5;
PyObject *tmp_kw_name_3;
CHECK_OBJECT( tmp_class_creation_2__metaclass );
tmp_source_name_7 = tmp_class_creation_2__metaclass;
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain___prepare__ );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
tmp_tuple_element_5 = const_str_plain_HTTPError;
tmp_args_name_3 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_5 );
PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_5 );
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_tuple_element_5 = tmp_class_creation_2__bases;
Py_INCREF( tmp_tuple_element_5 );
PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_5 );
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict;
frame_423e0f0b1eb02bbe068f233a3fd4468d->m_frame.f_lineno = 41;
tmp_assign_source_22 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_3, tmp_kw_name_3 );
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_args_name_3 );
if ( tmp_assign_source_22 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
assert( tmp_class_creation_2__prepared == NULL );
tmp_class_creation_2__prepared = tmp_assign_source_22;
}
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_operand_name_2;
PyObject *tmp_source_name_8;
CHECK_OBJECT( tmp_class_creation_2__prepared );
tmp_source_name_8 = tmp_class_creation_2__prepared;
tmp_res = PyObject_HasAttr( tmp_source_name_8, const_str_plain___getitem__ );
tmp_operand_name_2 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
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_7;
}
else
{
goto branch_no_7;
}
branch_yes_7:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_left_name_2;
PyObject *tmp_right_name_2;
PyObject *tmp_tuple_element_6;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
PyObject *tmp_source_name_9;
PyObject *tmp_type_arg_4;
tmp_raise_type_2 = PyExc_TypeError;
tmp_left_name_2 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
CHECK_OBJECT( tmp_class_creation_2__metaclass );
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = const_str_plain___name__;
tmp_getattr_default_2 = const_str_angle_metaclass;
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 = 41;
goto try_except_handler_5;
}
tmp_right_name_2 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_6 );
CHECK_OBJECT( tmp_class_creation_2__prepared );
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_source_name_9 = BUILTIN_TYPE1( tmp_type_arg_4 );
assert( !(tmp_source_name_9 == NULL) );
tmp_tuple_element_6 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain___name__ );
Py_DECREF( tmp_source_name_9 );
if ( tmp_tuple_element_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_2 );
exception_lineno = 41;
goto try_except_handler_5;
}
PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_6 );
tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
Py_DECREF( tmp_right_name_2 );
if ( tmp_raise_value_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_5;
}
exception_type = tmp_raise_type_2;
Py_INCREF( tmp_raise_type_2 );
exception_value = tmp_raise_value_2;
exception_lineno = 41;
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
goto try_except_handler_5;
}
branch_no_7:;
}
goto branch_end_6;
branch_no_6:;
{
PyObject *tmp_assign_source_23;
tmp_assign_source_23 = PyDict_New();
assert( tmp_class_creation_2__prepared == NULL );
tmp_class_creation_2__prepared = tmp_assign_source_23;
}
branch_end_6:;
}
{
PyObject *tmp_assign_source_24;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT( tmp_class_creation_2__prepared );
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_future$backports$urllib$error_41 = tmp_set_locals_2;
Py_INCREF( tmp_set_locals_2 );
}
{
// Tried code:
{
// Tried code:
{
tmp_dictset_value = const_str_digest_68bb97bcb5267dffd4b13c20d5a14818;
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_41, const_str_plain___module__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_7;
}
}
{
tmp_dictset_value = const_str_digest_589185e78d93a80ad8057662dd30f035;
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_41, const_str_plain___doc__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_7;
}
}
{
tmp_dictset_value = const_str_plain_HTTPError;
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_41, const_str_plain___qualname__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_7;
}
}
MAKE_OR_REUSE_FRAME( cache_frame_2838c0a614368495c74bb211f9addf39_3, codeobj_2838c0a614368495c74bb211f9addf39, module_future$backports$urllib$error, sizeof(void *) );
frame_2838c0a614368495c74bb211f9addf39_3 = cache_frame_2838c0a614368495c74bb211f9addf39_3;
// Push the new frame as the currently active one.
pushFrameStack( frame_2838c0a614368495c74bb211f9addf39_3 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_2838c0a614368495c74bb211f9addf39_3 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_source_name_10;
PyObject *tmp_source_name_11;
PyObject *tmp_mvar_value_3;
tmp_source_name_11 = PyObject_GetItem( locals_future$backports$urllib$error_41, const_str_plain_urllib_response );
if ( tmp_source_name_11 == NULL )
{
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_urllib_response );
if (unlikely( tmp_mvar_value_3 == NULL ))
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_urllib_response );
}
if ( tmp_mvar_value_3 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "urllib_response" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 43;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_source_name_11 = tmp_mvar_value_3;
Py_INCREF( tmp_source_name_11 );
}
}
tmp_source_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_addinfourl );
Py_DECREF( tmp_source_name_11 );
if ( tmp_source_name_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 43;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dictset_value = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain___init__ );
Py_DECREF( tmp_source_name_10 );
if ( tmp_dictset_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 43;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_41, const_str_plain__HTTPError__super_init, 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 = 43;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_future$backports$urllib$error$$$function_3___init__( );
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_41, const_str_plain___init__, 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 = 45;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_future$backports$urllib$error$$$function_4___str__( );
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_41, const_str_plain___str__, 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 = 58;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
nuitka_bool tmp_condition_result_12;
PyObject *tmp_called_name_4;
PyObject *tmp_args_element_name_1;
PyObject *tmp_called_name_5;
PyObject *tmp_args_element_name_2;
tmp_res = MAPPING_HAS_ITEM( locals_future$backports$urllib$error_41, const_str_plain_property );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 63;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_condition_result_12 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_5;
}
else
{
goto condexpr_false_5;
}
condexpr_true_5:;
tmp_called_name_4 = PyObject_GetItem( locals_future$backports$urllib$error_41, const_str_plain_property );
if ( tmp_called_name_4 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 63;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if ( tmp_called_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 63;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_args_element_name_1 = MAKE_FUNCTION_future$backports$urllib$error$$$function_5_reason( );
frame_2838c0a614368495c74bb211f9addf39_3->m_frame.f_lineno = 63;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
}
Py_DECREF( tmp_called_name_4 );
Py_DECREF( tmp_args_element_name_1 );
if ( tmp_dictset_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 63;
type_description_2 = "o";
goto frame_exception_exit_3;
}
goto condexpr_end_5;
condexpr_false_5:;
tmp_called_name_5 = (PyObject *)&PyProperty_Type;
tmp_args_element_name_2 = MAKE_FUNCTION_future$backports$urllib$error$$$function_5_reason( );
frame_2838c0a614368495c74bb211f9addf39_3->m_frame.f_lineno = 63;
{
PyObject *call_args[] = { tmp_args_element_name_2 };
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
}
Py_DECREF( tmp_args_element_name_2 );
if ( tmp_dictset_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 63;
type_description_2 = "o";
goto frame_exception_exit_3;
}
condexpr_end_5:;
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_41, const_str_plain_reason, 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 = 63;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_future$backports$urllib$error$$$function_6_info( );
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_41, const_str_plain_info, 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 = 67;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_2838c0a614368495c74bb211f9addf39_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_2838c0a614368495c74bb211f9addf39_3 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_2838c0a614368495c74bb211f9addf39_3, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_2838c0a614368495c74bb211f9addf39_3->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_2838c0a614368495c74bb211f9addf39_3, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_2838c0a614368495c74bb211f9addf39_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame.
if ( frame_2838c0a614368495c74bb211f9addf39_3 == cache_frame_2838c0a614368495c74bb211f9addf39_3 )
{
Py_DECREF( frame_2838c0a614368495c74bb211f9addf39_3 );
}
cache_frame_2838c0a614368495c74bb211f9addf39_3 = NULL;
assertFrameObject( frame_2838c0a614368495c74bb211f9addf39_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_7;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_compexpr_left_2;
PyObject *tmp_compexpr_right_2;
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_compexpr_left_2 = tmp_class_creation_2__bases;
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
tmp_compexpr_right_2 = tmp_class_creation_2__bases_orig;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_7;
}
tmp_condition_result_13 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_13 == 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_future$backports$urllib$error_41, const_str_plain___orig_bases__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_7;
}
}
branch_no_8:;
}
{
PyObject *tmp_assign_source_25;
PyObject *tmp_called_name_6;
PyObject *tmp_args_name_4;
PyObject *tmp_tuple_element_7;
PyObject *tmp_kw_name_4;
CHECK_OBJECT( tmp_class_creation_2__metaclass );
tmp_called_name_6 = tmp_class_creation_2__metaclass;
tmp_tuple_element_7 = const_str_plain_HTTPError;
tmp_args_name_4 = PyTuple_New( 3 );
Py_INCREF( tmp_tuple_element_7 );
PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_7 );
CHECK_OBJECT( tmp_class_creation_2__bases );
tmp_tuple_element_7 = tmp_class_creation_2__bases;
Py_INCREF( tmp_tuple_element_7 );
PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_7 );
tmp_tuple_element_7 = locals_future$backports$urllib$error_41;
Py_INCREF( tmp_tuple_element_7 );
PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_7 );
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict;
frame_423e0f0b1eb02bbe068f233a3fd4468d->m_frame.f_lineno = 41;
tmp_assign_source_25 = CALL_FUNCTION( tmp_called_name_6, tmp_args_name_4, tmp_kw_name_4 );
Py_DECREF( tmp_args_name_4 );
if ( tmp_assign_source_25 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 41;
goto try_except_handler_7;
}
assert( outline_1_var___class__ == NULL );
outline_1_var___class__ = tmp_assign_source_25;
}
{
CHECK_OBJECT( outline_1_var___class__ );
tmp_assign_source_24 = outline_1_var___class__;
Py_INCREF( tmp_assign_source_24 );
goto try_return_handler_7;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_7:;
{
Py_DECREF( locals_future$backports$urllib$error_41 );
locals_future$backports$urllib$error_41 = 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_future$backports$urllib$error_41 );
locals_future$backports$urllib$error_41 = 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:
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_6:;
{
CHECK_OBJECT( (PyObject *)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_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_2;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error );
return MOD_RETURN_VALUE( NULL );
outline_exception_2:;
exception_lineno = 41;
goto try_except_handler_5;
outline_result_2:;
UPDATE_STRING_DICT1( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_HTTPError, tmp_assign_source_24 );
}
goto try_end_3;
// 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_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_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_3:;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__bases );
Py_DECREF( tmp_class_creation_2__bases );
tmp_class_creation_2__bases = NULL;
}
{
CHECK_OBJECT( (PyObject *)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( (PyObject *)tmp_class_creation_2__metaclass );
Py_DECREF( tmp_class_creation_2__metaclass );
tmp_class_creation_2__metaclass = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__prepared );
Py_DECREF( tmp_class_creation_2__prepared );
tmp_class_creation_2__prepared = NULL;
}
{
// Tried code:
{
PyObject *tmp_assign_source_26;
PyObject *tmp_tuple_element_8;
PyObject *tmp_mvar_value_4;
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_URLError );
if (unlikely( tmp_mvar_value_4 == NULL ))
{
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_URLError );
}
if ( tmp_mvar_value_4 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "URLError" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 72;
goto try_except_handler_8;
}
tmp_tuple_element_8 = tmp_mvar_value_4;
tmp_assign_source_26 = PyTuple_New( 1 );
Py_INCREF( tmp_tuple_element_8 );
PyTuple_SET_ITEM( tmp_assign_source_26, 0, tmp_tuple_element_8 );
assert( tmp_class_creation_3__bases_orig == NULL );
tmp_class_creation_3__bases_orig = tmp_assign_source_26;
}
{
PyObject *tmp_assign_source_27;
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_27 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
}
if ( tmp_assign_source_27 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_8;
}
assert( tmp_class_creation_3__bases == NULL );
tmp_class_creation_3__bases = tmp_assign_source_27;
}
{
PyObject *tmp_assign_source_28;
tmp_assign_source_28 = PyDict_New();
assert( tmp_class_creation_3__class_decl_dict == NULL );
tmp_class_creation_3__class_decl_dict = tmp_assign_source_28;
}
{
PyObject *tmp_assign_source_29;
PyObject *tmp_metaclass_name_3;
nuitka_bool tmp_condition_result_14;
PyObject *tmp_key_name_7;
PyObject *tmp_dict_name_7;
PyObject *tmp_dict_name_8;
PyObject *tmp_key_name_8;
nuitka_bool tmp_condition_result_15;
int tmp_truth_name_3;
PyObject *tmp_type_arg_5;
PyObject *tmp_subscribed_name_3;
PyObject *tmp_subscript_name_3;
PyObject *tmp_bases_name_3;
tmp_key_name_7 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_dict_name_7 = tmp_class_creation_3__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_7, tmp_key_name_7 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_8;
}
tmp_condition_result_14 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
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__class_decl_dict );
tmp_dict_name_8 = tmp_class_creation_3__class_decl_dict;
tmp_key_name_8 = const_str_plain_metaclass;
tmp_metaclass_name_3 = DICT_GET_ITEM( tmp_dict_name_8, tmp_key_name_8 );
if ( tmp_metaclass_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_8;
}
goto condexpr_end_6;
condexpr_false_6:;
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 = 72;
goto try_except_handler_8;
}
tmp_condition_result_15 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_7;
}
else
{
goto condexpr_false_7;
}
condexpr_true_7:;
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_subscribed_name_3 = tmp_class_creation_3__bases;
tmp_subscript_name_3 = const_int_0;
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 );
if ( tmp_type_arg_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_8;
}
tmp_metaclass_name_3 = BUILTIN_TYPE1( tmp_type_arg_5 );
Py_DECREF( tmp_type_arg_5 );
if ( tmp_metaclass_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_8;
}
goto condexpr_end_7;
condexpr_false_7:;
tmp_metaclass_name_3 = (PyObject *)&PyType_Type;
Py_INCREF( tmp_metaclass_name_3 );
condexpr_end_7:;
condexpr_end_6:;
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_bases_name_3 = tmp_class_creation_3__bases;
tmp_assign_source_29 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 );
Py_DECREF( tmp_metaclass_name_3 );
if ( tmp_assign_source_29 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_8;
}
assert( tmp_class_creation_3__metaclass == NULL );
tmp_class_creation_3__metaclass = tmp_assign_source_29;
}
{
nuitka_bool tmp_condition_result_16;
PyObject *tmp_key_name_9;
PyObject *tmp_dict_name_9;
tmp_key_name_9 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_dict_name_9 = tmp_class_creation_3__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_9, tmp_key_name_9 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_8;
}
tmp_condition_result_16 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE )
{
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 = const_str_plain_metaclass;
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 = 72;
goto try_except_handler_8;
}
}
branch_no_9:;
}
{
nuitka_bool tmp_condition_result_17;
PyObject *tmp_source_name_12;
CHECK_OBJECT( tmp_class_creation_3__metaclass );
tmp_source_name_12 = tmp_class_creation_3__metaclass;
tmp_res = PyObject_HasAttr( tmp_source_name_12, const_str_plain___prepare__ );
tmp_condition_result_17 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE )
{
goto branch_yes_10;
}
else
{
goto branch_no_10;
}
branch_yes_10:;
{
PyObject *tmp_assign_source_30;
PyObject *tmp_called_name_7;
PyObject *tmp_source_name_13;
PyObject *tmp_args_name_5;
PyObject *tmp_tuple_element_9;
PyObject *tmp_kw_name_5;
CHECK_OBJECT( tmp_class_creation_3__metaclass );
tmp_source_name_13 = tmp_class_creation_3__metaclass;
tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain___prepare__ );
if ( tmp_called_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_8;
}
tmp_tuple_element_9 = const_str_plain_ContentTooShortError;
tmp_args_name_5 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_9 );
PyTuple_SET_ITEM( tmp_args_name_5, 0, tmp_tuple_element_9 );
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_tuple_element_9 = tmp_class_creation_3__bases;
Py_INCREF( tmp_tuple_element_9 );
PyTuple_SET_ITEM( tmp_args_name_5, 1, tmp_tuple_element_9 );
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_kw_name_5 = tmp_class_creation_3__class_decl_dict;
frame_423e0f0b1eb02bbe068f233a3fd4468d->m_frame.f_lineno = 72;
tmp_assign_source_30 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_5, tmp_kw_name_5 );
Py_DECREF( tmp_called_name_7 );
Py_DECREF( tmp_args_name_5 );
if ( tmp_assign_source_30 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_8;
}
assert( tmp_class_creation_3__prepared == NULL );
tmp_class_creation_3__prepared = tmp_assign_source_30;
}
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_operand_name_3;
PyObject *tmp_source_name_14;
CHECK_OBJECT( tmp_class_creation_3__prepared );
tmp_source_name_14 = tmp_class_creation_3__prepared;
tmp_res = PyObject_HasAttr( tmp_source_name_14, const_str_plain___getitem__ );
tmp_operand_name_3 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_8;
}
tmp_condition_result_18 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE )
{
goto branch_yes_11;
}
else
{
goto branch_no_11;
}
branch_yes_11:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_raise_value_3;
PyObject *tmp_left_name_3;
PyObject *tmp_right_name_3;
PyObject *tmp_tuple_element_10;
PyObject *tmp_getattr_target_3;
PyObject *tmp_getattr_attr_3;
PyObject *tmp_getattr_default_3;
PyObject *tmp_source_name_15;
PyObject *tmp_type_arg_6;
tmp_raise_type_3 = PyExc_TypeError;
tmp_left_name_3 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
CHECK_OBJECT( tmp_class_creation_3__metaclass );
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = const_str_plain___name__;
tmp_getattr_default_3 = const_str_angle_metaclass;
tmp_tuple_element_10 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 );
if ( tmp_tuple_element_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_8;
}
tmp_right_name_3 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_10 );
CHECK_OBJECT( tmp_class_creation_3__prepared );
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_source_name_15 = BUILTIN_TYPE1( tmp_type_arg_6 );
assert( !(tmp_source_name_15 == NULL) );
tmp_tuple_element_10 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain___name__ );
Py_DECREF( tmp_source_name_15 );
if ( tmp_tuple_element_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_3 );
exception_lineno = 72;
goto try_except_handler_8;
}
PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_10 );
tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 );
Py_DECREF( tmp_right_name_3 );
if ( tmp_raise_value_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_8;
}
exception_type = tmp_raise_type_3;
Py_INCREF( tmp_raise_type_3 );
exception_value = tmp_raise_value_3;
exception_lineno = 72;
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
goto try_except_handler_8;
}
branch_no_11:;
}
goto branch_end_10;
branch_no_10:;
{
PyObject *tmp_assign_source_31;
tmp_assign_source_31 = PyDict_New();
assert( tmp_class_creation_3__prepared == NULL );
tmp_class_creation_3__prepared = tmp_assign_source_31;
}
branch_end_10:;
}
{
PyObject *tmp_assign_source_32;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT( tmp_class_creation_3__prepared );
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_future$backports$urllib$error_72 = tmp_set_locals_3;
Py_INCREF( tmp_set_locals_3 );
}
{
// Tried code:
{
// Tried code:
{
tmp_dictset_value = const_str_digest_68bb97bcb5267dffd4b13c20d5a14818;
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_72, const_str_plain___module__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_10;
}
}
{
tmp_dictset_value = const_str_plain_ContentTooShortError;
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_72, const_str_plain___qualname__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_10;
}
}
MAKE_OR_REUSE_FRAME( cache_frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4, codeobj_b4e77fb4265c42fc3aa8f65e8514c5b9, module_future$backports$urllib$error, sizeof(void *) );
frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4 = cache_frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4;
// Push the new frame as the currently active one.
pushFrameStack( frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4 ) == 2 ); // Frame stack
// Framed code:
{
tmp_dictset_value = MAKE_FUNCTION_future$backports$urllib$error$$$function_7___init__( );
tmp_res = PyObject_SetItem( locals_future$backports$urllib$error_72, const_str_plain___init__, 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_4;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_b4e77fb4265c42fc3aa8f65e8514c5b9_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_b4e77fb4265c42fc3aa8f65e8514c5b9_4 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame.
if ( frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4 == cache_frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4 )
{
Py_DECREF( frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4 );
}
cache_frame_b4e77fb4265c42fc3aa8f65e8514c5b9_4 = NULL;
assertFrameObject( frame_b4e77fb4265c42fc3aa8f65e8514c5b9_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_10;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_19;
PyObject *tmp_compexpr_left_3;
PyObject *tmp_compexpr_right_3;
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_compexpr_left_3 = tmp_class_creation_3__bases;
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
tmp_compexpr_right_3 = tmp_class_creation_3__bases_orig;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_10;
}
tmp_condition_result_19 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_19 == 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_future$backports$urllib$error_72, const_str_plain___orig_bases__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_10;
}
}
branch_no_12:;
}
{
PyObject *tmp_assign_source_33;
PyObject *tmp_called_name_8;
PyObject *tmp_args_name_6;
PyObject *tmp_tuple_element_11;
PyObject *tmp_kw_name_6;
CHECK_OBJECT( tmp_class_creation_3__metaclass );
tmp_called_name_8 = tmp_class_creation_3__metaclass;
tmp_tuple_element_11 = const_str_plain_ContentTooShortError;
tmp_args_name_6 = PyTuple_New( 3 );
Py_INCREF( tmp_tuple_element_11 );
PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_11 );
CHECK_OBJECT( tmp_class_creation_3__bases );
tmp_tuple_element_11 = tmp_class_creation_3__bases;
Py_INCREF( tmp_tuple_element_11 );
PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_11 );
tmp_tuple_element_11 = locals_future$backports$urllib$error_72;
Py_INCREF( tmp_tuple_element_11 );
PyTuple_SET_ITEM( tmp_args_name_6, 2, tmp_tuple_element_11 );
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
tmp_kw_name_6 = tmp_class_creation_3__class_decl_dict;
frame_423e0f0b1eb02bbe068f233a3fd4468d->m_frame.f_lineno = 72;
tmp_assign_source_33 = CALL_FUNCTION( tmp_called_name_8, tmp_args_name_6, tmp_kw_name_6 );
Py_DECREF( tmp_args_name_6 );
if ( tmp_assign_source_33 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 72;
goto try_except_handler_10;
}
assert( outline_2_var___class__ == NULL );
outline_2_var___class__ = tmp_assign_source_33;
}
{
CHECK_OBJECT( outline_2_var___class__ );
tmp_assign_source_32 = outline_2_var___class__;
Py_INCREF( tmp_assign_source_32 );
goto try_return_handler_10;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_10:;
{
Py_DECREF( locals_future$backports$urllib$error_72 );
locals_future$backports$urllib$error_72 = 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_future$backports$urllib$error_72 );
locals_future$backports$urllib$error_72 = 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:
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_9:;
{
CHECK_OBJECT( (PyObject *)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_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_3;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( future$backports$urllib$error );
return MOD_RETURN_VALUE( NULL );
outline_exception_3:;
exception_lineno = 72;
goto try_except_handler_8;
outline_result_3:;
UPDATE_STRING_DICT1( moduledict_future$backports$urllib$error, (Nuitka_StringObject *)const_str_plain_ContentTooShortError, tmp_assign_source_32 );
}
goto try_end_4;
// 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_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_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_4:;
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION( frame_423e0f0b1eb02bbe068f233a3fd4468d );
#endif
popFrameStack();
assertFrameObject( frame_423e0f0b1eb02bbe068f233a3fd4468d );
goto frame_no_exception_4;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_423e0f0b1eb02bbe068f233a3fd4468d );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_423e0f0b1eb02bbe068f233a3fd4468d, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_423e0f0b1eb02bbe068f233a3fd4468d->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_423e0f0b1eb02bbe068f233a3fd4468d, exception_lineno );
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_4:;
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__bases );
Py_DECREF( tmp_class_creation_3__bases );
tmp_class_creation_3__bases = NULL;
}
{
CHECK_OBJECT( (PyObject *)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( (PyObject *)tmp_class_creation_3__metaclass );
Py_DECREF( tmp_class_creation_3__metaclass );
tmp_class_creation_3__metaclass = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__prepared );
Py_DECREF( tmp_class_creation_3__prepared );
tmp_class_creation_3__prepared = NULL;
}
return MOD_RETURN_VALUE( module_future$backports$urllib$error );
module_exception_exit:
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return MOD_RETURN_VALUE( NULL );
}