/* Generated code for Python source for module 'cryptography.hazmat.primitives.serialization' * 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$primitives$serialization 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$primitives$serialization; PyDictObject *moduledict_cryptography$hazmat$primitives$serialization; /* The module constants used, if any. */ extern PyObject *const_str_plain_KeySerializationEncryption; extern PyObject *const_str_plain_metaclass; extern PyObject *const_str_plain_PKCS8; extern PyObject *const_str_plain_big; extern PyObject *const_str_plain_PublicFormat; extern PyObject *const_str_plain___name__; extern PyObject *const_str_plain_curve_name; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_str_angle_metaclass; extern PyObject *const_str_plain_BestAvailableEncryption; extern PyObject *const_str_plain_load_pem_parameters; extern PyObject *const_str_plain___file__; extern PyObject *const_str_plain_abc; extern PyObject *const_str_plain_object; static PyObject *const_tuple_str_plain_data_str_plain_mpint_data_str_plain_rest_tuple; static PyObject *const_str_plain_load_ssh_public_key; extern PyObject *const_str_plain_bytes; static PyObject *const_str_digest_11b3102fb6667ebe907a0e04d907a573; static PyObject *const_str_plain__load_ssh_dss_public_key; extern PyObject *const_str_plain_struct; extern PyObject *const_str_plain_unpack; extern PyObject *const_str_plain_signed; extern PyObject *const_str_plain__ssh_write_string; extern PyObject *const_str_plain_division; static PyObject *const_tuple_ef695e8d0ba82622bd3e50166fce2507_tuple; extern PyObject *const_str_plain_load_der_private_key; extern PyObject *const_int_pos_128; extern PyObject *const_tuple_str_plain_dsa_str_plain_ec_str_plain_rsa_tuple; static PyObject *const_str_plain_inner_key_type; extern PyObject *const_str_plain_None; extern PyObject *const_tuple_str_plain_utils_tuple; extern PyObject *const_str_plain_UnsupportedAlgorithm; extern PyObject *const_str_plain_load_der_parameters; extern PyObject *const_str_plain_load_pem_private_key; extern PyObject *const_str_plain_rsa; extern PyObject *const_tuple_str_plain_data_str_plain_backend_tuple; extern PyObject *const_str_plain_q; static PyObject *const_str_plain__load_ssh_ecdsa_public_key; static PyObject *const_str_digest_a3ce78b13749d84965e166cfdb80f1c4; static PyObject *const_str_digest_ef47ab2a034caff9bd852888daeea85a; extern PyObject *const_bytes_digest_76030cd3f62473877f585df48ef345f2; extern PyObject *const_str_plain_utils; static PyObject *const_tuple_b6f02cc157fb015b7732119362b44b2c_tuple; static PyObject *const_dict_88454893fd57cb80b44c27f8677cf249; extern PyObject *const_str_plain_absolute_import; extern PyObject *const_str_plain___doc__; static PyObject *const_str_digest_139db1100c396bda8dec92aa6b0d920f; static PyObject *const_str_digest_78abe1bf2bd26605a269b2690524144c; extern PyObject *const_str_plain___orig_bases__; extern PyObject *const_str_digest_82e5b7f1075745a8638e06059354d03c; extern PyObject *const_str_plain_load_pem_public_key; extern PyObject *const_str_plain_data; static PyObject *const_str_plain__load_ssh_rsa_public_key; extern PyObject *const_bytes_digest_bcbb1138c00ba128a145c860b0480e08; extern PyObject *const_str_plain_cryptography; extern PyObject *const_str_plain___qualname__; extern PyObject *const_str_plain_PKCS3; static PyObject *const_str_plain_decoded_data; extern PyObject *const_str_plain_PEM; static PyObject *const_list_f9c29f401c0a3ce57a2af9e74c4a9df4_list; extern PyObject *const_str_plain_SECP384R1; extern PyObject *const_str_plain_n; static PyObject *const_str_digest_283a33d80993ec565c05ed32c8b2aeec; extern PyObject *const_str_plain_key_type; extern PyObject *const_str_plain_p; extern PyObject *const_str_plain_g; static PyObject *const_str_digest_b8ec8026266cd63bb5f6cc410d4f54fb; extern PyObject *const_str_plain_six; extern PyObject *const_str_plain_value; extern PyObject *const_str_plain_SECP256R1; static PyObject *const_tuple_bytes_chr_32_int_pos_2_tuple; extern PyObject *const_tuple_str_plain_UnsupportedAlgorithm_tuple; static PyObject *const_str_plain_mpint_data; extern PyObject *const_str_plain_OpenSSH; extern PyObject *const_str_plain_base64; extern PyObject *const_str_plain_e; static PyObject *const_str_plain_expected_key_type; static PyObject *const_str_digest_96c9d20f0ef9209e2d19d32c0e6986ed; static PyObject *const_str_digest_0b489aa2a47207c59cf1299198128d6b; extern PyObject *const_str_plain_ParameterFormat; extern PyObject *const_tuple_empty; static PyObject *const_str_digest_5a19e6e7c9a2eb5ae94e5b1d5d3af128; extern PyObject *const_str_plain_int_from_bytes; extern PyObject *const_str_plain_numbers; static PyObject *const_str_digest_de3b366ff97431f65e9b8abe77213416; extern PyObject *const_str_plain_load_der_public_key; extern PyObject *const_str_plain_curve; static PyObject *const_tuple_27a2adb1aaf74641492741880e9d9931_tuple; extern PyObject *const_str_plain_public_key; extern PyObject *const_str_plain_register_interface; static PyObject *const_str_digest_2808b817a259c91cbe21f0b30360c612; extern PyObject *const_str_plain_split; static PyObject *const_tuple_str_plain_value_str_plain_data_tuple; static PyObject *const_str_plain_key_body; extern PyObject *const_str_plain_from_encoded_point; extern PyObject *const_str_plain_SubjectPublicKeyInfo; extern PyObject *const_str_plain_False; extern PyObject *const_str_plain_pack; extern PyObject *const_bytes_digest_42c93b17f640c2a16603ded36386baac; extern PyObject *const_str_plain___getitem__; extern PyObject *const_tuple_str_plain_Enum_tuple; extern PyObject *const_str_plain__ssh_write_mpint; static PyObject *const_str_digest_2dbcf60f94479c5903c8287fc6cc0173; extern PyObject *const_str_digest_426349c7e201b358f2086eb3f7fb6f47; extern PyObject *const_str_plain_rest; extern PyObject *const_str_plain_ec; static PyObject *const_bytes_digest_2481e6f46784b4231c6ffe009daa7459; extern PyObject *const_int_0; static PyObject *const_str_digest_c2ff810e11eb768b63807e249d6a59b5; extern PyObject *const_str_plain_PKCS1; extern PyObject *const_str_plain_SECP521R1; extern PyObject *const_str_plain_ABCMeta; extern PyObject *const_str_plain_byteorder; static PyObject *const_bytes_digest_d83c8c298893122448b5f63f1cef781a; extern PyObject *const_str_plain_public_numbers; static PyObject *const_tuple_str_plain_data_str_plain_str_len_tuple; extern PyObject *const_str_plain_DSAParameterNumbers; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; extern PyObject *const_str_plain_Encoding; extern PyObject *const_slice_none_int_pos_4_none; static PyObject *const_tuple_str_plain_data_str_plain_password_str_plain_backend_tuple; extern PyObject *const_int_pos_4; extern PyObject *const_tuple_str_plain_data_tuple; static PyObject *const_str_digest_8273b9d6f38d6f65d4e6f6fa2a9ac1d1; extern PyObject *const_str_digest_e32643bbdc087df0169bdbc4edb2d9da; static PyObject *const_tuple_str_plain_self_str_plain_password_tuple; extern PyObject *const_str_plain_type; extern PyObject *const_str_plain_RSAPublicNumbers; extern PyObject *const_str_plain_Enum; extern PyObject *const_str_plain___cached__; extern PyObject *const_str_plain_print_function; extern PyObject *const_str_plain___class__; extern PyObject *const_bytes_chr_32; extern PyObject *const_bytes_digest_b8a11f215e0cb94707db28b4252b6e25; static PyObject *const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple; extern PyObject *const_str_plain_password; extern PyObject *const_str_plain___module__; extern PyObject *const_tuple_type_object_tuple; static PyObject *const_bytes_digest_380bcc6bd744f379ddff4fb64fcd8d2a; extern PyObject *const_int_pos_1; static PyObject *const_str_plain__ssh_read_next_string; extern PyObject *const_str_plain_y; extern PyObject *const_str_plain_parameter_numbers; extern PyObject *const_str_plain_backend; static PyObject *const_str_plain_key_parts; extern PyObject *const_str_plain_DSAPublicNumbers; extern PyObject *const_str_plain_add_metaclass; extern PyObject *const_str_plain___prepare__; extern PyObject *const_str_plain___init__; extern PyObject *const_str_plain_b64decode; extern PyObject *const_str_plain_enum; extern PyObject *const_str_plain_NoEncryption; extern PyObject *const_str_plain_TraditionalOpenSSL; extern PyObject *const_str_plain_DER; extern PyObject *const_str_plain_self; static PyObject *const_str_plain__ssh_read_next_mpint; static PyObject *const_tuple_str_digest_78abe1bf2bd26605a269b2690524144c_tuple; extern PyObject *const_str_plain_indexbytes; static PyObject *const_str_plain_str_len; extern PyObject *const_str_plain_int_to_bytes; extern PyObject *const_int_pos_2; extern PyObject *const_str_plain_dsa; extern PyObject *const_bytes_chr_0; extern PyObject *const_bytes_digest_369cdd429a8f9fdc3b864b3db151e80f; extern PyObject *const_str_plain_PrivateFormat; static PyObject *const_str_digest_3c91f5648db66dd1d528393148407f05; extern PyObject *const_str_plain_EllipticCurvePublicNumbers; static PyObject *const_str_plain_loader; extern PyObject *const_bytes_digest_c99d993cf9ffebb494cfe9ce8fb78a47; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_tuple_str_plain_data_str_plain_mpint_data_str_plain_rest_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_mpint_data_str_plain_rest_tuple, 0, const_str_plain_data ); Py_INCREF( const_str_plain_data ); const_str_plain_mpint_data = UNSTREAM_STRING( &constant_bin[ 507224 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_mpint_data_str_plain_rest_tuple, 1, const_str_plain_mpint_data ); Py_INCREF( const_str_plain_mpint_data ); PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_mpint_data_str_plain_rest_tuple, 2, const_str_plain_rest ); Py_INCREF( const_str_plain_rest ); const_str_plain_load_ssh_public_key = UNSTREAM_STRING( &constant_bin[ 507234 ], 19, 1 ); const_str_digest_11b3102fb6667ebe907a0e04d907a573 = UNSTREAM_STRING( &constant_bin[ 507253 ], 58, 0 ); const_str_plain__load_ssh_dss_public_key = UNSTREAM_STRING( &constant_bin[ 507311 ], 24, 1 ); const_tuple_ef695e8d0ba82622bd3e50166fce2507_tuple = PyTuple_New( 8 ); const_str_plain_expected_key_type = UNSTREAM_STRING( &constant_bin[ 507335 ], 17, 1 ); PyTuple_SET_ITEM( const_tuple_ef695e8d0ba82622bd3e50166fce2507_tuple, 0, const_str_plain_expected_key_type ); Py_INCREF( const_str_plain_expected_key_type ); const_str_plain_decoded_data = UNSTREAM_STRING( &constant_bin[ 507352 ], 12, 1 ); PyTuple_SET_ITEM( const_tuple_ef695e8d0ba82622bd3e50166fce2507_tuple, 1, const_str_plain_decoded_data ); Py_INCREF( const_str_plain_decoded_data ); PyTuple_SET_ITEM( const_tuple_ef695e8d0ba82622bd3e50166fce2507_tuple, 2, const_str_plain_backend ); Py_INCREF( const_str_plain_backend ); PyTuple_SET_ITEM( const_tuple_ef695e8d0ba82622bd3e50166fce2507_tuple, 3, const_str_plain_curve_name ); Py_INCREF( const_str_plain_curve_name ); PyTuple_SET_ITEM( const_tuple_ef695e8d0ba82622bd3e50166fce2507_tuple, 4, const_str_plain_rest ); Py_INCREF( const_str_plain_rest ); PyTuple_SET_ITEM( const_tuple_ef695e8d0ba82622bd3e50166fce2507_tuple, 5, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_ef695e8d0ba82622bd3e50166fce2507_tuple, 6, const_str_plain_curve ); Py_INCREF( const_str_plain_curve ); PyTuple_SET_ITEM( const_tuple_ef695e8d0ba82622bd3e50166fce2507_tuple, 7, const_str_plain_numbers ); Py_INCREF( const_str_plain_numbers ); const_str_plain_inner_key_type = UNSTREAM_STRING( &constant_bin[ 507364 ], 14, 1 ); const_str_plain__load_ssh_ecdsa_public_key = UNSTREAM_STRING( &constant_bin[ 507378 ], 26, 1 ); const_str_digest_a3ce78b13749d84965e166cfdb80f1c4 = UNSTREAM_STRING( &constant_bin[ 507404 ], 139, 0 ); const_str_digest_ef47ab2a034caff9bd852888daeea85a = UNSTREAM_STRING( &constant_bin[ 507543 ], 33, 0 ); const_tuple_b6f02cc157fb015b7732119362b44b2c_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_b6f02cc157fb015b7732119362b44b2c_tuple, 0, const_str_plain_key_type ); Py_INCREF( const_str_plain_key_type ); PyTuple_SET_ITEM( const_tuple_b6f02cc157fb015b7732119362b44b2c_tuple, 1, const_str_plain_decoded_data ); Py_INCREF( const_str_plain_decoded_data ); PyTuple_SET_ITEM( const_tuple_b6f02cc157fb015b7732119362b44b2c_tuple, 2, const_str_plain_backend ); Py_INCREF( const_str_plain_backend ); PyTuple_SET_ITEM( const_tuple_b6f02cc157fb015b7732119362b44b2c_tuple, 3, const_str_plain_e ); Py_INCREF( const_str_plain_e ); PyTuple_SET_ITEM( const_tuple_b6f02cc157fb015b7732119362b44b2c_tuple, 4, const_str_plain_rest ); Py_INCREF( const_str_plain_rest ); PyTuple_SET_ITEM( const_tuple_b6f02cc157fb015b7732119362b44b2c_tuple, 5, const_str_plain_n ); Py_INCREF( const_str_plain_n ); const_dict_88454893fd57cb80b44c27f8677cf249 = _PyDict_NewPresized( 2 ); PyDict_SetItem( const_dict_88454893fd57cb80b44c27f8677cf249, const_str_plain_byteorder, const_str_plain_big ); PyDict_SetItem( const_dict_88454893fd57cb80b44c27f8677cf249, const_str_plain_signed, Py_False ); assert( PyDict_Size( const_dict_88454893fd57cb80b44c27f8677cf249 ) == 2 ); const_str_digest_139db1100c396bda8dec92aa6b0d920f = UNSTREAM_STRING( &constant_bin[ 507576 ], 32, 0 ); const_str_digest_78abe1bf2bd26605a269b2690524144c = UNSTREAM_STRING( &constant_bin[ 507608 ], 26, 0 ); const_str_plain__load_ssh_rsa_public_key = UNSTREAM_STRING( &constant_bin[ 507634 ], 24, 1 ); const_list_f9c29f401c0a3ce57a2af9e74c4a9df4_list = PyList_New( 3 ); const_bytes_digest_d83c8c298893122448b5f63f1cef781a = UNSTREAM_BYTES( &constant_bin[ 507658 ], 19 ); PyList_SET_ITEM( const_list_f9c29f401c0a3ce57a2af9e74c4a9df4_list, 0, const_bytes_digest_d83c8c298893122448b5f63f1cef781a ); Py_INCREF( const_bytes_digest_d83c8c298893122448b5f63f1cef781a ); const_bytes_digest_2481e6f46784b4231c6ffe009daa7459 = UNSTREAM_BYTES( &constant_bin[ 507677 ], 19 ); PyList_SET_ITEM( const_list_f9c29f401c0a3ce57a2af9e74c4a9df4_list, 1, const_bytes_digest_2481e6f46784b4231c6ffe009daa7459 ); Py_INCREF( const_bytes_digest_2481e6f46784b4231c6ffe009daa7459 ); const_bytes_digest_380bcc6bd744f379ddff4fb64fcd8d2a = UNSTREAM_BYTES( &constant_bin[ 507696 ], 19 ); PyList_SET_ITEM( const_list_f9c29f401c0a3ce57a2af9e74c4a9df4_list, 2, const_bytes_digest_380bcc6bd744f379ddff4fb64fcd8d2a ); Py_INCREF( const_bytes_digest_380bcc6bd744f379ddff4fb64fcd8d2a ); const_str_digest_283a33d80993ec565c05ed32c8b2aeec = UNSTREAM_STRING( &constant_bin[ 507715 ], 101, 0 ); const_str_digest_b8ec8026266cd63bb5f6cc410d4f54fb = UNSTREAM_STRING( &constant_bin[ 507816 ], 80, 0 ); const_tuple_bytes_chr_32_int_pos_2_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_bytes_chr_32_int_pos_2_tuple, 0, const_bytes_chr_32 ); Py_INCREF( const_bytes_chr_32 ); PyTuple_SET_ITEM( const_tuple_bytes_chr_32_int_pos_2_tuple, 1, const_int_pos_2 ); Py_INCREF( const_int_pos_2 ); const_str_digest_96c9d20f0ef9209e2d19d32c0e6986ed = UNSTREAM_STRING( &constant_bin[ 507896 ], 31, 0 ); const_str_digest_0b489aa2a47207c59cf1299198128d6b = UNSTREAM_STRING( &constant_bin[ 507927 ], 30, 0 ); const_str_digest_5a19e6e7c9a2eb5ae94e5b1d5d3af128 = UNSTREAM_STRING( &constant_bin[ 507957 ], 44, 0 ); const_str_digest_de3b366ff97431f65e9b8abe77213416 = UNSTREAM_STRING( &constant_bin[ 508001 ], 38, 0 ); const_tuple_27a2adb1aaf74641492741880e9d9931_tuple = PyTuple_New( 9 ); PyTuple_SET_ITEM( const_tuple_27a2adb1aaf74641492741880e9d9931_tuple, 0, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_27a2adb1aaf74641492741880e9d9931_tuple, 1, const_str_plain_backend ); Py_INCREF( const_str_plain_backend ); const_str_plain_key_parts = UNSTREAM_STRING( &constant_bin[ 508039 ], 9, 1 ); PyTuple_SET_ITEM( const_tuple_27a2adb1aaf74641492741880e9d9931_tuple, 2, const_str_plain_key_parts ); Py_INCREF( const_str_plain_key_parts ); PyTuple_SET_ITEM( const_tuple_27a2adb1aaf74641492741880e9d9931_tuple, 3, const_str_plain_key_type ); Py_INCREF( const_str_plain_key_type ); const_str_plain_loader = UNSTREAM_STRING( &constant_bin[ 508048 ], 6, 1 ); PyTuple_SET_ITEM( const_tuple_27a2adb1aaf74641492741880e9d9931_tuple, 4, const_str_plain_loader ); Py_INCREF( const_str_plain_loader ); const_str_plain_key_body = UNSTREAM_STRING( &constant_bin[ 508054 ], 8, 1 ); PyTuple_SET_ITEM( const_tuple_27a2adb1aaf74641492741880e9d9931_tuple, 5, const_str_plain_key_body ); Py_INCREF( const_str_plain_key_body ); PyTuple_SET_ITEM( const_tuple_27a2adb1aaf74641492741880e9d9931_tuple, 6, const_str_plain_decoded_data ); Py_INCREF( const_str_plain_decoded_data ); PyTuple_SET_ITEM( const_tuple_27a2adb1aaf74641492741880e9d9931_tuple, 7, const_str_plain_inner_key_type ); Py_INCREF( const_str_plain_inner_key_type ); PyTuple_SET_ITEM( const_tuple_27a2adb1aaf74641492741880e9d9931_tuple, 8, const_str_plain_rest ); Py_INCREF( const_str_plain_rest ); const_str_digest_2808b817a259c91cbe21f0b30360c612 = UNSTREAM_STRING( &constant_bin[ 508062 ], 55, 0 ); const_tuple_str_plain_value_str_plain_data_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_value_str_plain_data_tuple, 0, const_str_plain_value ); Py_INCREF( const_str_plain_value ); PyTuple_SET_ITEM( const_tuple_str_plain_value_str_plain_data_tuple, 1, const_str_plain_data ); Py_INCREF( const_str_plain_data ); const_str_digest_2dbcf60f94479c5903c8287fc6cc0173 = UNSTREAM_STRING( &constant_bin[ 508117 ], 10, 0 ); const_str_digest_c2ff810e11eb768b63807e249d6a59b5 = UNSTREAM_STRING( &constant_bin[ 508127 ], 53, 0 ); const_tuple_str_plain_data_str_plain_str_len_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_str_len_tuple, 0, const_str_plain_data ); Py_INCREF( const_str_plain_data ); const_str_plain_str_len = UNSTREAM_STRING( &constant_bin[ 508180 ], 7, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_str_len_tuple, 1, const_str_plain_str_len ); Py_INCREF( const_str_plain_str_len ); const_tuple_str_plain_data_str_plain_password_str_plain_backend_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_password_str_plain_backend_tuple, 0, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_password_str_plain_backend_tuple, 1, const_str_plain_password ); Py_INCREF( const_str_plain_password ); PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_password_str_plain_backend_tuple, 2, const_str_plain_backend ); Py_INCREF( const_str_plain_backend ); const_str_digest_8273b9d6f38d6f65d4e6f6fa2a9ac1d1 = UNSTREAM_STRING( &constant_bin[ 508187 ], 50, 0 ); const_tuple_str_plain_self_str_plain_password_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_password_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_password_tuple, 1, const_str_plain_password ); Py_INCREF( const_str_plain_password ); const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple = PyTuple_New( 10 ); PyTuple_SET_ITEM( const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple, 0, const_str_plain_key_type ); Py_INCREF( const_str_plain_key_type ); PyTuple_SET_ITEM( const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple, 1, const_str_plain_decoded_data ); Py_INCREF( const_str_plain_decoded_data ); PyTuple_SET_ITEM( const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple, 2, const_str_plain_backend ); Py_INCREF( const_str_plain_backend ); PyTuple_SET_ITEM( const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple, 3, const_str_plain_p ); Py_INCREF( const_str_plain_p ); PyTuple_SET_ITEM( const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple, 4, const_str_plain_rest ); Py_INCREF( const_str_plain_rest ); PyTuple_SET_ITEM( const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple, 5, const_str_plain_q ); Py_INCREF( const_str_plain_q ); PyTuple_SET_ITEM( const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple, 6, const_str_plain_g ); Py_INCREF( const_str_plain_g ); PyTuple_SET_ITEM( const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple, 7, const_str_plain_y ); Py_INCREF( const_str_plain_y ); PyTuple_SET_ITEM( const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple, 8, const_str_plain_parameter_numbers ); Py_INCREF( const_str_plain_parameter_numbers ); PyTuple_SET_ITEM( const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple, 9, const_str_plain_public_numbers ); Py_INCREF( const_str_plain_public_numbers ); const_str_plain__ssh_read_next_string = UNSTREAM_STRING( &constant_bin[ 508237 ], 21, 1 ); const_str_plain__ssh_read_next_mpint = UNSTREAM_STRING( &constant_bin[ 508258 ], 20, 1 ); const_tuple_str_digest_78abe1bf2bd26605a269b2690524144c_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_78abe1bf2bd26605a269b2690524144c_tuple, 0, const_str_digest_78abe1bf2bd26605a269b2690524144c ); Py_INCREF( const_str_digest_78abe1bf2bd26605a269b2690524144c ); const_str_digest_3c91f5648db66dd1d528393148407f05 = UNSTREAM_STRING( &constant_bin[ 508278 ], 32, 0 ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_cryptography$hazmat$primitives$serialization( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_c393edb990294ae1e6f778755d3ffcfb; static PyCodeObject *codeobj_359fadefbda3ad6626b59552695afca1; static PyCodeObject *codeobj_1ae184324e383b648164e5363246bf5b; static PyCodeObject *codeobj_cb6a3d21d71666fcc6e0648d30fd46c8; static PyCodeObject *codeobj_1257cde61c712de4bd9d76e139f0bf41; static PyCodeObject *codeobj_1c0b0e6ccd6be242cb6123b6f3bac866; static PyCodeObject *codeobj_548b62e28735dae5bcd8a5790b53ef71; static PyCodeObject *codeobj_6dbd6665582db268a5f7bcacb96b021c; static PyCodeObject *codeobj_dde6296a65b54388f40e9f6e9550dca0; static PyCodeObject *codeobj_dc1bcc0e5c5f6da8f4d1d2f8ef034a82; static PyCodeObject *codeobj_af7de640eefe810418bfecba6e9ab0a1; static PyCodeObject *codeobj_6e12f54ce92f01cc0916f075156f145e; static PyCodeObject *codeobj_a33a20093bfb70bc6e67c58190b89d0c; static PyCodeObject *codeobj_fd7fa0f76b2609155836bdf2b894ae78; static PyCodeObject *codeobj_56ecbbbfb01e44511f60868964361af8; static PyCodeObject *codeobj_8641bcd12e150b3b536c2d3a28eb296f; static PyCodeObject *codeobj_028e30d247bdfecdb34edc8b45ecebed; static PyCodeObject *codeobj_dcc58d77b8c92ddb6a6e39d64f0b826c; static PyCodeObject *codeobj_e36b896ab08894b6e5e0a89714a0fd76; static PyCodeObject *codeobj_646d040645c3e6d07d6b2d41643e4c7e; static PyCodeObject *codeobj_8679d73bd3ba5019b76ce238b30485f5; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_b8ec8026266cd63bb5f6cc410d4f54fb; codeobj_c393edb990294ae1e6f778755d3ffcfb = MAKE_CODEOBJ( module_filename_obj, const_str_digest_c2ff810e11eb768b63807e249d6a59b5, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_359fadefbda3ad6626b59552695afca1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_BestAvailableEncryption, 199, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_1ae184324e383b648164e5363246bf5b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Encoding, 172, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_cb6a3d21d71666fcc6e0648d30fd46c8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_ParameterFormat, 189, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_1257cde61c712de4bd9d76e139f0bf41 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_PrivateFormat, 178, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_1c0b0e6ccd6be242cb6123b6f3bac866 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_PublicFormat, 183, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_548b62e28735dae5bcd8a5790b53ef71 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 200, const_tuple_str_plain_self_str_plain_password_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_6dbd6665582db268a5f7bcacb96b021c = MAKE_CODEOBJ( module_filename_obj, const_str_plain__load_ssh_dss_public_key, 90, const_tuple_035fe5b45d39104b9ac9a1cd12970bd7_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_dde6296a65b54388f40e9f6e9550dca0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__load_ssh_ecdsa_public_key, 105, const_tuple_ef695e8d0ba82622bd3e50166fce2507_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__load_ssh_rsa_public_key, 80, const_tuple_b6f02cc157fb015b7732119362b44b2c_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_af7de640eefe810418bfecba6e9ab0a1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__ssh_read_next_mpint, 148, const_tuple_str_plain_data_str_plain_mpint_data_str_plain_rest_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_6e12f54ce92f01cc0916f075156f145e = MAKE_CODEOBJ( module_filename_obj, const_str_plain__ssh_read_next_string, 132, const_tuple_str_plain_data_str_plain_str_len_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_a33a20093bfb70bc6e67c58190b89d0c = MAKE_CODEOBJ( module_filename_obj, const_str_plain__ssh_write_mpint, 165, const_tuple_str_plain_value_str_plain_data_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_fd7fa0f76b2609155836bdf2b894ae78 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__ssh_write_string, 161, const_tuple_str_plain_data_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_56ecbbbfb01e44511f60868964361af8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_load_der_parameters, 39, const_tuple_str_plain_data_str_plain_backend_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_8641bcd12e150b3b536c2d3a28eb296f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_load_der_private_key, 31, const_tuple_str_plain_data_str_plain_password_str_plain_backend_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_028e30d247bdfecdb34edc8b45ecebed = MAKE_CODEOBJ( module_filename_obj, const_str_plain_load_der_public_key, 35, const_tuple_str_plain_data_str_plain_backend_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_dcc58d77b8c92ddb6a6e39d64f0b826c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_load_pem_parameters, 27, const_tuple_str_plain_data_str_plain_backend_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e36b896ab08894b6e5e0a89714a0fd76 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_load_pem_private_key, 19, const_tuple_str_plain_data_str_plain_password_str_plain_backend_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_646d040645c3e6d07d6b2d41643e4c7e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_load_pem_public_key, 23, const_tuple_str_plain_data_str_plain_backend_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_8679d73bd3ba5019b76ce238b30485f5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_load_ssh_public_key, 43, const_tuple_27a2adb1aaf74641492741880e9d9931_tuple, 2, 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$primitives$serialization$$$function_10__load_ssh_ecdsa_public_key( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_11__ssh_read_next_string( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_12__ssh_read_next_mpint( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_13__ssh_write_string( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_14__ssh_write_mpint( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_15___init__( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_1_load_pem_private_key( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_2_load_pem_public_key( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_3_load_pem_parameters( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_4_load_der_private_key( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_5_load_der_public_key( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_6_load_der_parameters( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_7_load_ssh_public_key( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_8__load_ssh_rsa_public_key( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_9__load_ssh_dss_public_key( ); // The module function definitions. static PyObject *impl_cryptography$hazmat$primitives$serialization$$$function_1_load_pem_private_key( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_data = python_pars[ 0 ]; PyObject *par_password = python_pars[ 1 ]; PyObject *par_backend = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_e36b896ab08894b6e5e0a89714a0fd76; 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_e36b896ab08894b6e5e0a89714a0fd76 = 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_e36b896ab08894b6e5e0a89714a0fd76, codeobj_e36b896ab08894b6e5e0a89714a0fd76, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_e36b896ab08894b6e5e0a89714a0fd76 = cache_frame_e36b896ab08894b6e5e0a89714a0fd76; // Push the new frame as the currently active one. pushFrameStack( frame_e36b896ab08894b6e5e0a89714a0fd76 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e36b896ab08894b6e5e0a89714a0fd76 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_backend ); tmp_source_name_1 = par_backend; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_load_pem_private_key ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 20; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 20; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_data; if ( par_password == 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", "password" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 20; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_password; frame_e36b896ab08894b6e5e0a89714a0fd76->m_frame.f_lineno = 20; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 20; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e36b896ab08894b6e5e0a89714a0fd76 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e36b896ab08894b6e5e0a89714a0fd76 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e36b896ab08894b6e5e0a89714a0fd76 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e36b896ab08894b6e5e0a89714a0fd76, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e36b896ab08894b6e5e0a89714a0fd76->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e36b896ab08894b6e5e0a89714a0fd76, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e36b896ab08894b6e5e0a89714a0fd76, type_description_1, par_data, par_password, par_backend ); // Release cached frame. if ( frame_e36b896ab08894b6e5e0a89714a0fd76 == cache_frame_e36b896ab08894b6e5e0a89714a0fd76 ) { Py_DECREF( frame_e36b896ab08894b6e5e0a89714a0fd76 ); } cache_frame_e36b896ab08894b6e5e0a89714a0fd76 = NULL; assertFrameObject( frame_e36b896ab08894b6e5e0a89714a0fd76 ); // 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$primitives$serialization$$$function_1_load_pem_private_key ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_password ); par_password = NULL; } { Py_XDECREF( par_backend ); par_backend = 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_data ); par_data = NULL; } { Py_XDECREF( par_password ); par_password = NULL; } { Py_XDECREF( par_backend ); par_backend = 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$primitives$serialization$$$function_1_load_pem_private_key ); 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$primitives$serialization$$$function_2_load_pem_public_key( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_data = python_pars[ 0 ]; PyObject *par_backend = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_646d040645c3e6d07d6b2d41643e4c7e; 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_646d040645c3e6d07d6b2d41643e4c7e = 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_646d040645c3e6d07d6b2d41643e4c7e, codeobj_646d040645c3e6d07d6b2d41643e4c7e, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *) ); frame_646d040645c3e6d07d6b2d41643e4c7e = cache_frame_646d040645c3e6d07d6b2d41643e4c7e; // Push the new frame as the currently active one. pushFrameStack( frame_646d040645c3e6d07d6b2d41643e4c7e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_646d040645c3e6d07d6b2d41643e4c7e ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_backend ); tmp_source_name_1 = par_backend; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_load_pem_public_key ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 24; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_data; frame_646d040645c3e6d07d6b2d41643e4c7e->m_frame.f_lineno = 24; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_646d040645c3e6d07d6b2d41643e4c7e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_646d040645c3e6d07d6b2d41643e4c7e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_646d040645c3e6d07d6b2d41643e4c7e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_646d040645c3e6d07d6b2d41643e4c7e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_646d040645c3e6d07d6b2d41643e4c7e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_646d040645c3e6d07d6b2d41643e4c7e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_646d040645c3e6d07d6b2d41643e4c7e, type_description_1, par_data, par_backend ); // Release cached frame. if ( frame_646d040645c3e6d07d6b2d41643e4c7e == cache_frame_646d040645c3e6d07d6b2d41643e4c7e ) { Py_DECREF( frame_646d040645c3e6d07d6b2d41643e4c7e ); } cache_frame_646d040645c3e6d07d6b2d41643e4c7e = NULL; assertFrameObject( frame_646d040645c3e6d07d6b2d41643e4c7e ); // 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$primitives$serialization$$$function_2_load_pem_public_key ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_backend ); par_backend = 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_data ); par_data = NULL; } { Py_XDECREF( par_backend ); par_backend = 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$primitives$serialization$$$function_2_load_pem_public_key ); 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$primitives$serialization$$$function_3_load_pem_parameters( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_data = python_pars[ 0 ]; PyObject *par_backend = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_dcc58d77b8c92ddb6a6e39d64f0b826c; 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_dcc58d77b8c92ddb6a6e39d64f0b826c = 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_dcc58d77b8c92ddb6a6e39d64f0b826c, codeobj_dcc58d77b8c92ddb6a6e39d64f0b826c, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *) ); frame_dcc58d77b8c92ddb6a6e39d64f0b826c = cache_frame_dcc58d77b8c92ddb6a6e39d64f0b826c; // Push the new frame as the currently active one. pushFrameStack( frame_dcc58d77b8c92ddb6a6e39d64f0b826c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_dcc58d77b8c92ddb6a6e39d64f0b826c ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_backend ); tmp_source_name_1 = par_backend; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_load_pem_parameters ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 28; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_data; frame_dcc58d77b8c92ddb6a6e39d64f0b826c->m_frame.f_lineno = 28; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_dcc58d77b8c92ddb6a6e39d64f0b826c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dcc58d77b8c92ddb6a6e39d64f0b826c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dcc58d77b8c92ddb6a6e39d64f0b826c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_dcc58d77b8c92ddb6a6e39d64f0b826c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_dcc58d77b8c92ddb6a6e39d64f0b826c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_dcc58d77b8c92ddb6a6e39d64f0b826c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_dcc58d77b8c92ddb6a6e39d64f0b826c, type_description_1, par_data, par_backend ); // Release cached frame. if ( frame_dcc58d77b8c92ddb6a6e39d64f0b826c == cache_frame_dcc58d77b8c92ddb6a6e39d64f0b826c ) { Py_DECREF( frame_dcc58d77b8c92ddb6a6e39d64f0b826c ); } cache_frame_dcc58d77b8c92ddb6a6e39d64f0b826c = NULL; assertFrameObject( frame_dcc58d77b8c92ddb6a6e39d64f0b826c ); // 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$primitives$serialization$$$function_3_load_pem_parameters ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_backend ); par_backend = 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_data ); par_data = NULL; } { Py_XDECREF( par_backend ); par_backend = 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$primitives$serialization$$$function_3_load_pem_parameters ); 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$primitives$serialization$$$function_4_load_der_private_key( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_data = python_pars[ 0 ]; PyObject *par_password = python_pars[ 1 ]; PyObject *par_backend = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_8641bcd12e150b3b536c2d3a28eb296f; 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_8641bcd12e150b3b536c2d3a28eb296f = 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_8641bcd12e150b3b536c2d3a28eb296f, codeobj_8641bcd12e150b3b536c2d3a28eb296f, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_8641bcd12e150b3b536c2d3a28eb296f = cache_frame_8641bcd12e150b3b536c2d3a28eb296f; // Push the new frame as the currently active one. pushFrameStack( frame_8641bcd12e150b3b536c2d3a28eb296f ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8641bcd12e150b3b536c2d3a28eb296f ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_backend ); tmp_source_name_1 = par_backend; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_load_der_private_key ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 32; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_data; if ( par_password == 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", "password" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 32; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_password; frame_8641bcd12e150b3b536c2d3a28eb296f->m_frame.f_lineno = 32; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_8641bcd12e150b3b536c2d3a28eb296f ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8641bcd12e150b3b536c2d3a28eb296f ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8641bcd12e150b3b536c2d3a28eb296f ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8641bcd12e150b3b536c2d3a28eb296f, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8641bcd12e150b3b536c2d3a28eb296f->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8641bcd12e150b3b536c2d3a28eb296f, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8641bcd12e150b3b536c2d3a28eb296f, type_description_1, par_data, par_password, par_backend ); // Release cached frame. if ( frame_8641bcd12e150b3b536c2d3a28eb296f == cache_frame_8641bcd12e150b3b536c2d3a28eb296f ) { Py_DECREF( frame_8641bcd12e150b3b536c2d3a28eb296f ); } cache_frame_8641bcd12e150b3b536c2d3a28eb296f = NULL; assertFrameObject( frame_8641bcd12e150b3b536c2d3a28eb296f ); // 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$primitives$serialization$$$function_4_load_der_private_key ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_password ); par_password = NULL; } { Py_XDECREF( par_backend ); par_backend = 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_data ); par_data = NULL; } { Py_XDECREF( par_password ); par_password = NULL; } { Py_XDECREF( par_backend ); par_backend = 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$primitives$serialization$$$function_4_load_der_private_key ); 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$primitives$serialization$$$function_5_load_der_public_key( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_data = python_pars[ 0 ]; PyObject *par_backend = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_028e30d247bdfecdb34edc8b45ecebed; 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_028e30d247bdfecdb34edc8b45ecebed = 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_028e30d247bdfecdb34edc8b45ecebed, codeobj_028e30d247bdfecdb34edc8b45ecebed, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *) ); frame_028e30d247bdfecdb34edc8b45ecebed = cache_frame_028e30d247bdfecdb34edc8b45ecebed; // Push the new frame as the currently active one. pushFrameStack( frame_028e30d247bdfecdb34edc8b45ecebed ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_028e30d247bdfecdb34edc8b45ecebed ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_backend ); tmp_source_name_1 = par_backend; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_load_der_public_key ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 36; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_data; frame_028e30d247bdfecdb34edc8b45ecebed->m_frame.f_lineno = 36; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_028e30d247bdfecdb34edc8b45ecebed ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_028e30d247bdfecdb34edc8b45ecebed ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_028e30d247bdfecdb34edc8b45ecebed ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_028e30d247bdfecdb34edc8b45ecebed, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_028e30d247bdfecdb34edc8b45ecebed->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_028e30d247bdfecdb34edc8b45ecebed, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_028e30d247bdfecdb34edc8b45ecebed, type_description_1, par_data, par_backend ); // Release cached frame. if ( frame_028e30d247bdfecdb34edc8b45ecebed == cache_frame_028e30d247bdfecdb34edc8b45ecebed ) { Py_DECREF( frame_028e30d247bdfecdb34edc8b45ecebed ); } cache_frame_028e30d247bdfecdb34edc8b45ecebed = NULL; assertFrameObject( frame_028e30d247bdfecdb34edc8b45ecebed ); // 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$primitives$serialization$$$function_5_load_der_public_key ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_backend ); par_backend = 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_data ); par_data = NULL; } { Py_XDECREF( par_backend ); par_backend = 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$primitives$serialization$$$function_5_load_der_public_key ); 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$primitives$serialization$$$function_6_load_der_parameters( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_data = python_pars[ 0 ]; PyObject *par_backend = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_56ecbbbfb01e44511f60868964361af8; 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_56ecbbbfb01e44511f60868964361af8 = 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_56ecbbbfb01e44511f60868964361af8, codeobj_56ecbbbfb01e44511f60868964361af8, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *) ); frame_56ecbbbfb01e44511f60868964361af8 = cache_frame_56ecbbbfb01e44511f60868964361af8; // Push the new frame as the currently active one. pushFrameStack( frame_56ecbbbfb01e44511f60868964361af8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_56ecbbbfb01e44511f60868964361af8 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_backend ); tmp_source_name_1 = par_backend; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_load_der_parameters ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 40; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 40; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_data; frame_56ecbbbfb01e44511f60868964361af8->m_frame.f_lineno = 40; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 40; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_56ecbbbfb01e44511f60868964361af8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_56ecbbbfb01e44511f60868964361af8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_56ecbbbfb01e44511f60868964361af8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_56ecbbbfb01e44511f60868964361af8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_56ecbbbfb01e44511f60868964361af8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_56ecbbbfb01e44511f60868964361af8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_56ecbbbfb01e44511f60868964361af8, type_description_1, par_data, par_backend ); // Release cached frame. if ( frame_56ecbbbfb01e44511f60868964361af8 == cache_frame_56ecbbbfb01e44511f60868964361af8 ) { Py_DECREF( frame_56ecbbbfb01e44511f60868964361af8 ); } cache_frame_56ecbbbfb01e44511f60868964361af8 = NULL; assertFrameObject( frame_56ecbbbfb01e44511f60868964361af8 ); // 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$primitives$serialization$$$function_6_load_der_parameters ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_backend ); par_backend = 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_data ); par_data = NULL; } { Py_XDECREF( par_backend ); par_backend = 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$primitives$serialization$$$function_6_load_der_parameters ); 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$primitives$serialization$$$function_7_load_ssh_public_key( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_data = python_pars[ 0 ]; PyObject *par_backend = python_pars[ 1 ]; PyObject *var_key_parts = NULL; PyObject *var_key_type = NULL; PyObject *var_loader = NULL; PyObject *var_key_body = NULL; PyObject *var_decoded_data = NULL; PyObject *var_inner_key_type = NULL; PyObject *var_rest = 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_8679d73bd3ba5019b76ce238b30485f5; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; 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 *tmp_iterator_attempt; 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_8679d73bd3ba5019b76ce238b30485f5 = 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_8679d73bd3ba5019b76ce238b30485f5, codeobj_8679d73bd3ba5019b76ce238b30485f5, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_8679d73bd3ba5019b76ce238b30485f5 = cache_frame_8679d73bd3ba5019b76ce238b30485f5; // Push the new frame as the currently active one. pushFrameStack( frame_8679d73bd3ba5019b76ce238b30485f5 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8679d73bd3ba5019b76ce238b30485f5 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_data ); tmp_called_instance_1 = par_data; frame_8679d73bd3ba5019b76ce238b30485f5->m_frame.f_lineno = 44; tmp_assign_source_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_bytes_chr_32_int_pos_2_tuple, 0 ) ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( var_key_parts == NULL ); var_key_parts = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; CHECK_OBJECT( var_key_parts ); tmp_len_arg_1 = var_key_parts; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 46; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_pos_2; tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 46; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_2808b817a259c91cbe21f0b30360c612; frame_8679d73bd3ba5019b76ce238b30485f5->m_frame.f_lineno = 47; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 47; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; if ( var_key_parts == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key_parts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 50; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = var_key_parts; tmp_subscript_name_1 = const_int_0; tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( var_key_type == NULL ); var_key_type = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( var_key_type ); tmp_compexpr_left_2 = var_key_type; tmp_compexpr_right_2 = const_bytes_digest_bcbb1138c00ba128a145c860b0480e08; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 52; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_3; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__load_ssh_rsa_public_key ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__load_ssh_rsa_public_key ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_load_ssh_rsa_public_key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 53; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = tmp_mvar_value_1; assert( var_loader == NULL ); Py_INCREF( tmp_assign_source_3 ); var_loader = tmp_assign_source_3; } goto branch_end_2; branch_no_2:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( var_key_type == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 54; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = var_key_type; tmp_compexpr_right_3 = const_bytes_digest_76030cd3f62473877f585df48ef345f2; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 54; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_4; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__load_ssh_dss_public_key ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__load_ssh_dss_public_key ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_load_ssh_dss_public_key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 55; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_4 = tmp_mvar_value_2; assert( var_loader == NULL ); Py_INCREF( tmp_assign_source_4 ); var_loader = tmp_assign_source_4; } goto branch_end_3; branch_no_3:; { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; if ( var_key_type == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 56; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_4 = var_key_type; tmp_compexpr_right_4 = LIST_COPY( const_list_f9c29f401c0a3ce57a2af9e74c4a9df4_list ); tmp_res = PySequence_Contains( tmp_compexpr_right_4, tmp_compexpr_left_4 ); Py_DECREF( tmp_compexpr_right_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 56; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_4 = ( tmp_res == 1 ) ? 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_assign_source_5; PyObject *tmp_mvar_value_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__load_ssh_ecdsa_public_key ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__load_ssh_ecdsa_public_key ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_load_ssh_ecdsa_public_key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 59; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_5 = tmp_mvar_value_3; assert( var_loader == NULL ); Py_INCREF( tmp_assign_source_5 ); var_loader = tmp_assign_source_5; } goto branch_end_4; branch_no_4:; { PyObject *tmp_raise_type_2; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_UnsupportedAlgorithm ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_UnsupportedAlgorithm ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "UnsupportedAlgorithm" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 61; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_4; frame_8679d73bd3ba5019b76ce238b30485f5->m_frame.f_lineno = 61; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, &PyTuple_GET_ITEM( const_tuple_str_digest_78abe1bf2bd26605a269b2690524144c_tuple, 0 ) ); if ( tmp_raise_type_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } exception_type = tmp_raise_type_2; exception_lineno = 61; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } branch_end_4:; } branch_end_3:; } branch_end_2:; } { PyObject *tmp_assign_source_6; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; if ( var_key_parts == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key_parts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 63; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = var_key_parts; tmp_subscript_name_2 = const_int_pos_1; tmp_assign_source_6 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 63; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( var_key_body == NULL ); var_key_body = tmp_assign_source_6; } { // Tried code: { PyObject *tmp_assign_source_7; PyObject *tmp_called_name_2; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_1; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_base64 ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_base64 ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "base64" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 66; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_source_name_1 = tmp_mvar_value_5; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_b64decode ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; type_description_1 = "ooooooooo"; goto try_except_handler_2; } if ( var_key_body == 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", "key_body" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 66; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_args_element_name_1 = var_key_body; frame_8679d73bd3ba5019b76ce238b30485f5->m_frame.f_lineno = 66; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; type_description_1 = "ooooooooo"; goto try_except_handler_2; } assert( var_decoded_data == NULL ); var_decoded_data = tmp_assign_source_7; } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. 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_8679d73bd3ba5019b76ce238b30485f5, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_8679d73bd3ba5019b76ce238b30485f5, 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_5; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; tmp_compexpr_left_5 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_5 = PyExc_TypeError; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_5, tmp_compexpr_right_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 67; type_description_1 = "ooooooooo"; 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_5; } else { goto branch_no_5; } branch_yes_5:; { PyObject *tmp_raise_type_3; PyObject *tmp_make_exception_arg_2; tmp_make_exception_arg_2 = const_str_digest_3c91f5648db66dd1d528393148407f05; frame_8679d73bd3ba5019b76ce238b30485f5->m_frame.f_lineno = 68; { PyObject *call_args[] = { tmp_make_exception_arg_2 }; tmp_raise_type_3 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_3 == NULL) ); exception_type = tmp_raise_type_3; exception_lineno = 68; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; goto try_except_handler_3; } goto branch_end_5; branch_no_5:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 65; } if (exception_tb && exception_tb->tb_frame == &frame_8679d73bd3ba5019b76ce238b30485f5->m_frame) frame_8679d73bd3ba5019b76ce238b30485f5->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooooo"; goto try_except_handler_3; } branch_end_5:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization$$$function_7_load_ssh_public_key ); return NULL; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. 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 frame_exception_exit_1; } // End of try: } // End of try: try_end_1:; } { // Tried code: { PyObject *tmp_assign_source_8; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_2; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_read_next_string ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ssh_read_next_string ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ssh_read_next_string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 70; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_called_name_3 = tmp_mvar_value_6; CHECK_OBJECT( var_decoded_data ); tmp_args_element_name_2 = var_decoded_data; frame_8679d73bd3ba5019b76ce238b30485f5->m_frame.f_lineno = 70; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 70; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_assign_source_8 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 70; type_description_1 = "ooooooooo"; goto try_except_handler_4; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_8; } { // Tried code: { PyObject *tmp_assign_source_9; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_9 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_9 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooo"; exception_lineno = 70; goto try_except_handler_5; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_9; } { PyObject *tmp_assign_source_10; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_10 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_10 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooo"; exception_lineno = 70; goto try_except_handler_5; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_10; } { 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 = "ooooooooo"; exception_lineno = 70; goto try_except_handler_5; } } } 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 = "ooooooooo"; exception_lineno = 70; goto try_except_handler_5; } } goto try_end_2; // 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; { 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_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: try_end_2:; } goto try_end_3; // 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; { 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_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_3:; } { 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_11; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_11 = tmp_tuple_unpack_1__element_1; assert( var_inner_key_type == NULL ); Py_INCREF( tmp_assign_source_11 ); var_inner_key_type = tmp_assign_source_11; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_12; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_12 = tmp_tuple_unpack_1__element_2; assert( var_rest == NULL ); Py_INCREF( tmp_assign_source_12 ); var_rest = tmp_assign_source_12; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; if ( var_inner_key_type == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "inner_key_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 72; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_6 = var_inner_key_type; if ( var_key_type == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 72; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_6 = var_key_type; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_6, tmp_compexpr_right_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 72; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_raise_type_4; PyObject *tmp_make_exception_arg_3; tmp_make_exception_arg_3 = const_str_digest_11b3102fb6667ebe907a0e04d907a573; frame_8679d73bd3ba5019b76ce238b30485f5->m_frame.f_lineno = 73; { PyObject *call_args[] = { tmp_make_exception_arg_3 }; tmp_raise_type_4 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_4 == NULL) ); exception_type = tmp_raise_type_4; exception_lineno = 73; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } branch_no_6:; } { PyObject *tmp_called_name_4; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; if ( var_loader == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "loader" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 77; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_called_name_4 = var_loader; if ( var_key_type == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 77; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = var_key_type; if ( var_rest == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rest" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 77; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = var_rest; if ( par_backend == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "backend" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 77; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_backend; frame_8679d73bd3ba5019b76ce238b30485f5->m_frame.f_lineno = 77; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_4, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 77; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_8679d73bd3ba5019b76ce238b30485f5 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8679d73bd3ba5019b76ce238b30485f5 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8679d73bd3ba5019b76ce238b30485f5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8679d73bd3ba5019b76ce238b30485f5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8679d73bd3ba5019b76ce238b30485f5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8679d73bd3ba5019b76ce238b30485f5, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8679d73bd3ba5019b76ce238b30485f5, type_description_1, par_data, par_backend, var_key_parts, var_key_type, var_loader, var_key_body, var_decoded_data, var_inner_key_type, var_rest ); // Release cached frame. if ( frame_8679d73bd3ba5019b76ce238b30485f5 == cache_frame_8679d73bd3ba5019b76ce238b30485f5 ) { Py_DECREF( frame_8679d73bd3ba5019b76ce238b30485f5 ); } cache_frame_8679d73bd3ba5019b76ce238b30485f5 = NULL; assertFrameObject( frame_8679d73bd3ba5019b76ce238b30485f5 ); // 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$primitives$serialization$$$function_7_load_ssh_public_key ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_backend ); par_backend = NULL; } { Py_XDECREF( var_key_parts ); var_key_parts = NULL; } { Py_XDECREF( var_key_type ); var_key_type = NULL; } { Py_XDECREF( var_loader ); var_loader = NULL; } { Py_XDECREF( var_key_body ); var_key_body = NULL; } { Py_XDECREF( var_decoded_data ); var_decoded_data = NULL; } { Py_XDECREF( var_inner_key_type ); var_inner_key_type = NULL; } { Py_XDECREF( var_rest ); var_rest = 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_data ); par_data = NULL; } { Py_XDECREF( par_backend ); par_backend = NULL; } { Py_XDECREF( var_key_parts ); var_key_parts = NULL; } { Py_XDECREF( var_key_type ); var_key_type = NULL; } { Py_XDECREF( var_loader ); var_loader = NULL; } { Py_XDECREF( var_key_body ); var_key_body = NULL; } { Py_XDECREF( var_decoded_data ); var_decoded_data = NULL; } { Py_XDECREF( var_inner_key_type ); var_inner_key_type = NULL; } { Py_XDECREF( var_rest ); var_rest = 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$primitives$serialization$$$function_7_load_ssh_public_key ); 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$primitives$serialization$$$function_8__load_ssh_rsa_public_key( 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_key_type = python_pars[ 0 ]; PyObject *par_decoded_data = python_pars[ 1 ]; PyObject *par_backend = python_pars[ 2 ]; PyObject *var_e = NULL; PyObject *var_rest = NULL; PyObject *var_n = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; struct Nuitka_FrameObject *frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *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_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 = 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_dc1bcc0e5c5f6da8f4d1d2f8ef034a82, codeobj_dc1bcc0e5c5f6da8f4d1d2f8ef034a82, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 = cache_frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82; // Push the new frame as the currently active one. pushFrameStack( frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_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$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ssh_read_next_mpint" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 81; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_decoded_data ); tmp_args_element_name_1 = par_decoded_data; frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82->m_frame.f_lineno = 81; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "oooooo"; goto try_except_handler_2; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_2 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooo"; exception_lineno = 81; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_3 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooo"; exception_lineno = 81; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooo"; exception_lineno = 81; goto try_except_handler_3; } } } 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 = "oooooo"; exception_lineno = 81; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (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_2; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { // 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_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_4 = tmp_tuple_unpack_1__element_1; assert( var_e == NULL ); Py_INCREF( tmp_assign_source_4 ); var_e = tmp_assign_source_4; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_5 = tmp_tuple_unpack_1__element_2; assert( var_rest == NULL ); Py_INCREF( tmp_assign_source_5 ); var_rest = tmp_assign_source_5; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_2; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ssh_read_next_mpint" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 82; type_description_1 = "oooooo"; goto try_except_handler_4; } tmp_called_name_2 = tmp_mvar_value_2; if ( var_rest == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rest" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 82; type_description_1 = "oooooo"; goto try_except_handler_4; } tmp_args_element_name_2 = var_rest; frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82->m_frame.f_lineno = 82; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_iter_arg_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 82; type_description_1 = "oooooo"; goto try_except_handler_4; } tmp_assign_source_6 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 82; type_description_1 = "oooooo"; goto try_except_handler_4; } assert( tmp_tuple_unpack_2__source_iter == NULL ); tmp_tuple_unpack_2__source_iter = tmp_assign_source_6; } { // Tried code: { PyObject *tmp_assign_source_7; PyObject *tmp_unpack_3; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_3 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_7 = UNPACK_NEXT( tmp_unpack_3, 0, 2 ); if ( tmp_assign_source_7 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooo"; exception_lineno = 82; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_1 == NULL ); tmp_tuple_unpack_2__element_1 = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; PyObject *tmp_unpack_4; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_8 = UNPACK_NEXT( tmp_unpack_4, 1, 2 ); if ( tmp_assign_source_8 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooo"; exception_lineno = 82; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_2 == NULL ); tmp_tuple_unpack_2__element_2 = tmp_assign_source_8; } { PyObject *tmp_iterator_name_2; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_2 ); assert( HAS_ITERNEXT( tmp_iterator_name_2 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooo"; exception_lineno = 82; goto try_except_handler_5; } } } 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 = "oooooo"; exception_lineno = 82; goto try_except_handler_5; } } goto try_end_3; // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_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: try_end_3:; } goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_tuple_unpack_2__element_1 ); tmp_assign_source_9 = tmp_tuple_unpack_2__element_1; assert( var_n == NULL ); Py_INCREF( tmp_assign_source_9 ); var_n = tmp_assign_source_9; } { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_tuple_unpack_2__element_2 ); tmp_assign_source_10 = tmp_tuple_unpack_2__element_2; { PyObject *old = var_rest; var_rest = tmp_assign_source_10; Py_INCREF( var_rest ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; if ( var_rest == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rest" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 84; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( var_rest ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_0b489aa2a47207c59cf1299198128d6b; frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82->m_frame.f_lineno = 85; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 85; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_1; PyObject *tmp_called_name_4; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_rsa ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_rsa ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "rsa" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 87; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_3; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_RSAPublicNumbers ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_e == 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", "e" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 87; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = var_e; if ( var_n == 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", "n" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 87; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = var_n; frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82->m_frame.f_lineno = 87; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_source_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_public_key ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( par_backend == 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", "backend" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 87; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_backend; frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82->m_frame.f_lineno = 87; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82, type_description_1, par_key_type, par_decoded_data, par_backend, var_e, var_rest, var_n ); // Release cached frame. if ( frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 == cache_frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 ) { Py_DECREF( frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 ); } cache_frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 = NULL; assertFrameObject( frame_dc1bcc0e5c5f6da8f4d1d2f8ef034a82 ); // 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$primitives$serialization$$$function_8__load_ssh_rsa_public_key ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_key_type ); par_key_type = NULL; } { Py_XDECREF( par_decoded_data ); par_decoded_data = NULL; } { Py_XDECREF( par_backend ); par_backend = NULL; } { Py_XDECREF( var_e ); var_e = NULL; } { Py_XDECREF( var_rest ); var_rest = NULL; } { Py_XDECREF( var_n ); var_n = 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_key_type ); par_key_type = NULL; } { Py_XDECREF( par_decoded_data ); par_decoded_data = NULL; } { Py_XDECREF( par_backend ); par_backend = NULL; } { Py_XDECREF( var_e ); var_e = NULL; } { Py_XDECREF( var_rest ); var_rest = NULL; } { Py_XDECREF( var_n ); var_n = 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$primitives$serialization$$$function_8__load_ssh_rsa_public_key ); 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$primitives$serialization$$$function_9__load_ssh_dss_public_key( 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_key_type = python_pars[ 0 ]; PyObject *par_decoded_data = python_pars[ 1 ]; PyObject *par_backend = python_pars[ 2 ]; PyObject *var_p = NULL; PyObject *var_rest = NULL; PyObject *var_q = NULL; PyObject *var_g = NULL; PyObject *var_y = NULL; PyObject *var_parameter_numbers = NULL; PyObject *var_public_numbers = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; PyObject *tmp_tuple_unpack_3__element_1 = NULL; PyObject *tmp_tuple_unpack_3__element_2 = NULL; PyObject *tmp_tuple_unpack_3__source_iter = NULL; PyObject *tmp_tuple_unpack_4__element_1 = NULL; PyObject *tmp_tuple_unpack_4__element_2 = NULL; PyObject *tmp_tuple_unpack_4__source_iter = NULL; struct Nuitka_FrameObject *frame_6dbd6665582db268a5f7bcacb96b021c; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_6dbd6665582db268a5f7bcacb96b021c = NULL; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_6dbd6665582db268a5f7bcacb96b021c, codeobj_6dbd6665582db268a5f7bcacb96b021c, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_6dbd6665582db268a5f7bcacb96b021c = cache_frame_6dbd6665582db268a5f7bcacb96b021c; // Push the new frame as the currently active one. pushFrameStack( frame_6dbd6665582db268a5f7bcacb96b021c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_6dbd6665582db268a5f7bcacb96b021c ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_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$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ssh_read_next_mpint" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 91; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_decoded_data ); tmp_args_element_name_1 = par_decoded_data; frame_6dbd6665582db268a5f7bcacb96b021c->m_frame.f_lineno = 91; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; type_description_1 = "oooooooooo"; goto try_except_handler_2; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_2 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooooo"; exception_lineno = 91; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_3 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooooo"; exception_lineno = 91; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooooo"; exception_lineno = 91; goto try_except_handler_3; } } } 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 = "oooooooooo"; exception_lineno = 91; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (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_2; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { // 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_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_4 = tmp_tuple_unpack_1__element_1; assert( var_p == NULL ); Py_INCREF( tmp_assign_source_4 ); var_p = tmp_assign_source_4; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_5 = tmp_tuple_unpack_1__element_2; assert( var_rest == NULL ); Py_INCREF( tmp_assign_source_5 ); var_rest = tmp_assign_source_5; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_2; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ssh_read_next_mpint" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 92; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_called_name_2 = tmp_mvar_value_2; if ( var_rest == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rest" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 92; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_args_element_name_2 = var_rest; frame_6dbd6665582db268a5f7bcacb96b021c->m_frame.f_lineno = 92; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_iter_arg_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_assign_source_6 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; type_description_1 = "oooooooooo"; goto try_except_handler_4; } assert( tmp_tuple_unpack_2__source_iter == NULL ); tmp_tuple_unpack_2__source_iter = tmp_assign_source_6; } { // Tried code: { PyObject *tmp_assign_source_7; PyObject *tmp_unpack_3; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_3 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_7 = UNPACK_NEXT( tmp_unpack_3, 0, 2 ); if ( tmp_assign_source_7 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooooo"; exception_lineno = 92; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_1 == NULL ); tmp_tuple_unpack_2__element_1 = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; PyObject *tmp_unpack_4; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_8 = UNPACK_NEXT( tmp_unpack_4, 1, 2 ); if ( tmp_assign_source_8 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooooo"; exception_lineno = 92; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_2 == NULL ); tmp_tuple_unpack_2__element_2 = tmp_assign_source_8; } { PyObject *tmp_iterator_name_2; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_2 ); assert( HAS_ITERNEXT( tmp_iterator_name_2 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooooo"; exception_lineno = 92; goto try_except_handler_5; } } } 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 = "oooooooooo"; exception_lineno = 92; goto try_except_handler_5; } } goto try_end_3; // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_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: try_end_3:; } goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_tuple_unpack_2__element_1 ); tmp_assign_source_9 = tmp_tuple_unpack_2__element_1; assert( var_q == NULL ); Py_INCREF( tmp_assign_source_9 ); var_q = tmp_assign_source_9; } { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_tuple_unpack_2__element_2 ); tmp_assign_source_10 = tmp_tuple_unpack_2__element_2; { PyObject *old = var_rest; var_rest = tmp_assign_source_10; Py_INCREF( var_rest ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { // Tried code: { PyObject *tmp_assign_source_11; PyObject *tmp_iter_arg_3; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ssh_read_next_mpint" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 93; type_description_1 = "oooooooooo"; goto try_except_handler_6; } tmp_called_name_3 = tmp_mvar_value_3; if ( var_rest == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rest" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 93; type_description_1 = "oooooooooo"; goto try_except_handler_6; } tmp_args_element_name_3 = var_rest; frame_6dbd6665582db268a5f7bcacb96b021c->m_frame.f_lineno = 93; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_iter_arg_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } if ( tmp_iter_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 93; type_description_1 = "oooooooooo"; goto try_except_handler_6; } tmp_assign_source_11 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_3 ); Py_DECREF( tmp_iter_arg_3 ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 93; type_description_1 = "oooooooooo"; goto try_except_handler_6; } assert( tmp_tuple_unpack_3__source_iter == NULL ); tmp_tuple_unpack_3__source_iter = tmp_assign_source_11; } { // Tried code: { PyObject *tmp_assign_source_12; PyObject *tmp_unpack_5; CHECK_OBJECT( tmp_tuple_unpack_3__source_iter ); tmp_unpack_5 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_12 = UNPACK_NEXT( tmp_unpack_5, 0, 2 ); if ( tmp_assign_source_12 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooooo"; exception_lineno = 93; goto try_except_handler_7; } assert( tmp_tuple_unpack_3__element_1 == NULL ); tmp_tuple_unpack_3__element_1 = tmp_assign_source_12; } { PyObject *tmp_assign_source_13; PyObject *tmp_unpack_6; CHECK_OBJECT( tmp_tuple_unpack_3__source_iter ); tmp_unpack_6 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_13 = UNPACK_NEXT( tmp_unpack_6, 1, 2 ); if ( tmp_assign_source_13 == 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 = "oooooooooo"; exception_lineno = 93; goto try_except_handler_7; } assert( tmp_tuple_unpack_3__element_2 == NULL ); tmp_tuple_unpack_3__element_2 = tmp_assign_source_13; } { PyObject *tmp_iterator_name_3; CHECK_OBJECT( tmp_tuple_unpack_3__source_iter ); tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_3 ); assert( HAS_ITERNEXT( tmp_iterator_name_3 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_3 )->tp_iternext)( tmp_iterator_name_3 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooooo"; exception_lineno = 93; goto try_except_handler_7; } } } 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 = "oooooooooo"; exception_lineno = 93; goto try_except_handler_7; } } goto try_end_5; // Exception handler code: try_except_handler_7:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_3__source_iter ); Py_DECREF( tmp_tuple_unpack_3__source_iter ); tmp_tuple_unpack_3__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_6; } // End of try: try_end_5:; } goto try_end_6; // Exception handler code: try_except_handler_6:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_3__element_1 ); tmp_tuple_unpack_3__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_3__element_2 ); tmp_tuple_unpack_3__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto frame_exception_exit_1; } // End of try: try_end_6:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_3__source_iter ); Py_DECREF( tmp_tuple_unpack_3__source_iter ); tmp_tuple_unpack_3__source_iter = NULL; } { PyObject *tmp_assign_source_14; CHECK_OBJECT( tmp_tuple_unpack_3__element_1 ); tmp_assign_source_14 = tmp_tuple_unpack_3__element_1; assert( var_g == NULL ); Py_INCREF( tmp_assign_source_14 ); var_g = tmp_assign_source_14; } { Py_XDECREF( tmp_tuple_unpack_3__element_1 ); tmp_tuple_unpack_3__element_1 = NULL; } { PyObject *tmp_assign_source_15; CHECK_OBJECT( tmp_tuple_unpack_3__element_2 ); tmp_assign_source_15 = tmp_tuple_unpack_3__element_2; { PyObject *old = var_rest; var_rest = tmp_assign_source_15; Py_INCREF( var_rest ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_3__element_2 ); tmp_tuple_unpack_3__element_2 = NULL; } { // Tried code: { PyObject *tmp_assign_source_16; PyObject *tmp_iter_arg_4; PyObject *tmp_called_name_4; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ssh_read_next_mpint" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 94; type_description_1 = "oooooooooo"; goto try_except_handler_8; } tmp_called_name_4 = tmp_mvar_value_4; if ( var_rest == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rest" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 94; type_description_1 = "oooooooooo"; goto try_except_handler_8; } tmp_args_element_name_4 = var_rest; frame_6dbd6665582db268a5f7bcacb96b021c->m_frame.f_lineno = 94; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_iter_arg_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } if ( tmp_iter_arg_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 94; type_description_1 = "oooooooooo"; goto try_except_handler_8; } tmp_assign_source_16 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_4 ); Py_DECREF( tmp_iter_arg_4 ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 94; type_description_1 = "oooooooooo"; goto try_except_handler_8; } assert( tmp_tuple_unpack_4__source_iter == NULL ); tmp_tuple_unpack_4__source_iter = tmp_assign_source_16; } { // Tried code: { PyObject *tmp_assign_source_17; PyObject *tmp_unpack_7; CHECK_OBJECT( tmp_tuple_unpack_4__source_iter ); tmp_unpack_7 = tmp_tuple_unpack_4__source_iter; tmp_assign_source_17 = UNPACK_NEXT( tmp_unpack_7, 0, 2 ); if ( tmp_assign_source_17 == 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 = "oooooooooo"; exception_lineno = 94; goto try_except_handler_9; } assert( tmp_tuple_unpack_4__element_1 == NULL ); tmp_tuple_unpack_4__element_1 = tmp_assign_source_17; } { PyObject *tmp_assign_source_18; PyObject *tmp_unpack_8; CHECK_OBJECT( tmp_tuple_unpack_4__source_iter ); tmp_unpack_8 = tmp_tuple_unpack_4__source_iter; tmp_assign_source_18 = UNPACK_NEXT( tmp_unpack_8, 1, 2 ); if ( tmp_assign_source_18 == 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 = "oooooooooo"; exception_lineno = 94; goto try_except_handler_9; } assert( tmp_tuple_unpack_4__element_2 == NULL ); tmp_tuple_unpack_4__element_2 = tmp_assign_source_18; } { PyObject *tmp_iterator_name_4; CHECK_OBJECT( tmp_tuple_unpack_4__source_iter ); tmp_iterator_name_4 = tmp_tuple_unpack_4__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_4 ); assert( HAS_ITERNEXT( tmp_iterator_name_4 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_4 )->tp_iternext)( tmp_iterator_name_4 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooooo"; exception_lineno = 94; goto try_except_handler_9; } } } 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 = "oooooooooo"; exception_lineno = 94; goto try_except_handler_9; } } goto try_end_7; // Exception handler code: try_except_handler_9:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_4__source_iter ); Py_DECREF( tmp_tuple_unpack_4__source_iter ); tmp_tuple_unpack_4__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto try_except_handler_8; } // End of try: try_end_7:; } goto try_end_8; // Exception handler code: try_except_handler_8:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_4__element_1 ); tmp_tuple_unpack_4__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_4__element_2 ); tmp_tuple_unpack_4__element_2 = NULL; } { // 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_8:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_4__source_iter ); Py_DECREF( tmp_tuple_unpack_4__source_iter ); tmp_tuple_unpack_4__source_iter = NULL; } { PyObject *tmp_assign_source_19; CHECK_OBJECT( tmp_tuple_unpack_4__element_1 ); tmp_assign_source_19 = tmp_tuple_unpack_4__element_1; assert( var_y == NULL ); Py_INCREF( tmp_assign_source_19 ); var_y = tmp_assign_source_19; } { Py_XDECREF( tmp_tuple_unpack_4__element_1 ); tmp_tuple_unpack_4__element_1 = NULL; } { PyObject *tmp_assign_source_20; CHECK_OBJECT( tmp_tuple_unpack_4__element_2 ); tmp_assign_source_20 = tmp_tuple_unpack_4__element_2; { PyObject *old = var_rest; var_rest = tmp_assign_source_20; Py_INCREF( var_rest ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_4__element_2 ); tmp_tuple_unpack_4__element_2 = NULL; } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; if ( var_rest == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rest" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 96; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( var_rest ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 96; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_0b489aa2a47207c59cf1299198128d6b; frame_6dbd6665582db268a5f7bcacb96b021c->m_frame.f_lineno = 97; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 97; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_21; PyObject *tmp_called_name_5; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_dsa ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_dsa ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "dsa" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 99; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_5; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_DSAParameterNumbers ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 99; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } if ( var_p == NULL ) { Py_DECREF( tmp_called_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 99; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = var_p; if ( var_q == NULL ) { Py_DECREF( tmp_called_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "q" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 99; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = var_q; if ( var_g == NULL ) { Py_DECREF( tmp_called_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "g" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 99; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = var_g; frame_6dbd6665582db268a5f7bcacb96b021c->m_frame.f_lineno = 99; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7 }; tmp_assign_source_21 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 99; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } assert( var_parameter_numbers == NULL ); var_parameter_numbers = tmp_assign_source_21; } { PyObject *tmp_assign_source_22; PyObject *tmp_called_name_6; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_dsa ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_dsa ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "dsa" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 100; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_6; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_DSAPublicNumbers ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 100; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } if ( var_y == NULL ) { Py_DECREF( tmp_called_name_6 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "y" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 100; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = var_y; if ( var_parameter_numbers == NULL ) { Py_DECREF( tmp_called_name_6 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parameter_numbers" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 100; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_9 = var_parameter_numbers; frame_6dbd6665582db268a5f7bcacb96b021c->m_frame.f_lineno = 100; { PyObject *call_args[] = { tmp_args_element_name_8, tmp_args_element_name_9 }; tmp_assign_source_22 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_assign_source_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 100; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } assert( var_public_numbers == NULL ); var_public_numbers = tmp_assign_source_22; } { PyObject *tmp_called_name_7; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_10; CHECK_OBJECT( var_public_numbers ); tmp_source_name_3 = var_public_numbers; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_public_key ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 102; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } if ( par_backend == 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", "backend" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 102; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_10 = par_backend; frame_6dbd6665582db268a5f7bcacb96b021c->m_frame.f_lineno = 102; { PyObject *call_args[] = { tmp_args_element_name_10 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 102; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_6dbd6665582db268a5f7bcacb96b021c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6dbd6665582db268a5f7bcacb96b021c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6dbd6665582db268a5f7bcacb96b021c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_6dbd6665582db268a5f7bcacb96b021c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_6dbd6665582db268a5f7bcacb96b021c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_6dbd6665582db268a5f7bcacb96b021c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_6dbd6665582db268a5f7bcacb96b021c, type_description_1, par_key_type, par_decoded_data, par_backend, var_p, var_rest, var_q, var_g, var_y, var_parameter_numbers, var_public_numbers ); // Release cached frame. if ( frame_6dbd6665582db268a5f7bcacb96b021c == cache_frame_6dbd6665582db268a5f7bcacb96b021c ) { Py_DECREF( frame_6dbd6665582db268a5f7bcacb96b021c ); } cache_frame_6dbd6665582db268a5f7bcacb96b021c = NULL; assertFrameObject( frame_6dbd6665582db268a5f7bcacb96b021c ); // 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$primitives$serialization$$$function_9__load_ssh_dss_public_key ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_key_type ); par_key_type = NULL; } { Py_XDECREF( par_decoded_data ); par_decoded_data = NULL; } { Py_XDECREF( par_backend ); par_backend = NULL; } { Py_XDECREF( var_p ); var_p = NULL; } { Py_XDECREF( var_rest ); var_rest = NULL; } { Py_XDECREF( var_q ); var_q = NULL; } { Py_XDECREF( var_g ); var_g = NULL; } { Py_XDECREF( var_y ); var_y = NULL; } { Py_XDECREF( var_parameter_numbers ); var_parameter_numbers = NULL; } { Py_XDECREF( var_public_numbers ); var_public_numbers = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_key_type ); par_key_type = NULL; } { Py_XDECREF( par_decoded_data ); par_decoded_data = NULL; } { Py_XDECREF( par_backend ); par_backend = NULL; } { Py_XDECREF( var_p ); var_p = NULL; } { Py_XDECREF( var_rest ); var_rest = NULL; } { Py_XDECREF( var_q ); var_q = NULL; } { Py_XDECREF( var_g ); var_g = NULL; } { Py_XDECREF( var_y ); var_y = NULL; } { Py_XDECREF( var_parameter_numbers ); var_parameter_numbers = NULL; } { Py_XDECREF( var_public_numbers ); var_public_numbers = NULL; } { // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization$$$function_9__load_ssh_dss_public_key ); 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$primitives$serialization$$$function_10__load_ssh_ecdsa_public_key( 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_expected_key_type = python_pars[ 0 ]; PyObject *par_decoded_data = python_pars[ 1 ]; PyObject *par_backend = python_pars[ 2 ]; PyObject *var_curve_name = NULL; PyObject *var_rest = NULL; PyObject *var_data = NULL; PyObject *var_curve = NULL; PyObject *var_numbers = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; struct Nuitka_FrameObject *frame_dde6296a65b54388f40e9f6e9550dca0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_dde6296a65b54388f40e9f6e9550dca0 = 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_dde6296a65b54388f40e9f6e9550dca0, codeobj_dde6296a65b54388f40e9f6e9550dca0, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_dde6296a65b54388f40e9f6e9550dca0 = cache_frame_dde6296a65b54388f40e9f6e9550dca0; // Push the new frame as the currently active one. pushFrameStack( frame_dde6296a65b54388f40e9f6e9550dca0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_dde6296a65b54388f40e9f6e9550dca0 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_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$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_read_next_string ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ssh_read_next_string ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ssh_read_next_string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 106; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_decoded_data ); tmp_args_element_name_1 = par_decoded_data; frame_dde6296a65b54388f40e9f6e9550dca0->m_frame.f_lineno = 106; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 106; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 106; type_description_1 = "oooooooo"; goto try_except_handler_2; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_2 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooo"; exception_lineno = 106; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_3 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooo"; exception_lineno = 106; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; exception_lineno = 106; goto try_except_handler_3; } } } 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 = "oooooooo"; exception_lineno = 106; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (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_2; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { // 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_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_4 = tmp_tuple_unpack_1__element_1; assert( var_curve_name == NULL ); Py_INCREF( tmp_assign_source_4 ); var_curve_name = tmp_assign_source_4; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_5 = tmp_tuple_unpack_1__element_2; assert( var_rest == NULL ); Py_INCREF( tmp_assign_source_5 ); var_rest = tmp_assign_source_5; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_2; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_read_next_string ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ssh_read_next_string ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ssh_read_next_string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 107; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_called_name_2 = tmp_mvar_value_2; if ( var_rest == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rest" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 107; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_args_element_name_2 = var_rest; frame_dde6296a65b54388f40e9f6e9550dca0->m_frame.f_lineno = 107; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_iter_arg_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 107; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_assign_source_6 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 107; type_description_1 = "oooooooo"; goto try_except_handler_4; } assert( tmp_tuple_unpack_2__source_iter == NULL ); tmp_tuple_unpack_2__source_iter = tmp_assign_source_6; } { // Tried code: { PyObject *tmp_assign_source_7; PyObject *tmp_unpack_3; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_3 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_7 = UNPACK_NEXT( tmp_unpack_3, 0, 2 ); if ( tmp_assign_source_7 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooo"; exception_lineno = 107; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_1 == NULL ); tmp_tuple_unpack_2__element_1 = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; PyObject *tmp_unpack_4; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_8 = UNPACK_NEXT( tmp_unpack_4, 1, 2 ); if ( tmp_assign_source_8 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooo"; exception_lineno = 107; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_2 == NULL ); tmp_tuple_unpack_2__element_2 = tmp_assign_source_8; } { PyObject *tmp_iterator_name_2; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_2 ); assert( HAS_ITERNEXT( tmp_iterator_name_2 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; exception_lineno = 107; goto try_except_handler_5; } } } 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 = "oooooooo"; exception_lineno = 107; goto try_except_handler_5; } } goto try_end_3; // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_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: try_end_3:; } goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_tuple_unpack_2__element_1 ); tmp_assign_source_9 = tmp_tuple_unpack_2__element_1; assert( var_data == NULL ); Py_INCREF( tmp_assign_source_9 ); var_data = tmp_assign_source_9; } { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_tuple_unpack_2__element_2 ); tmp_assign_source_10 = tmp_tuple_unpack_2__element_2; { PyObject *old = var_rest; var_rest = tmp_assign_source_10; Py_INCREF( var_rest ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; if ( par_expected_key_type == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "expected_key_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 109; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = par_expected_key_type; tmp_left_name_1 = const_bytes_digest_369cdd429a8f9fdc3b864b3db151e80f; if ( var_curve_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curve_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 109; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_right_name_1 = var_curve_name; tmp_compexpr_right_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_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 = 109; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_11b3102fb6667ebe907a0e04d907a573; frame_dde6296a65b54388f40e9f6e9550dca0->m_frame.f_lineno = 110; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 110; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; goto frame_exception_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; if ( var_rest == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rest" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 114; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( var_rest ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 114; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_2; PyObject *tmp_make_exception_arg_2; tmp_make_exception_arg_2 = const_str_digest_0b489aa2a47207c59cf1299198128d6b; frame_dde6296a65b54388f40e9f6e9550dca0->m_frame.f_lineno = 115; { PyObject *call_args[] = { tmp_make_exception_arg_2 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 115; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; goto frame_exception_exit_1; } branch_no_2:; } { PyObject *tmp_assign_source_11; PyObject *tmp_called_name_3; PyObject *tmp_subscribed_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_3; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_4; PyObject *tmp_dict_key_3; PyObject *tmp_dict_value_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_5; PyObject *tmp_subscript_name_1; tmp_dict_key_1 = const_bytes_digest_b8a11f215e0cb94707db28b4252b6e25; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_ec ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ec ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ec" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_3; tmp_dict_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_SECP256R1 ); if ( tmp_dict_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 118; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = _PyDict_NewPresized( 3 ); tmp_res = PyDict_SetItem( tmp_subscribed_name_1, tmp_dict_key_1, tmp_dict_value_1 ); Py_DECREF( tmp_dict_value_1 ); assert( !(tmp_res != 0) ); tmp_dict_key_2 = const_bytes_digest_42c93b17f640c2a16603ded36386baac; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_ec ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ec ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ec" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 119; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_4; tmp_dict_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_SECP384R1 ); if ( tmp_dict_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); exception_lineno = 119; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_res = PyDict_SetItem( tmp_subscribed_name_1, tmp_dict_key_2, tmp_dict_value_2 ); Py_DECREF( tmp_dict_value_2 ); assert( !(tmp_res != 0) ); tmp_dict_key_3 = const_bytes_digest_c99d993cf9ffebb494cfe9ce8fb78a47; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_ec ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ec ); } if ( tmp_mvar_value_5 == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ec" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_5; tmp_dict_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_SECP521R1 ); if ( tmp_dict_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_res = PyDict_SetItem( tmp_subscribed_name_1, tmp_dict_key_3, tmp_dict_value_3 ); Py_DECREF( tmp_dict_value_3 ); assert( !(tmp_res != 0) ); if ( var_curve_name == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curve_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = var_curve_name; tmp_called_name_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } frame_dde6296a65b54388f40e9f6e9550dca0->m_frame.f_lineno = 117; tmp_assign_source_11 = CALL_FUNCTION_NO_ARGS( tmp_called_name_3 ); Py_DECREF( tmp_called_name_3 ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert( var_curve == NULL ); var_curve = tmp_assign_source_11; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_called_name_4; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_six ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_six ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "six" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_6; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_indexbytes ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( var_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = var_data; tmp_args_element_name_4 = const_int_0; frame_dde6296a65b54388f40e9f6e9550dca0->m_frame.f_lineno = 123; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_compexpr_left_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = const_int_pos_4; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 123; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_raise_type_3; PyObject *tmp_make_exception_arg_3; tmp_make_exception_arg_3 = const_str_digest_8273b9d6f38d6f65d4e6f6fa2a9ac1d1; frame_dde6296a65b54388f40e9f6e9550dca0->m_frame.f_lineno = 124; { PyObject *call_args[] = { tmp_make_exception_arg_3 }; tmp_raise_type_3 = CALL_FUNCTION_WITH_ARGS1( PyExc_NotImplementedError, call_args ); } assert( !(tmp_raise_type_3 == NULL) ); exception_type = tmp_raise_type_3; exception_lineno = 124; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; goto frame_exception_exit_1; } branch_no_3:; } { PyObject *tmp_assign_source_12; PyObject *tmp_called_name_5; PyObject *tmp_source_name_5; PyObject *tmp_source_name_6; PyObject *tmp_mvar_value_7; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_ec ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ec ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ec" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 128; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = tmp_mvar_value_7; tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_EllipticCurvePublicNumbers ); if ( tmp_source_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 128; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_from_encoded_point ); Py_DECREF( tmp_source_name_5 ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 128; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( var_curve == NULL ) { Py_DECREF( tmp_called_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curve" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 128; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = var_curve; if ( var_data == NULL ) { Py_DECREF( tmp_called_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 128; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = var_data; frame_dde6296a65b54388f40e9f6e9550dca0->m_frame.f_lineno = 128; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_assign_source_12 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 128; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert( var_numbers == NULL ); var_numbers = tmp_assign_source_12; } { PyObject *tmp_called_name_6; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_7; CHECK_OBJECT( var_numbers ); tmp_source_name_7 = var_numbers; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_public_key ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_backend == NULL ) { Py_DECREF( tmp_called_name_6 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "backend" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 129; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = par_backend; frame_dde6296a65b54388f40e9f6e9550dca0->m_frame.f_lineno = 129; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_dde6296a65b54388f40e9f6e9550dca0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dde6296a65b54388f40e9f6e9550dca0 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dde6296a65b54388f40e9f6e9550dca0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_dde6296a65b54388f40e9f6e9550dca0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_dde6296a65b54388f40e9f6e9550dca0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_dde6296a65b54388f40e9f6e9550dca0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_dde6296a65b54388f40e9f6e9550dca0, type_description_1, par_expected_key_type, par_decoded_data, par_backend, var_curve_name, var_rest, var_data, var_curve, var_numbers ); // Release cached frame. if ( frame_dde6296a65b54388f40e9f6e9550dca0 == cache_frame_dde6296a65b54388f40e9f6e9550dca0 ) { Py_DECREF( frame_dde6296a65b54388f40e9f6e9550dca0 ); } cache_frame_dde6296a65b54388f40e9f6e9550dca0 = NULL; assertFrameObject( frame_dde6296a65b54388f40e9f6e9550dca0 ); // 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$primitives$serialization$$$function_10__load_ssh_ecdsa_public_key ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_expected_key_type ); par_expected_key_type = NULL; } { Py_XDECREF( par_decoded_data ); par_decoded_data = NULL; } { Py_XDECREF( par_backend ); par_backend = NULL; } { Py_XDECREF( var_curve_name ); var_curve_name = NULL; } { Py_XDECREF( var_rest ); var_rest = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { Py_XDECREF( var_curve ); var_curve = NULL; } { Py_XDECREF( var_numbers ); var_numbers = 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_expected_key_type ); par_expected_key_type = NULL; } { Py_XDECREF( par_decoded_data ); par_decoded_data = NULL; } { Py_XDECREF( par_backend ); par_backend = NULL; } { Py_XDECREF( var_curve_name ); var_curve_name = NULL; } { Py_XDECREF( var_rest ); var_rest = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { Py_XDECREF( var_curve ); var_curve = NULL; } { Py_XDECREF( var_numbers ); var_numbers = 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$primitives$serialization$$$function_10__load_ssh_ecdsa_public_key ); 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$primitives$serialization$$$function_11__ssh_read_next_string( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_data = python_pars[ 0 ]; PyObject *var_str_len = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_6e12f54ce92f01cc0916f075156f145e; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_6e12f54ce92f01cc0916f075156f145e = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_6e12f54ce92f01cc0916f075156f145e, codeobj_6e12f54ce92f01cc0916f075156f145e, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *) ); frame_6e12f54ce92f01cc0916f075156f145e = cache_frame_6e12f54ce92f01cc0916f075156f145e; // Push the new frame as the currently active one. pushFrameStack( frame_6e12f54ce92f01cc0916f075156f145e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_6e12f54ce92f01cc0916f075156f145e ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; CHECK_OBJECT( par_data ); tmp_len_arg_1 = par_data; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 138; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_pos_4; tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 138; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_96c9d20f0ef9209e2d19d32c0e6986ed; frame_6e12f54ce92f01cc0916f075156f145e->m_frame.f_lineno = 139; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 139; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_struct ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_struct ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "struct" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 141; type_description_1 = "oo"; goto try_except_handler_2; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_unpack ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 141; type_description_1 = "oo"; goto try_except_handler_2; } tmp_args_element_name_1 = const_str_digest_e32643bbdc087df0169bdbc4edb2d9da; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 141; type_description_1 = "oo"; goto try_except_handler_2; } tmp_subscribed_name_1 = par_data; tmp_subscript_name_1 = const_slice_none_int_pos_4_none; tmp_args_element_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 141; type_description_1 = "oo"; goto try_except_handler_2; } frame_6e12f54ce92f01cc0916f075156f145e->m_frame.f_lineno = 141; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 141; type_description_1 = "oo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 141; type_description_1 = "oo"; goto try_except_handler_2; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 1 ); if ( tmp_assign_source_2 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oo"; exception_lineno = 141; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_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 = "oo"; exception_lineno = 141; goto try_except_handler_3; } } } 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 1)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; exception_lineno = 141; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (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_2; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { // 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_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_3; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_3 = tmp_tuple_unpack_1__element_1; assert( var_str_len == NULL ); Py_INCREF( tmp_assign_source_3 ); var_str_len = tmp_assign_source_3; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_len_arg_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; if ( par_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 142; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_len_arg_2 = par_data; tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_2 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 142; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( var_str_len == NULL ) { Py_DECREF( tmp_compexpr_left_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "str_len" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 142; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_str_len; tmp_right_name_1 = const_int_pos_4; tmp_compexpr_right_2 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_2 ); exception_lineno = 142; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 142; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_2; PyObject *tmp_make_exception_arg_2; tmp_make_exception_arg_2 = const_str_digest_96c9d20f0ef9209e2d19d32c0e6986ed; frame_6e12f54ce92f01cc0916f075156f145e->m_frame.f_lineno = 143; { PyObject *call_args[] = { tmp_make_exception_arg_2 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 143; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_2:; } { PyObject *tmp_tuple_element_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_step_name_1; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_start_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_stop_name_2; PyObject *tmp_step_name_2; if ( par_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 145; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = par_data; tmp_start_name_1 = const_int_pos_4; tmp_left_name_2 = const_int_pos_4; if ( var_str_len == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "str_len" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 145; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_right_name_2 = var_str_len; tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 145; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_step_name_1 = Py_None; tmp_subscript_name_2 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_2 == NULL) ); tmp_tuple_element_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscript_name_2 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 145; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 ); if ( par_data == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 145; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscribed_name_3 = par_data; tmp_left_name_3 = const_int_pos_4; if ( var_str_len == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "str_len" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 145; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_right_name_3 = var_str_len; tmp_start_name_2 = BINARY_OPERATION_ADD( tmp_left_name_3, tmp_right_name_3 ); if ( tmp_start_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_return_value ); exception_lineno = 145; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_stop_name_2 = Py_None; tmp_step_name_2 = Py_None; tmp_subscript_name_3 = MAKE_SLICEOBJ3( tmp_start_name_2, tmp_stop_name_2, tmp_step_name_2 ); Py_DECREF( tmp_start_name_2 ); assert( !(tmp_subscript_name_3 == NULL) ); tmp_tuple_element_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); Py_DECREF( tmp_subscript_name_3 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_return_value ); exception_lineno = 145; type_description_1 = "oo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_6e12f54ce92f01cc0916f075156f145e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6e12f54ce92f01cc0916f075156f145e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6e12f54ce92f01cc0916f075156f145e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_6e12f54ce92f01cc0916f075156f145e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_6e12f54ce92f01cc0916f075156f145e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_6e12f54ce92f01cc0916f075156f145e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_6e12f54ce92f01cc0916f075156f145e, type_description_1, par_data, var_str_len ); // Release cached frame. if ( frame_6e12f54ce92f01cc0916f075156f145e == cache_frame_6e12f54ce92f01cc0916f075156f145e ) { Py_DECREF( frame_6e12f54ce92f01cc0916f075156f145e ); } cache_frame_6e12f54ce92f01cc0916f075156f145e = NULL; assertFrameObject( frame_6e12f54ce92f01cc0916f075156f145e ); // 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$primitives$serialization$$$function_11__ssh_read_next_string ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( var_str_len ); var_str_len = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( var_str_len ); var_str_len = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization$$$function_11__ssh_read_next_string ); 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$primitives$serialization$$$function_12__ssh_read_next_mpint( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_data = python_pars[ 0 ]; PyObject *var_mpint_data = NULL; PyObject *var_rest = 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_af7de640eefe810418bfecba6e9ab0a1; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_af7de640eefe810418bfecba6e9ab0a1 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_af7de640eefe810418bfecba6e9ab0a1, codeobj_af7de640eefe810418bfecba6e9ab0a1, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_af7de640eefe810418bfecba6e9ab0a1 = cache_frame_af7de640eefe810418bfecba6e9ab0a1; // Push the new frame as the currently active one. pushFrameStack( frame_af7de640eefe810418bfecba6e9ab0a1 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_af7de640eefe810418bfecba6e9ab0a1 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_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$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_read_next_string ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ssh_read_next_string ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ssh_read_next_string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 154; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_data ); tmp_args_element_name_1 = par_data; frame_af7de640eefe810418bfecba6e9ab0a1->m_frame.f_lineno = 154; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 154; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 154; type_description_1 = "ooo"; goto try_except_handler_2; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_2 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooo"; exception_lineno = 154; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_3 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooo"; exception_lineno = 154; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; exception_lineno = 154; goto try_except_handler_3; } } } 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 = "ooo"; exception_lineno = 154; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (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_2; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { // 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_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_4 = tmp_tuple_unpack_1__element_1; assert( var_mpint_data == NULL ); Py_INCREF( tmp_assign_source_4 ); var_mpint_data = tmp_assign_source_4; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_5 = tmp_tuple_unpack_1__element_2; assert( var_rest == NULL ); Py_INCREF( tmp_assign_source_5 ); var_rest = tmp_assign_source_5; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_tuple_element_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_kw_name_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (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 = 157; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_int_from_bytes ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 157; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( var_mpint_data == 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", "mpint_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 157; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_mpint_data; tmp_args_name_1 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_2 ); tmp_kw_name_1 = PyDict_Copy( const_dict_88454893fd57cb80b44c27f8677cf249 ); frame_af7de640eefe810418bfecba6e9ab0a1->m_frame.f_lineno = 157; tmp_tuple_element_1 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 157; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 ); if ( var_rest == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rest" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 157; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = var_rest; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_af7de640eefe810418bfecba6e9ab0a1 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_af7de640eefe810418bfecba6e9ab0a1 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_af7de640eefe810418bfecba6e9ab0a1 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_af7de640eefe810418bfecba6e9ab0a1, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_af7de640eefe810418bfecba6e9ab0a1->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_af7de640eefe810418bfecba6e9ab0a1, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_af7de640eefe810418bfecba6e9ab0a1, type_description_1, par_data, var_mpint_data, var_rest ); // Release cached frame. if ( frame_af7de640eefe810418bfecba6e9ab0a1 == cache_frame_af7de640eefe810418bfecba6e9ab0a1 ) { Py_DECREF( frame_af7de640eefe810418bfecba6e9ab0a1 ); } cache_frame_af7de640eefe810418bfecba6e9ab0a1 = NULL; assertFrameObject( frame_af7de640eefe810418bfecba6e9ab0a1 ); // 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$primitives$serialization$$$function_12__ssh_read_next_mpint ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( var_mpint_data ); var_mpint_data = NULL; } { Py_XDECREF( var_rest ); var_rest = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( var_mpint_data ); var_mpint_data = NULL; } { Py_XDECREF( var_rest ); var_rest = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization$$$function_12__ssh_read_next_mpint ); 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$primitives$serialization$$$function_13__ssh_write_string( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_data = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_fd7fa0f76b2609155836bdf2b894ae78; 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_fd7fa0f76b2609155836bdf2b894ae78 = 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_fd7fa0f76b2609155836bdf2b894ae78, codeobj_fd7fa0f76b2609155836bdf2b894ae78, module_cryptography$hazmat$primitives$serialization, sizeof(void *) ); frame_fd7fa0f76b2609155836bdf2b894ae78 = cache_frame_fd7fa0f76b2609155836bdf2b894ae78; // Push the new frame as the currently active one. pushFrameStack( frame_fd7fa0f76b2609155836bdf2b894ae78 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_fd7fa0f76b2609155836bdf2b894ae78 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_left_name_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_len_arg_1; PyObject *tmp_right_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_struct ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_struct ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "struct" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 162; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_pack ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 162; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_args_element_name_1 = const_str_digest_e32643bbdc087df0169bdbc4edb2d9da; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 162; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_data; tmp_args_element_name_2 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 162; type_description_1 = "o"; goto frame_exception_exit_1; } frame_fd7fa0f76b2609155836bdf2b894ae78->m_frame.f_lineno = 162; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_left_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 162; type_description_1 = "o"; goto frame_exception_exit_1; } if ( par_data == NULL ) { Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 162; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_right_name_1 = par_data; tmp_return_value = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 162; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_fd7fa0f76b2609155836bdf2b894ae78 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fd7fa0f76b2609155836bdf2b894ae78 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fd7fa0f76b2609155836bdf2b894ae78 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_fd7fa0f76b2609155836bdf2b894ae78, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_fd7fa0f76b2609155836bdf2b894ae78->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_fd7fa0f76b2609155836bdf2b894ae78, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_fd7fa0f76b2609155836bdf2b894ae78, type_description_1, par_data ); // Release cached frame. if ( frame_fd7fa0f76b2609155836bdf2b894ae78 == cache_frame_fd7fa0f76b2609155836bdf2b894ae78 ) { Py_DECREF( frame_fd7fa0f76b2609155836bdf2b894ae78 ); } cache_frame_fd7fa0f76b2609155836bdf2b894ae78 = NULL; assertFrameObject( frame_fd7fa0f76b2609155836bdf2b894ae78 ); // 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$primitives$serialization$$$function_13__ssh_write_string ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_data ); par_data = 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_data ); par_data = 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$primitives$serialization$$$function_13__ssh_write_string ); 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$primitives$serialization$$$function_14__ssh_write_mpint( 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_value = python_pars[ 0 ]; PyObject *var_data = NULL; struct Nuitka_FrameObject *frame_a33a20093bfb70bc6e67c58190b89d0c; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_a33a20093bfb70bc6e67c58190b89d0c = 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_a33a20093bfb70bc6e67c58190b89d0c, codeobj_a33a20093bfb70bc6e67c58190b89d0c, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *) ); frame_a33a20093bfb70bc6e67c58190b89d0c = cache_frame_a33a20093bfb70bc6e67c58190b89d0c; // Push the new frame as the currently active one. pushFrameStack( frame_a33a20093bfb70bc6e67c58190b89d0c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a33a20093bfb70bc6e67c58190b89d0c ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_utils ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils ); } if ( tmp_mvar_value_1 == 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 = 166; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_int_to_bytes ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 166; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_value == 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", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 166; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_value; frame_a33a20093bfb70bc6e67c58190b89d0c->m_frame.f_lineno = 166; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 166; type_description_1 = "oo"; goto frame_exception_exit_1; } assert( var_data == NULL ); var_data = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_left_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_right_name_1; PyObject *tmp_op_bitand_res_1; int tmp_truth_name_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_six ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_six ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "six" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 167; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_indexbytes ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 167; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( var_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 167; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_data; tmp_args_element_name_3 = const_int_0; frame_a33a20093bfb70bc6e67c58190b89d0c->m_frame.f_lineno = 167; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_left_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 167; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_right_name_1 = const_int_pos_128; tmp_op_bitand_res_1 = BINARY_OPERATION( PyNumber_And, tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_op_bitand_res_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 167; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_op_bitand_res_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_op_bitand_res_1 ); exception_lineno = 167; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_op_bitand_res_1 ); if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; tmp_left_name_2 = const_bytes_chr_0; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 168; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_right_name_2 = var_data; tmp_assign_source_2 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 168; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = var_data; var_data = tmp_assign_source_2; Py_XDECREF( old ); } } branch_no_1:; } { PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_4; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_write_string ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ssh_write_string ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ssh_write_string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 169; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_3 = tmp_mvar_value_3; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 169; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = var_data; frame_a33a20093bfb70bc6e67c58190b89d0c->m_frame.f_lineno = 169; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 169; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_a33a20093bfb70bc6e67c58190b89d0c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a33a20093bfb70bc6e67c58190b89d0c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a33a20093bfb70bc6e67c58190b89d0c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a33a20093bfb70bc6e67c58190b89d0c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a33a20093bfb70bc6e67c58190b89d0c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a33a20093bfb70bc6e67c58190b89d0c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a33a20093bfb70bc6e67c58190b89d0c, type_description_1, par_value, var_data ); // Release cached frame. if ( frame_a33a20093bfb70bc6e67c58190b89d0c == cache_frame_a33a20093bfb70bc6e67c58190b89d0c ) { Py_DECREF( frame_a33a20093bfb70bc6e67c58190b89d0c ); } cache_frame_a33a20093bfb70bc6e67c58190b89d0c = NULL; assertFrameObject( frame_a33a20093bfb70bc6e67c58190b89d0c ); // 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$primitives$serialization$$$function_14__ssh_write_mpint ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_value ); par_value = NULL; } { Py_XDECREF( var_data ); var_data = 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_value ); par_value = NULL; } { Py_XDECREF( var_data ); var_data = 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$primitives$serialization$$$function_14__ssh_write_mpint ); 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$primitives$serialization$$$function_15___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_password = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_548b62e28735dae5bcd8a5790b53ef71; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_548b62e28735dae5bcd8a5790b53ef71 = 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_548b62e28735dae5bcd8a5790b53ef71, codeobj_548b62e28735dae5bcd8a5790b53ef71, module_cryptography$hazmat$primitives$serialization, sizeof(void *)+sizeof(void *) ); frame_548b62e28735dae5bcd8a5790b53ef71 = cache_frame_548b62e28735dae5bcd8a5790b53ef71; // Push the new frame as the currently active one. pushFrameStack( frame_548b62e28735dae5bcd8a5790b53ef71 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_548b62e28735dae5bcd8a5790b53ef71 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; CHECK_OBJECT( par_password ); tmp_isinstance_inst_1 = par_password; tmp_isinstance_cls_1 = (PyObject *)&PyBytes_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 201; type_description_1 = "oo"; goto frame_exception_exit_1; } 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 = 201; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; if ( par_password == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "password" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 201; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_password; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 201; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_0; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 201; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_or_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_1 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_1 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_ef47ab2a034caff9bd852888daeea85a; frame_548b62e28735dae5bcd8a5790b53ef71->m_frame.f_lineno = 202; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 202; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( par_password == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "password" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 204; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = par_password; 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 = 204; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_password, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 204; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_548b62e28735dae5bcd8a5790b53ef71 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_548b62e28735dae5bcd8a5790b53ef71 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_548b62e28735dae5bcd8a5790b53ef71, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_548b62e28735dae5bcd8a5790b53ef71->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_548b62e28735dae5bcd8a5790b53ef71, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_548b62e28735dae5bcd8a5790b53ef71, type_description_1, par_self, par_password ); // Release cached frame. if ( frame_548b62e28735dae5bcd8a5790b53ef71 == cache_frame_548b62e28735dae5bcd8a5790b53ef71 ) { Py_DECREF( frame_548b62e28735dae5bcd8a5790b53ef71 ); } cache_frame_548b62e28735dae5bcd8a5790b53ef71 = NULL; assertFrameObject( frame_548b62e28735dae5bcd8a5790b53ef71 ); // 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$primitives$serialization$$$function_15___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_password ); par_password = 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_password ); par_password = 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$primitives$serialization$$$function_15___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_10__load_ssh_ecdsa_public_key( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_10__load_ssh_ecdsa_public_key, const_str_plain__load_ssh_ecdsa_public_key, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_dde6296a65b54388f40e9f6e9550dca0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_11__ssh_read_next_string( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_11__ssh_read_next_string, const_str_plain__ssh_read_next_string, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_6e12f54ce92f01cc0916f075156f145e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, const_str_digest_a3ce78b13749d84965e166cfdb80f1c4, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_12__ssh_read_next_mpint( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_12__ssh_read_next_mpint, const_str_plain__ssh_read_next_mpint, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_af7de640eefe810418bfecba6e9ab0a1, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, const_str_digest_283a33d80993ec565c05ed32c8b2aeec, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_13__ssh_write_string( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_13__ssh_write_string, const_str_plain__ssh_write_string, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_fd7fa0f76b2609155836bdf2b894ae78, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_14__ssh_write_mpint( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_14__ssh_write_mpint, const_str_plain__ssh_write_mpint, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_a33a20093bfb70bc6e67c58190b89d0c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_15___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_15___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_139db1100c396bda8dec92aa6b0d920f, #endif codeobj_548b62e28735dae5bcd8a5790b53ef71, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_1_load_pem_private_key( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_1_load_pem_private_key, const_str_plain_load_pem_private_key, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_e36b896ab08894b6e5e0a89714a0fd76, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_2_load_pem_public_key( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_2_load_pem_public_key, const_str_plain_load_pem_public_key, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_646d040645c3e6d07d6b2d41643e4c7e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_3_load_pem_parameters( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_3_load_pem_parameters, const_str_plain_load_pem_parameters, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_dcc58d77b8c92ddb6a6e39d64f0b826c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_4_load_der_private_key( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_4_load_der_private_key, const_str_plain_load_der_private_key, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_8641bcd12e150b3b536c2d3a28eb296f, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_5_load_der_public_key( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_5_load_der_public_key, const_str_plain_load_der_public_key, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_028e30d247bdfecdb34edc8b45ecebed, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_6_load_der_parameters( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_6_load_der_parameters, const_str_plain_load_der_parameters, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_56ecbbbfb01e44511f60868964361af8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_7_load_ssh_public_key( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_7_load_ssh_public_key, const_str_plain_load_ssh_public_key, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_8679d73bd3ba5019b76ce238b30485f5, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_8__load_ssh_rsa_public_key( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_8__load_ssh_rsa_public_key, const_str_plain__load_ssh_rsa_public_key, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_dc1bcc0e5c5f6da8f4d1d2f8ef034a82, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_9__load_ssh_dss_public_key( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$serialization$$$function_9__load_ssh_dss_public_key, const_str_plain__load_ssh_dss_public_key, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_6dbd6665582db268a5f7bcacb96b021c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$serialization, NULL, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_cryptography$hazmat$primitives$serialization = { PyModuleDef_HEAD_INIT, "cryptography.hazmat.primitives.serialization", /* 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$primitives$serialization ) { #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$primitives$serialization ); } 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.primitives.serialization: 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.primitives.serialization: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("cryptography.hazmat.primitives.serialization: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in initcryptography$hazmat$primitives$serialization" ); // 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$primitives$serialization = Py_InitModule4( "cryptography.hazmat.primitives.serialization", // 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$primitives$serialization = PyModule_Create( &mdef_cryptography$hazmat$primitives$serialization ); #endif moduledict_cryptography$hazmat$primitives$serialization = MODULE_DICT( module_cryptography$hazmat$primitives$serialization ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (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$primitives$serialization, (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$primitives$serialization, (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$primitives$serialization, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_cryptography$hazmat$primitives$serialization ); // 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_5a19e6e7c9a2eb5ae94e5b1d5d3af128, module_cryptography$hazmat$primitives$serialization ); 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$primitives$serialization, (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$primitives$serialization, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$primitives$serialization, (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$primitives$serialization, (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$primitives$serialization, (Nuitka_StringObject *)const_str_plain___spec__, spec_value ); Py_DECREF( module_spec_class ); } #endif #endif // Temp variables if any PyObject *outline_0_var___class__ = NULL; PyObject *outline_1_var___class__ = NULL; PyObject *outline_2_var___class__ = NULL; PyObject *outline_3_var___class__ = NULL; PyObject *outline_4_var___class__ = NULL; PyObject *outline_5_var___class__ = NULL; PyObject *outline_6_var___class__ = NULL; PyObject *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__bases_orig = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__bases_orig = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_class_creation_3__bases = NULL; PyObject *tmp_class_creation_3__bases_orig = NULL; PyObject *tmp_class_creation_3__class_decl_dict = NULL; PyObject *tmp_class_creation_3__metaclass = NULL; PyObject *tmp_class_creation_3__prepared = NULL; PyObject *tmp_class_creation_4__bases = NULL; PyObject *tmp_class_creation_4__bases_orig = NULL; PyObject *tmp_class_creation_4__class_decl_dict = NULL; PyObject *tmp_class_creation_4__metaclass = NULL; PyObject *tmp_class_creation_4__prepared = NULL; PyObject *tmp_class_creation_5__bases = NULL; PyObject *tmp_class_creation_5__class_decl_dict = NULL; PyObject *tmp_class_creation_5__metaclass = NULL; PyObject *tmp_class_creation_5__prepared = NULL; PyObject *tmp_class_creation_6__bases = NULL; PyObject *tmp_class_creation_6__class_decl_dict = NULL; PyObject *tmp_class_creation_6__metaclass = NULL; PyObject *tmp_class_creation_6__prepared = NULL; PyObject *tmp_class_creation_7__bases = NULL; PyObject *tmp_class_creation_7__class_decl_dict = NULL; PyObject *tmp_class_creation_7__metaclass = NULL; PyObject *tmp_class_creation_7__prepared = NULL; PyObject *tmp_import_from_1__module = NULL; PyObject *tmp_import_from_2__module = NULL; struct Nuitka_FrameObject *frame_c393edb990294ae1e6f778755d3ffcfb; 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$primitives$serialization_172 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_1ae184324e383b648164e5363246bf5b_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_1ae184324e383b648164e5363246bf5b_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$primitives$serialization_178 = NULL; struct Nuitka_FrameObject *frame_1257cde61c712de4bd9d76e139f0bf41_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_1257cde61c712de4bd9d76e139f0bf41_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; PyObject *locals_cryptography$hazmat$primitives$serialization_183 = NULL; struct Nuitka_FrameObject *frame_1c0b0e6ccd6be242cb6123b6f3bac866_4; NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; static struct Nuitka_FrameObject *cache_frame_1c0b0e6ccd6be242cb6123b6f3bac866_4 = NULL; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *locals_cryptography$hazmat$primitives$serialization_189 = NULL; struct Nuitka_FrameObject *frame_cb6a3d21d71666fcc6e0648d30fd46c8_5; NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL; static struct Nuitka_FrameObject *cache_frame_cb6a3d21d71666fcc6e0648d30fd46c8_5 = NULL; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; PyObject *locals_cryptography$hazmat$primitives$serialization_194 = NULL; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; PyObject *exception_keeper_type_16; PyObject *exception_keeper_value_16; PyTracebackObject *exception_keeper_tb_16; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; PyObject *exception_keeper_type_17; PyObject *exception_keeper_value_17; PyTracebackObject *exception_keeper_tb_17; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17; PyObject *locals_cryptography$hazmat$primitives$serialization_199 = NULL; struct Nuitka_FrameObject *frame_359fadefbda3ad6626b59552695afca1_6; NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL; static struct Nuitka_FrameObject *cache_frame_359fadefbda3ad6626b59552695afca1_6 = NULL; PyObject *exception_keeper_type_18; PyObject *exception_keeper_value_18; PyTracebackObject *exception_keeper_tb_18; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18; PyObject *exception_keeper_type_19; PyObject *exception_keeper_value_19; PyTracebackObject *exception_keeper_tb_19; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19; PyObject *exception_keeper_type_20; PyObject *exception_keeper_value_20; PyTracebackObject *exception_keeper_tb_20; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_20; PyObject *locals_cryptography$hazmat$primitives$serialization_208 = NULL; PyObject *exception_keeper_type_21; PyObject *exception_keeper_value_21; PyTracebackObject *exception_keeper_tb_21; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21; PyObject *exception_keeper_type_22; PyObject *exception_keeper_value_22; PyTracebackObject *exception_keeper_tb_22; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_22; PyObject *exception_keeper_type_23; PyObject *exception_keeper_value_23; PyTracebackObject *exception_keeper_tb_23; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_23; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_b8ec8026266cd63bb5f6cc410d4f54fb; UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$primitives$serialization, (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$primitives$serialization, (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_c393edb990294ae1e6f778755d3ffcfb = MAKE_MODULE_FRAME( codeobj_c393edb990294ae1e6f778755d3ffcfb, module_cryptography$hazmat$primitives$serialization ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_c393edb990294ae1e6f778755d3ffcfb ); assert( Py_REFCNT( frame_c393edb990294ae1e6f778755d3ffcfb ) == 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$primitives$serialization, (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$primitives$serialization, (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$primitives$serialization, (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_abc; tmp_globals_name_1 = (PyObject *)moduledict_cryptography$hazmat$primitives$serialization; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; frame_c393edb990294ae1e6f778755d3ffcfb->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$primitives$serialization, (Nuitka_StringObject *)const_str_plain_abc, 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_base64; tmp_globals_name_2 = (PyObject *)moduledict_cryptography$hazmat$primitives$serialization; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = Py_None; tmp_level_name_2 = const_int_0; frame_c393edb990294ae1e6f778755d3ffcfb->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$primitives$serialization, (Nuitka_StringObject *)const_str_plain_base64, 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_struct; tmp_globals_name_3 = (PyObject *)moduledict_cryptography$hazmat$primitives$serialization; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = Py_None; tmp_level_name_3 = const_int_0; frame_c393edb990294ae1e6f778755d3ffcfb->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$primitives$serialization, (Nuitka_StringObject *)const_str_plain_struct, 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_enum; tmp_globals_name_4 = (PyObject *)moduledict_cryptography$hazmat$primitives$serialization; tmp_locals_name_4 = Py_None; tmp_fromlist_name_4 = const_tuple_str_plain_Enum_tuple; tmp_level_name_4 = const_int_0; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 10; 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 = 10; goto frame_exception_exit_1; } tmp_assign_source_11 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_Enum ); 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 = 10; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_Enum, tmp_assign_source_11 ); } { PyObject *tmp_assign_source_12; 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_plain_six; tmp_globals_name_5 = (PyObject *)moduledict_cryptography$hazmat$primitives$serialization; tmp_locals_name_5 = Py_None; tmp_fromlist_name_5 = Py_None; tmp_level_name_5 = const_int_0; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 12; tmp_assign_source_12 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_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$primitives$serialization, (Nuitka_StringObject *)const_str_plain_six, tmp_assign_source_12 ); } { PyObject *tmp_assign_source_13; PyObject *tmp_import_name_from_5; 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_plain_cryptography; tmp_globals_name_6 = (PyObject *)moduledict_cryptography$hazmat$primitives$serialization; tmp_locals_name_6 = Py_None; tmp_fromlist_name_6 = const_tuple_str_plain_utils_tuple; tmp_level_name_6 = const_int_0; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 14; tmp_import_name_from_5 = IMPORT_MODULE5( tmp_name_name_6, tmp_globals_name_6, tmp_locals_name_6, tmp_fromlist_name_6, tmp_level_name_6 ); if ( tmp_import_name_from_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto frame_exception_exit_1; } tmp_assign_source_13 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_utils ); Py_DECREF( tmp_import_name_from_5 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_utils, tmp_assign_source_13 ); } { PyObject *tmp_assign_source_14; PyObject *tmp_import_name_from_6; 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_82e5b7f1075745a8638e06059354d03c; tmp_globals_name_7 = (PyObject *)moduledict_cryptography$hazmat$primitives$serialization; tmp_locals_name_7 = Py_None; tmp_fromlist_name_7 = const_tuple_str_plain_UnsupportedAlgorithm_tuple; tmp_level_name_7 = const_int_0; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 15; tmp_import_name_from_6 = 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_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 15; goto frame_exception_exit_1; } tmp_assign_source_14 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_UnsupportedAlgorithm ); Py_DECREF( tmp_import_name_from_6 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 15; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_UnsupportedAlgorithm, tmp_assign_source_14 ); } { PyObject *tmp_assign_source_15; PyObject *tmp_name_name_8; PyObject *tmp_globals_name_8; PyObject *tmp_locals_name_8; PyObject *tmp_fromlist_name_8; PyObject *tmp_level_name_8; tmp_name_name_8 = const_str_digest_426349c7e201b358f2086eb3f7fb6f47; tmp_globals_name_8 = (PyObject *)moduledict_cryptography$hazmat$primitives$serialization; tmp_locals_name_8 = Py_None; tmp_fromlist_name_8 = const_tuple_str_plain_dsa_str_plain_ec_str_plain_rsa_tuple; tmp_level_name_8 = const_int_0; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 16; tmp_assign_source_15 = IMPORT_MODULE5( tmp_name_name_8, tmp_globals_name_8, tmp_locals_name_8, tmp_fromlist_name_8, tmp_level_name_8 ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 16; goto frame_exception_exit_1; } assert( tmp_import_from_2__module == NULL ); tmp_import_from_2__module = tmp_assign_source_15; } { // Tried code: { PyObject *tmp_assign_source_16; 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_16 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_dsa ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 16; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_dsa, tmp_assign_source_16 ); } { PyObject *tmp_assign_source_17; PyObject *tmp_import_name_from_8; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_8 = tmp_import_from_2__module; tmp_assign_source_17 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_ec ); if ( tmp_assign_source_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 16; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_ec, tmp_assign_source_17 ); } { PyObject *tmp_assign_source_18; PyObject *tmp_import_name_from_9; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_9 = tmp_import_from_2__module; tmp_assign_source_18 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain_rsa ); if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 16; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_rsa, tmp_assign_source_18 ); } 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_19; tmp_assign_source_19 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_1_load_pem_private_key( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_load_pem_private_key, tmp_assign_source_19 ); } { PyObject *tmp_assign_source_20; tmp_assign_source_20 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_2_load_pem_public_key( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_load_pem_public_key, tmp_assign_source_20 ); } { PyObject *tmp_assign_source_21; tmp_assign_source_21 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_3_load_pem_parameters( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_load_pem_parameters, tmp_assign_source_21 ); } { PyObject *tmp_assign_source_22; tmp_assign_source_22 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_4_load_der_private_key( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_load_der_private_key, tmp_assign_source_22 ); } { PyObject *tmp_assign_source_23; tmp_assign_source_23 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_5_load_der_public_key( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_load_der_public_key, tmp_assign_source_23 ); } { PyObject *tmp_assign_source_24; tmp_assign_source_24 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_6_load_der_parameters( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_load_der_parameters, tmp_assign_source_24 ); } { PyObject *tmp_assign_source_25; tmp_assign_source_25 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_7_load_ssh_public_key( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_load_ssh_public_key, tmp_assign_source_25 ); } { PyObject *tmp_assign_source_26; tmp_assign_source_26 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_8__load_ssh_rsa_public_key( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__load_ssh_rsa_public_key, tmp_assign_source_26 ); } { PyObject *tmp_assign_source_27; tmp_assign_source_27 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_9__load_ssh_dss_public_key( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__load_ssh_dss_public_key, tmp_assign_source_27 ); } { PyObject *tmp_assign_source_28; tmp_assign_source_28 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_10__load_ssh_ecdsa_public_key( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__load_ssh_ecdsa_public_key, tmp_assign_source_28 ); } { PyObject *tmp_assign_source_29; tmp_assign_source_29 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_11__ssh_read_next_string( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_read_next_string, tmp_assign_source_29 ); } { PyObject *tmp_assign_source_30; tmp_assign_source_30 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_12__ssh_read_next_mpint( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_read_next_mpint, tmp_assign_source_30 ); } { PyObject *tmp_assign_source_31; tmp_assign_source_31 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_13__ssh_write_string( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_write_string, tmp_assign_source_31 ); } { PyObject *tmp_assign_source_32; tmp_assign_source_32 = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_14__ssh_write_mpint( ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain__ssh_write_mpint, tmp_assign_source_32 ); } { // Tried code: { PyObject *tmp_assign_source_33; PyObject *tmp_tuple_element_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_Enum ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Enum ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Enum" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 172; goto try_except_handler_3; } tmp_tuple_element_1 = tmp_mvar_value_1; tmp_assign_source_33 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_assign_source_33, 0, tmp_tuple_element_1 ); assert( tmp_class_creation_1__bases_orig == NULL ); tmp_class_creation_1__bases_orig = tmp_assign_source_33; } { PyObject *tmp_assign_source_34; PyObject *tmp_dircall_arg1_1; CHECK_OBJECT( tmp_class_creation_1__bases_orig ); tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig; Py_INCREF( tmp_dircall_arg1_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_assign_source_34 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_34 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 172; goto try_except_handler_3; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_34; } { PyObject *tmp_assign_source_35; tmp_assign_source_35 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_35; } { PyObject *tmp_assign_source_36; 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 = 172; 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 = 172; 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 = 172; 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 = 172; 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 = 172; 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_36 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_36 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 172; goto try_except_handler_3; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_36; } { 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 = 172; 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 = 172; 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_37; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_2; 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 = 172; goto try_except_handler_3; } tmp_tuple_element_2 = const_str_plain_Encoding; tmp_args_name_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_2 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 172; tmp_assign_source_37 = 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_37 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 172; goto try_except_handler_3; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_37; } { 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 = 172; 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_3; 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_3 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 172; goto try_except_handler_3; } tmp_right_name_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_3 ); 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_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ ); Py_DECREF( tmp_source_name_4 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_1 ); exception_lineno = 172; goto try_except_handler_3; } PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_3 ); 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 = 172; 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 = 172; 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_38; tmp_assign_source_38 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_38; } branch_end_2:; } { PyObject *tmp_assign_source_39; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_cryptography$hazmat$primitives$serialization_172 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5a19e6e7c9a2eb5ae94e5b1d5d3af128; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_172, 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 = 172; goto try_except_handler_5; } } { tmp_dictset_value = const_str_plain_Encoding; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_172, 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 = 172; goto try_except_handler_5; } } MAKE_OR_REUSE_FRAME( cache_frame_1ae184324e383b648164e5363246bf5b_2, codeobj_1ae184324e383b648164e5363246bf5b, module_cryptography$hazmat$primitives$serialization, sizeof(void *) ); frame_1ae184324e383b648164e5363246bf5b_2 = cache_frame_1ae184324e383b648164e5363246bf5b_2; // Push the new frame as the currently active one. pushFrameStack( frame_1ae184324e383b648164e5363246bf5b_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_1ae184324e383b648164e5363246bf5b_2 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_str_plain_PEM; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_172, const_str_plain_PEM, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 173; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = const_str_plain_DER; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_172, const_str_plain_DER, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 174; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = const_str_plain_OpenSSH; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_172, const_str_plain_OpenSSH, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 175; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_1ae184324e383b648164e5363246bf5b_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_1ae184324e383b648164e5363246bf5b_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_1ae184324e383b648164e5363246bf5b_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_1ae184324e383b648164e5363246bf5b_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_1ae184324e383b648164e5363246bf5b_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_1ae184324e383b648164e5363246bf5b_2, type_description_2, outline_0_var___class__ ); // Release cached frame. if ( frame_1ae184324e383b648164e5363246bf5b_2 == cache_frame_1ae184324e383b648164e5363246bf5b_2 ) { Py_DECREF( frame_1ae184324e383b648164e5363246bf5b_2 ); } cache_frame_1ae184324e383b648164e5363246bf5b_2 = NULL; assertFrameObject( frame_1ae184324e383b648164e5363246bf5b_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; CHECK_OBJECT( tmp_class_creation_1__bases_orig ); tmp_compexpr_right_1 = tmp_class_creation_1__bases_orig; 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 = 172; 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:; { CHECK_OBJECT( tmp_class_creation_1__bases_orig ); tmp_dictset_value = tmp_class_creation_1__bases_orig; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_172, 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 = 172; goto try_except_handler_5; } } branch_no_4:; } { PyObject *tmp_assign_source_40; PyObject *tmp_called_name_2; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_4; PyObject *tmp_kw_name_2; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_called_name_2 = tmp_class_creation_1__metaclass; tmp_tuple_element_4 = const_str_plain_Encoding; tmp_args_name_2 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_4 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_4 ); tmp_tuple_element_4 = locals_cryptography$hazmat$primitives$serialization_172; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 172; tmp_assign_source_40 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_40 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 172; goto try_except_handler_5; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_40; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_39 = outline_0_var___class__; Py_INCREF( tmp_assign_source_39 ); goto try_return_handler_5; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_5:; { Py_DECREF( locals_cryptography$hazmat$primitives$serialization_172 ); locals_cryptography$hazmat$primitives$serialization_172 = 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$primitives$serialization_172 ); locals_cryptography$hazmat$primitives$serialization_172 = 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$primitives$serialization ); 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$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 172; goto try_except_handler_3; outline_result_1:; UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_Encoding, tmp_assign_source_39 ); } 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; } { // Tried code: { PyObject *tmp_assign_source_41; PyObject *tmp_tuple_element_5; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_Enum ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Enum ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Enum" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 178; goto try_except_handler_6; } tmp_tuple_element_5 = tmp_mvar_value_2; tmp_assign_source_41 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_5 ); PyTuple_SET_ITEM( tmp_assign_source_41, 0, tmp_tuple_element_5 ); assert( tmp_class_creation_2__bases_orig == NULL ); tmp_class_creation_2__bases_orig = tmp_assign_source_41; } { PyObject *tmp_assign_source_42; PyObject *tmp_dircall_arg1_2; CHECK_OBJECT( tmp_class_creation_2__bases_orig ); tmp_dircall_arg1_2 = tmp_class_creation_2__bases_orig; Py_INCREF( tmp_dircall_arg1_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_42 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_42 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 178; goto try_except_handler_6; } assert( tmp_class_creation_2__bases == NULL ); tmp_class_creation_2__bases = tmp_assign_source_42; } { PyObject *tmp_assign_source_43; tmp_assign_source_43 = PyDict_New(); assert( tmp_class_creation_2__class_decl_dict == NULL ); tmp_class_creation_2__class_decl_dict = tmp_assign_source_43; } { PyObject *tmp_assign_source_44; 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 = 178; 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 = 178; 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 = 178; 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 = 178; 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 = 178; 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_44 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 ); Py_DECREF( tmp_metaclass_name_2 ); if ( tmp_assign_source_44 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 178; goto try_except_handler_6; } assert( tmp_class_creation_2__metaclass == NULL ); tmp_class_creation_2__metaclass = tmp_assign_source_44; } { 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 = 178; 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 = 178; 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_45; PyObject *tmp_called_name_3; PyObject *tmp_source_name_6; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_6; 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 = 178; goto try_except_handler_6; } tmp_tuple_element_6 = const_str_plain_PrivateFormat; tmp_args_name_3 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_3, 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_3, 1, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 178; tmp_assign_source_45 = 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_45 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 178; goto try_except_handler_6; } assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_45; } { 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 = 178; 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_7; 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_7 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 ); if ( tmp_tuple_element_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 178; goto try_except_handler_6; } tmp_right_name_2 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_7 ); 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_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___name__ ); Py_DECREF( tmp_source_name_8 ); if ( tmp_tuple_element_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_2 ); exception_lineno = 178; goto try_except_handler_6; } PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_7 ); 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 = 178; 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 = 178; 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_46; tmp_assign_source_46 = PyDict_New(); assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_46; } branch_end_6:; } { PyObject *tmp_assign_source_47; { PyObject *tmp_set_locals_2; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_cryptography$hazmat$primitives$serialization_178 = tmp_set_locals_2; Py_INCREF( tmp_set_locals_2 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5a19e6e7c9a2eb5ae94e5b1d5d3af128; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_178, 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 = 178; goto try_except_handler_8; } } { tmp_dictset_value = const_str_plain_PrivateFormat; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_178, 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 = 178; goto try_except_handler_8; } } MAKE_OR_REUSE_FRAME( cache_frame_1257cde61c712de4bd9d76e139f0bf41_3, codeobj_1257cde61c712de4bd9d76e139f0bf41, module_cryptography$hazmat$primitives$serialization, sizeof(void *) ); frame_1257cde61c712de4bd9d76e139f0bf41_3 = cache_frame_1257cde61c712de4bd9d76e139f0bf41_3; // Push the new frame as the currently active one. pushFrameStack( frame_1257cde61c712de4bd9d76e139f0bf41_3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_1257cde61c712de4bd9d76e139f0bf41_3 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_str_plain_PKCS8; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_178, const_str_plain_PKCS8, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 179; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = const_str_plain_TraditionalOpenSSL; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_178, const_str_plain_TraditionalOpenSSL, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 180; type_description_2 = "o"; goto frame_exception_exit_3; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_1257cde61c712de4bd9d76e139f0bf41_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_1257cde61c712de4bd9d76e139f0bf41_3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_1257cde61c712de4bd9d76e139f0bf41_3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_1257cde61c712de4bd9d76e139f0bf41_3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_1257cde61c712de4bd9d76e139f0bf41_3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_1257cde61c712de4bd9d76e139f0bf41_3, type_description_2, outline_1_var___class__ ); // Release cached frame. if ( frame_1257cde61c712de4bd9d76e139f0bf41_3 == cache_frame_1257cde61c712de4bd9d76e139f0bf41_3 ) { Py_DECREF( frame_1257cde61c712de4bd9d76e139f0bf41_3 ); } cache_frame_1257cde61c712de4bd9d76e139f0bf41_3 = NULL; assertFrameObject( frame_1257cde61c712de4bd9d76e139f0bf41_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_12; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_compexpr_left_2 = tmp_class_creation_2__bases; CHECK_OBJECT( tmp_class_creation_2__bases_orig ); tmp_compexpr_right_2 = tmp_class_creation_2__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 178; goto try_except_handler_8; } tmp_condition_result_12 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { CHECK_OBJECT( tmp_class_creation_2__bases_orig ); tmp_dictset_value = tmp_class_creation_2__bases_orig; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_178, 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 = 178; goto try_except_handler_8; } } branch_no_8:; } { PyObject *tmp_assign_source_48; PyObject *tmp_called_name_4; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_8; PyObject *tmp_kw_name_4; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_called_name_4 = tmp_class_creation_2__metaclass; tmp_tuple_element_8 = const_str_plain_PrivateFormat; tmp_args_name_4 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_8 ); PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_8 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_8 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_8 ); PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_8 ); tmp_tuple_element_8 = locals_cryptography$hazmat$primitives$serialization_178; Py_INCREF( tmp_tuple_element_8 ); PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_8 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 178; tmp_assign_source_48 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_4, tmp_kw_name_4 ); Py_DECREF( tmp_args_name_4 ); if ( tmp_assign_source_48 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 178; goto try_except_handler_8; } assert( outline_1_var___class__ == NULL ); outline_1_var___class__ = tmp_assign_source_48; } { CHECK_OBJECT( outline_1_var___class__ ); tmp_assign_source_47 = outline_1_var___class__; Py_INCREF( tmp_assign_source_47 ); goto try_return_handler_8; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_8:; { Py_DECREF( locals_cryptography$hazmat$primitives$serialization_178 ); locals_cryptography$hazmat$primitives$serialization_178 = 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$primitives$serialization_178 ); locals_cryptography$hazmat$primitives$serialization_178 = 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$primitives$serialization ); 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$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); outline_exception_2:; exception_lineno = 178; goto try_except_handler_6; outline_result_2:; UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_PrivateFormat, tmp_assign_source_47 ); } 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; } { // Tried code: { PyObject *tmp_assign_source_49; PyObject *tmp_tuple_element_9; PyObject *tmp_mvar_value_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_Enum ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Enum ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Enum" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 183; goto try_except_handler_9; } tmp_tuple_element_9 = tmp_mvar_value_3; tmp_assign_source_49 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_assign_source_49, 0, tmp_tuple_element_9 ); assert( tmp_class_creation_3__bases_orig == NULL ); tmp_class_creation_3__bases_orig = tmp_assign_source_49; } { PyObject *tmp_assign_source_50; PyObject *tmp_dircall_arg1_3; CHECK_OBJECT( tmp_class_creation_3__bases_orig ); tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig; Py_INCREF( tmp_dircall_arg1_3 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_3}; tmp_assign_source_50 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_50 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } assert( tmp_class_creation_3__bases == NULL ); tmp_class_creation_3__bases = tmp_assign_source_50; } { PyObject *tmp_assign_source_51; tmp_assign_source_51 = PyDict_New(); assert( tmp_class_creation_3__class_decl_dict == NULL ); tmp_class_creation_3__class_decl_dict = tmp_assign_source_51; } { PyObject *tmp_assign_source_52; PyObject *tmp_metaclass_name_3; nuitka_bool tmp_condition_result_13; PyObject *tmp_key_name_7; PyObject *tmp_dict_name_7; PyObject *tmp_dict_name_8; PyObject *tmp_key_name_8; nuitka_bool tmp_condition_result_14; int tmp_truth_name_3; PyObject *tmp_type_arg_5; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_bases_name_3; tmp_key_name_7 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_7 = tmp_class_creation_3__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_7, tmp_key_name_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } tmp_condition_result_13 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE ) { goto condexpr_true_5; } else { goto condexpr_false_5; } condexpr_true_5:; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_8 = tmp_class_creation_3__class_decl_dict; tmp_key_name_8 = const_str_plain_metaclass; tmp_metaclass_name_3 = DICT_GET_ITEM( tmp_dict_name_8, tmp_key_name_8 ); if ( tmp_metaclass_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } goto condexpr_end_5; condexpr_false_5:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_truth_name_3 = CHECK_IF_TRUE( tmp_class_creation_3__bases ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } tmp_condition_result_14 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_subscribed_name_3 = tmp_class_creation_3__bases; tmp_subscript_name_3 = const_int_0; tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 ); if ( tmp_type_arg_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } tmp_metaclass_name_3 = BUILTIN_TYPE1( tmp_type_arg_5 ); Py_DECREF( tmp_type_arg_5 ); if ( tmp_metaclass_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } goto condexpr_end_6; condexpr_false_6:; tmp_metaclass_name_3 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_3 ); condexpr_end_6:; condexpr_end_5:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_bases_name_3 = tmp_class_creation_3__bases; tmp_assign_source_52 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 ); Py_DECREF( tmp_metaclass_name_3 ); if ( tmp_assign_source_52 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } assert( tmp_class_creation_3__metaclass == NULL ); tmp_class_creation_3__metaclass = tmp_assign_source_52; } { nuitka_bool tmp_condition_result_15; PyObject *tmp_key_name_9; PyObject *tmp_dict_name_9; tmp_key_name_9 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_9 = tmp_class_creation_3__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_9, tmp_key_name_9 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } tmp_condition_result_15 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } } branch_no_9:; } { nuitka_bool tmp_condition_result_16; PyObject *tmp_source_name_9; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_9 = tmp_class_creation_3__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_9, const_str_plain___prepare__ ); tmp_condition_result_16 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { PyObject *tmp_assign_source_53; PyObject *tmp_called_name_5; PyObject *tmp_source_name_10; PyObject *tmp_args_name_5; PyObject *tmp_tuple_element_10; PyObject *tmp_kw_name_5; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_10 = tmp_class_creation_3__metaclass; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain___prepare__ ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } tmp_tuple_element_10 = const_str_plain_PublicFormat; tmp_args_name_5 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_10 ); PyTuple_SET_ITEM( tmp_args_name_5, 0, tmp_tuple_element_10 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_10 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_10 ); PyTuple_SET_ITEM( tmp_args_name_5, 1, tmp_tuple_element_10 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_5 = tmp_class_creation_3__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 183; tmp_assign_source_53 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_5, tmp_kw_name_5 ); Py_DECREF( tmp_called_name_5 ); Py_DECREF( tmp_args_name_5 ); if ( tmp_assign_source_53 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_53; } { nuitka_bool tmp_condition_result_17; PyObject *tmp_operand_name_3; PyObject *tmp_source_name_11; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_source_name_11 = tmp_class_creation_3__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_11, const_str_plain___getitem__ ); tmp_operand_name_3 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } tmp_condition_result_17 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE ) { goto branch_yes_11; } else { goto branch_no_11; } branch_yes_11:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_3; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_tuple_element_11; PyObject *tmp_getattr_target_3; PyObject *tmp_getattr_attr_3; PyObject *tmp_getattr_default_3; PyObject *tmp_source_name_12; PyObject *tmp_type_arg_6; tmp_raise_type_3 = PyExc_TypeError; tmp_left_name_3 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_getattr_target_3 = tmp_class_creation_3__metaclass; tmp_getattr_attr_3 = const_str_plain___name__; tmp_getattr_default_3 = const_str_angle_metaclass; tmp_tuple_element_11 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 ); if ( tmp_tuple_element_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } tmp_right_name_3 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_11 ); CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_type_arg_6 = tmp_class_creation_3__prepared; tmp_source_name_12 = BUILTIN_TYPE1( tmp_type_arg_6 ); assert( !(tmp_source_name_12 == NULL) ); tmp_tuple_element_11 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain___name__ ); Py_DECREF( tmp_source_name_12 ); if ( tmp_tuple_element_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_3 ); exception_lineno = 183; goto try_except_handler_9; } PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_11 ); tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_raise_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_9; } exception_type = tmp_raise_type_3; Py_INCREF( tmp_raise_type_3 ); exception_value = tmp_raise_value_3; exception_lineno = 183; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_9; } branch_no_11:; } goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_54; tmp_assign_source_54 = PyDict_New(); assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_54; } branch_end_10:; } { PyObject *tmp_assign_source_55; { PyObject *tmp_set_locals_3; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_set_locals_3 = tmp_class_creation_3__prepared; locals_cryptography$hazmat$primitives$serialization_183 = tmp_set_locals_3; Py_INCREF( tmp_set_locals_3 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5a19e6e7c9a2eb5ae94e5b1d5d3af128; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_183, 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 = 183; goto try_except_handler_11; } } { tmp_dictset_value = const_str_plain_PublicFormat; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_183, 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 = 183; goto try_except_handler_11; } } MAKE_OR_REUSE_FRAME( cache_frame_1c0b0e6ccd6be242cb6123b6f3bac866_4, codeobj_1c0b0e6ccd6be242cb6123b6f3bac866, module_cryptography$hazmat$primitives$serialization, sizeof(void *) ); frame_1c0b0e6ccd6be242cb6123b6f3bac866_4 = cache_frame_1c0b0e6ccd6be242cb6123b6f3bac866_4; // Push the new frame as the currently active one. pushFrameStack( frame_1c0b0e6ccd6be242cb6123b6f3bac866_4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_1c0b0e6ccd6be242cb6123b6f3bac866_4 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_str_digest_de3b366ff97431f65e9b8abe77213416; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_183, const_str_plain_SubjectPublicKeyInfo, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 184; type_description_2 = "o"; goto frame_exception_exit_4; } } { tmp_dictset_value = const_str_digest_2dbcf60f94479c5903c8287fc6cc0173; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_183, const_str_plain_PKCS1, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 185; type_description_2 = "o"; goto frame_exception_exit_4; } } { tmp_dictset_value = const_str_plain_OpenSSH; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_183, const_str_plain_OpenSSH, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 186; type_description_2 = "o"; goto frame_exception_exit_4; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_1c0b0e6ccd6be242cb6123b6f3bac866_4 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_exception_exit_4:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1c0b0e6ccd6be242cb6123b6f3bac866_4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_1c0b0e6ccd6be242cb6123b6f3bac866_4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_1c0b0e6ccd6be242cb6123b6f3bac866_4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_1c0b0e6ccd6be242cb6123b6f3bac866_4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_1c0b0e6ccd6be242cb6123b6f3bac866_4, type_description_2, outline_2_var___class__ ); // Release cached frame. if ( frame_1c0b0e6ccd6be242cb6123b6f3bac866_4 == cache_frame_1c0b0e6ccd6be242cb6123b6f3bac866_4 ) { Py_DECREF( frame_1c0b0e6ccd6be242cb6123b6f3bac866_4 ); } cache_frame_1c0b0e6ccd6be242cb6123b6f3bac866_4 = NULL; assertFrameObject( frame_1c0b0e6ccd6be242cb6123b6f3bac866_4 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_3; frame_no_exception_3:; goto skip_nested_handling_3; nested_frame_exit_3:; goto try_except_handler_11; skip_nested_handling_3:; { nuitka_bool tmp_condition_result_18; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_compexpr_left_3 = tmp_class_creation_3__bases; CHECK_OBJECT( tmp_class_creation_3__bases_orig ); tmp_compexpr_right_3 = tmp_class_creation_3__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_11; } tmp_condition_result_18 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE ) { goto branch_yes_12; } else { goto branch_no_12; } branch_yes_12:; { CHECK_OBJECT( tmp_class_creation_3__bases_orig ); tmp_dictset_value = tmp_class_creation_3__bases_orig; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_183, 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 = 183; goto try_except_handler_11; } } branch_no_12:; } { PyObject *tmp_assign_source_56; PyObject *tmp_called_name_6; PyObject *tmp_args_name_6; PyObject *tmp_tuple_element_12; PyObject *tmp_kw_name_6; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_called_name_6 = tmp_class_creation_3__metaclass; tmp_tuple_element_12 = const_str_plain_PublicFormat; tmp_args_name_6 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_12 ); PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_12 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_12 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_12 ); PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_12 ); tmp_tuple_element_12 = locals_cryptography$hazmat$primitives$serialization_183; Py_INCREF( tmp_tuple_element_12 ); PyTuple_SET_ITEM( tmp_args_name_6, 2, tmp_tuple_element_12 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_6 = tmp_class_creation_3__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 183; tmp_assign_source_56 = CALL_FUNCTION( tmp_called_name_6, tmp_args_name_6, tmp_kw_name_6 ); Py_DECREF( tmp_args_name_6 ); if ( tmp_assign_source_56 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; goto try_except_handler_11; } assert( outline_2_var___class__ == NULL ); outline_2_var___class__ = tmp_assign_source_56; } { CHECK_OBJECT( outline_2_var___class__ ); tmp_assign_source_55 = outline_2_var___class__; Py_INCREF( tmp_assign_source_55 ); goto try_return_handler_11; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_11:; { Py_DECREF( locals_cryptography$hazmat$primitives$serialization_183 ); locals_cryptography$hazmat$primitives$serialization_183 = NULL; } { goto try_return_handler_10; } // Exception handler code: try_except_handler_11:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_cryptography$hazmat$primitives$serialization_183 ); locals_cryptography$hazmat$primitives$serialization_183 = NULL; } { // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto try_except_handler_10; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_10:; { CHECK_OBJECT( (PyObject *)outline_2_var___class__ ); Py_DECREF( outline_2_var___class__ ); outline_2_var___class__ = NULL; } { goto outline_result_3; } // Exception handler code: try_except_handler_10:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto outline_exception_3; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); outline_exception_3:; exception_lineno = 183; goto try_except_handler_9; outline_result_3:; UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_PublicFormat, tmp_assign_source_55 ); } goto try_end_5; // Exception handler code: try_except_handler_9:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_3__bases ); tmp_class_creation_3__bases = NULL; } { Py_XDECREF( tmp_class_creation_3__class_decl_dict ); tmp_class_creation_3__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_3__metaclass ); tmp_class_creation_3__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_3__prepared ); tmp_class_creation_3__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto frame_exception_exit_1; } // End of try: try_end_5:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__bases ); Py_DECREF( tmp_class_creation_3__bases ); tmp_class_creation_3__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__class_decl_dict ); Py_DECREF( tmp_class_creation_3__class_decl_dict ); tmp_class_creation_3__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__metaclass ); Py_DECREF( tmp_class_creation_3__metaclass ); tmp_class_creation_3__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__prepared ); Py_DECREF( tmp_class_creation_3__prepared ); tmp_class_creation_3__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_57; PyObject *tmp_tuple_element_13; PyObject *tmp_mvar_value_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_Enum ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Enum ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Enum" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 189; goto try_except_handler_12; } tmp_tuple_element_13 = tmp_mvar_value_4; tmp_assign_source_57 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_13 ); PyTuple_SET_ITEM( tmp_assign_source_57, 0, tmp_tuple_element_13 ); assert( tmp_class_creation_4__bases_orig == NULL ); tmp_class_creation_4__bases_orig = tmp_assign_source_57; } { PyObject *tmp_assign_source_58; PyObject *tmp_dircall_arg1_4; CHECK_OBJECT( tmp_class_creation_4__bases_orig ); tmp_dircall_arg1_4 = tmp_class_creation_4__bases_orig; Py_INCREF( tmp_dircall_arg1_4 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_4}; tmp_assign_source_58 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_58 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } assert( tmp_class_creation_4__bases == NULL ); tmp_class_creation_4__bases = tmp_assign_source_58; } { PyObject *tmp_assign_source_59; tmp_assign_source_59 = PyDict_New(); assert( tmp_class_creation_4__class_decl_dict == NULL ); tmp_class_creation_4__class_decl_dict = tmp_assign_source_59; } { PyObject *tmp_assign_source_60; PyObject *tmp_metaclass_name_4; nuitka_bool tmp_condition_result_19; PyObject *tmp_key_name_10; PyObject *tmp_dict_name_10; PyObject *tmp_dict_name_11; PyObject *tmp_key_name_11; nuitka_bool tmp_condition_result_20; int tmp_truth_name_4; PyObject *tmp_type_arg_7; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; PyObject *tmp_bases_name_4; tmp_key_name_10 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dict_name_10 = tmp_class_creation_4__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_10, tmp_key_name_10 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } tmp_condition_result_19 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_19 == NUITKA_BOOL_TRUE ) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dict_name_11 = tmp_class_creation_4__class_decl_dict; tmp_key_name_11 = const_str_plain_metaclass; tmp_metaclass_name_4 = DICT_GET_ITEM( tmp_dict_name_11, tmp_key_name_11 ); if ( tmp_metaclass_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } goto condexpr_end_7; condexpr_false_7:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_truth_name_4 = CHECK_IF_TRUE( tmp_class_creation_4__bases ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } tmp_condition_result_20 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_20 == NUITKA_BOOL_TRUE ) { goto condexpr_true_8; } else { goto condexpr_false_8; } condexpr_true_8:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_subscribed_name_4 = tmp_class_creation_4__bases; tmp_subscript_name_4 = const_int_0; tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 0 ); if ( tmp_type_arg_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } tmp_metaclass_name_4 = BUILTIN_TYPE1( tmp_type_arg_7 ); Py_DECREF( tmp_type_arg_7 ); if ( tmp_metaclass_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } goto condexpr_end_8; condexpr_false_8:; tmp_metaclass_name_4 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_4 ); condexpr_end_8:; condexpr_end_7:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_bases_name_4 = tmp_class_creation_4__bases; tmp_assign_source_60 = SELECT_METACLASS( tmp_metaclass_name_4, tmp_bases_name_4 ); Py_DECREF( tmp_metaclass_name_4 ); if ( tmp_assign_source_60 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } assert( tmp_class_creation_4__metaclass == NULL ); tmp_class_creation_4__metaclass = tmp_assign_source_60; } { nuitka_bool tmp_condition_result_21; PyObject *tmp_key_name_12; PyObject *tmp_dict_name_12; tmp_key_name_12 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dict_name_12 = tmp_class_creation_4__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_12, tmp_key_name_12 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } tmp_condition_result_21 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_21 == NUITKA_BOOL_TRUE ) { goto branch_yes_13; } else { goto branch_no_13; } branch_yes_13:; { CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict; tmp_dictdel_key = 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 = 189; goto try_except_handler_12; } } branch_no_13:; } { nuitka_bool tmp_condition_result_22; PyObject *tmp_source_name_13; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_source_name_13 = tmp_class_creation_4__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_13, const_str_plain___prepare__ ); tmp_condition_result_22 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_22 == NUITKA_BOOL_TRUE ) { goto branch_yes_14; } else { goto branch_no_14; } branch_yes_14:; { PyObject *tmp_assign_source_61; PyObject *tmp_called_name_7; PyObject *tmp_source_name_14; PyObject *tmp_args_name_7; PyObject *tmp_tuple_element_14; PyObject *tmp_kw_name_7; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_source_name_14 = tmp_class_creation_4__metaclass; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain___prepare__ ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } tmp_tuple_element_14 = const_str_plain_ParameterFormat; tmp_args_name_7 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_14 ); PyTuple_SET_ITEM( tmp_args_name_7, 0, tmp_tuple_element_14 ); CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_tuple_element_14 = tmp_class_creation_4__bases; Py_INCREF( tmp_tuple_element_14 ); PyTuple_SET_ITEM( tmp_args_name_7, 1, tmp_tuple_element_14 ); CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_kw_name_7 = tmp_class_creation_4__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 189; tmp_assign_source_61 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_7, tmp_kw_name_7 ); Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_args_name_7 ); if ( tmp_assign_source_61 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } assert( tmp_class_creation_4__prepared == NULL ); tmp_class_creation_4__prepared = tmp_assign_source_61; } { nuitka_bool tmp_condition_result_23; PyObject *tmp_operand_name_4; PyObject *tmp_source_name_15; CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_source_name_15 = tmp_class_creation_4__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_15, const_str_plain___getitem__ ); tmp_operand_name_4 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } tmp_condition_result_23 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_23 == NUITKA_BOOL_TRUE ) { goto branch_yes_15; } else { goto branch_no_15; } branch_yes_15:; { PyObject *tmp_raise_type_4; PyObject *tmp_raise_value_4; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_tuple_element_15; PyObject *tmp_getattr_target_4; PyObject *tmp_getattr_attr_4; PyObject *tmp_getattr_default_4; PyObject *tmp_source_name_16; PyObject *tmp_type_arg_8; tmp_raise_type_4 = PyExc_TypeError; tmp_left_name_4 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_getattr_target_4 = tmp_class_creation_4__metaclass; tmp_getattr_attr_4 = const_str_plain___name__; tmp_getattr_default_4 = const_str_angle_metaclass; tmp_tuple_element_15 = BUILTIN_GETATTR( tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4 ); if ( tmp_tuple_element_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } tmp_right_name_4 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_4, 0, tmp_tuple_element_15 ); CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_type_arg_8 = tmp_class_creation_4__prepared; tmp_source_name_16 = BUILTIN_TYPE1( tmp_type_arg_8 ); assert( !(tmp_source_name_16 == NULL) ); tmp_tuple_element_15 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain___name__ ); Py_DECREF( tmp_source_name_16 ); if ( tmp_tuple_element_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_4 ); exception_lineno = 189; goto try_except_handler_12; } PyTuple_SET_ITEM( tmp_right_name_4, 1, tmp_tuple_element_15 ); tmp_raise_value_4 = BINARY_OPERATION_REMAINDER( tmp_left_name_4, tmp_right_name_4 ); Py_DECREF( tmp_right_name_4 ); if ( tmp_raise_value_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_12; } exception_type = tmp_raise_type_4; Py_INCREF( tmp_raise_type_4 ); exception_value = tmp_raise_value_4; exception_lineno = 189; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_12; } branch_no_15:; } goto branch_end_14; branch_no_14:; { PyObject *tmp_assign_source_62; tmp_assign_source_62 = PyDict_New(); assert( tmp_class_creation_4__prepared == NULL ); tmp_class_creation_4__prepared = tmp_assign_source_62; } branch_end_14:; } { PyObject *tmp_assign_source_63; { PyObject *tmp_set_locals_4; CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_set_locals_4 = tmp_class_creation_4__prepared; locals_cryptography$hazmat$primitives$serialization_189 = tmp_set_locals_4; Py_INCREF( tmp_set_locals_4 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5a19e6e7c9a2eb5ae94e5b1d5d3af128; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_189, 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 = 189; goto try_except_handler_14; } } { tmp_dictset_value = const_str_plain_ParameterFormat; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_189, 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 = 189; goto try_except_handler_14; } } MAKE_OR_REUSE_FRAME( cache_frame_cb6a3d21d71666fcc6e0648d30fd46c8_5, codeobj_cb6a3d21d71666fcc6e0648d30fd46c8, module_cryptography$hazmat$primitives$serialization, sizeof(void *) ); frame_cb6a3d21d71666fcc6e0648d30fd46c8_5 = cache_frame_cb6a3d21d71666fcc6e0648d30fd46c8_5; // Push the new frame as the currently active one. pushFrameStack( frame_cb6a3d21d71666fcc6e0648d30fd46c8_5 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_cb6a3d21d71666fcc6e0648d30fd46c8_5 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_str_plain_PKCS3; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_189, const_str_plain_PKCS3, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 190; type_description_2 = "o"; goto frame_exception_exit_5; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_cb6a3d21d71666fcc6e0648d30fd46c8_5 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_4; frame_exception_exit_5:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cb6a3d21d71666fcc6e0648d30fd46c8_5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_cb6a3d21d71666fcc6e0648d30fd46c8_5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_cb6a3d21d71666fcc6e0648d30fd46c8_5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_cb6a3d21d71666fcc6e0648d30fd46c8_5, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_cb6a3d21d71666fcc6e0648d30fd46c8_5, type_description_2, outline_3_var___class__ ); // Release cached frame. if ( frame_cb6a3d21d71666fcc6e0648d30fd46c8_5 == cache_frame_cb6a3d21d71666fcc6e0648d30fd46c8_5 ) { Py_DECREF( frame_cb6a3d21d71666fcc6e0648d30fd46c8_5 ); } cache_frame_cb6a3d21d71666fcc6e0648d30fd46c8_5 = NULL; assertFrameObject( frame_cb6a3d21d71666fcc6e0648d30fd46c8_5 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_4; frame_no_exception_4:; goto skip_nested_handling_4; nested_frame_exit_4:; goto try_except_handler_14; skip_nested_handling_4:; { nuitka_bool tmp_condition_result_24; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_compexpr_left_4 = tmp_class_creation_4__bases; CHECK_OBJECT( tmp_class_creation_4__bases_orig ); tmp_compexpr_right_4 = tmp_class_creation_4__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_4, tmp_compexpr_right_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_14; } tmp_condition_result_24 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_24 == NUITKA_BOOL_TRUE ) { goto branch_yes_16; } else { goto branch_no_16; } branch_yes_16:; { CHECK_OBJECT( tmp_class_creation_4__bases_orig ); tmp_dictset_value = tmp_class_creation_4__bases_orig; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_189, 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 = 189; goto try_except_handler_14; } } branch_no_16:; } { PyObject *tmp_assign_source_64; PyObject *tmp_called_name_8; PyObject *tmp_args_name_8; PyObject *tmp_tuple_element_16; PyObject *tmp_kw_name_8; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_called_name_8 = tmp_class_creation_4__metaclass; tmp_tuple_element_16 = const_str_plain_ParameterFormat; tmp_args_name_8 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_16 ); PyTuple_SET_ITEM( tmp_args_name_8, 0, tmp_tuple_element_16 ); CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_tuple_element_16 = tmp_class_creation_4__bases; Py_INCREF( tmp_tuple_element_16 ); PyTuple_SET_ITEM( tmp_args_name_8, 1, tmp_tuple_element_16 ); tmp_tuple_element_16 = locals_cryptography$hazmat$primitives$serialization_189; Py_INCREF( tmp_tuple_element_16 ); PyTuple_SET_ITEM( tmp_args_name_8, 2, tmp_tuple_element_16 ); CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_kw_name_8 = tmp_class_creation_4__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 189; tmp_assign_source_64 = CALL_FUNCTION( tmp_called_name_8, tmp_args_name_8, tmp_kw_name_8 ); Py_DECREF( tmp_args_name_8 ); if ( tmp_assign_source_64 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 189; goto try_except_handler_14; } assert( outline_3_var___class__ == NULL ); outline_3_var___class__ = tmp_assign_source_64; } { CHECK_OBJECT( outline_3_var___class__ ); tmp_assign_source_63 = outline_3_var___class__; Py_INCREF( tmp_assign_source_63 ); goto try_return_handler_14; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_14:; { Py_DECREF( locals_cryptography$hazmat$primitives$serialization_189 ); locals_cryptography$hazmat$primitives$serialization_189 = NULL; } { goto try_return_handler_13; } // Exception handler code: try_except_handler_14:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_cryptography$hazmat$primitives$serialization_189 ); locals_cryptography$hazmat$primitives$serialization_189 = NULL; } { // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto try_except_handler_13; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_13:; { CHECK_OBJECT( (PyObject *)outline_3_var___class__ ); Py_DECREF( outline_3_var___class__ ); outline_3_var___class__ = NULL; } { goto outline_result_4; } // Exception handler code: try_except_handler_13:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_13; exception_value = exception_keeper_value_13; exception_tb = exception_keeper_tb_13; exception_lineno = exception_keeper_lineno_13; goto outline_exception_4; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); outline_exception_4:; exception_lineno = 189; goto try_except_handler_12; outline_result_4:; UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_ParameterFormat, tmp_assign_source_63 ); } goto try_end_6; // Exception handler code: try_except_handler_12:; exception_keeper_type_14 = exception_type; exception_keeper_value_14 = exception_value; exception_keeper_tb_14 = exception_tb; exception_keeper_lineno_14 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_4__bases ); tmp_class_creation_4__bases = NULL; } { Py_XDECREF( tmp_class_creation_4__class_decl_dict ); tmp_class_creation_4__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_4__metaclass ); tmp_class_creation_4__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_4__prepared ); tmp_class_creation_4__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_14; exception_value = exception_keeper_value_14; exception_tb = exception_keeper_tb_14; exception_lineno = exception_keeper_lineno_14; goto frame_exception_exit_1; } // End of try: try_end_6:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__bases ); Py_DECREF( tmp_class_creation_4__bases ); tmp_class_creation_4__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__class_decl_dict ); Py_DECREF( tmp_class_creation_4__class_decl_dict ); tmp_class_creation_4__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__metaclass ); Py_DECREF( tmp_class_creation_4__metaclass ); tmp_class_creation_4__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__prepared ); Py_DECREF( tmp_class_creation_4__prepared ); tmp_class_creation_4__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_65; PyObject *tmp_dircall_arg1_5; tmp_dircall_arg1_5 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_5 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_5}; tmp_assign_source_65 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_65 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } assert( tmp_class_creation_5__bases == NULL ); tmp_class_creation_5__bases = tmp_assign_source_65; } { PyObject *tmp_assign_source_66; tmp_assign_source_66 = PyDict_New(); assert( tmp_class_creation_5__class_decl_dict == NULL ); tmp_class_creation_5__class_decl_dict = tmp_assign_source_66; } { PyObject *tmp_assign_source_67; PyObject *tmp_metaclass_name_5; nuitka_bool tmp_condition_result_25; PyObject *tmp_key_name_13; PyObject *tmp_dict_name_13; PyObject *tmp_dict_name_14; PyObject *tmp_key_name_14; nuitka_bool tmp_condition_result_26; int tmp_truth_name_5; PyObject *tmp_type_arg_9; PyObject *tmp_subscribed_name_5; PyObject *tmp_subscript_name_5; PyObject *tmp_bases_name_5; tmp_key_name_13 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_dict_name_13 = tmp_class_creation_5__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_13, tmp_key_name_13 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } tmp_condition_result_25 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_25 == NUITKA_BOOL_TRUE ) { goto condexpr_true_9; } else { goto condexpr_false_9; } condexpr_true_9:; CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_dict_name_14 = tmp_class_creation_5__class_decl_dict; tmp_key_name_14 = const_str_plain_metaclass; tmp_metaclass_name_5 = DICT_GET_ITEM( tmp_dict_name_14, tmp_key_name_14 ); if ( tmp_metaclass_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } goto condexpr_end_9; condexpr_false_9:; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_truth_name_5 = CHECK_IF_TRUE( tmp_class_creation_5__bases ); if ( tmp_truth_name_5 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } tmp_condition_result_26 = tmp_truth_name_5 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_26 == NUITKA_BOOL_TRUE ) { goto condexpr_true_10; } else { goto condexpr_false_10; } condexpr_true_10:; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_subscribed_name_5 = tmp_class_creation_5__bases; tmp_subscript_name_5 = const_int_0; tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_5, tmp_subscript_name_5, 0 ); if ( tmp_type_arg_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } tmp_metaclass_name_5 = BUILTIN_TYPE1( tmp_type_arg_9 ); Py_DECREF( tmp_type_arg_9 ); if ( tmp_metaclass_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } goto condexpr_end_10; condexpr_false_10:; tmp_metaclass_name_5 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_5 ); condexpr_end_10:; condexpr_end_9:; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_bases_name_5 = tmp_class_creation_5__bases; tmp_assign_source_67 = SELECT_METACLASS( tmp_metaclass_name_5, tmp_bases_name_5 ); Py_DECREF( tmp_metaclass_name_5 ); if ( tmp_assign_source_67 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } assert( tmp_class_creation_5__metaclass == NULL ); tmp_class_creation_5__metaclass = tmp_assign_source_67; } { nuitka_bool tmp_condition_result_27; PyObject *tmp_key_name_15; PyObject *tmp_dict_name_15; tmp_key_name_15 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_dict_name_15 = tmp_class_creation_5__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_15, tmp_key_name_15 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } tmp_condition_result_27 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_27 == NUITKA_BOOL_TRUE ) { goto branch_yes_17; } else { goto branch_no_17; } branch_yes_17:; { CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_5__class_decl_dict; tmp_dictdel_key = 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 = 194; goto try_except_handler_15; } } branch_no_17:; } { nuitka_bool tmp_condition_result_28; PyObject *tmp_source_name_17; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_source_name_17 = tmp_class_creation_5__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_17, const_str_plain___prepare__ ); tmp_condition_result_28 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_28 == NUITKA_BOOL_TRUE ) { goto branch_yes_18; } else { goto branch_no_18; } branch_yes_18:; { PyObject *tmp_assign_source_68; PyObject *tmp_called_name_9; PyObject *tmp_source_name_18; PyObject *tmp_args_name_9; PyObject *tmp_tuple_element_17; PyObject *tmp_kw_name_9; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_source_name_18 = tmp_class_creation_5__metaclass; tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain___prepare__ ); if ( tmp_called_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } tmp_tuple_element_17 = const_str_plain_KeySerializationEncryption; tmp_args_name_9 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_17 ); PyTuple_SET_ITEM( tmp_args_name_9, 0, tmp_tuple_element_17 ); CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_tuple_element_17 = tmp_class_creation_5__bases; Py_INCREF( tmp_tuple_element_17 ); PyTuple_SET_ITEM( tmp_args_name_9, 1, tmp_tuple_element_17 ); CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_kw_name_9 = tmp_class_creation_5__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 194; tmp_assign_source_68 = CALL_FUNCTION( tmp_called_name_9, tmp_args_name_9, tmp_kw_name_9 ); Py_DECREF( tmp_called_name_9 ); Py_DECREF( tmp_args_name_9 ); if ( tmp_assign_source_68 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } assert( tmp_class_creation_5__prepared == NULL ); tmp_class_creation_5__prepared = tmp_assign_source_68; } { nuitka_bool tmp_condition_result_29; PyObject *tmp_operand_name_5; PyObject *tmp_source_name_19; CHECK_OBJECT( tmp_class_creation_5__prepared ); tmp_source_name_19 = tmp_class_creation_5__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_19, const_str_plain___getitem__ ); tmp_operand_name_5 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } tmp_condition_result_29 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_29 == NUITKA_BOOL_TRUE ) { goto branch_yes_19; } else { goto branch_no_19; } branch_yes_19:; { PyObject *tmp_raise_type_5; PyObject *tmp_raise_value_5; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_tuple_element_18; PyObject *tmp_getattr_target_5; PyObject *tmp_getattr_attr_5; PyObject *tmp_getattr_default_5; PyObject *tmp_source_name_20; PyObject *tmp_type_arg_10; tmp_raise_type_5 = PyExc_TypeError; tmp_left_name_5 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_getattr_target_5 = tmp_class_creation_5__metaclass; tmp_getattr_attr_5 = const_str_plain___name__; tmp_getattr_default_5 = const_str_angle_metaclass; tmp_tuple_element_18 = BUILTIN_GETATTR( tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5 ); if ( tmp_tuple_element_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } tmp_right_name_5 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_5, 0, tmp_tuple_element_18 ); CHECK_OBJECT( tmp_class_creation_5__prepared ); tmp_type_arg_10 = tmp_class_creation_5__prepared; tmp_source_name_20 = BUILTIN_TYPE1( tmp_type_arg_10 ); assert( !(tmp_source_name_20 == NULL) ); tmp_tuple_element_18 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain___name__ ); Py_DECREF( tmp_source_name_20 ); if ( tmp_tuple_element_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_5 ); exception_lineno = 194; goto try_except_handler_15; } PyTuple_SET_ITEM( tmp_right_name_5, 1, tmp_tuple_element_18 ); tmp_raise_value_5 = BINARY_OPERATION_REMAINDER( tmp_left_name_5, tmp_right_name_5 ); Py_DECREF( tmp_right_name_5 ); if ( tmp_raise_value_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_15; } exception_type = tmp_raise_type_5; Py_INCREF( tmp_raise_type_5 ); exception_value = tmp_raise_value_5; exception_lineno = 194; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_15; } branch_no_19:; } goto branch_end_18; branch_no_18:; { PyObject *tmp_assign_source_69; tmp_assign_source_69 = PyDict_New(); assert( tmp_class_creation_5__prepared == NULL ); tmp_class_creation_5__prepared = tmp_assign_source_69; } branch_end_18:; } { PyObject *tmp_assign_source_70; PyObject *tmp_called_name_10; PyObject *tmp_called_name_11; PyObject *tmp_source_name_21; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_22; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_2; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_six ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_six ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "six" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 193; goto try_except_handler_15; } tmp_source_name_21 = tmp_mvar_value_5; tmp_called_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain_add_metaclass ); if ( tmp_called_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 193; goto try_except_handler_15; } tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_abc ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_abc ); } if ( tmp_mvar_value_6 == NULL ) { Py_DECREF( tmp_called_name_11 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "abc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 193; goto try_except_handler_15; } tmp_source_name_22 = tmp_mvar_value_6; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain_ABCMeta ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_11 ); exception_lineno = 193; goto try_except_handler_15; } frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 193; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_called_name_10 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_11, call_args ); } Py_DECREF( tmp_called_name_11 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_called_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 193; goto try_except_handler_15; } { PyObject *tmp_set_locals_5; CHECK_OBJECT( tmp_class_creation_5__prepared ); tmp_set_locals_5 = tmp_class_creation_5__prepared; locals_cryptography$hazmat$primitives$serialization_194 = tmp_set_locals_5; Py_INCREF( tmp_set_locals_5 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5a19e6e7c9a2eb5ae94e5b1d5d3af128; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_194, 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 = 194; goto try_except_handler_17; } } { tmp_dictset_value = const_str_plain_KeySerializationEncryption; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_194, 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 = 194; goto try_except_handler_17; } } { nuitka_bool tmp_condition_result_30; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_compexpr_left_5 = tmp_class_creation_5__bases; tmp_compexpr_right_5 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_5, tmp_compexpr_right_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_17; } tmp_condition_result_30 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_30 == NUITKA_BOOL_TRUE ) { goto branch_yes_20; } else { goto branch_no_20; } branch_yes_20:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_194, 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 = 194; goto try_except_handler_17; } } branch_no_20:; } { PyObject *tmp_assign_source_71; PyObject *tmp_called_name_12; PyObject *tmp_args_name_10; PyObject *tmp_tuple_element_19; PyObject *tmp_kw_name_10; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_called_name_12 = tmp_class_creation_5__metaclass; tmp_tuple_element_19 = const_str_plain_KeySerializationEncryption; tmp_args_name_10 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_19 ); PyTuple_SET_ITEM( tmp_args_name_10, 0, tmp_tuple_element_19 ); CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_tuple_element_19 = tmp_class_creation_5__bases; Py_INCREF( tmp_tuple_element_19 ); PyTuple_SET_ITEM( tmp_args_name_10, 1, tmp_tuple_element_19 ); tmp_tuple_element_19 = locals_cryptography$hazmat$primitives$serialization_194; Py_INCREF( tmp_tuple_element_19 ); PyTuple_SET_ITEM( tmp_args_name_10, 2, tmp_tuple_element_19 ); CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_kw_name_10 = tmp_class_creation_5__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 194; tmp_assign_source_71 = CALL_FUNCTION( tmp_called_name_12, tmp_args_name_10, tmp_kw_name_10 ); Py_DECREF( tmp_args_name_10 ); if ( tmp_assign_source_71 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; goto try_except_handler_17; } assert( outline_4_var___class__ == NULL ); outline_4_var___class__ = tmp_assign_source_71; } { CHECK_OBJECT( outline_4_var___class__ ); tmp_args_element_name_2 = outline_4_var___class__; Py_INCREF( tmp_args_element_name_2 ); goto try_return_handler_17; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_17:; { Py_DECREF( locals_cryptography$hazmat$primitives$serialization_194 ); locals_cryptography$hazmat$primitives$serialization_194 = NULL; } { goto try_return_handler_16; } // Exception handler code: try_except_handler_17:; exception_keeper_type_15 = exception_type; exception_keeper_value_15 = exception_value; exception_keeper_tb_15 = exception_tb; exception_keeper_lineno_15 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_cryptography$hazmat$primitives$serialization_194 ); locals_cryptography$hazmat$primitives$serialization_194 = NULL; } { // Re-raise. exception_type = exception_keeper_type_15; exception_value = exception_keeper_value_15; exception_tb = exception_keeper_tb_15; exception_lineno = exception_keeper_lineno_15; goto try_except_handler_16; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_16:; { CHECK_OBJECT( (PyObject *)outline_4_var___class__ ); Py_DECREF( outline_4_var___class__ ); outline_4_var___class__ = NULL; } { goto outline_result_5; } // Exception handler code: try_except_handler_16:; exception_keeper_type_16 = exception_type; exception_keeper_value_16 = exception_value; exception_keeper_tb_16 = exception_tb; exception_keeper_lineno_16 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_16; exception_value = exception_keeper_value_16; exception_tb = exception_keeper_tb_16; exception_lineno = exception_keeper_lineno_16; goto outline_exception_5; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); outline_exception_5:; exception_lineno = 194; goto try_except_handler_15; outline_result_5:; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 193; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_70 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args ); } Py_DECREF( tmp_called_name_10 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_assign_source_70 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 193; goto try_except_handler_15; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_KeySerializationEncryption, tmp_assign_source_70 ); } goto try_end_7; // Exception handler code: try_except_handler_15:; exception_keeper_type_17 = exception_type; exception_keeper_value_17 = exception_value; exception_keeper_tb_17 = exception_tb; exception_keeper_lineno_17 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_5__bases ); tmp_class_creation_5__bases = NULL; } { Py_XDECREF( tmp_class_creation_5__class_decl_dict ); tmp_class_creation_5__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_5__metaclass ); tmp_class_creation_5__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_5__prepared ); tmp_class_creation_5__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_17; exception_value = exception_keeper_value_17; exception_tb = exception_keeper_tb_17; exception_lineno = exception_keeper_lineno_17; goto frame_exception_exit_1; } // End of try: try_end_7:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_5__bases ); Py_DECREF( tmp_class_creation_5__bases ); tmp_class_creation_5__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_5__class_decl_dict ); Py_DECREF( tmp_class_creation_5__class_decl_dict ); tmp_class_creation_5__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_5__metaclass ); Py_DECREF( tmp_class_creation_5__metaclass ); tmp_class_creation_5__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_5__prepared ); Py_DECREF( tmp_class_creation_5__prepared ); tmp_class_creation_5__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_72; PyObject *tmp_dircall_arg1_6; tmp_dircall_arg1_6 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_6 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_6}; tmp_assign_source_72 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_72 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } assert( tmp_class_creation_6__bases == NULL ); tmp_class_creation_6__bases = tmp_assign_source_72; } { PyObject *tmp_assign_source_73; tmp_assign_source_73 = PyDict_New(); assert( tmp_class_creation_6__class_decl_dict == NULL ); tmp_class_creation_6__class_decl_dict = tmp_assign_source_73; } { PyObject *tmp_assign_source_74; PyObject *tmp_metaclass_name_6; nuitka_bool tmp_condition_result_31; PyObject *tmp_key_name_16; PyObject *tmp_dict_name_16; PyObject *tmp_dict_name_17; PyObject *tmp_key_name_17; nuitka_bool tmp_condition_result_32; int tmp_truth_name_6; PyObject *tmp_type_arg_11; PyObject *tmp_subscribed_name_6; PyObject *tmp_subscript_name_6; PyObject *tmp_bases_name_6; tmp_key_name_16 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_dict_name_16 = tmp_class_creation_6__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_16, tmp_key_name_16 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } tmp_condition_result_31 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_31 == NUITKA_BOOL_TRUE ) { goto condexpr_true_11; } else { goto condexpr_false_11; } condexpr_true_11:; CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_dict_name_17 = tmp_class_creation_6__class_decl_dict; tmp_key_name_17 = const_str_plain_metaclass; tmp_metaclass_name_6 = DICT_GET_ITEM( tmp_dict_name_17, tmp_key_name_17 ); if ( tmp_metaclass_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } goto condexpr_end_11; condexpr_false_11:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_truth_name_6 = CHECK_IF_TRUE( tmp_class_creation_6__bases ); if ( tmp_truth_name_6 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } tmp_condition_result_32 = tmp_truth_name_6 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_32 == NUITKA_BOOL_TRUE ) { goto condexpr_true_12; } else { goto condexpr_false_12; } condexpr_true_12:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_subscribed_name_6 = tmp_class_creation_6__bases; tmp_subscript_name_6 = const_int_0; tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_6, tmp_subscript_name_6, 0 ); if ( tmp_type_arg_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } tmp_metaclass_name_6 = BUILTIN_TYPE1( tmp_type_arg_11 ); Py_DECREF( tmp_type_arg_11 ); if ( tmp_metaclass_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } goto condexpr_end_12; condexpr_false_12:; tmp_metaclass_name_6 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_6 ); condexpr_end_12:; condexpr_end_11:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_bases_name_6 = tmp_class_creation_6__bases; tmp_assign_source_74 = SELECT_METACLASS( tmp_metaclass_name_6, tmp_bases_name_6 ); Py_DECREF( tmp_metaclass_name_6 ); if ( tmp_assign_source_74 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } assert( tmp_class_creation_6__metaclass == NULL ); tmp_class_creation_6__metaclass = tmp_assign_source_74; } { nuitka_bool tmp_condition_result_33; PyObject *tmp_key_name_18; PyObject *tmp_dict_name_18; tmp_key_name_18 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_dict_name_18 = tmp_class_creation_6__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_18, tmp_key_name_18 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } tmp_condition_result_33 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_33 == NUITKA_BOOL_TRUE ) { goto branch_yes_21; } else { goto branch_no_21; } branch_yes_21:; { CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_6__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 = 199; goto try_except_handler_18; } } branch_no_21:; } { nuitka_bool tmp_condition_result_34; PyObject *tmp_source_name_23; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_source_name_23 = tmp_class_creation_6__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_23, const_str_plain___prepare__ ); tmp_condition_result_34 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_34 == NUITKA_BOOL_TRUE ) { goto branch_yes_22; } else { goto branch_no_22; } branch_yes_22:; { PyObject *tmp_assign_source_75; PyObject *tmp_called_name_13; PyObject *tmp_source_name_24; PyObject *tmp_args_name_11; PyObject *tmp_tuple_element_20; PyObject *tmp_kw_name_11; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_source_name_24 = tmp_class_creation_6__metaclass; tmp_called_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain___prepare__ ); if ( tmp_called_name_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } tmp_tuple_element_20 = const_str_plain_BestAvailableEncryption; tmp_args_name_11 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_20 ); PyTuple_SET_ITEM( tmp_args_name_11, 0, tmp_tuple_element_20 ); CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_tuple_element_20 = tmp_class_creation_6__bases; Py_INCREF( tmp_tuple_element_20 ); PyTuple_SET_ITEM( tmp_args_name_11, 1, tmp_tuple_element_20 ); CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_kw_name_11 = tmp_class_creation_6__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 199; tmp_assign_source_75 = CALL_FUNCTION( tmp_called_name_13, tmp_args_name_11, tmp_kw_name_11 ); Py_DECREF( tmp_called_name_13 ); Py_DECREF( tmp_args_name_11 ); if ( tmp_assign_source_75 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } assert( tmp_class_creation_6__prepared == NULL ); tmp_class_creation_6__prepared = tmp_assign_source_75; } { nuitka_bool tmp_condition_result_35; PyObject *tmp_operand_name_6; PyObject *tmp_source_name_25; CHECK_OBJECT( tmp_class_creation_6__prepared ); tmp_source_name_25 = tmp_class_creation_6__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_25, const_str_plain___getitem__ ); tmp_operand_name_6 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } tmp_condition_result_35 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_35 == NUITKA_BOOL_TRUE ) { goto branch_yes_23; } else { goto branch_no_23; } branch_yes_23:; { PyObject *tmp_raise_type_6; PyObject *tmp_raise_value_6; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; PyObject *tmp_tuple_element_21; PyObject *tmp_getattr_target_6; PyObject *tmp_getattr_attr_6; PyObject *tmp_getattr_default_6; PyObject *tmp_source_name_26; PyObject *tmp_type_arg_12; tmp_raise_type_6 = PyExc_TypeError; tmp_left_name_6 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_getattr_target_6 = tmp_class_creation_6__metaclass; tmp_getattr_attr_6 = const_str_plain___name__; tmp_getattr_default_6 = const_str_angle_metaclass; tmp_tuple_element_21 = BUILTIN_GETATTR( tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6 ); if ( tmp_tuple_element_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } tmp_right_name_6 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_6, 0, tmp_tuple_element_21 ); CHECK_OBJECT( tmp_class_creation_6__prepared ); tmp_type_arg_12 = tmp_class_creation_6__prepared; tmp_source_name_26 = BUILTIN_TYPE1( tmp_type_arg_12 ); assert( !(tmp_source_name_26 == NULL) ); tmp_tuple_element_21 = LOOKUP_ATTRIBUTE( tmp_source_name_26, const_str_plain___name__ ); Py_DECREF( tmp_source_name_26 ); if ( tmp_tuple_element_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_6 ); exception_lineno = 199; goto try_except_handler_18; } PyTuple_SET_ITEM( tmp_right_name_6, 1, tmp_tuple_element_21 ); tmp_raise_value_6 = BINARY_OPERATION_REMAINDER( tmp_left_name_6, tmp_right_name_6 ); Py_DECREF( tmp_right_name_6 ); if ( tmp_raise_value_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_18; } exception_type = tmp_raise_type_6; Py_INCREF( tmp_raise_type_6 ); exception_value = tmp_raise_value_6; exception_lineno = 199; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_18; } branch_no_23:; } goto branch_end_22; branch_no_22:; { PyObject *tmp_assign_source_76; tmp_assign_source_76 = PyDict_New(); assert( tmp_class_creation_6__prepared == NULL ); tmp_class_creation_6__prepared = tmp_assign_source_76; } branch_end_22:; } { PyObject *tmp_assign_source_77; PyObject *tmp_called_name_14; PyObject *tmp_called_name_15; PyObject *tmp_source_name_27; PyObject *tmp_mvar_value_7; PyObject *tmp_args_element_name_3; PyObject *tmp_mvar_value_8; PyObject *tmp_args_element_name_4; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_utils ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils ); } if ( tmp_mvar_value_7 == 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 = 198; goto try_except_handler_18; } tmp_source_name_27 = tmp_mvar_value_7; tmp_called_name_15 = LOOKUP_ATTRIBUTE( tmp_source_name_27, const_str_plain_register_interface ); if ( tmp_called_name_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 198; goto try_except_handler_18; } tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_KeySerializationEncryption ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_KeySerializationEncryption ); } if ( tmp_mvar_value_8 == NULL ) { Py_DECREF( tmp_called_name_15 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "KeySerializationEncryption" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 198; goto try_except_handler_18; } tmp_args_element_name_3 = tmp_mvar_value_8; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 198; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_called_name_14 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_15, call_args ); } Py_DECREF( tmp_called_name_15 ); if ( tmp_called_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 198; goto try_except_handler_18; } { PyObject *tmp_set_locals_6; CHECK_OBJECT( tmp_class_creation_6__prepared ); tmp_set_locals_6 = tmp_class_creation_6__prepared; locals_cryptography$hazmat$primitives$serialization_199 = tmp_set_locals_6; Py_INCREF( tmp_set_locals_6 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5a19e6e7c9a2eb5ae94e5b1d5d3af128; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_199, 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 = 199; goto try_except_handler_20; } } { tmp_dictset_value = const_str_plain_BestAvailableEncryption; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_199, 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 = 199; goto try_except_handler_20; } } MAKE_OR_REUSE_FRAME( cache_frame_359fadefbda3ad6626b59552695afca1_6, codeobj_359fadefbda3ad6626b59552695afca1, module_cryptography$hazmat$primitives$serialization, sizeof(void *) ); frame_359fadefbda3ad6626b59552695afca1_6 = cache_frame_359fadefbda3ad6626b59552695afca1_6; // Push the new frame as the currently active one. pushFrameStack( frame_359fadefbda3ad6626b59552695afca1_6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_359fadefbda3ad6626b59552695afca1_6 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$serialization$$$function_15___init__( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_199, 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 = 200; type_description_2 = "o"; goto frame_exception_exit_6; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_359fadefbda3ad6626b59552695afca1_6 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_5; frame_exception_exit_6:; #if 0 RESTORE_FRAME_EXCEPTION( frame_359fadefbda3ad6626b59552695afca1_6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_359fadefbda3ad6626b59552695afca1_6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_359fadefbda3ad6626b59552695afca1_6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_359fadefbda3ad6626b59552695afca1_6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_359fadefbda3ad6626b59552695afca1_6, type_description_2, outline_5_var___class__ ); // Release cached frame. if ( frame_359fadefbda3ad6626b59552695afca1_6 == cache_frame_359fadefbda3ad6626b59552695afca1_6 ) { Py_DECREF( frame_359fadefbda3ad6626b59552695afca1_6 ); } cache_frame_359fadefbda3ad6626b59552695afca1_6 = NULL; assertFrameObject( frame_359fadefbda3ad6626b59552695afca1_6 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_5; frame_no_exception_5:; goto skip_nested_handling_5; nested_frame_exit_5:; goto try_except_handler_20; skip_nested_handling_5:; { nuitka_bool tmp_condition_result_36; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_compexpr_left_6 = tmp_class_creation_6__bases; tmp_compexpr_right_6 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_6, tmp_compexpr_right_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_20; } tmp_condition_result_36 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_36 == NUITKA_BOOL_TRUE ) { goto branch_yes_24; } else { goto branch_no_24; } branch_yes_24:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_199, 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 = 199; goto try_except_handler_20; } } branch_no_24:; } { PyObject *tmp_assign_source_78; PyObject *tmp_called_name_16; PyObject *tmp_args_name_12; PyObject *tmp_tuple_element_22; PyObject *tmp_kw_name_12; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_called_name_16 = tmp_class_creation_6__metaclass; tmp_tuple_element_22 = const_str_plain_BestAvailableEncryption; tmp_args_name_12 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_22 ); PyTuple_SET_ITEM( tmp_args_name_12, 0, tmp_tuple_element_22 ); CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_tuple_element_22 = tmp_class_creation_6__bases; Py_INCREF( tmp_tuple_element_22 ); PyTuple_SET_ITEM( tmp_args_name_12, 1, tmp_tuple_element_22 ); tmp_tuple_element_22 = locals_cryptography$hazmat$primitives$serialization_199; Py_INCREF( tmp_tuple_element_22 ); PyTuple_SET_ITEM( tmp_args_name_12, 2, tmp_tuple_element_22 ); CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_kw_name_12 = tmp_class_creation_6__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 199; tmp_assign_source_78 = CALL_FUNCTION( tmp_called_name_16, tmp_args_name_12, tmp_kw_name_12 ); Py_DECREF( tmp_args_name_12 ); if ( tmp_assign_source_78 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; goto try_except_handler_20; } assert( outline_5_var___class__ == NULL ); outline_5_var___class__ = tmp_assign_source_78; } { CHECK_OBJECT( outline_5_var___class__ ); tmp_args_element_name_4 = outline_5_var___class__; Py_INCREF( tmp_args_element_name_4 ); goto try_return_handler_20; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_20:; { Py_DECREF( locals_cryptography$hazmat$primitives$serialization_199 ); locals_cryptography$hazmat$primitives$serialization_199 = NULL; } { goto try_return_handler_19; } // Exception handler code: try_except_handler_20:; exception_keeper_type_18 = exception_type; exception_keeper_value_18 = exception_value; exception_keeper_tb_18 = exception_tb; exception_keeper_lineno_18 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_cryptography$hazmat$primitives$serialization_199 ); locals_cryptography$hazmat$primitives$serialization_199 = NULL; } { // Re-raise. exception_type = exception_keeper_type_18; exception_value = exception_keeper_value_18; exception_tb = exception_keeper_tb_18; exception_lineno = exception_keeper_lineno_18; goto try_except_handler_19; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_19:; { CHECK_OBJECT( (PyObject *)outline_5_var___class__ ); Py_DECREF( outline_5_var___class__ ); outline_5_var___class__ = NULL; } { goto outline_result_6; } // Exception handler code: try_except_handler_19:; exception_keeper_type_19 = exception_type; exception_keeper_value_19 = exception_value; exception_keeper_tb_19 = exception_tb; exception_keeper_lineno_19 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_19; exception_value = exception_keeper_value_19; exception_tb = exception_keeper_tb_19; exception_lineno = exception_keeper_lineno_19; goto outline_exception_6; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); outline_exception_6:; exception_lineno = 199; goto try_except_handler_18; outline_result_6:; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 198; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_assign_source_77 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_14, call_args ); } Py_DECREF( tmp_called_name_14 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_assign_source_77 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 198; goto try_except_handler_18; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_BestAvailableEncryption, tmp_assign_source_77 ); } goto try_end_8; // Exception handler code: try_except_handler_18:; exception_keeper_type_20 = exception_type; exception_keeper_value_20 = exception_value; exception_keeper_tb_20 = exception_tb; exception_keeper_lineno_20 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_6__bases ); tmp_class_creation_6__bases = NULL; } { Py_XDECREF( tmp_class_creation_6__class_decl_dict ); tmp_class_creation_6__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_6__metaclass ); tmp_class_creation_6__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_6__prepared ); tmp_class_creation_6__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_20; exception_value = exception_keeper_value_20; exception_tb = exception_keeper_tb_20; exception_lineno = exception_keeper_lineno_20; goto frame_exception_exit_1; } // End of try: try_end_8:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_6__bases ); Py_DECREF( tmp_class_creation_6__bases ); tmp_class_creation_6__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_6__class_decl_dict ); Py_DECREF( tmp_class_creation_6__class_decl_dict ); tmp_class_creation_6__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_6__metaclass ); Py_DECREF( tmp_class_creation_6__metaclass ); tmp_class_creation_6__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_6__prepared ); Py_DECREF( tmp_class_creation_6__prepared ); tmp_class_creation_6__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_79; PyObject *tmp_dircall_arg1_7; tmp_dircall_arg1_7 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_7 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_7}; tmp_assign_source_79 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_79 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } assert( tmp_class_creation_7__bases == NULL ); tmp_class_creation_7__bases = tmp_assign_source_79; } { PyObject *tmp_assign_source_80; tmp_assign_source_80 = PyDict_New(); assert( tmp_class_creation_7__class_decl_dict == NULL ); tmp_class_creation_7__class_decl_dict = tmp_assign_source_80; } { PyObject *tmp_assign_source_81; PyObject *tmp_metaclass_name_7; nuitka_bool tmp_condition_result_37; PyObject *tmp_key_name_19; PyObject *tmp_dict_name_19; PyObject *tmp_dict_name_20; PyObject *tmp_key_name_20; nuitka_bool tmp_condition_result_38; int tmp_truth_name_7; PyObject *tmp_type_arg_13; PyObject *tmp_subscribed_name_7; PyObject *tmp_subscript_name_7; PyObject *tmp_bases_name_7; tmp_key_name_19 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_dict_name_19 = tmp_class_creation_7__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_19, tmp_key_name_19 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } tmp_condition_result_37 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_37 == NUITKA_BOOL_TRUE ) { goto condexpr_true_13; } else { goto condexpr_false_13; } condexpr_true_13:; CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_dict_name_20 = tmp_class_creation_7__class_decl_dict; tmp_key_name_20 = const_str_plain_metaclass; tmp_metaclass_name_7 = DICT_GET_ITEM( tmp_dict_name_20, tmp_key_name_20 ); if ( tmp_metaclass_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } goto condexpr_end_13; condexpr_false_13:; CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_truth_name_7 = CHECK_IF_TRUE( tmp_class_creation_7__bases ); if ( tmp_truth_name_7 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } tmp_condition_result_38 = tmp_truth_name_7 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_38 == NUITKA_BOOL_TRUE ) { goto condexpr_true_14; } else { goto condexpr_false_14; } condexpr_true_14:; CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_subscribed_name_7 = tmp_class_creation_7__bases; tmp_subscript_name_7 = const_int_0; tmp_type_arg_13 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_7, tmp_subscript_name_7, 0 ); if ( tmp_type_arg_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } tmp_metaclass_name_7 = BUILTIN_TYPE1( tmp_type_arg_13 ); Py_DECREF( tmp_type_arg_13 ); if ( tmp_metaclass_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } goto condexpr_end_14; condexpr_false_14:; tmp_metaclass_name_7 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_7 ); condexpr_end_14:; condexpr_end_13:; CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_bases_name_7 = tmp_class_creation_7__bases; tmp_assign_source_81 = SELECT_METACLASS( tmp_metaclass_name_7, tmp_bases_name_7 ); Py_DECREF( tmp_metaclass_name_7 ); if ( tmp_assign_source_81 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } assert( tmp_class_creation_7__metaclass == NULL ); tmp_class_creation_7__metaclass = tmp_assign_source_81; } { nuitka_bool tmp_condition_result_39; PyObject *tmp_key_name_21; PyObject *tmp_dict_name_21; tmp_key_name_21 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_dict_name_21 = tmp_class_creation_7__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_21, tmp_key_name_21 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } tmp_condition_result_39 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_39 == NUITKA_BOOL_TRUE ) { goto branch_yes_25; } else { goto branch_no_25; } branch_yes_25:; { CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_7__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 = 208; goto try_except_handler_21; } } branch_no_25:; } { nuitka_bool tmp_condition_result_40; PyObject *tmp_source_name_28; CHECK_OBJECT( tmp_class_creation_7__metaclass ); tmp_source_name_28 = tmp_class_creation_7__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_28, const_str_plain___prepare__ ); tmp_condition_result_40 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_40 == NUITKA_BOOL_TRUE ) { goto branch_yes_26; } else { goto branch_no_26; } branch_yes_26:; { PyObject *tmp_assign_source_82; PyObject *tmp_called_name_17; PyObject *tmp_source_name_29; PyObject *tmp_args_name_13; PyObject *tmp_tuple_element_23; PyObject *tmp_kw_name_13; CHECK_OBJECT( tmp_class_creation_7__metaclass ); tmp_source_name_29 = tmp_class_creation_7__metaclass; tmp_called_name_17 = LOOKUP_ATTRIBUTE( tmp_source_name_29, const_str_plain___prepare__ ); if ( tmp_called_name_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } tmp_tuple_element_23 = const_str_plain_NoEncryption; tmp_args_name_13 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_23 ); PyTuple_SET_ITEM( tmp_args_name_13, 0, tmp_tuple_element_23 ); CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_tuple_element_23 = tmp_class_creation_7__bases; Py_INCREF( tmp_tuple_element_23 ); PyTuple_SET_ITEM( tmp_args_name_13, 1, tmp_tuple_element_23 ); CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_kw_name_13 = tmp_class_creation_7__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 208; tmp_assign_source_82 = CALL_FUNCTION( tmp_called_name_17, tmp_args_name_13, tmp_kw_name_13 ); Py_DECREF( tmp_called_name_17 ); Py_DECREF( tmp_args_name_13 ); if ( tmp_assign_source_82 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } assert( tmp_class_creation_7__prepared == NULL ); tmp_class_creation_7__prepared = tmp_assign_source_82; } { nuitka_bool tmp_condition_result_41; PyObject *tmp_operand_name_7; PyObject *tmp_source_name_30; CHECK_OBJECT( tmp_class_creation_7__prepared ); tmp_source_name_30 = tmp_class_creation_7__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_30, const_str_plain___getitem__ ); tmp_operand_name_7 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } tmp_condition_result_41 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_41 == NUITKA_BOOL_TRUE ) { goto branch_yes_27; } else { goto branch_no_27; } branch_yes_27:; { PyObject *tmp_raise_type_7; PyObject *tmp_raise_value_7; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; PyObject *tmp_tuple_element_24; PyObject *tmp_getattr_target_7; PyObject *tmp_getattr_attr_7; PyObject *tmp_getattr_default_7; PyObject *tmp_source_name_31; PyObject *tmp_type_arg_14; tmp_raise_type_7 = PyExc_TypeError; tmp_left_name_7 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_7__metaclass ); tmp_getattr_target_7 = tmp_class_creation_7__metaclass; tmp_getattr_attr_7 = const_str_plain___name__; tmp_getattr_default_7 = const_str_angle_metaclass; tmp_tuple_element_24 = BUILTIN_GETATTR( tmp_getattr_target_7, tmp_getattr_attr_7, tmp_getattr_default_7 ); if ( tmp_tuple_element_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } tmp_right_name_7 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_7, 0, tmp_tuple_element_24 ); CHECK_OBJECT( tmp_class_creation_7__prepared ); tmp_type_arg_14 = tmp_class_creation_7__prepared; tmp_source_name_31 = BUILTIN_TYPE1( tmp_type_arg_14 ); assert( !(tmp_source_name_31 == NULL) ); tmp_tuple_element_24 = LOOKUP_ATTRIBUTE( tmp_source_name_31, const_str_plain___name__ ); Py_DECREF( tmp_source_name_31 ); if ( tmp_tuple_element_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_7 ); exception_lineno = 208; goto try_except_handler_21; } PyTuple_SET_ITEM( tmp_right_name_7, 1, tmp_tuple_element_24 ); tmp_raise_value_7 = BINARY_OPERATION_REMAINDER( tmp_left_name_7, tmp_right_name_7 ); Py_DECREF( tmp_right_name_7 ); if ( tmp_raise_value_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_21; } exception_type = tmp_raise_type_7; Py_INCREF( tmp_raise_type_7 ); exception_value = tmp_raise_value_7; exception_lineno = 208; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_21; } branch_no_27:; } goto branch_end_26; branch_no_26:; { PyObject *tmp_assign_source_83; tmp_assign_source_83 = PyDict_New(); assert( tmp_class_creation_7__prepared == NULL ); tmp_class_creation_7__prepared = tmp_assign_source_83; } branch_end_26:; } { PyObject *tmp_assign_source_84; PyObject *tmp_called_name_18; PyObject *tmp_called_name_19; PyObject *tmp_source_name_32; PyObject *tmp_mvar_value_9; PyObject *tmp_args_element_name_5; PyObject *tmp_mvar_value_10; PyObject *tmp_args_element_name_6; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_utils ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils ); } if ( tmp_mvar_value_9 == 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 = 207; goto try_except_handler_21; } tmp_source_name_32 = tmp_mvar_value_9; tmp_called_name_19 = LOOKUP_ATTRIBUTE( tmp_source_name_32, const_str_plain_register_interface ); if ( tmp_called_name_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 207; goto try_except_handler_21; } tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_KeySerializationEncryption ); if (unlikely( tmp_mvar_value_10 == NULL )) { tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_KeySerializationEncryption ); } if ( tmp_mvar_value_10 == NULL ) { Py_DECREF( tmp_called_name_19 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "KeySerializationEncryption" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 207; goto try_except_handler_21; } tmp_args_element_name_5 = tmp_mvar_value_10; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 207; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_called_name_18 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_19, call_args ); } Py_DECREF( tmp_called_name_19 ); if ( tmp_called_name_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 207; goto try_except_handler_21; } { PyObject *tmp_set_locals_7; CHECK_OBJECT( tmp_class_creation_7__prepared ); tmp_set_locals_7 = tmp_class_creation_7__prepared; locals_cryptography$hazmat$primitives$serialization_208 = tmp_set_locals_7; Py_INCREF( tmp_set_locals_7 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_5a19e6e7c9a2eb5ae94e5b1d5d3af128; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_208, 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 = 208; goto try_except_handler_23; } } { tmp_dictset_value = const_str_plain_NoEncryption; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_208, 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 = 208; goto try_except_handler_23; } } { nuitka_bool tmp_condition_result_42; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_compexpr_left_7 = tmp_class_creation_7__bases; tmp_compexpr_right_7 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_7, tmp_compexpr_right_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_23; } tmp_condition_result_42 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_42 == NUITKA_BOOL_TRUE ) { goto branch_yes_28; } else { goto branch_no_28; } branch_yes_28:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$serialization_208, 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 = 208; goto try_except_handler_23; } } branch_no_28:; } { PyObject *tmp_assign_source_85; PyObject *tmp_called_name_20; PyObject *tmp_args_name_14; PyObject *tmp_tuple_element_25; PyObject *tmp_kw_name_14; CHECK_OBJECT( tmp_class_creation_7__metaclass ); tmp_called_name_20 = tmp_class_creation_7__metaclass; tmp_tuple_element_25 = const_str_plain_NoEncryption; tmp_args_name_14 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_25 ); PyTuple_SET_ITEM( tmp_args_name_14, 0, tmp_tuple_element_25 ); CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_tuple_element_25 = tmp_class_creation_7__bases; Py_INCREF( tmp_tuple_element_25 ); PyTuple_SET_ITEM( tmp_args_name_14, 1, tmp_tuple_element_25 ); tmp_tuple_element_25 = locals_cryptography$hazmat$primitives$serialization_208; Py_INCREF( tmp_tuple_element_25 ); PyTuple_SET_ITEM( tmp_args_name_14, 2, tmp_tuple_element_25 ); CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_kw_name_14 = tmp_class_creation_7__class_decl_dict; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 208; tmp_assign_source_85 = CALL_FUNCTION( tmp_called_name_20, tmp_args_name_14, tmp_kw_name_14 ); Py_DECREF( tmp_args_name_14 ); if ( tmp_assign_source_85 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; goto try_except_handler_23; } assert( outline_6_var___class__ == NULL ); outline_6_var___class__ = tmp_assign_source_85; } { CHECK_OBJECT( outline_6_var___class__ ); tmp_args_element_name_6 = outline_6_var___class__; Py_INCREF( tmp_args_element_name_6 ); goto try_return_handler_23; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_23:; { Py_DECREF( locals_cryptography$hazmat$primitives$serialization_208 ); locals_cryptography$hazmat$primitives$serialization_208 = NULL; } { goto try_return_handler_22; } // Exception handler code: try_except_handler_23:; exception_keeper_type_21 = exception_type; exception_keeper_value_21 = exception_value; exception_keeper_tb_21 = exception_tb; exception_keeper_lineno_21 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_cryptography$hazmat$primitives$serialization_208 ); locals_cryptography$hazmat$primitives$serialization_208 = NULL; } { // Re-raise. exception_type = exception_keeper_type_21; exception_value = exception_keeper_value_21; exception_tb = exception_keeper_tb_21; exception_lineno = exception_keeper_lineno_21; goto try_except_handler_22; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_22:; { CHECK_OBJECT( (PyObject *)outline_6_var___class__ ); Py_DECREF( outline_6_var___class__ ); outline_6_var___class__ = NULL; } { goto outline_result_7; } // Exception handler code: try_except_handler_22:; exception_keeper_type_22 = exception_type; exception_keeper_value_22 = exception_value; exception_keeper_tb_22 = exception_tb; exception_keeper_lineno_22 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_22; exception_value = exception_keeper_value_22; exception_tb = exception_keeper_tb_22; exception_lineno = exception_keeper_lineno_22; goto outline_exception_7; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$serialization ); return MOD_RETURN_VALUE( NULL ); outline_exception_7:; exception_lineno = 208; goto try_except_handler_21; outline_result_7:; frame_c393edb990294ae1e6f778755d3ffcfb->m_frame.f_lineno = 207; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_assign_source_84 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_18, call_args ); } Py_DECREF( tmp_called_name_18 ); Py_DECREF( tmp_args_element_name_6 ); if ( tmp_assign_source_84 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 207; goto try_except_handler_21; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$serialization, (Nuitka_StringObject *)const_str_plain_NoEncryption, tmp_assign_source_84 ); } goto try_end_9; // Exception handler code: try_except_handler_21:; exception_keeper_type_23 = exception_type; exception_keeper_value_23 = exception_value; exception_keeper_tb_23 = exception_tb; exception_keeper_lineno_23 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_7__bases ); tmp_class_creation_7__bases = NULL; } { Py_XDECREF( tmp_class_creation_7__class_decl_dict ); tmp_class_creation_7__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_7__metaclass ); tmp_class_creation_7__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_7__prepared ); tmp_class_creation_7__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_23; exception_value = exception_keeper_value_23; exception_tb = exception_keeper_tb_23; exception_lineno = exception_keeper_lineno_23; goto frame_exception_exit_1; } // End of try: try_end_9:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_c393edb990294ae1e6f778755d3ffcfb ); #endif popFrameStack(); assertFrameObject( frame_c393edb990294ae1e6f778755d3ffcfb ); goto frame_no_exception_6; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c393edb990294ae1e6f778755d3ffcfb ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c393edb990294ae1e6f778755d3ffcfb, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c393edb990294ae1e6f778755d3ffcfb->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c393edb990294ae1e6f778755d3ffcfb, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_6:; { CHECK_OBJECT( (PyObject *)tmp_class_creation_7__bases ); Py_DECREF( tmp_class_creation_7__bases ); tmp_class_creation_7__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_7__class_decl_dict ); Py_DECREF( tmp_class_creation_7__class_decl_dict ); tmp_class_creation_7__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_7__metaclass ); Py_DECREF( tmp_class_creation_7__metaclass ); tmp_class_creation_7__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_7__prepared ); Py_DECREF( tmp_class_creation_7__prepared ); tmp_class_creation_7__prepared = NULL; } return MOD_RETURN_VALUE( module_cryptography$hazmat$primitives$serialization ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }