/* Generated code for Python source for module 'cryptography.hazmat.bindings.openssl.binding' * 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_cryptography$hazmat$bindings$openssl$binding 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_cryptography$hazmat$bindings$openssl$binding; PyDictObject *moduledict_cryptography$hazmat$bindings$openssl$binding; /* The module constants used, if any. */ extern PyObject *const_str_plain_threading; extern PyObject *const_str_plain_result; static PyObject *const_str_plain_ERR_clear_error; extern PyObject *const_str_plain_metaclass; extern PyObject *const_str_plain___name__; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_str_plain_string; extern PyObject *const_str_angle_metaclass; extern PyObject *const_str_plain_object; extern PyObject *const_str_plain___file__; extern PyObject *const_tuple_str_plain_cls_tuple; static PyObject *const_str_digest_22e7ff8a5d7ef59b1b5f554495922a5b; static PyObject *const_str_plain_ERR_GET_LIB; static PyObject *const_str_plain__lock_init_lock; extern PyObject *const_str_plain___exit__; extern PyObject *const_str_plain_err; extern PyObject *const_str_plain_division; extern PyObject *const_str_plain_items; static PyObject *const_tuple_str_plain__code_tuple; extern PyObject *const_str_plain_None; extern PyObject *const_tuple_str_plain_utils_tuple; extern PyObject *const_str_digest_c561652c58984ec0e9541542aa405594; extern PyObject *const_str_plain_classmethod; extern PyObject *const_str_plain___enter__; static PyObject *const_tuple_c24df5113eb972ed39d6d8b62de79bbd_tuple; extern PyObject *const_str_digest_6c6405718530cbdfc8da1bb69c050727; extern PyObject *const_str_plain_ffi; extern PyObject *const_str_plain_cls; extern PyObject *const_str_plain_func; static PyObject *const_str_plain_Cryptography_osrandom_engine_id; extern PyObject *const_str_plain_utils; extern PyObject *const_str_plain__original_lib; extern PyObject *const_tuple_none_none_none_tuple; extern PyObject *const_str_plain_absolute_import; extern PyObject *const_str_plain___doc__; extern PyObject *const_str_plain_reason; extern PyObject *const_str_plain___debug__; extern PyObject *const_str_plain___orig_bases__; extern PyObject *const_str_digest_82e5b7f1075745a8638e06059354d03c; extern PyObject *const_str_plain_res; static PyObject *const_tuple_7056d1f2eb2cbbba0d36135ac6c3381f_tuple; extern PyObject *const_str_plain_cryptography; static PyObject *const_tuple_str_plain__func_tuple; static PyObject *const_str_digest_047c6b447dfade6d8845cc4ae8e4b676; extern PyObject *const_str_plain_ModuleType; extern PyObject *const_str_plain___qualname__; static PyObject *const_tuple_431e219cf93316e04fa2f4f1604be0d2_tuple; extern PyObject *const_tuple_str_plain_lib_tuple; extern PyObject *const_tuple_str_plain_self_tuple; extern PyObject *const_str_plain_collections; static PyObject *const_str_plain__func; extern PyObject *const_str_plain_NULL; static PyObject *const_tuple_str_plain_InternalError_tuple; static PyObject *const_str_plain_OpenSSL_add_all_algorithms; static PyObject *const_tuple_str_plain_cls_str_plain_res_tuple; static PyObject *const_str_digest_efa6c897f21638d71383b5dc669202a1; extern PyObject *const_tuple_empty; static PyObject *const_str_plain_reason_text; static PyObject *const_str_plain__init_lock; extern PyObject *const_str_plain__osrandom_engine_id; static PyObject *const_str_plain_CRYPTO_get_locking_callback; static PyObject *const_str_plain_names_cb; extern PyObject *const_str_plain_append; extern PyObject *const_str_plain_new; static PyObject *const_str_plain_ERR_GET_FUNC; extern PyObject *const_str_plain_errors; extern PyObject *const_str_plain_CONDITIONAL_NAMES; static PyObject *const_str_digest_1268ed15a5af61c1049552ee3152e2ac; static PyObject *const_str_plain__code; extern PyObject *const_str_plain_attr; extern PyObject *const_str_plain__lib_reason_match; static PyObject *const_str_plain_err_func; static PyObject *const_str_plain_SSL_load_error_strings; static PyObject *const_str_plain_excluded_names; static PyObject *const_str_plain_errors_with_text; extern PyObject *const_str_plain___getitem__; static PyObject *const_str_plain_ERR_GET_REASON; static PyObject *const_tuple_str_plain__lib_tuple; extern PyObject *const_str_plain_lib; static PyObject *const_str_digest_244193a00b95ed0075657b5309c98f53; extern PyObject *const_str_plain_buf; extern PyObject *const_int_0; extern PyObject *const_str_plain__openssl_assert; static PyObject *const_str_plain__ensure_ffi_initialized; static PyObject *const_tuple_dd193d91f543831cbe02ffb782feaa76_tuple; static PyObject *const_str_digest_b11dfe4b707a71db6685885388346d53; extern PyObject *const_str_plain_ok; extern PyObject *const_str_plain_code; static PyObject *const_str_digest_20db5aae2ed376f38b63dff21905c22b; static PyObject *const_str_plain_ERR_error_string_n; static PyObject *const_str_plain__lib_loaded; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; extern PyObject *const_str_plain_Binding; static PyObject *const_str_digest_f65db0bec75f860dbddbe0963f328647; static PyObject *const_str_digest_db85465684dcabda354ab2e2bc883f38; extern PyObject *const_str_plain_condition; extern PyObject *const_str_plain_namedtuple; static PyObject *const_str_plain__OpenSSLError; static PyObject *const_tuple_str_plain_CONDITIONAL_NAMES_tuple; static PyObject *const_str_plain__ssl; static PyObject *const_list_8956a679041af248593add6c88adb320_list; extern PyObject *const_str_plain_type; static PyObject *const_tuple_str_plain_ffi_str_plain_lib_tuple; extern PyObject *const_str_plain__reason; extern PyObject *const_str_plain__consume_errors; extern PyObject *const_str_plain___cached__; static PyObject *const_str_plain_conditional_lib; extern PyObject *const_str_plain_print_function; extern PyObject *const_str_plain___class__; static PyObject *const_str_plain__register_osrandom_engine; static PyObject *const_str_plain_SSL_library_init; extern PyObject *const_str_plain__lib; static PyObject *const_str_plain__osrandom_engine_name; static PyObject *const_str_plain_err_lib; extern PyObject *const_tuple_type_object_tuple; extern PyObject *const_str_plain___module__; static PyObject *const_str_plain_err_text_reason; static PyObject *const_str_plain_Cryptography_setup_ssl_threads; static PyObject *const_str_plain_err_reason; static PyObject *const_str_plain_conditional_names; extern PyObject *const_str_plain_update; extern PyObject *const_int_pos_1; static PyObject *const_str_plain_Lock; extern PyObject *const_int_pos_256; extern PyObject *const_tuple_int_pos_1_int_pos_2_tuple; extern PyObject *const_str_plain_InternalError; static PyObject *const_str_plain_init_static_locks; extern PyObject *const_str_plain___prepare__; extern PyObject *const_str_plain___init__; extern PyObject *const_str_plain_types; extern PyObject *const_str_plain_self; static PyObject *const_str_plain_Cryptography_add_osrandom_engine; static PyObject *const_tuple_str_plain_self_str_plain_lib_str_plain_reason_tuple; static PyObject *const_str_plain_ERR_get_error; static PyObject *const_str_plain_build_conditional_library; static PyObject *const_str_plain__OpenSSLErrorWithText; static PyObject *const_str_digest_505b25a89592d8f8a40457cc12dc6cfc; extern PyObject *const_int_pos_2; extern PyObject *const_tuple_str_plain__reason_tuple; static PyObject *const_tuple_str_plain_cls_str_plain_result_tuple; static PyObject *const_str_plain_Cryptography_osrandom_engine_name; extern PyObject *const_str_plain_format; static PyObject *const_str_digest_0c0bb17b2f97fcf6d202a1c9a9fc6061; extern PyObject *const_str_plain_read_only_property; static PyObject *const_str_digest_2f3141582f4fdf64ef140e187286fa74; static PyObject *const_tuple_str_digest_c561652c58984ec0e9541542aa405594_int_pos_256_tuple; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_str_plain_ERR_clear_error = UNSTREAM_STRING( &constant_bin[ 489007 ], 15, 1 ); const_str_digest_22e7ff8a5d7ef59b1b5f554495922a5b = UNSTREAM_STRING( &constant_bin[ 489022 ], 80, 0 ); const_str_plain_ERR_GET_LIB = UNSTREAM_STRING( &constant_bin[ 489102 ], 11, 1 ); const_str_plain__lock_init_lock = UNSTREAM_STRING( &constant_bin[ 489113 ], 15, 1 ); const_tuple_str_plain__code_tuple = PyTuple_New( 1 ); const_str_plain__code = UNSTREAM_STRING( &constant_bin[ 13948 ], 5, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain__code_tuple, 0, const_str_plain__code ); Py_INCREF( const_str_plain__code ); const_tuple_c24df5113eb972ed39d6d8b62de79bbd_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_c24df5113eb972ed39d6d8b62de79bbd_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_c24df5113eb972ed39d6d8b62de79bbd_tuple, 1, const_str_plain_code ); Py_INCREF( const_str_plain_code ); PyTuple_SET_ITEM( const_tuple_c24df5113eb972ed39d6d8b62de79bbd_tuple, 2, const_str_plain_lib ); Py_INCREF( const_str_plain_lib ); PyTuple_SET_ITEM( const_tuple_c24df5113eb972ed39d6d8b62de79bbd_tuple, 3, const_str_plain_func ); Py_INCREF( const_str_plain_func ); PyTuple_SET_ITEM( const_tuple_c24df5113eb972ed39d6d8b62de79bbd_tuple, 4, const_str_plain_reason ); Py_INCREF( const_str_plain_reason ); const_str_plain_Cryptography_osrandom_engine_id = UNSTREAM_STRING( &constant_bin[ 489128 ], 31, 1 ); const_tuple_7056d1f2eb2cbbba0d36135ac6c3381f_tuple = PyTuple_New( 7 ); PyTuple_SET_ITEM( const_tuple_7056d1f2eb2cbbba0d36135ac6c3381f_tuple, 0, const_str_plain_lib ); Py_INCREF( const_str_plain_lib ); PyTuple_SET_ITEM( const_tuple_7056d1f2eb2cbbba0d36135ac6c3381f_tuple, 1, const_str_plain_ok ); Py_INCREF( const_str_plain_ok ); PyTuple_SET_ITEM( const_tuple_7056d1f2eb2cbbba0d36135ac6c3381f_tuple, 2, const_str_plain_errors ); Py_INCREF( const_str_plain_errors ); const_str_plain_errors_with_text = UNSTREAM_STRING( &constant_bin[ 489159 ], 16, 1 ); PyTuple_SET_ITEM( const_tuple_7056d1f2eb2cbbba0d36135ac6c3381f_tuple, 3, const_str_plain_errors_with_text ); Py_INCREF( const_str_plain_errors_with_text ); PyTuple_SET_ITEM( const_tuple_7056d1f2eb2cbbba0d36135ac6c3381f_tuple, 4, const_str_plain_err ); Py_INCREF( const_str_plain_err ); PyTuple_SET_ITEM( const_tuple_7056d1f2eb2cbbba0d36135ac6c3381f_tuple, 5, const_str_plain_buf ); Py_INCREF( const_str_plain_buf ); const_str_plain_err_text_reason = UNSTREAM_STRING( &constant_bin[ 489175 ], 15, 1 ); PyTuple_SET_ITEM( const_tuple_7056d1f2eb2cbbba0d36135ac6c3381f_tuple, 6, const_str_plain_err_text_reason ); Py_INCREF( const_str_plain_err_text_reason ); const_tuple_str_plain__func_tuple = PyTuple_New( 1 ); const_str_plain__func = UNSTREAM_STRING( &constant_bin[ 14577 ], 5, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain__func_tuple, 0, const_str_plain__func ); Py_INCREF( const_str_plain__func ); const_str_digest_047c6b447dfade6d8845cc4ae8e4b676 = UNSTREAM_STRING( &constant_bin[ 489190 ], 30, 0 ); const_tuple_431e219cf93316e04fa2f4f1604be0d2_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_431e219cf93316e04fa2f4f1604be0d2_tuple, 0, const_str_plain_lib ); Py_INCREF( const_str_plain_lib ); PyTuple_SET_ITEM( const_tuple_431e219cf93316e04fa2f4f1604be0d2_tuple, 1, const_str_plain_errors ); Py_INCREF( const_str_plain_errors ); PyTuple_SET_ITEM( const_tuple_431e219cf93316e04fa2f4f1604be0d2_tuple, 2, const_str_plain_code ); Py_INCREF( const_str_plain_code ); const_str_plain_err_lib = UNSTREAM_STRING( &constant_bin[ 489220 ], 7, 1 ); PyTuple_SET_ITEM( const_tuple_431e219cf93316e04fa2f4f1604be0d2_tuple, 3, const_str_plain_err_lib ); Py_INCREF( const_str_plain_err_lib ); const_str_plain_err_func = UNSTREAM_STRING( &constant_bin[ 489227 ], 8, 1 ); PyTuple_SET_ITEM( const_tuple_431e219cf93316e04fa2f4f1604be0d2_tuple, 4, const_str_plain_err_func ); Py_INCREF( const_str_plain_err_func ); const_str_plain_err_reason = UNSTREAM_STRING( &constant_bin[ 489235 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_431e219cf93316e04fa2f4f1604be0d2_tuple, 5, const_str_plain_err_reason ); Py_INCREF( const_str_plain_err_reason ); const_tuple_str_plain_InternalError_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_InternalError_tuple, 0, const_str_plain_InternalError ); Py_INCREF( const_str_plain_InternalError ); const_str_plain_OpenSSL_add_all_algorithms = UNSTREAM_STRING( &constant_bin[ 489245 ], 26, 1 ); const_tuple_str_plain_cls_str_plain_res_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_res_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_res_tuple, 1, const_str_plain_res ); Py_INCREF( const_str_plain_res ); const_str_digest_efa6c897f21638d71383b5dc669202a1 = UNSTREAM_STRING( &constant_bin[ 489271 ], 16, 0 ); const_str_plain_reason_text = UNSTREAM_STRING( &constant_bin[ 489287 ], 11, 1 ); const_str_plain__init_lock = UNSTREAM_STRING( &constant_bin[ 489118 ], 10, 1 ); const_str_plain_CRYPTO_get_locking_callback = UNSTREAM_STRING( &constant_bin[ 489298 ], 27, 1 ); const_str_plain_names_cb = UNSTREAM_STRING( &constant_bin[ 489325 ], 8, 1 ); const_str_plain_ERR_GET_FUNC = UNSTREAM_STRING( &constant_bin[ 489333 ], 12, 1 ); const_str_digest_1268ed15a5af61c1049552ee3152e2ac = UNSTREAM_STRING( &constant_bin[ 489345 ], 22, 0 ); const_str_plain_SSL_load_error_strings = UNSTREAM_STRING( &constant_bin[ 489367 ], 22, 1 ); const_str_plain_excluded_names = UNSTREAM_STRING( &constant_bin[ 489389 ], 14, 1 ); const_str_plain_ERR_GET_REASON = UNSTREAM_STRING( &constant_bin[ 489403 ], 14, 1 ); const_tuple_str_plain__lib_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain__lib_tuple, 0, const_str_plain__lib ); Py_INCREF( const_str_plain__lib ); const_str_digest_244193a00b95ed0075657b5309c98f53 = UNSTREAM_STRING( &constant_bin[ 489417 ], 33, 0 ); const_str_plain__ensure_ffi_initialized = UNSTREAM_STRING( &constant_bin[ 489450 ], 23, 1 ); const_tuple_dd193d91f543831cbe02ffb782feaa76_tuple = PyTuple_New( 7 ); PyTuple_SET_ITEM( const_tuple_dd193d91f543831cbe02ffb782feaa76_tuple, 0, const_str_plain_lib ); Py_INCREF( const_str_plain_lib ); const_str_plain_conditional_names = UNSTREAM_STRING( &constant_bin[ 489473 ], 17, 1 ); PyTuple_SET_ITEM( const_tuple_dd193d91f543831cbe02ffb782feaa76_tuple, 1, const_str_plain_conditional_names ); Py_INCREF( const_str_plain_conditional_names ); const_str_plain_conditional_lib = UNSTREAM_STRING( &constant_bin[ 489490 ], 15, 1 ); PyTuple_SET_ITEM( const_tuple_dd193d91f543831cbe02ffb782feaa76_tuple, 2, const_str_plain_conditional_lib ); Py_INCREF( const_str_plain_conditional_lib ); PyTuple_SET_ITEM( const_tuple_dd193d91f543831cbe02ffb782feaa76_tuple, 3, const_str_plain_excluded_names ); Py_INCREF( const_str_plain_excluded_names ); PyTuple_SET_ITEM( const_tuple_dd193d91f543831cbe02ffb782feaa76_tuple, 4, const_str_plain_condition ); Py_INCREF( const_str_plain_condition ); PyTuple_SET_ITEM( const_tuple_dd193d91f543831cbe02ffb782feaa76_tuple, 5, const_str_plain_names_cb ); Py_INCREF( const_str_plain_names_cb ); PyTuple_SET_ITEM( const_tuple_dd193d91f543831cbe02ffb782feaa76_tuple, 6, const_str_plain_attr ); Py_INCREF( const_str_plain_attr ); const_str_digest_b11dfe4b707a71db6685885388346d53 = UNSTREAM_STRING( &constant_bin[ 489505 ], 44, 0 ); const_str_digest_20db5aae2ed376f38b63dff21905c22b = UNSTREAM_STRING( &constant_bin[ 489549 ], 31, 0 ); const_str_plain_ERR_error_string_n = UNSTREAM_STRING( &constant_bin[ 489580 ], 18, 1 ); const_str_plain__lib_loaded = UNSTREAM_STRING( &constant_bin[ 489598 ], 11, 1 ); const_str_digest_f65db0bec75f860dbddbe0963f328647 = UNSTREAM_STRING( &constant_bin[ 489609 ], 53, 0 ); const_str_digest_db85465684dcabda354ab2e2bc883f38 = UNSTREAM_STRING( &constant_bin[ 489662 ], 25, 0 ); const_str_plain__OpenSSLError = UNSTREAM_STRING( &constant_bin[ 489345 ], 13, 1 ); const_tuple_str_plain_CONDITIONAL_NAMES_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_CONDITIONAL_NAMES_tuple, 0, const_str_plain_CONDITIONAL_NAMES ); Py_INCREF( const_str_plain_CONDITIONAL_NAMES ); const_str_plain__ssl = UNSTREAM_STRING( &constant_bin[ 487856 ], 4, 1 ); const_list_8956a679041af248593add6c88adb320_list = PyList_New( 5 ); PyList_SET_ITEM( const_list_8956a679041af248593add6c88adb320_list, 0, const_str_plain_code ); Py_INCREF( const_str_plain_code ); PyList_SET_ITEM( const_list_8956a679041af248593add6c88adb320_list, 1, const_str_plain_lib ); Py_INCREF( const_str_plain_lib ); PyList_SET_ITEM( const_list_8956a679041af248593add6c88adb320_list, 2, const_str_plain_func ); Py_INCREF( const_str_plain_func ); PyList_SET_ITEM( const_list_8956a679041af248593add6c88adb320_list, 3, const_str_plain_reason ); Py_INCREF( const_str_plain_reason ); PyList_SET_ITEM( const_list_8956a679041af248593add6c88adb320_list, 4, const_str_plain_reason_text ); Py_INCREF( const_str_plain_reason_text ); const_tuple_str_plain_ffi_str_plain_lib_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_ffi_str_plain_lib_tuple, 0, const_str_plain_ffi ); Py_INCREF( const_str_plain_ffi ); PyTuple_SET_ITEM( const_tuple_str_plain_ffi_str_plain_lib_tuple, 1, const_str_plain_lib ); Py_INCREF( const_str_plain_lib ); const_str_plain__register_osrandom_engine = UNSTREAM_STRING( &constant_bin[ 489425 ], 25, 1 ); const_str_plain_SSL_library_init = UNSTREAM_STRING( &constant_bin[ 489687 ], 16, 1 ); const_str_plain__osrandom_engine_name = UNSTREAM_STRING( &constant_bin[ 489703 ], 21, 1 ); const_str_plain_Cryptography_setup_ssl_threads = UNSTREAM_STRING( &constant_bin[ 489724 ], 30, 1 ); const_str_plain_Lock = UNSTREAM_STRING( &constant_bin[ 489754 ], 4, 1 ); const_str_plain_init_static_locks = UNSTREAM_STRING( &constant_bin[ 489670 ], 17, 1 ); const_str_plain_Cryptography_add_osrandom_engine = UNSTREAM_STRING( &constant_bin[ 489758 ], 32, 1 ); const_tuple_str_plain_self_str_plain_lib_str_plain_reason_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_lib_str_plain_reason_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_lib_str_plain_reason_tuple, 1, const_str_plain_lib ); Py_INCREF( const_str_plain_lib ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_lib_str_plain_reason_tuple, 2, const_str_plain_reason ); Py_INCREF( const_str_plain_reason ); const_str_plain_ERR_get_error = UNSTREAM_STRING( &constant_bin[ 489790 ], 13, 1 ); const_str_plain_build_conditional_library = UNSTREAM_STRING( &constant_bin[ 489803 ], 25, 1 ); const_str_plain__OpenSSLErrorWithText = UNSTREAM_STRING( &constant_bin[ 489828 ], 21, 1 ); const_str_digest_505b25a89592d8f8a40457cc12dc6cfc = UNSTREAM_STRING( &constant_bin[ 489849 ], 37, 0 ); const_tuple_str_plain_cls_str_plain_result_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_result_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_result_tuple, 1, const_str_plain_result ); Py_INCREF( const_str_plain_result ); const_str_plain_Cryptography_osrandom_engine_name = UNSTREAM_STRING( &constant_bin[ 489886 ], 33, 1 ); const_str_digest_0c0bb17b2f97fcf6d202a1c9a9fc6061 = UNSTREAM_STRING( &constant_bin[ 489919 ], 31, 0 ); const_str_digest_2f3141582f4fdf64ef140e187286fa74 = UNSTREAM_STRING( &constant_bin[ 489950 ], 361, 0 ); const_tuple_str_digest_c561652c58984ec0e9541542aa405594_int_pos_256_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_digest_c561652c58984ec0e9541542aa405594_int_pos_256_tuple, 0, const_str_digest_c561652c58984ec0e9541542aa405594 ); Py_INCREF( const_str_digest_c561652c58984ec0e9541542aa405594 ); PyTuple_SET_ITEM( const_tuple_str_digest_c561652c58984ec0e9541542aa405594_int_pos_256_tuple, 1, const_int_pos_256 ); Py_INCREF( const_int_pos_256 ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_cryptography$hazmat$bindings$openssl$binding( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_3304188e59cb8e59c3f353d9f4cca039; static PyCodeObject *codeobj_6c58dc83a619bb26c20baaf664555ff6; static PyCodeObject *codeobj_505bfab329525a783545b8b5cec20c77; static PyCodeObject *codeobj_77eacb040c3a97a7d4822e2fbf9ce6a2; static PyCodeObject *codeobj_cdebf692698e2fd55618ebe9a6a12980; static PyCodeObject *codeobj_a6abd3c1dcf55d61c7a9c5e914a72b3c; static PyCodeObject *codeobj_e5ac49cfed5809892175c3635476d7cf; static PyCodeObject *codeobj_12a2fffd88ffcf6caaa6d0c18d4a029c; static PyCodeObject *codeobj_fb54e7bc7723c20651d3ac3438ee79c5; static PyCodeObject *codeobj_0406a7c1e72044288aff2ed9e59394e3; static PyCodeObject *codeobj_4bce454df0c7e3a2ec7c2759f9ad541d; static PyCodeObject *codeobj_526880d3c48d04f089c253cd5dfa7045; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_22e7ff8a5d7ef59b1b5f554495922a5b; codeobj_3304188e59cb8e59c3f353d9f4cca039 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_f65db0bec75f860dbddbe0963f328647, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_6c58dc83a619bb26c20baaf664555ff6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Binding, 95, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_505bfab329525a783545b8b5cec20c77 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__OpenSSLError, 21, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_77eacb040c3a97a7d4822e2fbf9ce6a2 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 22, const_tuple_c24df5113eb972ed39d6d8b62de79bbd_tuple, 5, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_cdebf692698e2fd55618ebe9a6a12980 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 105, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_a6abd3c1dcf55d61c7a9c5e914a72b3c = MAKE_CODEOBJ( module_filename_obj, const_str_plain__consume_errors, 37, const_tuple_431e219cf93316e04fa2f4f1604be0d2_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e5ac49cfed5809892175c3635476d7cf = MAKE_CODEOBJ( module_filename_obj, const_str_plain__ensure_ffi_initialized, 121, const_tuple_str_plain_cls_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_12a2fffd88ffcf6caaa6d0c18d4a029c = MAKE_CODEOBJ( module_filename_obj, const_str_plain__lib_reason_match, 28, const_tuple_str_plain_self_str_plain_lib_str_plain_reason_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_fb54e7bc7723c20651d3ac3438ee79c5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__openssl_assert, 53, const_tuple_7056d1f2eb2cbbba0d36135ac6c3381f_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_0406a7c1e72044288aff2ed9e59394e3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__register_osrandom_engine, 108, const_tuple_str_plain_cls_str_plain_result_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_4bce454df0c7e3a2ec7c2759f9ad541d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_build_conditional_library, 80, const_tuple_dd193d91f543831cbe02ffb782feaa76_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_526880d3c48d04f089c253cd5dfa7045 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_init_static_locks, 135, const_tuple_str_plain_cls_str_plain_res_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); } // The module function declarations. NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_1___init__( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_2__lib_reason_match( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_3__consume_errors( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_4__openssl_assert( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_5_build_conditional_library( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_6___init__( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_7__register_osrandom_engine( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_8__ensure_ffi_initialized( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_9_init_static_locks( ); // The module function definitions. static PyObject *impl_cryptography$hazmat$bindings$openssl$binding$$$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_code = python_pars[ 1 ]; PyObject *par_lib = python_pars[ 2 ]; PyObject *par_func = python_pars[ 3 ]; PyObject *par_reason = python_pars[ 4 ]; struct Nuitka_FrameObject *frame_77eacb040c3a97a7d4822e2fbf9ce6a2; 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_77eacb040c3a97a7d4822e2fbf9ce6a2 = 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_77eacb040c3a97a7d4822e2fbf9ce6a2, codeobj_77eacb040c3a97a7d4822e2fbf9ce6a2, module_cryptography$hazmat$bindings$openssl$binding, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_77eacb040c3a97a7d4822e2fbf9ce6a2 = cache_frame_77eacb040c3a97a7d4822e2fbf9ce6a2; // Push the new frame as the currently active one. pushFrameStack( frame_77eacb040c3a97a7d4822e2fbf9ce6a2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_77eacb040c3a97a7d4822e2fbf9ce6a2 ) == 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 = 23; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; if ( par_lib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 24; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = par_lib; 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 = 24; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__lib, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; if ( par_func == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "func" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 25; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_name_3 = par_func; 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 = 25; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain__func, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 25; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; 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 = 26; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_name_4 = 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 = 26; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain__reason, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_77eacb040c3a97a7d4822e2fbf9ce6a2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_77eacb040c3a97a7d4822e2fbf9ce6a2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_77eacb040c3a97a7d4822e2fbf9ce6a2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_77eacb040c3a97a7d4822e2fbf9ce6a2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_77eacb040c3a97a7d4822e2fbf9ce6a2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_77eacb040c3a97a7d4822e2fbf9ce6a2, type_description_1, par_self, par_code, par_lib, par_func, par_reason ); // Release cached frame. if ( frame_77eacb040c3a97a7d4822e2fbf9ce6a2 == cache_frame_77eacb040c3a97a7d4822e2fbf9ce6a2 ) { Py_DECREF( frame_77eacb040c3a97a7d4822e2fbf9ce6a2 ); } cache_frame_77eacb040c3a97a7d4822e2fbf9ce6a2 = NULL; assertFrameObject( frame_77eacb040c3a97a7d4822e2fbf9ce6a2 ); // 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( cryptography$hazmat$bindings$openssl$binding$$$function_1___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_code ); par_code = NULL; } { Py_XDECREF( par_lib ); par_lib = NULL; } { Py_XDECREF( par_func ); par_func = NULL; } { Py_XDECREF( par_reason ); par_reason = 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_code ); par_code = NULL; } { Py_XDECREF( par_lib ); par_lib = NULL; } { Py_XDECREF( par_func ); par_func = NULL; } { Py_XDECREF( par_reason ); par_reason = 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( cryptography$hazmat$bindings$openssl$binding$$$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_cryptography$hazmat$bindings$openssl$binding$$$function_2__lib_reason_match( 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_lib = python_pars[ 1 ]; PyObject *par_reason = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_12a2fffd88ffcf6caaa6d0c18d4a029c; 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_12a2fffd88ffcf6caaa6d0c18d4a029c = 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_12a2fffd88ffcf6caaa6d0c18d4a029c, codeobj_12a2fffd88ffcf6caaa6d0c18d4a029c, module_cryptography$hazmat$bindings$openssl$binding, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_12a2fffd88ffcf6caaa6d0c18d4a029c = cache_frame_12a2fffd88ffcf6caaa6d0c18d4a029c; // Push the new frame as the currently active one. pushFrameStack( frame_12a2fffd88ffcf6caaa6d0c18d4a029c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_12a2fffd88ffcf6caaa6d0c18d4a029c ) == 2 ); // Frame stack // Framed code: { int tmp_and_left_truth_1; PyObject *tmp_and_left_value_1; PyObject *tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_2; CHECK_OBJECT( par_lib ); tmp_compexpr_left_1 = par_lib; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_lib ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 29; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_and_left_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 29; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_left_truth_1 = CHECK_IF_TRUE( tmp_and_left_value_1 ); if ( tmp_and_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_and_left_value_1 ); exception_lineno = 29; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; Py_DECREF( tmp_and_left_value_1 ); 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 = 29; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_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 = 29; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_reason ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 29; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_right_2 ); if ( tmp_and_right_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 29; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_return_value = tmp_and_left_value_1; and_end_1:; goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_12a2fffd88ffcf6caaa6d0c18d4a029c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_12a2fffd88ffcf6caaa6d0c18d4a029c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_12a2fffd88ffcf6caaa6d0c18d4a029c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_12a2fffd88ffcf6caaa6d0c18d4a029c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_12a2fffd88ffcf6caaa6d0c18d4a029c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_12a2fffd88ffcf6caaa6d0c18d4a029c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_12a2fffd88ffcf6caaa6d0c18d4a029c, type_description_1, par_self, par_lib, par_reason ); // Release cached frame. if ( frame_12a2fffd88ffcf6caaa6d0c18d4a029c == cache_frame_12a2fffd88ffcf6caaa6d0c18d4a029c ) { Py_DECREF( frame_12a2fffd88ffcf6caaa6d0c18d4a029c ); } cache_frame_12a2fffd88ffcf6caaa6d0c18d4a029c = NULL; assertFrameObject( frame_12a2fffd88ffcf6caaa6d0c18d4a029c ); // 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( cryptography$hazmat$bindings$openssl$binding$$$function_2__lib_reason_match ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_lib ); par_lib = NULL; } { Py_XDECREF( par_reason ); par_reason = 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_lib ); par_lib = NULL; } { Py_XDECREF( par_reason ); par_reason = 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( cryptography$hazmat$bindings$openssl$binding$$$function_2__lib_reason_match ); 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_cryptography$hazmat$bindings$openssl$binding$$$function_3__consume_errors( 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_lib = python_pars[ 0 ]; PyObject *var_errors = NULL; PyObject *var_code = NULL; PyObject *var_err_lib = NULL; PyObject *var_err_func = NULL; PyObject *var_err_reason = NULL; struct Nuitka_FrameObject *frame_a6abd3c1dcf55d61c7a9c5e914a72b3c; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_a6abd3c1dcf55d61c7a9c5e914a72b3c = 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. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = PyList_New( 0 ); assert( var_errors == NULL ); var_errors = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_a6abd3c1dcf55d61c7a9c5e914a72b3c, codeobj_a6abd3c1dcf55d61c7a9c5e914a72b3c, module_cryptography$hazmat$bindings$openssl$binding, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_a6abd3c1dcf55d61c7a9c5e914a72b3c = cache_frame_a6abd3c1dcf55d61c7a9c5e914a72b3c; // Push the new frame as the currently active one. pushFrameStack( frame_a6abd3c1dcf55d61c7a9c5e914a72b3c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a6abd3c1dcf55d61c7a9c5e914a72b3c ) == 2 ); // Frame stack // Framed code: { loop_start_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_lib ); tmp_called_instance_1 = par_lib; frame_a6abd3c1dcf55d61c7a9c5e914a72b3c->m_frame.f_lineno = 40; tmp_assign_source_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_ERR_get_error ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 40; type_description_1 = "oooooo"; goto frame_exception_exit_1; } { PyObject *old = var_code; var_code = tmp_assign_source_2; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( var_code ); tmp_compexpr_left_1 = var_code; tmp_compexpr_right_1 = const_int_0; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 41; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { goto loop_end_1; } branch_no_1:; } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; if ( par_lib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 44; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_lib; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_ERR_GET_LIB ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_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 = 44; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = var_code; frame_a6abd3c1dcf55d61c7a9c5e914a72b3c->m_frame.f_lineno = 44; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; type_description_1 = "oooooo"; goto frame_exception_exit_1; } { PyObject *old = var_err_lib; var_err_lib = tmp_assign_source_3; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_4; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; if ( par_lib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 45; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_lib; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_ERR_GET_FUNC ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 45; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_code == NULL ) { Py_DECREF( tmp_called_name_2 ); 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 = 45; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_code; frame_a6abd3c1dcf55d61c7a9c5e914a72b3c->m_frame.f_lineno = 45; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 45; type_description_1 = "oooooo"; goto frame_exception_exit_1; } { PyObject *old = var_err_func; var_err_func = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_3; if ( par_lib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 46; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_lib; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_ERR_GET_REASON ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 46; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_code == NULL ) { Py_DECREF( tmp_called_name_3 ); 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 = 46; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = var_code; frame_a6abd3c1dcf55d61c7a9c5e914a72b3c->m_frame.f_lineno = 46; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_assign_source_5 == NULL ) { 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 *old = var_err_reason; var_err_reason = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_called_name_4; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_4; PyObject *tmp_called_name_5; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; if ( var_errors == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "errors" ); 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_source_name_4 = var_errors; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_append ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 48; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain__OpenSSLError ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__OpenSSLError ); } if ( tmp_mvar_value_1 == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_OpenSSLError" ); 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_called_name_5 = tmp_mvar_value_1; if ( var_code == NULL ) { Py_DECREF( tmp_called_name_4 ); 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 = 48; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = var_code; if ( var_err_lib == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "err_lib" ); 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_args_element_name_6 = var_err_lib; if ( var_err_func == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "err_func" ); 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_args_element_name_7 = var_err_func; if ( var_err_reason == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "err_reason" ); 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_args_element_name_8 = var_err_reason; frame_a6abd3c1dcf55d61c7a9c5e914a72b3c->m_frame.f_lineno = 48; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8 }; tmp_args_element_name_4 = CALL_FUNCTION_WITH_ARGS4( tmp_called_name_5, call_args ); } if ( tmp_args_element_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 48; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_a6abd3c1dcf55d61c7a9c5e914a72b3c->m_frame.f_lineno = 48; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 48; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 39; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } { if ( var_errors == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "errors" ); 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_return_value = var_errors; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_a6abd3c1dcf55d61c7a9c5e914a72b3c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a6abd3c1dcf55d61c7a9c5e914a72b3c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a6abd3c1dcf55d61c7a9c5e914a72b3c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a6abd3c1dcf55d61c7a9c5e914a72b3c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a6abd3c1dcf55d61c7a9c5e914a72b3c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a6abd3c1dcf55d61c7a9c5e914a72b3c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a6abd3c1dcf55d61c7a9c5e914a72b3c, type_description_1, par_lib, var_errors, var_code, var_err_lib, var_err_func, var_err_reason ); // Release cached frame. if ( frame_a6abd3c1dcf55d61c7a9c5e914a72b3c == cache_frame_a6abd3c1dcf55d61c7a9c5e914a72b3c ) { Py_DECREF( frame_a6abd3c1dcf55d61c7a9c5e914a72b3c ); } cache_frame_a6abd3c1dcf55d61c7a9c5e914a72b3c = NULL; assertFrameObject( frame_a6abd3c1dcf55d61c7a9c5e914a72b3c ); // 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( cryptography$hazmat$bindings$openssl$binding$$$function_3__consume_errors ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_lib ); par_lib = NULL; } { Py_XDECREF( var_errors ); var_errors = NULL; } { Py_XDECREF( var_code ); var_code = NULL; } { Py_XDECREF( var_err_lib ); var_err_lib = NULL; } { Py_XDECREF( var_err_func ); var_err_func = NULL; } { Py_XDECREF( var_err_reason ); var_err_reason = 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_lib ); par_lib = NULL; } { Py_XDECREF( var_errors ); var_errors = NULL; } { Py_XDECREF( var_code ); var_code = NULL; } { Py_XDECREF( var_err_lib ); var_err_lib = NULL; } { Py_XDECREF( var_err_func ); var_err_func = NULL; } { Py_XDECREF( var_err_reason ); var_err_reason = 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( cryptography$hazmat$bindings$openssl$binding$$$function_3__consume_errors ); 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_cryptography$hazmat$bindings$openssl$binding$$$function_4__openssl_assert( 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_lib = python_pars[ 0 ]; PyObject *par_ok = python_pars[ 1 ]; PyObject *var_errors = NULL; PyObject *var_errors_with_text = NULL; PyObject *var_err = NULL; PyObject *var_buf = NULL; PyObject *var_err_text_reason = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_fb54e7bc7723c20651d3ac3438ee79c5; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; static struct Nuitka_FrameObject *cache_frame_fb54e7bc7723c20651d3ac3438ee79c5 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_fb54e7bc7723c20651d3ac3438ee79c5, codeobj_fb54e7bc7723c20651d3ac3438ee79c5, module_cryptography$hazmat$bindings$openssl$binding, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_fb54e7bc7723c20651d3ac3438ee79c5 = cache_frame_fb54e7bc7723c20651d3ac3438ee79c5; // Push the new frame as the currently active one. pushFrameStack( frame_fb54e7bc7723c20651d3ac3438ee79c5 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_fb54e7bc7723c20651d3ac3438ee79c5 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; CHECK_OBJECT( par_ok ); tmp_operand_name_1 = par_ok; 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 = 54; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain__consume_errors ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__consume_errors ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_consume_errors" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; if ( par_lib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_lib; frame_fb54e7bc7723c20651d3ac3438ee79c5->m_frame.f_lineno = 55; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 55; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_errors == NULL ); var_errors = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = PyList_New( 0 ); assert( var_errors_with_text == NULL ); var_errors_with_text = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_iter_arg_1; CHECK_OBJECT( var_errors ); tmp_iter_arg_1 = var_errors; tmp_assign_source_3 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_3; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_4 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooo"; exception_lineno = 57; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_5 = tmp_for_loop_1__iter_value; { PyObject *old = var_err; var_err = tmp_assign_source_5; Py_INCREF( var_err ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_ffi ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ffi ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ffi" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 58; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_called_instance_1 = tmp_mvar_value_2; frame_fb54e7bc7723c20651d3ac3438ee79c5->m_frame.f_lineno = 58; tmp_assign_source_6 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_new, &PyTuple_GET_ITEM( const_tuple_str_digest_c561652c58984ec0e9541542aa405594_int_pos_256_tuple, 0 ) ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; type_description_1 = "ooooooo"; goto try_except_handler_2; } { PyObject *old = var_buf; var_buf = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_len_arg_1; if ( par_lib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 59; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_1 = par_lib; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_ERR_error_string_n ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 59; type_description_1 = "ooooooo"; goto try_except_handler_2; } if ( var_err == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "err" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 59; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_2 = var_err; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_code ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 59; type_description_1 = "ooooooo"; goto try_except_handler_2; } if ( var_buf == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buf" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 59; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_args_element_name_3 = var_buf; if ( var_buf == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buf" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 59; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_len_arg_1 = var_buf; tmp_args_element_name_4 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_args_element_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_lineno = 59; type_description_1 = "ooooooo"; goto try_except_handler_2; } frame_fb54e7bc7723c20651d3ac3438ee79c5->m_frame.f_lineno = 59; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 59; type_description_1 = "ooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_7; PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_5; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_ffi ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ffi ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ffi" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 60; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_3 = tmp_mvar_value_3; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_string ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 60; type_description_1 = "ooooooo"; goto try_except_handler_2; } if ( var_buf == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buf" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 60; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_args_element_name_5 = var_buf; frame_fb54e7bc7723c20651d3ac3438ee79c5->m_frame.f_lineno = 60; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 60; type_description_1 = "ooooooo"; goto try_except_handler_2; } { PyObject *old = var_err_text_reason; var_err_text_reason = tmp_assign_source_7; Py_XDECREF( old ); } } { PyObject *tmp_called_name_4; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_6; PyObject *tmp_called_name_5; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_7; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_8; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_9; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_10; PyObject *tmp_source_name_8; PyObject *tmp_args_element_name_11; if ( var_errors_with_text == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "errors_with_text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 62; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_4 = var_errors_with_text; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_append ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 62; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain__OpenSSLErrorWithText ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__OpenSSLErrorWithText ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_OpenSSLErrorWithText" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 63; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_called_name_5 = tmp_mvar_value_4; if ( var_err == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "err" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 64; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_5 = var_err; tmp_args_element_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_code ); if ( tmp_args_element_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 64; type_description_1 = "ooooooo"; goto try_except_handler_2; } if ( var_err == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_7 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "err" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 64; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_6 = var_err; tmp_args_element_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_lib ); if ( tmp_args_element_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_7 ); exception_lineno = 64; type_description_1 = "ooooooo"; goto try_except_handler_2; } if ( var_err == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_7 ); Py_DECREF( tmp_args_element_name_8 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "err" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 64; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_7 = var_err; tmp_args_element_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_func ); if ( tmp_args_element_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_7 ); Py_DECREF( tmp_args_element_name_8 ); exception_lineno = 64; type_description_1 = "ooooooo"; goto try_except_handler_2; } if ( var_err == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_7 ); Py_DECREF( tmp_args_element_name_8 ); Py_DECREF( tmp_args_element_name_9 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "err" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 64; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_8 = var_err; tmp_args_element_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_reason ); if ( tmp_args_element_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_7 ); Py_DECREF( tmp_args_element_name_8 ); Py_DECREF( tmp_args_element_name_9 ); exception_lineno = 64; type_description_1 = "ooooooo"; goto try_except_handler_2; } if ( var_err_text_reason == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_7 ); Py_DECREF( tmp_args_element_name_8 ); Py_DECREF( tmp_args_element_name_9 ); Py_DECREF( tmp_args_element_name_10 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "err_text_reason" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 64; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_args_element_name_11 = var_err_text_reason; frame_fb54e7bc7723c20651d3ac3438ee79c5->m_frame.f_lineno = 63; { PyObject *call_args[] = { tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9, tmp_args_element_name_10, tmp_args_element_name_11 }; tmp_args_element_name_6 = CALL_FUNCTION_WITH_ARGS5( tmp_called_name_5, call_args ); } Py_DECREF( tmp_args_element_name_7 ); Py_DECREF( tmp_args_element_name_8 ); Py_DECREF( tmp_args_element_name_9 ); Py_DECREF( tmp_args_element_name_10 ); if ( tmp_args_element_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 63; type_description_1 = "ooooooo"; goto try_except_handler_2; } frame_fb54e7bc7723c20651d3ac3438ee79c5->m_frame.f_lineno = 62; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_6 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 62; type_description_1 = "ooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; type_description_1 = "ooooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { PyObject *tmp_raise_type_1; PyObject *tmp_called_name_6; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_12; PyObject *tmp_called_name_7; PyObject *tmp_source_name_9; PyObject *tmp_args_element_name_13; PyObject *tmp_args_element_name_14; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_InternalError ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_InternalError ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "InternalError" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 68; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_name_6 = tmp_mvar_value_5; tmp_source_name_9 = const_str_digest_2f3141582f4fdf64ef140e187286fa74; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_format ); assert( !(tmp_called_name_7 == NULL) ); if ( var_errors_with_text == NULL ) { Py_DECREF( tmp_called_name_7 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "errors_with_text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 75; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_13 = var_errors_with_text; frame_fb54e7bc7723c20651d3ac3438ee79c5->m_frame.f_lineno = 69; { PyObject *call_args[] = { tmp_args_element_name_13 }; tmp_args_element_name_12 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); if ( tmp_args_element_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 69; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_errors_with_text == NULL ) { Py_DECREF( tmp_args_element_name_12 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "errors_with_text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 76; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_14 = var_errors_with_text; frame_fb54e7bc7723c20651d3ac3438ee79c5->m_frame.f_lineno = 68; { PyObject *call_args[] = { tmp_args_element_name_12, tmp_args_element_name_14 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_6, call_args ); } Py_DECREF( tmp_args_element_name_12 ); if ( tmp_raise_type_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 68; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } exception_type = tmp_raise_type_1; exception_lineno = 68; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooo"; goto frame_exception_exit_1; } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_fb54e7bc7723c20651d3ac3438ee79c5 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fb54e7bc7723c20651d3ac3438ee79c5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_fb54e7bc7723c20651d3ac3438ee79c5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_fb54e7bc7723c20651d3ac3438ee79c5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_fb54e7bc7723c20651d3ac3438ee79c5, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_fb54e7bc7723c20651d3ac3438ee79c5, type_description_1, par_lib, par_ok, var_errors, var_errors_with_text, var_err, var_buf, var_err_text_reason ); // Release cached frame. if ( frame_fb54e7bc7723c20651d3ac3438ee79c5 == cache_frame_fb54e7bc7723c20651d3ac3438ee79c5 ) { Py_DECREF( frame_fb54e7bc7723c20651d3ac3438ee79c5 ); } cache_frame_fb54e7bc7723c20651d3ac3438ee79c5 = NULL; assertFrameObject( frame_fb54e7bc7723c20651d3ac3438ee79c5 ); // 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( cryptography$hazmat$bindings$openssl$binding$$$function_4__openssl_assert ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_lib ); par_lib = NULL; } { Py_XDECREF( par_ok ); par_ok = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_lib ); par_lib = NULL; } { Py_XDECREF( par_ok ); par_ok = NULL; } { Py_XDECREF( var_errors ); var_errors = NULL; } { Py_XDECREF( var_errors_with_text ); var_errors_with_text = NULL; } { Py_XDECREF( var_err ); var_err = NULL; } { Py_XDECREF( var_buf ); var_buf = NULL; } { Py_XDECREF( var_err_text_reason ); var_err_text_reason = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$bindings$openssl$binding$$$function_4__openssl_assert ); 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_cryptography$hazmat$bindings$openssl$binding$$$function_5_build_conditional_library( 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_lib = python_pars[ 0 ]; PyObject *par_conditional_names = python_pars[ 1 ]; PyObject *var_conditional_lib = NULL; PyObject *var_excluded_names = NULL; PyObject *var_condition = NULL; PyObject *var_names_cb = NULL; PyObject *var_attr = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_for_loop_2__for_iterator = NULL; PyObject *tmp_for_loop_2__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_4bce454df0c7e3a2ec7c2759f9ad541d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_4bce454df0c7e3a2ec7c2759f9ad541d = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_4bce454df0c7e3a2ec7c2759f9ad541d, codeobj_4bce454df0c7e3a2ec7c2759f9ad541d, module_cryptography$hazmat$bindings$openssl$binding, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_4bce454df0c7e3a2ec7c2759f9ad541d = cache_frame_4bce454df0c7e3a2ec7c2759f9ad541d; // Push the new frame as the currently active one. pushFrameStack( frame_4bce454df0c7e3a2ec7c2759f9ad541d ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4bce454df0c7e3a2ec7c2759f9ad541d ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_types ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_types ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "types" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 81; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = tmp_mvar_value_1; frame_4bce454df0c7e3a2ec7c2759f9ad541d->m_frame.f_lineno = 81; tmp_assign_source_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_ModuleType, &PyTuple_GET_ITEM( const_tuple_str_plain_lib_tuple, 0 ) ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_conditional_lib == NULL ); var_conditional_lib = tmp_assign_source_1; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( par_lib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 82; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = par_lib; CHECK_OBJECT( var_conditional_lib ); tmp_assattr_target_1 = var_conditional_lib; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__original_lib, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 82; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = PySet_New( NULL ); assert( var_excluded_names == NULL ); var_excluded_names = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_2; if ( par_conditional_names == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "conditional_names" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 84; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_conditional_names; frame_4bce454df0c7e3a2ec7c2759f9ad541d->m_frame.f_lineno = 84; tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_items ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_3; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_4 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooo"; exception_lineno = 84; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_4; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_2; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_iter_arg_2 = tmp_for_loop_1__iter_value; tmp_assign_source_5 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "ooooooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_5; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_6 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_6 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooo"; exception_lineno = 84; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_7 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_7 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooo"; exception_lineno = 84; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_7; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooo"; exception_lineno = 84; goto try_except_handler_4; } } } else { Py_DECREF( tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooo"; exception_lineno = 84; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_3; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_8; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_8 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_condition; var_condition = tmp_assign_source_8; Py_INCREF( var_condition ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_9 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_names_cb; var_names_cb = tmp_assign_source_9; Py_INCREF( var_names_cb ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; if ( par_lib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 85; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_getattr_target_1 = par_lib; if ( var_condition == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "condition" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 85; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_getattr_attr_1 = var_condition; tmp_operand_name_1 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, NULL ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 85; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 85; type_description_1 = "ooooooo"; 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 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_called_name_2; if ( var_excluded_names == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "excluded_names" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 86; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_1 = var_excluded_names; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_update ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 86; type_description_1 = "ooooooo"; goto try_except_handler_2; } if ( var_names_cb == 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", "names_cb" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 86; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_called_name_2 = var_names_cb; frame_4bce454df0c7e3a2ec7c2759f9ad541d->m_frame.f_lineno = 86; tmp_args_element_name_1 = CALL_FUNCTION_NO_ARGS( tmp_called_name_2 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 86; type_description_1 = "ooooooo"; goto try_except_handler_2; } frame_4bce454df0c7e3a2ec7c2759f9ad541d->m_frame.f_lineno = 86; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 86; type_description_1 = "ooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_1:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "ooooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_3:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { PyObject *tmp_assign_source_10; PyObject *tmp_iter_arg_3; PyObject *tmp_dir_arg_1; if ( par_lib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 88; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_dir_arg_1 = par_lib; tmp_iter_arg_3 = PyObject_Dir( tmp_dir_arg_1 ); if ( tmp_iter_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 88; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assign_source_10 = MAKE_ITERATOR( tmp_iter_arg_3 ); Py_DECREF( tmp_iter_arg_3 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 88; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_2__for_iterator == NULL ); tmp_for_loop_2__for_iterator = tmp_assign_source_10; } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_11; CHECK_OBJECT( tmp_for_loop_2__for_iterator ); tmp_next_source_2 = tmp_for_loop_2__for_iterator; tmp_assign_source_11 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_11 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooo"; exception_lineno = 88; goto try_except_handler_5; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_11; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_12; CHECK_OBJECT( tmp_for_loop_2__iter_value ); tmp_assign_source_12 = tmp_for_loop_2__iter_value; { PyObject *old = var_attr; var_attr = tmp_assign_source_12; Py_INCREF( var_attr ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( var_attr ); tmp_compexpr_left_1 = var_attr; if ( var_excluded_names == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "excluded_names" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 89; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_compexpr_right_1 = var_excluded_names; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_setattr_target_1; PyObject *tmp_setattr_attr_1; PyObject *tmp_setattr_value_1; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; if ( var_conditional_lib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "conditional_lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 90; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_setattr_target_1 = var_conditional_lib; if ( var_attr == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 90; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_setattr_attr_1 = var_attr; if ( par_lib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 90; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_getattr_target_2 = par_lib; if ( var_attr == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 90; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_getattr_attr_2 = var_attr; tmp_setattr_value_1 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, NULL ); if ( tmp_setattr_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 90; type_description_1 = "ooooooo"; goto try_except_handler_5; } tmp_unused = BUILTIN_SETATTR( tmp_setattr_target_1, tmp_setattr_attr_1, tmp_setattr_value_1 ); Py_DECREF( tmp_setattr_value_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 90; type_description_1 = "ooooooo"; goto try_except_handler_5; } } branch_no_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 88; type_description_1 = "ooooooo"; goto try_except_handler_5; } goto loop_start_2; loop_end_2:; } goto try_end_4; // Exception handler code: try_except_handler_5:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_2__iter_value ); tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator ); Py_DECREF( tmp_for_loop_2__for_iterator ); tmp_for_loop_2__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_4:; } { Py_XDECREF( tmp_for_loop_2__iter_value ); tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator ); Py_DECREF( tmp_for_loop_2__for_iterator ); tmp_for_loop_2__for_iterator = NULL; } { if ( var_conditional_lib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "conditional_lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 92; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_conditional_lib; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_4bce454df0c7e3a2ec7c2759f9ad541d ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4bce454df0c7e3a2ec7c2759f9ad541d ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4bce454df0c7e3a2ec7c2759f9ad541d ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4bce454df0c7e3a2ec7c2759f9ad541d, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4bce454df0c7e3a2ec7c2759f9ad541d->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4bce454df0c7e3a2ec7c2759f9ad541d, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4bce454df0c7e3a2ec7c2759f9ad541d, type_description_1, par_lib, par_conditional_names, var_conditional_lib, var_excluded_names, var_condition, var_names_cb, var_attr ); // Release cached frame. if ( frame_4bce454df0c7e3a2ec7c2759f9ad541d == cache_frame_4bce454df0c7e3a2ec7c2759f9ad541d ) { Py_DECREF( frame_4bce454df0c7e3a2ec7c2759f9ad541d ); } cache_frame_4bce454df0c7e3a2ec7c2759f9ad541d = NULL; assertFrameObject( frame_4bce454df0c7e3a2ec7c2759f9ad541d ); // 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( cryptography$hazmat$bindings$openssl$binding$$$function_5_build_conditional_library ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_lib ); par_lib = NULL; } { Py_XDECREF( par_conditional_names ); par_conditional_names = NULL; } { Py_XDECREF( var_conditional_lib ); var_conditional_lib = NULL; } { Py_XDECREF( var_excluded_names ); var_excluded_names = NULL; } { Py_XDECREF( var_condition ); var_condition = NULL; } { Py_XDECREF( var_names_cb ); var_names_cb = NULL; } { Py_XDECREF( var_attr ); var_attr = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_lib ); par_lib = NULL; } { Py_XDECREF( par_conditional_names ); par_conditional_names = NULL; } { Py_XDECREF( var_conditional_lib ); var_conditional_lib = NULL; } { Py_XDECREF( var_excluded_names ); var_excluded_names = NULL; } { Py_XDECREF( var_condition ); var_condition = NULL; } { Py_XDECREF( var_names_cb ); var_names_cb = NULL; } { Py_XDECREF( var_attr ); var_attr = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$bindings$openssl$binding$$$function_5_build_conditional_library ); 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_cryptography$hazmat$bindings$openssl$binding$$$function_6___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_cdebf692698e2fd55618ebe9a6a12980; 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; static struct Nuitka_FrameObject *cache_frame_cdebf692698e2fd55618ebe9a6a12980 = 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_cdebf692698e2fd55618ebe9a6a12980, codeobj_cdebf692698e2fd55618ebe9a6a12980, module_cryptography$hazmat$bindings$openssl$binding, sizeof(void *) ); frame_cdebf692698e2fd55618ebe9a6a12980 = cache_frame_cdebf692698e2fd55618ebe9a6a12980; // Push the new frame as the currently active one. pushFrameStack( frame_cdebf692698e2fd55618ebe9a6a12980 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_cdebf692698e2fd55618ebe9a6a12980 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; CHECK_OBJECT( par_self ); tmp_called_instance_1 = par_self; frame_cdebf692698e2fd55618ebe9a6a12980->m_frame.f_lineno = 106; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain__ensure_ffi_initialized ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 106; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_cdebf692698e2fd55618ebe9a6a12980 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cdebf692698e2fd55618ebe9a6a12980 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_cdebf692698e2fd55618ebe9a6a12980, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_cdebf692698e2fd55618ebe9a6a12980->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_cdebf692698e2fd55618ebe9a6a12980, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_cdebf692698e2fd55618ebe9a6a12980, type_description_1, par_self ); // Release cached frame. if ( frame_cdebf692698e2fd55618ebe9a6a12980 == cache_frame_cdebf692698e2fd55618ebe9a6a12980 ) { Py_DECREF( frame_cdebf692698e2fd55618ebe9a6a12980 ); } cache_frame_cdebf692698e2fd55618ebe9a6a12980 = NULL; assertFrameObject( frame_cdebf692698e2fd55618ebe9a6a12980 ); // 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( cryptography$hazmat$bindings$openssl$binding$$$function_6___init__ ); 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( cryptography$hazmat$bindings$openssl$binding$$$function_6___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_cryptography$hazmat$bindings$openssl$binding$$$function_7__register_osrandom_engine( 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_cls = python_pars[ 0 ]; PyObject *var_result = NULL; struct Nuitka_FrameObject *frame_0406a7c1e72044288aff2ed9e59394e3; 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; int tmp_res; static struct Nuitka_FrameObject *cache_frame_0406a7c1e72044288aff2ed9e59394e3 = 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_0406a7c1e72044288aff2ed9e59394e3, codeobj_0406a7c1e72044288aff2ed9e59394e3, module_cryptography$hazmat$bindings$openssl$binding, sizeof(void *)+sizeof(void *) ); frame_0406a7c1e72044288aff2ed9e59394e3 = cache_frame_0406a7c1e72044288aff2ed9e59394e3; // Push the new frame as the currently active one. pushFrameStack( frame_0406a7c1e72044288aff2ed9e59394e3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0406a7c1e72044288aff2ed9e59394e3 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_cls ); tmp_source_name_1 = par_cls; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_lib ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 115; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_0406a7c1e72044288aff2ed9e59394e3->m_frame.f_lineno = 115; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_ERR_clear_error ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 115; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_1; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; PyObject *tmp_assattr_target_1; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 116; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_cls; tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_lib ); if ( tmp_source_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 116; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_Cryptography_osrandom_engine_id ); Py_DECREF( tmp_source_name_2 ); if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 116; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_cls == NULL ) { Py_DECREF( tmp_assattr_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 116; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_cls; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__osrandom_engine_id, 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 = 116; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; PyObject *tmp_assattr_target_2; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 117; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_cls; tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_lib ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_Cryptography_osrandom_engine_name ); Py_DECREF( tmp_source_name_4 ); if ( tmp_assattr_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_cls == NULL ) { Py_DECREF( tmp_assattr_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 117; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_cls; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__osrandom_engine_name, tmp_assattr_name_2 ); Py_DECREF( tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_2; PyObject *tmp_source_name_6; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_cls; tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_lib ); if ( tmp_called_instance_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 118; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_0406a7c1e72044288aff2ed9e59394e3->m_frame.f_lineno = 118; tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_Cryptography_add_osrandom_engine ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 118; type_description_1 = "oo"; goto frame_exception_exit_1; } assert( var_result == NULL ); var_result = tmp_assign_source_1; } { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain__openssl_assert ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__openssl_assert ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_openssl_assert" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 119; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 119; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_cls; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_lib ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( var_result == NULL ) { Py_DECREF( tmp_args_element_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "result" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 119; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_result; tmp_compexpr_right_1 = const_tuple_int_pos_1_int_pos_2_tuple; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_args_element_name_1 ); exception_lineno = 119; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = ( tmp_res == 1 ) ? Py_True : Py_False; frame_0406a7c1e72044288aff2ed9e59394e3->m_frame.f_lineno = 119; { 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_args_element_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_0406a7c1e72044288aff2ed9e59394e3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0406a7c1e72044288aff2ed9e59394e3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0406a7c1e72044288aff2ed9e59394e3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0406a7c1e72044288aff2ed9e59394e3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0406a7c1e72044288aff2ed9e59394e3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0406a7c1e72044288aff2ed9e59394e3, type_description_1, par_cls, var_result ); // Release cached frame. if ( frame_0406a7c1e72044288aff2ed9e59394e3 == cache_frame_0406a7c1e72044288aff2ed9e59394e3 ) { Py_DECREF( frame_0406a7c1e72044288aff2ed9e59394e3 ); } cache_frame_0406a7c1e72044288aff2ed9e59394e3 = NULL; assertFrameObject( frame_0406a7c1e72044288aff2ed9e59394e3 ); // 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( cryptography$hazmat$bindings$openssl$binding$$$function_7__register_osrandom_engine ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( var_result ); var_result = 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_cls ); par_cls = NULL; } { Py_XDECREF( var_result ); var_result = 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( cryptography$hazmat$bindings$openssl$binding$$$function_7__register_osrandom_engine ); 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_cryptography$hazmat$bindings$openssl$binding$$$function_8__ensure_ffi_initialized( 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_cls = python_pars[ 0 ]; PyObject *tmp_with_1__enter = NULL; PyObject *tmp_with_1__exit = NULL; nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED; PyObject *tmp_with_1__source = NULL; struct Nuitka_FrameObject *frame_e5ac49cfed5809892175c3635476d7cf; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_e5ac49cfed5809892175c3635476d7cf = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_e5ac49cfed5809892175c3635476d7cf, codeobj_e5ac49cfed5809892175c3635476d7cf, module_cryptography$hazmat$bindings$openssl$binding, sizeof(void *) ); frame_e5ac49cfed5809892175c3635476d7cf = cache_frame_e5ac49cfed5809892175c3635476d7cf; // Push the new frame as the currently active one. pushFrameStack( frame_e5ac49cfed5809892175c3635476d7cf ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e5ac49cfed5809892175c3635476d7cf ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_cls ); tmp_source_name_1 = par_cls; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__init_lock ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 123; type_description_1 = "o"; goto try_except_handler_2; } assert( tmp_with_1__source == NULL ); tmp_with_1__source = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; CHECK_OBJECT( tmp_with_1__source ); tmp_source_name_2 = tmp_with_1__source; tmp_called_name_1 = LOOKUP_SPECIAL( tmp_source_name_2, const_str_plain___enter__ ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 123; type_description_1 = "o"; goto try_except_handler_2; } frame_e5ac49cfed5809892175c3635476d7cf->m_frame.f_lineno = 123; tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 123; type_description_1 = "o"; goto try_except_handler_2; } assert( tmp_with_1__enter == NULL ); tmp_with_1__enter = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_source_name_3; CHECK_OBJECT( tmp_with_1__source ); tmp_source_name_3 = tmp_with_1__source; tmp_assign_source_3 = LOOKUP_SPECIAL( tmp_source_name_3, const_str_plain___exit__ ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 123; type_description_1 = "o"; goto try_except_handler_2; } assert( tmp_with_1__exit == NULL ); tmp_with_1__exit = tmp_assign_source_3; } { nuitka_bool tmp_assign_source_4; tmp_assign_source_4 = NUITKA_BOOL_TRUE; tmp_with_1__indicator = tmp_assign_source_4; } { // Tried code: { // Tried code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_source_name_4; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 124; type_description_1 = "o"; goto try_except_handler_4; } tmp_source_name_4 = par_cls; tmp_operand_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__lib_loaded ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 124; type_description_1 = "o"; goto try_except_handler_4; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 124; type_description_1 = "o"; goto try_except_handler_4; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assattr_name_1; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_assattr_target_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_build_conditional_library ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_build_conditional_library ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "build_conditional_library" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 125; type_description_1 = "o"; goto try_except_handler_4; } tmp_called_name_2 = tmp_mvar_value_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_lib ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lib ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 125; type_description_1 = "o"; goto try_except_handler_4; } tmp_args_element_name_1 = tmp_mvar_value_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_CONDITIONAL_NAMES ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CONDITIONAL_NAMES ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CONDITIONAL_NAMES" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 125; type_description_1 = "o"; goto try_except_handler_4; } tmp_args_element_name_2 = tmp_mvar_value_3; frame_e5ac49cfed5809892175c3635476d7cf->m_frame.f_lineno = 125; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 125; type_description_1 = "o"; goto try_except_handler_4; } if ( par_cls == NULL ) { Py_DECREF( tmp_assattr_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 125; type_description_1 = "o"; goto try_except_handler_4; } tmp_assattr_target_1 = par_cls; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_lib, 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 = 125; type_description_1 = "o"; goto try_except_handler_4; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; tmp_assattr_name_2 = Py_True; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 126; type_description_1 = "o"; goto try_except_handler_4; } tmp_assattr_target_2 = par_cls; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__lib_loaded, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 126; type_description_1 = "o"; goto try_except_handler_4; } } { PyObject *tmp_called_instance_1; PyObject *tmp_source_name_5; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 128; type_description_1 = "o"; goto try_except_handler_4; } tmp_source_name_5 = par_cls; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_lib ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 128; type_description_1 = "o"; goto try_except_handler_4; } frame_e5ac49cfed5809892175c3635476d7cf->m_frame.f_lineno = 128; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_SSL_library_init ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 128; type_description_1 = "o"; goto try_except_handler_4; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_instance_2; PyObject *tmp_source_name_6; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 130; type_description_1 = "o"; goto try_except_handler_4; } tmp_source_name_6 = par_cls; tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_lib ); if ( tmp_called_instance_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 130; type_description_1 = "o"; goto try_except_handler_4; } frame_e5ac49cfed5809892175c3635476d7cf->m_frame.f_lineno = 130; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_OpenSSL_add_all_algorithms ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 130; type_description_1 = "o"; goto try_except_handler_4; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_instance_3; PyObject *tmp_source_name_7; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 132; type_description_1 = "o"; goto try_except_handler_4; } tmp_source_name_7 = par_cls; tmp_called_instance_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_lib ); if ( tmp_called_instance_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 132; type_description_1 = "o"; goto try_except_handler_4; } frame_e5ac49cfed5809892175c3635476d7cf->m_frame.f_lineno = 132; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_SSL_load_error_strings ); Py_DECREF( tmp_called_instance_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 132; type_description_1 = "o"; goto try_except_handler_4; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_instance_4; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 133; type_description_1 = "o"; goto try_except_handler_4; } tmp_called_instance_4 = par_cls; frame_e5ac49cfed5809892175c3635476d7cf->m_frame.f_lineno = 133; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain__register_osrandom_engine ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 133; type_description_1 = "o"; goto try_except_handler_4; } Py_DECREF( tmp_unused ); } branch_no_1:; } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_1 ); exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_1 ); exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_1 ); } { if ( exception_keeper_tb_1 == NULL ) { exception_keeper_tb_1 = MAKE_TRACEBACK( frame_e5ac49cfed5809892175c3635476d7cf, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_e5ac49cfed5809892175c3635476d7cf, exception_keeper_lineno_1 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 ); PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); } { // Tried code: { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_BaseException; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 123; type_description_1 = "o"; goto try_except_handler_5; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { nuitka_bool tmp_assign_source_5; tmp_assign_source_5 = NUITKA_BOOL_FALSE; tmp_with_1__indicator = tmp_assign_source_5; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_2; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_3 = tmp_with_1__exit; tmp_args_element_name_3 = EXC_TYPE(PyThreadState_GET()); tmp_args_element_name_4 = EXC_VALUE(PyThreadState_GET()); tmp_args_element_name_5 = EXC_TRACEBACK(PyThreadState_GET()); frame_e5ac49cfed5809892175c3635476d7cf->m_frame.f_lineno = 123; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_operand_name_2 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_3, call_args ); } if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 123; type_description_1 = "o"; goto try_except_handler_5; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); Py_DECREF( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 123; type_description_1 = "o"; goto try_except_handler_5; } tmp_condition_result_3 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 123; } if (exception_tb && exception_tb->tb_frame == &frame_e5ac49cfed5809892175c3635476d7cf->m_frame) frame_e5ac49cfed5809892175c3635476d7cf->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "o"; goto try_except_handler_5; } branch_no_3:; } goto branch_end_2; branch_no_2:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 123; } if (exception_tb && exception_tb->tb_frame == &frame_e5ac49cfed5809892175c3635476d7cf->m_frame) frame_e5ac49cfed5809892175c3635476d7cf->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "o"; goto try_except_handler_5; } branch_end_2:; } goto try_end_2; // Exception handler code: try_except_handler_5:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_3; } // End of try: try_end_2:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } goto try_end_1; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$bindings$openssl$binding$$$function_8__ensure_ffi_initialized ); return NULL; // End of try: try_end_1:; } goto try_end_3; // Exception handler code: try_except_handler_3:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; assert( tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_2 = ( tmp_with_1__indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_2 = Py_True; tmp_condition_result_4 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_called_name_4; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_4 = tmp_with_1__exit; frame_e5ac49cfed5809892175c3635476d7cf->m_frame.f_lineno = 123; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_4, &PyTuple_GET_ITEM( const_tuple_none_none_none_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( exception_keeper_type_3 ); Py_XDECREF( exception_keeper_value_3 ); Py_XDECREF( exception_keeper_tb_3 ); exception_lineno = 123; type_description_1 = "o"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_4:; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_2; } // End of try: try_end_3:; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; assert( tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_3 = ( tmp_with_1__indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_3 = Py_True; tmp_condition_result_5 = ( tmp_compexpr_left_3 == tmp_compexpr_right_3 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { PyObject *tmp_called_name_5; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_5 = tmp_with_1__exit; frame_e5ac49cfed5809892175c3635476d7cf->m_frame.f_lineno = 123; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_5, &PyTuple_GET_ITEM( const_tuple_none_none_none_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 123; type_description_1 = "o"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_5:; } goto try_end_4; // Exception handler code: try_except_handler_2:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_with_1__source ); tmp_with_1__source = NULL; } { Py_XDECREF( tmp_with_1__enter ); tmp_with_1__enter = NULL; } { Py_XDECREF( tmp_with_1__exit ); tmp_with_1__exit = NULL; } { } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_4:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e5ac49cfed5809892175c3635476d7cf ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e5ac49cfed5809892175c3635476d7cf ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e5ac49cfed5809892175c3635476d7cf, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e5ac49cfed5809892175c3635476d7cf->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e5ac49cfed5809892175c3635476d7cf, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e5ac49cfed5809892175c3635476d7cf, type_description_1, par_cls ); // Release cached frame. if ( frame_e5ac49cfed5809892175c3635476d7cf == cache_frame_e5ac49cfed5809892175c3635476d7cf ) { Py_DECREF( frame_e5ac49cfed5809892175c3635476d7cf ); } cache_frame_e5ac49cfed5809892175c3635476d7cf = NULL; assertFrameObject( frame_e5ac49cfed5809892175c3635476d7cf ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( (PyObject *)tmp_with_1__source ); Py_DECREF( tmp_with_1__source ); tmp_with_1__source = NULL; } { CHECK_OBJECT( (PyObject *)tmp_with_1__enter ); Py_DECREF( tmp_with_1__enter ); tmp_with_1__enter = NULL; } { CHECK_OBJECT( (PyObject *)tmp_with_1__exit ); Py_DECREF( tmp_with_1__exit ); tmp_with_1__exit = NULL; } { } { 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( cryptography$hazmat$bindings$openssl$binding$$$function_8__ensure_ffi_initialized ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_cls ); par_cls = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$bindings$openssl$binding$$$function_8__ensure_ffi_initialized ); 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_cryptography$hazmat$bindings$openssl$binding$$$function_9_init_static_locks( 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_cls = python_pars[ 0 ]; PyObject *var_res = NULL; PyObject *tmp_with_1__enter = NULL; PyObject *tmp_with_1__exit = NULL; nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED; PyObject *tmp_with_1__source = NULL; struct Nuitka_FrameObject *frame_526880d3c48d04f089c253cd5dfa7045; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; int tmp_res; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; bool tmp_result; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_526880d3c48d04f089c253cd5dfa7045 = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_526880d3c48d04f089c253cd5dfa7045, codeobj_526880d3c48d04f089c253cd5dfa7045, module_cryptography$hazmat$bindings$openssl$binding, sizeof(void *)+sizeof(void *) ); frame_526880d3c48d04f089c253cd5dfa7045 = cache_frame_526880d3c48d04f089c253cd5dfa7045; // Push the new frame as the currently active one. pushFrameStack( frame_526880d3c48d04f089c253cd5dfa7045 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_526880d3c48d04f089c253cd5dfa7045 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_cls ); tmp_source_name_1 = par_cls; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__lock_init_lock ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 137; type_description_1 = "oo"; goto try_except_handler_2; } assert( tmp_with_1__source == NULL ); tmp_with_1__source = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; CHECK_OBJECT( tmp_with_1__source ); tmp_source_name_2 = tmp_with_1__source; tmp_called_name_1 = LOOKUP_SPECIAL( tmp_source_name_2, const_str_plain___enter__ ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 137; type_description_1 = "oo"; goto try_except_handler_2; } frame_526880d3c48d04f089c253cd5dfa7045->m_frame.f_lineno = 137; tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 137; type_description_1 = "oo"; goto try_except_handler_2; } assert( tmp_with_1__enter == NULL ); tmp_with_1__enter = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_source_name_3; CHECK_OBJECT( tmp_with_1__source ); tmp_source_name_3 = tmp_with_1__source; tmp_assign_source_3 = LOOKUP_SPECIAL( tmp_source_name_3, const_str_plain___exit__ ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 137; type_description_1 = "oo"; goto try_except_handler_2; } assert( tmp_with_1__exit == NULL ); tmp_with_1__exit = tmp_assign_source_3; } { nuitka_bool tmp_assign_source_4; tmp_assign_source_4 = NUITKA_BOOL_TRUE; tmp_with_1__indicator = tmp_assign_source_4; } { // Tried code: { // Tried code: { PyObject *tmp_called_instance_1; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 138; type_description_1 = "oo"; goto try_except_handler_4; } tmp_called_instance_1 = par_cls; frame_526880d3c48d04f089c253cd5dfa7045->m_frame.f_lineno = 138; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain__ensure_ffi_initialized ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 138; type_description_1 = "oo"; goto try_except_handler_4; } Py_DECREF( tmp_unused ); } { PyObject *tmp_name_name_1; tmp_name_name_1 = const_str_plain__ssl; frame_526880d3c48d04f089c253cd5dfa7045->m_frame.f_lineno = 141; tmp_unused = IMPORT_MODULE1( tmp_name_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 141; type_description_1 = "oo"; goto try_except_handler_4; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_called_instance_2; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; PyObject *tmp_source_name_6; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 143; type_description_1 = "oo"; goto try_except_handler_4; } tmp_source_name_4 = par_cls; tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_lib ); if ( tmp_called_instance_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 143; type_description_1 = "oo"; goto try_except_handler_4; } frame_526880d3c48d04f089c253cd5dfa7045->m_frame.f_lineno = 143; tmp_compexpr_left_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_CRYPTO_get_locking_callback ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 143; type_description_1 = "oo"; goto try_except_handler_4; } if ( par_cls == NULL ) { Py_DECREF( tmp_compexpr_left_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 143; type_description_1 = "oo"; goto try_except_handler_4; } tmp_source_name_6 = par_cls; tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_ffi ); if ( tmp_source_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_1 ); exception_lineno = 143; type_description_1 = "oo"; goto try_except_handler_4; } tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_NULL ); Py_DECREF( tmp_source_name_5 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_1 ); exception_lineno = 143; type_description_1 = "oo"; goto try_except_handler_4; } tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 143; type_description_1 = "oo"; goto try_except_handler_4; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_3; } branch_no_1:; } { PyObject *tmp_assign_source_5; PyObject *tmp_called_instance_3; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_lib ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lib ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 148; type_description_1 = "oo"; goto try_except_handler_4; } tmp_called_instance_3 = tmp_mvar_value_1; frame_526880d3c48d04f089c253cd5dfa7045->m_frame.f_lineno = 148; tmp_assign_source_5 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_Cryptography_setup_ssl_threads ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 148; type_description_1 = "oo"; goto try_except_handler_4; } assert( var_res == NULL ); var_res = tmp_assign_source_5; } { PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain__openssl_assert ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__openssl_assert ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_openssl_assert" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 149; type_description_1 = "oo"; goto try_except_handler_4; } tmp_called_name_2 = tmp_mvar_value_2; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 149; type_description_1 = "oo"; goto try_except_handler_4; } tmp_source_name_7 = par_cls; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_lib ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; type_description_1 = "oo"; goto try_except_handler_4; } if ( var_res == NULL ) { Py_DECREF( tmp_args_element_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "res" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 149; type_description_1 = "oo"; goto try_except_handler_4; } tmp_compexpr_left_2 = var_res; tmp_compexpr_right_2 = const_int_pos_1; tmp_args_element_name_2 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_args_element_name_1 ); exception_lineno = 149; type_description_1 = "oo"; goto try_except_handler_4; } frame_526880d3c48d04f089c253cd5dfa7045->m_frame.f_lineno = 149; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_args_element_name_1 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; type_description_1 = "oo"; goto try_except_handler_4; } Py_DECREF( tmp_unused ); } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_1 ); exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_1 ); exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_1 ); } { if ( exception_keeper_tb_1 == NULL ) { exception_keeper_tb_1 = MAKE_TRACEBACK( frame_526880d3c48d04f089c253cd5dfa7045, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_526880d3c48d04f089c253cd5dfa7045, exception_keeper_lineno_1 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 ); PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); } { // Tried code: { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_3 = PyExc_BaseException; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 137; type_description_1 = "oo"; goto try_except_handler_5; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { nuitka_bool tmp_assign_source_6; tmp_assign_source_6 = NUITKA_BOOL_FALSE; tmp_with_1__indicator = tmp_assign_source_6; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_1; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_3 = tmp_with_1__exit; tmp_args_element_name_3 = EXC_TYPE(PyThreadState_GET()); tmp_args_element_name_4 = EXC_VALUE(PyThreadState_GET()); tmp_args_element_name_5 = EXC_TRACEBACK(PyThreadState_GET()); frame_526880d3c48d04f089c253cd5dfa7045->m_frame.f_lineno = 137; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_3, call_args ); } if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 137; type_description_1 = "oo"; goto try_except_handler_5; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 137; type_description_1 = "oo"; goto try_except_handler_5; } tmp_condition_result_3 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 137; } if (exception_tb && exception_tb->tb_frame == &frame_526880d3c48d04f089c253cd5dfa7045->m_frame) frame_526880d3c48d04f089c253cd5dfa7045->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oo"; goto try_except_handler_5; } branch_no_3:; } goto branch_end_2; branch_no_2:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 137; } if (exception_tb && exception_tb->tb_frame == &frame_526880d3c48d04f089c253cd5dfa7045->m_frame) frame_526880d3c48d04f089c253cd5dfa7045->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oo"; goto try_except_handler_5; } branch_end_2:; } goto try_end_2; // Exception handler code: try_except_handler_5:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_3; } // End of try: try_end_2:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } goto try_end_1; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$bindings$openssl$binding$$$function_9_init_static_locks ); return NULL; // End of try: try_end_1:; } goto try_end_3; // Return handler code: try_return_handler_3:; { PyObject *tmp_called_name_4; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_4 = tmp_with_1__exit; frame_526880d3c48d04f089c253cd5dfa7045->m_frame.f_lineno = 137; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_4, &PyTuple_GET_ITEM( const_tuple_none_none_none_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 137; type_description_1 = "oo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { goto try_return_handler_2; } // 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; { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; assert( tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_4 = ( tmp_with_1__indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_4 = Py_True; tmp_condition_result_4 = ( tmp_compexpr_left_4 == tmp_compexpr_right_4 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_called_name_5; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_5 = tmp_with_1__exit; frame_526880d3c48d04f089c253cd5dfa7045->m_frame.f_lineno = 137; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_5, &PyTuple_GET_ITEM( const_tuple_none_none_none_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( exception_keeper_type_3 ); Py_XDECREF( exception_keeper_value_3 ); Py_XDECREF( exception_keeper_tb_3 ); exception_lineno = 137; type_description_1 = "oo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_4:; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_2; } // End of try: try_end_3:; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; assert( tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_5 = ( tmp_with_1__indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_5 = Py_True; tmp_condition_result_5 = ( tmp_compexpr_left_5 == tmp_compexpr_right_5 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { PyObject *tmp_called_name_6; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_6 = tmp_with_1__exit; frame_526880d3c48d04f089c253cd5dfa7045->m_frame.f_lineno = 137; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_6, &PyTuple_GET_ITEM( const_tuple_none_none_none_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 137; type_description_1 = "oo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_5:; } goto try_end_4; // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)tmp_with_1__source ); Py_DECREF( tmp_with_1__source ); tmp_with_1__source = NULL; } { CHECK_OBJECT( (PyObject *)tmp_with_1__enter ); Py_DECREF( tmp_with_1__enter ); tmp_with_1__enter = NULL; } { CHECK_OBJECT( (PyObject *)tmp_with_1__exit ); Py_DECREF( tmp_with_1__exit ); tmp_with_1__exit = NULL; } { } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_2:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_with_1__source ); tmp_with_1__source = NULL; } { Py_XDECREF( tmp_with_1__enter ); tmp_with_1__enter = NULL; } { Py_XDECREF( tmp_with_1__exit ); tmp_with_1__exit = NULL; } { } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_4:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_526880d3c48d04f089c253cd5dfa7045 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_526880d3c48d04f089c253cd5dfa7045 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_526880d3c48d04f089c253cd5dfa7045 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_526880d3c48d04f089c253cd5dfa7045, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_526880d3c48d04f089c253cd5dfa7045->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_526880d3c48d04f089c253cd5dfa7045, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_526880d3c48d04f089c253cd5dfa7045, type_description_1, par_cls, var_res ); // Release cached frame. if ( frame_526880d3c48d04f089c253cd5dfa7045 == cache_frame_526880d3c48d04f089c253cd5dfa7045 ) { Py_DECREF( frame_526880d3c48d04f089c253cd5dfa7045 ); } cache_frame_526880d3c48d04f089c253cd5dfa7045 = NULL; assertFrameObject( frame_526880d3c48d04f089c253cd5dfa7045 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( (PyObject *)tmp_with_1__source ); Py_DECREF( tmp_with_1__source ); tmp_with_1__source = NULL; } { CHECK_OBJECT( (PyObject *)tmp_with_1__enter ); Py_DECREF( tmp_with_1__enter ); tmp_with_1__enter = NULL; } { CHECK_OBJECT( (PyObject *)tmp_with_1__exit ); Py_DECREF( tmp_with_1__exit ); tmp_with_1__exit = NULL; } { } { 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( cryptography$hazmat$bindings$openssl$binding$$$function_9_init_static_locks ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( var_res ); var_res = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( var_res ); var_res = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$bindings$openssl$binding$$$function_9_init_static_locks ); 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_cryptography$hazmat$bindings$openssl$binding$$$function_1___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$bindings$openssl$binding$$$function_1___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_1268ed15a5af61c1049552ee3152e2ac, #endif codeobj_77eacb040c3a97a7d4822e2fbf9ce6a2, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$bindings$openssl$binding, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_2__lib_reason_match( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$bindings$openssl$binding$$$function_2__lib_reason_match, const_str_plain__lib_reason_match, #if PYTHON_VERSION >= 300 const_str_digest_20db5aae2ed376f38b63dff21905c22b, #endif codeobj_12a2fffd88ffcf6caaa6d0c18d4a029c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$bindings$openssl$binding, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_3__consume_errors( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$bindings$openssl$binding$$$function_3__consume_errors, const_str_plain__consume_errors, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_a6abd3c1dcf55d61c7a9c5e914a72b3c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$bindings$openssl$binding, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_4__openssl_assert( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$bindings$openssl$binding$$$function_4__openssl_assert, const_str_plain__openssl_assert, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_fb54e7bc7723c20651d3ac3438ee79c5, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$bindings$openssl$binding, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_5_build_conditional_library( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$bindings$openssl$binding$$$function_5_build_conditional_library, const_str_plain_build_conditional_library, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_4bce454df0c7e3a2ec7c2759f9ad541d, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$bindings$openssl$binding, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_6___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$bindings$openssl$binding$$$function_6___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_efa6c897f21638d71383b5dc669202a1, #endif codeobj_cdebf692698e2fd55618ebe9a6a12980, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$bindings$openssl$binding, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_7__register_osrandom_engine( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$bindings$openssl$binding$$$function_7__register_osrandom_engine, const_str_plain__register_osrandom_engine, #if PYTHON_VERSION >= 300 const_str_digest_244193a00b95ed0075657b5309c98f53, #endif codeobj_0406a7c1e72044288aff2ed9e59394e3, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$bindings$openssl$binding, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_8__ensure_ffi_initialized( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$bindings$openssl$binding$$$function_8__ensure_ffi_initialized, const_str_plain__ensure_ffi_initialized, #if PYTHON_VERSION >= 300 const_str_digest_0c0bb17b2f97fcf6d202a1c9a9fc6061, #endif codeobj_e5ac49cfed5809892175c3635476d7cf, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$bindings$openssl$binding, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_9_init_static_locks( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$bindings$openssl$binding$$$function_9_init_static_locks, const_str_plain_init_static_locks, #if PYTHON_VERSION >= 300 const_str_digest_db85465684dcabda354ab2e2bc883f38, #endif codeobj_526880d3c48d04f089c253cd5dfa7045, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$bindings$openssl$binding, NULL, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_cryptography$hazmat$bindings$openssl$binding = { PyModuleDef_HEAD_INIT, "cryptography.hazmat.bindings.openssl.binding", /* 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( cryptography$hazmat$bindings$openssl$binding ) { #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_cryptography$hazmat$bindings$openssl$binding ); } 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("cryptography.hazmat.bindings.openssl.binding: 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("cryptography.hazmat.bindings.openssl.binding: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("cryptography.hazmat.bindings.openssl.binding: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in initcryptography$hazmat$bindings$openssl$binding" ); // 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_cryptography$hazmat$bindings$openssl$binding = Py_InitModule4( "cryptography.hazmat.bindings.openssl.binding", // 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_cryptography$hazmat$bindings$openssl$binding = PyModule_Create( &mdef_cryptography$hazmat$bindings$openssl$binding ); #endif moduledict_cryptography$hazmat$bindings$openssl$binding = MODULE_DICT( module_cryptography$hazmat$bindings$openssl$binding ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (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_cryptography$hazmat$bindings$openssl$binding, (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_cryptography$hazmat$bindings$openssl$binding, (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_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_cryptography$hazmat$bindings$openssl$binding ); // 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_b11dfe4b707a71db6685885388346d53, module_cryptography$hazmat$bindings$openssl$binding ); 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_cryptography$hazmat$bindings$openssl$binding, (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_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$bindings$openssl$binding, (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_cryptography$hazmat$bindings$openssl$binding, (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_cryptography$hazmat$bindings$openssl$binding, (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 *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_import_from_1__module = NULL; PyObject *tmp_import_from_2__module = NULL; struct Nuitka_FrameObject *frame_3304188e59cb8e59c3f353d9f4cca039; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; bool tmp_result; PyObject *locals_cryptography$hazmat$bindings$openssl$binding_21 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_505bfab329525a783545b8b5cec20c77_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_505bfab329525a783545b8b5cec20c77_2 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *locals_cryptography$hazmat$bindings$openssl$binding_95 = NULL; struct Nuitka_FrameObject *frame_6c58dc83a619bb26c20baaf664555ff6_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_6c58dc83a619bb26c20baaf664555ff6_3 = NULL; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_22e7ff8a5d7ef59b1b5f554495922a5b; UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$bindings$openssl$binding, (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_cryptography$hazmat$bindings$openssl$binding, (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_3304188e59cb8e59c3f353d9f4cca039 = MAKE_MODULE_FRAME( codeobj_3304188e59cb8e59c3f353d9f4cca039, module_cryptography$hazmat$bindings$openssl$binding ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_3304188e59cb8e59c3f353d9f4cca039 ); assert( Py_REFCNT( frame_3304188e59cb8e59c3f353d9f4cca039 ) == 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 = 5; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (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 = 5; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (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_print_function ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 5; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_print_function, 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_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_collections; tmp_globals_name_1 = (PyObject *)moduledict_cryptography$hazmat$bindings$openssl$binding; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; frame_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 7; tmp_assign_source_8 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 7; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_collections, tmp_assign_source_8 ); } { PyObject *tmp_assign_source_9; 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_plain_threading; tmp_globals_name_2 = (PyObject *)moduledict_cryptography$hazmat$bindings$openssl$binding; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = Py_None; tmp_level_name_2 = const_int_0; frame_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 8; tmp_assign_source_9 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_threading, tmp_assign_source_9 ); } { PyObject *tmp_assign_source_10; PyObject *tmp_name_name_3; PyObject *tmp_globals_name_3; PyObject *tmp_locals_name_3; PyObject *tmp_fromlist_name_3; PyObject *tmp_level_name_3; tmp_name_name_3 = const_str_plain_types; tmp_globals_name_3 = (PyObject *)moduledict_cryptography$hazmat$bindings$openssl$binding; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = Py_None; tmp_level_name_3 = const_int_0; frame_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 9; tmp_assign_source_10 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 9; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_types, tmp_assign_source_10 ); } { PyObject *tmp_assign_source_11; PyObject *tmp_import_name_from_4; PyObject *tmp_name_name_4; PyObject *tmp_globals_name_4; PyObject *tmp_locals_name_4; PyObject *tmp_fromlist_name_4; PyObject *tmp_level_name_4; tmp_name_name_4 = const_str_plain_cryptography; tmp_globals_name_4 = (PyObject *)moduledict_cryptography$hazmat$bindings$openssl$binding; tmp_locals_name_4 = Py_None; tmp_fromlist_name_4 = const_tuple_str_plain_utils_tuple; tmp_level_name_4 = const_int_0; frame_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 11; tmp_import_name_from_4 = IMPORT_MODULE5( tmp_name_name_4, tmp_globals_name_4, tmp_locals_name_4, tmp_fromlist_name_4, tmp_level_name_4 ); if ( tmp_import_name_from_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 11; goto frame_exception_exit_1; } tmp_assign_source_11 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_utils ); Py_DECREF( tmp_import_name_from_4 ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 11; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_utils, tmp_assign_source_11 ); } { PyObject *tmp_assign_source_12; PyObject *tmp_import_name_from_5; PyObject *tmp_name_name_5; PyObject *tmp_globals_name_5; PyObject *tmp_locals_name_5; PyObject *tmp_fromlist_name_5; PyObject *tmp_level_name_5; tmp_name_name_5 = const_str_digest_82e5b7f1075745a8638e06059354d03c; tmp_globals_name_5 = (PyObject *)moduledict_cryptography$hazmat$bindings$openssl$binding; tmp_locals_name_5 = Py_None; tmp_fromlist_name_5 = const_tuple_str_plain_InternalError_tuple; tmp_level_name_5 = const_int_0; frame_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 12; tmp_import_name_from_5 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_5 ); if ( tmp_import_name_from_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 12; goto frame_exception_exit_1; } tmp_assign_source_12 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_InternalError ); Py_DECREF( tmp_import_name_from_5 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 12; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_InternalError, tmp_assign_source_12 ); } { PyObject *tmp_assign_source_13; PyObject *tmp_name_name_6; PyObject *tmp_globals_name_6; PyObject *tmp_locals_name_6; PyObject *tmp_fromlist_name_6; PyObject *tmp_level_name_6; tmp_name_name_6 = const_str_digest_505b25a89592d8f8a40457cc12dc6cfc; tmp_globals_name_6 = (PyObject *)moduledict_cryptography$hazmat$bindings$openssl$binding; tmp_locals_name_6 = Py_None; tmp_fromlist_name_6 = const_tuple_str_plain_ffi_str_plain_lib_tuple; tmp_level_name_6 = const_int_0; frame_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 13; tmp_assign_source_13 = IMPORT_MODULE5( tmp_name_name_6, tmp_globals_name_6, tmp_locals_name_6, tmp_fromlist_name_6, tmp_level_name_6 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto frame_exception_exit_1; } assert( tmp_import_from_2__module == NULL ); tmp_import_from_2__module = tmp_assign_source_13; } { // Tried code: { PyObject *tmp_assign_source_14; PyObject *tmp_import_name_from_6; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_6 = tmp_import_from_2__module; tmp_assign_source_14 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_ffi ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_ffi, tmp_assign_source_14 ); } { PyObject *tmp_assign_source_15; PyObject *tmp_import_name_from_7; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_7 = tmp_import_from_2__module; tmp_assign_source_15 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_lib ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_lib, tmp_assign_source_15 ); } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_2__module ); Py_DECREF( tmp_import_from_2__module ); tmp_import_from_2__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_2__module ); Py_DECREF( tmp_import_from_2__module ); tmp_import_from_2__module = NULL; } { PyObject *tmp_assign_source_16; PyObject *tmp_import_name_from_8; PyObject *tmp_name_name_7; PyObject *tmp_globals_name_7; PyObject *tmp_locals_name_7; PyObject *tmp_fromlist_name_7; PyObject *tmp_level_name_7; tmp_name_name_7 = const_str_digest_6c6405718530cbdfc8da1bb69c050727; tmp_globals_name_7 = (PyObject *)moduledict_cryptography$hazmat$bindings$openssl$binding; tmp_locals_name_7 = Py_None; tmp_fromlist_name_7 = const_tuple_str_plain_CONDITIONAL_NAMES_tuple; tmp_level_name_7 = const_int_0; frame_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 14; tmp_import_name_from_8 = IMPORT_MODULE5( tmp_name_name_7, tmp_globals_name_7, tmp_locals_name_7, tmp_fromlist_name_7, tmp_level_name_7 ); if ( tmp_import_name_from_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto frame_exception_exit_1; } tmp_assign_source_16 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_CONDITIONAL_NAMES ); Py_DECREF( tmp_import_name_from_8 ); if ( tmp_assign_source_16 == 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_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_CONDITIONAL_NAMES, tmp_assign_source_16 ); } { PyObject *tmp_assign_source_17; PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_1; PyObject *tmp_call_arg_element_1; PyObject *tmp_call_arg_element_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_collections ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_collections ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "collections" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 16; goto frame_exception_exit_1; } tmp_called_instance_1 = tmp_mvar_value_1; tmp_call_arg_element_1 = const_str_plain__OpenSSLErrorWithText; tmp_call_arg_element_2 = LIST_COPY( const_list_8956a679041af248593add6c88adb320_list ); frame_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 16; { PyObject *call_args[] = { tmp_call_arg_element_1, tmp_call_arg_element_2 }; tmp_assign_source_17 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_namedtuple, call_args ); } Py_DECREF( tmp_call_arg_element_2 ); if ( tmp_assign_source_17 == 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_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain__OpenSSLErrorWithText, tmp_assign_source_17 ); } { // Tried code: { PyObject *tmp_assign_source_18; PyObject *tmp_dircall_arg1_1; tmp_dircall_arg1_1 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_assign_source_18 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 21; goto try_except_handler_3; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_18; } { PyObject *tmp_assign_source_19; tmp_assign_source_19 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_19; } { PyObject *tmp_assign_source_20; 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 = 21; goto try_except_handler_3; } 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 = 21; goto try_except_handler_3; } 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 = 21; goto try_except_handler_3; } 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 = 21; goto try_except_handler_3; } 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 = 21; goto try_except_handler_3; } 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_20 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 21; goto try_except_handler_3; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_20; } { 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 = 21; goto try_except_handler_3; } 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 = 21; goto try_except_handler_3; } } 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_21; 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 = 21; goto try_except_handler_3; } tmp_tuple_element_1 = const_str_plain__OpenSSLError; 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_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 21; tmp_assign_source_21 = 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_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 21; goto try_except_handler_3; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_21; } { 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 = 21; goto try_except_handler_3; } 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 = 21; goto try_except_handler_3; } 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 = 21; goto try_except_handler_3; } 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 = 21; goto try_except_handler_3; } exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_value = tmp_raise_value_1; exception_lineno = 21; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_3; } branch_no_3:; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_22; tmp_assign_source_22 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_22; } branch_end_2:; } { PyObject *tmp_assign_source_23; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_cryptography$hazmat$bindings$openssl$binding_21 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_b11dfe4b707a71db6685885388346d53; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, 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 = 21; goto try_except_handler_5; } } { tmp_dictset_value = const_str_plain__OpenSSLError; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, 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 = 21; goto try_except_handler_5; } } MAKE_OR_REUSE_FRAME( cache_frame_505bfab329525a783545b8b5cec20c77_2, codeobj_505bfab329525a783545b8b5cec20c77, module_cryptography$hazmat$bindings$openssl$binding, sizeof(void *) ); frame_505bfab329525a783545b8b5cec20c77_2 = cache_frame_505bfab329525a783545b8b5cec20c77_2; // Push the new frame as the currently active one. pushFrameStack( frame_505bfab329525a783545b8b5cec20c77_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_505bfab329525a783545b8b5cec20c77_2 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_1___init__( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, 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 = 22; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_2__lib_reason_match( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, const_str_plain__lib_reason_match, 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 = 28; type_description_2 = "o"; goto frame_exception_exit_2; } } { PyObject *tmp_called_instance_2; PyObject *tmp_mvar_value_2; tmp_called_instance_2 = PyObject_GetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, const_str_plain_utils ); if ( tmp_called_instance_2 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_utils ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "utils" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 31; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_called_instance_2 = tmp_mvar_value_2; Py_INCREF( tmp_called_instance_2 ); } } frame_505bfab329525a783545b8b5cec20c77_2->m_frame.f_lineno = 31; tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_read_only_property, &PyTuple_GET_ITEM( const_tuple_str_plain__code_tuple, 0 ) ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 31; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, const_str_plain_code, 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 = 31; type_description_2 = "o"; goto frame_exception_exit_2; } } { PyObject *tmp_called_instance_3; PyObject *tmp_mvar_value_3; tmp_called_instance_3 = PyObject_GetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, const_str_plain_utils ); if ( tmp_called_instance_3 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_utils ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "utils" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 32; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_called_instance_3 = tmp_mvar_value_3; Py_INCREF( tmp_called_instance_3 ); } } frame_505bfab329525a783545b8b5cec20c77_2->m_frame.f_lineno = 32; tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_read_only_property, &PyTuple_GET_ITEM( const_tuple_str_plain__lib_tuple, 0 ) ); Py_DECREF( tmp_called_instance_3 ); if ( tmp_dictset_value == NULL ) { 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_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, const_str_plain_lib, 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; } } { PyObject *tmp_called_instance_4; PyObject *tmp_mvar_value_4; tmp_called_instance_4 = PyObject_GetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, const_str_plain_utils ); if ( tmp_called_instance_4 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_utils ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "utils" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 33; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_called_instance_4 = tmp_mvar_value_4; Py_INCREF( tmp_called_instance_4 ); } } frame_505bfab329525a783545b8b5cec20c77_2->m_frame.f_lineno = 33; tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_read_only_property, &PyTuple_GET_ITEM( const_tuple_str_plain__func_tuple, 0 ) ); Py_DECREF( tmp_called_instance_4 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 33; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, const_str_plain_func, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 33; type_description_2 = "o"; goto frame_exception_exit_2; } } { PyObject *tmp_called_instance_5; PyObject *tmp_mvar_value_5; tmp_called_instance_5 = PyObject_GetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, const_str_plain_utils ); if ( tmp_called_instance_5 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_utils ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "utils" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 34; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_called_instance_5 = tmp_mvar_value_5; Py_INCREF( tmp_called_instance_5 ); } } frame_505bfab329525a783545b8b5cec20c77_2->m_frame.f_lineno = 34; tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_5, const_str_plain_read_only_property, &PyTuple_GET_ITEM( const_tuple_str_plain__reason_tuple, 0 ) ); Py_DECREF( tmp_called_instance_5 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 34; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, 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 = 34; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_505bfab329525a783545b8b5cec20c77_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_505bfab329525a783545b8b5cec20c77_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_505bfab329525a783545b8b5cec20c77_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_505bfab329525a783545b8b5cec20c77_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_505bfab329525a783545b8b5cec20c77_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_505bfab329525a783545b8b5cec20c77_2, type_description_2, outline_0_var___class__ ); // Release cached frame. if ( frame_505bfab329525a783545b8b5cec20c77_2 == cache_frame_505bfab329525a783545b8b5cec20c77_2 ) { Py_DECREF( frame_505bfab329525a783545b8b5cec20c77_2 ); } cache_frame_505bfab329525a783545b8b5cec20c77_2 = NULL; assertFrameObject( frame_505bfab329525a783545b8b5cec20c77_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_5; 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_object_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 = 21; goto try_except_handler_5; } tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_21, 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 = 21; goto try_except_handler_5; } } branch_no_4:; } { PyObject *tmp_assign_source_24; 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__OpenSSLError; 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_cryptography$hazmat$bindings$openssl$binding_21; 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_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 21; tmp_assign_source_24 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 21; goto try_except_handler_5; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_24; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_23 = outline_0_var___class__; Py_INCREF( tmp_assign_source_23 ); goto try_return_handler_5; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$bindings$openssl$binding ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_5:; { Py_DECREF( locals_cryptography$hazmat$bindings$openssl$binding_21 ); locals_cryptography$hazmat$bindings$openssl$binding_21 = NULL; } { goto try_return_handler_4; } // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_cryptography$hazmat$bindings$openssl$binding_21 ); locals_cryptography$hazmat$bindings$openssl$binding_21 = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$bindings$openssl$binding ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_4:; { 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_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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 outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$bindings$openssl$binding ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 21; goto try_except_handler_3; outline_result_1:; UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain__OpenSSLError, tmp_assign_source_23 ); } goto try_end_3; // Exception handler code: try_except_handler_3:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( 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_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto frame_exception_exit_1; } // End of try: try_end_3:; } { 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; } { PyObject *tmp_assign_source_25; tmp_assign_source_25 = MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_3__consume_errors( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain__consume_errors, tmp_assign_source_25 ); } { PyObject *tmp_assign_source_26; tmp_assign_source_26 = MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_4__openssl_assert( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain__openssl_assert, tmp_assign_source_26 ); } { PyObject *tmp_assign_source_27; tmp_assign_source_27 = MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_5_build_conditional_library( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_build_conditional_library, tmp_assign_source_27 ); } { // Tried code: { PyObject *tmp_assign_source_28; PyObject *tmp_dircall_arg1_2; tmp_dircall_arg1_2 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_28 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 95; goto try_except_handler_6; } assert( tmp_class_creation_2__bases == NULL ); tmp_class_creation_2__bases = tmp_assign_source_28; } { PyObject *tmp_assign_source_29; tmp_assign_source_29 = PyDict_New(); assert( tmp_class_creation_2__class_decl_dict == NULL ); tmp_class_creation_2__class_decl_dict = tmp_assign_source_29; } { PyObject *tmp_assign_source_30; 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 = 95; goto try_except_handler_6; } 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 = 95; goto try_except_handler_6; } 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 = 95; goto try_except_handler_6; } 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 = 95; goto try_except_handler_6; } 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 = 95; goto try_except_handler_6; } 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_30 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 ); Py_DECREF( tmp_metaclass_name_2 ); if ( tmp_assign_source_30 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 95; goto try_except_handler_6; } assert( tmp_class_creation_2__metaclass == NULL ); tmp_class_creation_2__metaclass = tmp_assign_source_30; } { 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 = 95; goto try_except_handler_6; } 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 = 95; goto try_except_handler_6; } } branch_no_5:; } { nuitka_bool tmp_condition_result_10; PyObject *tmp_source_name_5; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_5 = tmp_class_creation_2__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_5, 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_31; PyObject *tmp_called_name_3; PyObject *tmp_source_name_6; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_4; PyObject *tmp_kw_name_3; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_6 = tmp_class_creation_2__metaclass; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain___prepare__ ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 95; goto try_except_handler_6; } tmp_tuple_element_4 = const_str_plain_Binding; tmp_args_name_3 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_4 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict; frame_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 95; tmp_assign_source_31 = 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_31 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 95; goto try_except_handler_6; } assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_31; } { nuitka_bool tmp_condition_result_11; PyObject *tmp_operand_name_2; PyObject *tmp_source_name_7; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_source_name_7 = tmp_class_creation_2__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_7, 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 = 95; goto try_except_handler_6; } tmp_condition_result_11 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE ) { goto branch_yes_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_5; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; PyObject *tmp_source_name_8; 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_5 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 95; goto try_except_handler_6; } tmp_right_name_2 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_5 ); CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_type_arg_4 = tmp_class_creation_2__prepared; tmp_source_name_8 = BUILTIN_TYPE1( tmp_type_arg_4 ); assert( !(tmp_source_name_8 == NULL) ); tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___name__ ); Py_DECREF( tmp_source_name_8 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_2 ); exception_lineno = 95; goto try_except_handler_6; } PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_5 ); 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 = 95; goto try_except_handler_6; } exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_value = tmp_raise_value_2; exception_lineno = 95; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_6; } branch_no_7:; } goto branch_end_6; branch_no_6:; { PyObject *tmp_assign_source_32; tmp_assign_source_32 = PyDict_New(); assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_32; } branch_end_6:; } { PyObject *tmp_assign_source_33; { PyObject *tmp_set_locals_2; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_cryptography$hazmat$bindings$openssl$binding_95 = tmp_set_locals_2; Py_INCREF( tmp_set_locals_2 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_b11dfe4b707a71db6685885388346d53; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, 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 = 95; goto try_except_handler_8; } } { tmp_dictset_value = const_str_digest_047c6b447dfade6d8845cc4ae8e4b676; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, 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 = 95; goto try_except_handler_8; } } { tmp_dictset_value = const_str_plain_Binding; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, 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 = 95; goto try_except_handler_8; } } MAKE_OR_REUSE_FRAME( cache_frame_6c58dc83a619bb26c20baaf664555ff6_3, codeobj_6c58dc83a619bb26c20baaf664555ff6, module_cryptography$hazmat$bindings$openssl$binding, sizeof(void *) ); frame_6c58dc83a619bb26c20baaf664555ff6_3 = cache_frame_6c58dc83a619bb26c20baaf664555ff6_3; // Push the new frame as the currently active one. pushFrameStack( frame_6c58dc83a619bb26c20baaf664555ff6_3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_6c58dc83a619bb26c20baaf664555ff6_3 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = Py_None; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain_lib, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 99; type_description_2 = "o"; goto frame_exception_exit_3; } } { PyObject *tmp_mvar_value_6; tmp_dictset_value = PyObject_GetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain_ffi ); if ( tmp_dictset_value == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_ffi ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ffi ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ffi" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 100; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_dictset_value = tmp_mvar_value_6; Py_INCREF( tmp_dictset_value ); } } tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain_ffi, 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 = 100; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = Py_False; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain__lib_loaded, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 101; type_description_2 = "o"; goto frame_exception_exit_3; } } { PyObject *tmp_called_instance_6; PyObject *tmp_mvar_value_7; tmp_called_instance_6 = PyObject_GetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain_threading ); if ( tmp_called_instance_6 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_threading ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_threading ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "threading" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 102; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_called_instance_6 = tmp_mvar_value_7; Py_INCREF( tmp_called_instance_6 ); } } frame_6c58dc83a619bb26c20baaf664555ff6_3->m_frame.f_lineno = 102; tmp_dictset_value = CALL_METHOD_NO_ARGS( tmp_called_instance_6, const_str_plain_Lock ); Py_DECREF( tmp_called_instance_6 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 102; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain__init_lock, 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 = 102; type_description_2 = "o"; goto frame_exception_exit_3; } } { PyObject *tmp_called_instance_7; PyObject *tmp_mvar_value_8; tmp_called_instance_7 = PyObject_GetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain_threading ); if ( tmp_called_instance_7 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_threading ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_threading ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "threading" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 103; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_called_instance_7 = tmp_mvar_value_8; Py_INCREF( tmp_called_instance_7 ); } } frame_6c58dc83a619bb26c20baaf664555ff6_3->m_frame.f_lineno = 103; tmp_dictset_value = CALL_METHOD_NO_ARGS( tmp_called_instance_7, const_str_plain_Lock ); Py_DECREF( tmp_called_instance_7 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain__lock_init_lock, 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 = 103; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_6___init__( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, 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 = 105; 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_classmethod_arg_1; tmp_res = MAPPING_HAS_ITEM( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain_classmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 108; 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_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain_classmethod ); 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", "classmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 108; 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 = 108; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_args_element_name_1 = MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_7__register_osrandom_engine( ); frame_6c58dc83a619bb26c20baaf664555ff6_3->m_frame.f_lineno = 108; { 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 = 108; type_description_2 = "o"; goto frame_exception_exit_3; } goto condexpr_end_5; condexpr_false_5:; tmp_classmethod_arg_1 = MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_7__register_osrandom_engine( ); tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_1 ); Py_DECREF( tmp_classmethod_arg_1 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 108; type_description_2 = "o"; goto frame_exception_exit_3; } condexpr_end_5:; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain__register_osrandom_engine, 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 = 108; type_description_2 = "o"; goto frame_exception_exit_3; } } { nuitka_bool tmp_condition_result_13; PyObject *tmp_called_name_5; PyObject *tmp_args_element_name_2; PyObject *tmp_classmethod_arg_2; tmp_res = MAPPING_HAS_ITEM( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain_classmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 121; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_condition_result_13 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE ) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; tmp_called_name_5 = PyObject_GetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain_classmethod ); if ( tmp_called_name_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; type_description_2 = "o"; goto frame_exception_exit_3; } if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 121; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_args_element_name_2 = MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_8__ensure_ffi_initialized( ); frame_6c58dc83a619bb26c20baaf664555ff6_3->m_frame.f_lineno = 121; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); 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 = 121; type_description_2 = "o"; goto frame_exception_exit_3; } goto condexpr_end_6; condexpr_false_6:; tmp_classmethod_arg_2 = MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_8__ensure_ffi_initialized( ); tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_2 ); Py_DECREF( tmp_classmethod_arg_2 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 121; type_description_2 = "o"; goto frame_exception_exit_3; } condexpr_end_6:; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain__ensure_ffi_initialized, 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 = 121; type_description_2 = "o"; goto frame_exception_exit_3; } } { nuitka_bool tmp_condition_result_14; PyObject *tmp_called_name_6; PyObject *tmp_args_element_name_3; PyObject *tmp_classmethod_arg_3; tmp_res = MAPPING_HAS_ITEM( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain_classmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 135; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_condition_result_14 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; tmp_called_name_6 = PyObject_GetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain_classmethod ); if ( tmp_called_name_6 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 135; type_description_2 = "o"; goto frame_exception_exit_3; } if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 135; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_args_element_name_3 = MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_9_init_static_locks( ); frame_6c58dc83a619bb26c20baaf664555ff6_3->m_frame.f_lineno = 135; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 135; type_description_2 = "o"; goto frame_exception_exit_3; } goto condexpr_end_7; condexpr_false_7:; tmp_classmethod_arg_3 = MAKE_FUNCTION_cryptography$hazmat$bindings$openssl$binding$$$function_9_init_static_locks( ); tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_3 ); Py_DECREF( tmp_classmethod_arg_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 135; type_description_2 = "o"; goto frame_exception_exit_3; } condexpr_end_7:; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, const_str_plain_init_static_locks, 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 = 135; type_description_2 = "o"; goto frame_exception_exit_3; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_6c58dc83a619bb26c20baaf664555ff6_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_6c58dc83a619bb26c20baaf664555ff6_3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_6c58dc83a619bb26c20baaf664555ff6_3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_6c58dc83a619bb26c20baaf664555ff6_3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_6c58dc83a619bb26c20baaf664555ff6_3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_6c58dc83a619bb26c20baaf664555ff6_3, type_description_2, outline_1_var___class__ ); // Release cached frame. if ( frame_6c58dc83a619bb26c20baaf664555ff6_3 == cache_frame_6c58dc83a619bb26c20baaf664555ff6_3 ) { Py_DECREF( frame_6c58dc83a619bb26c20baaf664555ff6_3 ); } cache_frame_6c58dc83a619bb26c20baaf664555ff6_3 = NULL; assertFrameObject( frame_6c58dc83a619bb26c20baaf664555ff6_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_8; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_15; 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; tmp_compexpr_right_2 = const_tuple_type_object_tuple; 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 = 95; goto try_except_handler_8; } tmp_condition_result_15 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$bindings$openssl$binding_95, 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 = 95; goto try_except_handler_8; } } branch_no_8:; } { PyObject *tmp_assign_source_34; PyObject *tmp_called_name_7; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_6; PyObject *tmp_kw_name_4; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_called_name_7 = tmp_class_creation_2__metaclass; tmp_tuple_element_6 = const_str_plain_Binding; tmp_args_name_4 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_6 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_6 ); tmp_tuple_element_6 = locals_cryptography$hazmat$bindings$openssl$binding_95; Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict; frame_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 95; tmp_assign_source_34 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_4, tmp_kw_name_4 ); Py_DECREF( tmp_args_name_4 ); if ( tmp_assign_source_34 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 95; goto try_except_handler_8; } assert( outline_1_var___class__ == NULL ); outline_1_var___class__ = tmp_assign_source_34; } { CHECK_OBJECT( outline_1_var___class__ ); tmp_assign_source_33 = outline_1_var___class__; Py_INCREF( tmp_assign_source_33 ); goto try_return_handler_8; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$bindings$openssl$binding ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_8:; { Py_DECREF( locals_cryptography$hazmat$bindings$openssl$binding_95 ); locals_cryptography$hazmat$bindings$openssl$binding_95 = NULL; } { goto try_return_handler_7; } // Exception handler code: try_except_handler_8:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_cryptography$hazmat$bindings$openssl$binding_95 ); locals_cryptography$hazmat$bindings$openssl$binding_95 = NULL; } { // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto try_except_handler_7; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$bindings$openssl$binding ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_7:; { 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_7:; 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; { // 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 outline_exception_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$bindings$openssl$binding ); return MOD_RETURN_VALUE( NULL ); outline_exception_2:; exception_lineno = 95; goto try_except_handler_6; outline_result_2:; UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_Binding, tmp_assign_source_33 ); } goto try_end_4; // Exception handler code: try_except_handler_6:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto frame_exception_exit_1; } // End of try: try_end_4:; } { 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; } { PyObject *tmp_called_instance_8; PyObject *tmp_mvar_value_9; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$bindings$openssl$binding, (Nuitka_StringObject *)const_str_plain_Binding ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Binding ); } if ( tmp_mvar_value_9 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Binding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 157; goto frame_exception_exit_1; } tmp_called_instance_8 = tmp_mvar_value_9; frame_3304188e59cb8e59c3f353d9f4cca039->m_frame.f_lineno = 157; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_8, const_str_plain_init_static_locks ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 157; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_3304188e59cb8e59c3f353d9f4cca039 ); #endif popFrameStack(); assertFrameObject( frame_3304188e59cb8e59c3f353d9f4cca039 ); goto frame_no_exception_3; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3304188e59cb8e59c3f353d9f4cca039 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3304188e59cb8e59c3f353d9f4cca039, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3304188e59cb8e59c3f353d9f4cca039->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3304188e59cb8e59c3f353d9f4cca039, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_3:; return MOD_RETURN_VALUE( module_cryptography$hazmat$bindings$openssl$binding ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }