/* Generated code for Python source for module 'urllib3.contrib.pyopenssl' * 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_urllib3$contrib$pyopenssl is a Python object pointer of module type. */ /* Note: For full compatibility with CPython, every module variable access * needs to go through it except for cases where the module cannot possibly * have changed in the mean time. */ PyObject *module_urllib3$contrib$pyopenssl; PyDictObject *moduledict_urllib3$contrib$pyopenssl; /* The module constants used, if any. */ static PyObject *const_tuple_str_plain_timeout_str_plain_error_tuple; extern PyObject *const_str_plain___name__; static PyObject *const_str_plain_UnsupportedExtension; static PyObject *const_str_plain_suppress_ragged_eofs; static PyObject *const_tuple_str_plain_X509_tuple; extern PyObject *const_str_plain_object; static PyObject *const_str_digest_be78399d62208a7b25aea812a1645ac7; extern PyObject *const_str_plain_encode; extern PyObject *const_str_plain_commonName; static PyObject *const_str_digest_572541d49912921fc3f520d5fbbbace7; extern PyObject *const_str_plain_fileno; static PyObject *const_str_plain_gettimeout; extern PyObject *const_str_plain_get_extension_for_class; extern PyObject *const_str_plain_mode; extern PyObject *const_str_plain_SocketError; extern PyObject *const_str_plain_None; static PyObject *const_str_digest_ea524135603414934edfdf9a140120da; extern PyObject *const_tuple_none_none_none_tuple; extern PyObject *const_str_plain_binary_form; extern PyObject *const_str_plain_timeout; extern PyObject *const_str_plain___debug__; extern PyObject *const_str_plain_load_verify_locations; extern PyObject *const_str_angle_genexpr; static PyObject *const_str_plain_Context; static PyObject *const_str_digest_3ae5eb58682e3453bcd445e251529344; extern PyObject *const_str_plain__closed; extern PyObject *const_str_plain_packages; extern PyObject *const_str_plain_wait_for_read; extern PyObject *const_str_plain_sock; extern PyObject *const_str_plain_six; extern PyObject *const_str_plain_BytesIO; static PyObject *const_str_plain_VERIFY_NONE; static PyObject *const_tuple_int_neg_1_str_digest_fa91b370bf4aa8601b20ad022c04c7f5_tuple; extern PyObject *const_str_plain_settimeout; extern PyObject *const_tuple_str_digest_f16ebd80f485bce26a5c8a0fab91362b_str_dot_tuple; static PyObject *const_str_plain__drop; extern PyObject *const_str_plain_name; extern PyObject *const_str_plain_get_values_for_type; static PyObject *const_str_plain_set_tlsext_host_name; extern PyObject *const_str_digest_f16ebd80f485bce26a5c8a0fab91362b; static PyObject *const_str_digest_5818b30a83a023d23de94fdb8555bc21; static PyObject *const_str_plain_SSL_WRITE_BLOCKSIZE; static PyObject *const_str_digest_2f7e5e6bd20de78d1a826b224bb68950; static PyObject *const_str_digest_e5467f76d8c624a1dc2eb95b9944b986; extern PyObject *const_str_plain_False; extern PyObject *const_str_digest_c075052d723d6707083e869a0e3659bb; extern PyObject *const_int_0; static PyObject *const_str_plain_set_verify; static PyObject *const_str_plain_X509; static PyObject *const_str_digest_fcee667ed9294484931a59a6be1401a4; static PyObject *const_str_digest_ea149be6088931c3910923696f83d36a; extern PyObject *const_str_digest_2b6a6c0099f1f1dd77d2725acd0722df; static PyObject *const_str_plain_recv; extern PyObject *const_str_plain_type; static PyObject *const_str_digest_e69704a3b57bdbeeda0fb8ad90040f41; static PyObject *const_str_plain_set_connect_state; extern PyObject *const_str_plain___cached__; static PyObject *const_str_plain_PROTOCOL_TLSv1; static PyObject *const_str_plain_extract_from_urllib3; static PyObject *const_str_digest_78e4d11343fc0ea815002c229d8141da; static PyObject *const_str_plain_cnx; static PyObject *const_str_plain_max_length; extern PyObject *const_str_plain_password; static PyObject *const_str_plain__send_until_done; extern PyObject *const_str_plain_wrap_socket; extern PyObject *const_str_plain_cafile; static PyObject *const_tuple_c4b74dd253156b7d8eda9a3c39e8c5f4_tuple; extern PyObject *const_int_pos_1; extern PyObject *const_str_plain_backend; extern PyObject *const_str_plain_getpeercert; extern PyObject *const_str_plain___prepare__; static PyObject *const_str_digest_071e6215d1e4e670779a10c8173678ae; extern PyObject *const_tuple_str_plain_six_tuple; static PyObject *const_str_plain_bufsize; extern PyObject *const_str_plain_kwargs; static PyObject *const_str_plain_PROTOCOL_TLSv1_1; extern PyObject *const_str_plain_inject_into_urllib3; static PyObject *const_str_digest_afa22ab599702ad524e6d8b060fa5658; static PyObject *const_str_digest_8a27e0e8026a3feed39d29711dd67238; static PyObject *const_str_digest_ca64980ab25a7902ff8128128fe6cfe2; extern PyObject *const_str_plain_property; extern PyObject *const_tuple_str_plain_self_str_plain_timeout_tuple; extern PyObject *const_str_plain_startswith; static PyObject *const_tuple_str_digest_7e30f7b167f6016bf2ebb297c1892f81_tuple; static PyObject *const_str_digest_33c018117b9b7eb17081ee25bae37674; extern PyObject *const_str_digest_7822abce90b4f23aa7a437cf95bbfec5; static PyObject *const_tuple_2fb08e1c17c01c11662f4f13f1e1495a_tuple; extern PyObject *const_tuple_int_pos_3_int_0_tuple; extern PyObject *const_str_plain___file__; extern PyObject *const_str_plain_setter; extern PyObject *const_str_plain_ExtensionNotFound; static PyObject *const_list_str_plain_inject_into_urllib3_str_plain_extract_from_urllib3_list; extern PyObject *const_str_plain_Extensions; static PyObject *const_str_plain_RECEIVED_SHUTDOWN; static PyObject *const_str_plain_use_privatekey_file; static PyObject *const_tuple_str_plain_name_str_plain_idna_str_plain_prefix_tuple; static PyObject *const_dict_e24f4d9d6e3eb6f736872abe66cd35c1; extern PyObject *const_str_plain_ssl_; static PyObject *const_tuple_str_plain_backport_makefile_tuple; extern PyObject *const_str_plain_ciphers; extern PyObject *const_str_plain_names; static PyObject *const_str_digest_2ff175dae94b767efe83d915c1b97f5f; static PyObject *const_tuple_str_plain_self_str_plain_data_str_plain_e_tuple; extern PyObject *const_str_plain___orig_bases__; static PyObject *const_str_plain__fileobject; extern PyObject *const_str_plain_close; extern PyObject *const_str_plain_x509; static PyObject *const_str_plain_set_options; static PyObject *const_str_plain__stdlib_to_openssl_verify; extern PyObject *const_str_plain___qualname__; extern PyObject *const_tuple_str_plain_x509_tuple; static PyObject *const_str_digest_9dcb336ca353f810aa0d31921e9fdfb0; static PyObject *const_str_plain_set_passwd_cb; extern PyObject *const_str_plain_value; static PyObject *const_str_plain_VERIFY_FAIL_IF_NO_PEER_CERT; static PyObject *const_str_digest_594453327b8729538381766512c9452b; static PyObject *const_str_plain_TLSv1_2_METHOD; static PyObject *const_str_plain_PyOpenSSLContext; extern PyObject *const_str_plain_DNS; extern PyObject *const_str_plain_e; static PyObject *const_str_digest_abba734a6a1803f203aec1a806eaf7ae; extern PyObject *const_str_plain_crypto; static PyObject *const_str_plain_OpenSSL; extern PyObject *const_tuple_str_plain_self_str_plain_value_tuple; extern PyObject *const_str_plain__ctx; extern PyObject *const_str_plain_verify_mode; static PyObject *const_tuple_e8b2873230843a4bb1a2136fdf114bf7_tuple; extern PyObject *const_str_plain_error; static PyObject *const_str_plain_dump_certificate; extern PyObject *const_str_plain__Certificate; static PyObject *const_str_plain_err_depth; extern PyObject *const_str_plain_decode; extern PyObject *const_str_plain_k; extern PyObject *const_str_plain___getitem__; static PyObject *const_tuple_str_plain_Extensions_tuple; extern PyObject *const_str_plain___all__; static PyObject *const_str_plain_SSLv3_METHOD; extern PyObject *const_str_plain_capath; static PyObject *const_str_plain_SysCallError; static PyObject *const_str_digest_9b140d54e682de757186c632bf3beb69; static PyObject *const_str_digest_41dbd4a0c394791e01054bb237449a0d; static PyObject *const_str_digest_fdf2dae424c2ab29e28d95112eab1065; extern PyObject *const_str_plain_server_hostname; extern PyObject *const_str_plain_subject; static PyObject *const_str_plain_do_handshake; static PyObject *const_str_plain_VERIFY_PEER; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; extern PyObject *const_str_plain_log; extern PyObject *const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_name_tuple; extern PyObject *const_str_plain_warning; static PyObject *const_str_plain_set_cipher_list; extern PyObject *const_str_plain_userdata; static PyObject *const_str_plain_use_certificate_chain_file; static PyObject *const_int_pos_16384; static PyObject *const_str_plain__options; extern PyObject *const_str_plain_CERT_NONE; extern PyObject *const_str_plain_v; static PyObject *const_str_plain_total_sent; extern PyObject *const_str_plain_subjectAltName; extern PyObject *const_str_plain_sys; extern PyObject *const_str_plain_io; extern PyObject *const_str_plain_socket; static PyObject *const_str_plain_PROTOCOL_TLSv1_2; static PyObject *const_str_plain_SSL; static PyObject *const_tuple_str_plain_self_str_plain_mode_str_plain_bufsize_tuple; extern PyObject *const_str_plain___init__; static PyObject *const_str_digest_0ed7cab482b4eed6799e2697fa4599f9; static PyObject *const_str_digest_22ce283067899ce16a8ff927ff2a141c; static PyObject *const_tuple_str_plain_UnsupportedExtension_tuple; extern PyObject *const_str_plain_IPAddress; extern PyObject *const_str_plain_keyfile; extern PyObject *const_str_plain_check_hostname; static PyObject *const_str_digest_fa91b370bf4aa8601b20ad022c04c7f5; extern PyObject *const_str_plain_ascii; static PyObject *const_str_digest_584b1f1a72cb12d2c289fc29d118df4a; extern PyObject *const_str_empty; static PyObject *const_str_digest_00536486d83401fa82a08b0e79354846; extern PyObject *const_tuple_none_none_tuple; static PyObject *const_tuple_str_plain__Certificate_tuple; extern PyObject *const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_tuple; static PyObject *const_str_plain__verify_callback; extern PyObject *const_str_plain_load_cert_chain; static PyObject *const_str_plain_PROTOCOL_SSLv3; extern PyObject *const_str_plain_getLogger; static PyObject *const_str_plain_FILETYPE_ASN1; static PyObject *const_str_digest_20c12b8a448bbfc5cd8c17b869421e3c; extern PyObject *const_str_plain_prefix; extern PyObject *const_str_plain_Error; extern PyObject *const_str_plain_set_default_verify_paths; extern PyObject *const_int_neg_1; extern PyObject *const_str_plain_IS_PYOPENSSL; extern PyObject *const_str_plain_server_side; static PyObject *const_str_digest_44c56a17c4956b3b0d9df3770f68da77; static PyObject *const_tuple_str_plain_name_str_plain_idna_encode_tuple; static PyObject *const_str_plain_get_peer_certificate; static PyObject *const_str_plain_to_cryptography; extern PyObject *const_tuple_true_tuple; static PyObject *const_str_plain_openssl_backend; extern PyObject *const_str_plain___doc__; extern PyObject *const_str_plain_extend; extern PyObject *const_str_plain_CERT_REQUIRED; extern PyObject *const_str_plain_data; extern PyObject *const_str_plain_options; extern PyObject *const_tuple_str_plain_ascii_tuple; extern PyObject *const_str_plain_cryptography; static PyObject *const_str_plain_WantReadError; static PyObject *const_str_plain_recv_into; extern PyObject *const_str_plain_SSLContext; extern PyObject *const_str_digest_b9c4baf879ebd882d40843df3a4dead7; extern PyObject *const_tuple_str_plain_self_tuple; static PyObject *const_tuple_str_plain_Extensions_str_plain_X509_str_plain_x509_tuple; extern PyObject *const_str_plain_wait_for_write; static PyObject *const_str_plain_sent; extern PyObject *const_str_plain_set_ciphers; extern PyObject *const_tuple_empty; static PyObject *const_str_plain__validate_dependencies_met; extern PyObject *const_str_plain_extensions; static PyObject *const_tuple_str_plain__fileobject_tuple; extern PyObject *const_tuple_str_plain_BytesIO_tuple; static PyObject *const_str_plain_WantWriteError; static PyObject *const_str_plain_ZeroReturnError; static PyObject *const_str_digest_3337e517587b2ad7aa8c6fd0bb6ef6e7; extern PyObject *const_str_plain_makefile; extern PyObject *const_str_plain_connection; extern PyObject *const_str_plain_ssl; static PyObject *const_str_plain_get_shutdown; static PyObject *const_str_plain_do_handshake_on_connect; static PyObject *const_str_digest_8b472aa2b2e397bd3da940bb18c68211; static PyObject *const_tuple_false_true_true_none_tuple; static PyObject *const_str_plain_CN; static PyObject *const_str_digest_d22ac54ae5c0616296ff857ea08c49cb; static PyObject *const_str_plain_prompt_twice; extern PyObject *const_tuple_b0c00933e83a0151953f3a00c2178204_tuple; static PyObject *const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_str_plain_e_tuple; extern PyObject *const_str_plain___class__; static PyObject *const_tuple_str_plain_self_str_plain_protocol_tuple; extern PyObject *const_tuple_type_Exception_tuple; extern PyObject *const_str_plain___module__; extern PyObject *const_str_plain_idna; extern PyObject *const_str_plain_text_type; extern PyObject *const_str_plain__x509; static PyObject *const_str_plain_CERT_OPTIONAL; extern PyObject *const_str_plain_update; static PyObject *const_str_plain__openssl_to_stdlib_verify; static PyObject *const_str_digest_3ff79c08d61077339220a6b991e28f93; static PyObject *const_tuple_db2402bbc0165418bbec6436b14cef3c_tuple; extern PyObject *const_str_plain_DuplicateExtension; extern PyObject *const_str_plain_version_info; static PyObject *const_tuple_str_digest_9b140d54e682de757186c632bf3beb69_tuple; static PyObject *const_tuple_8746a5e1d761630cda9eea2990729203_tuple; extern PyObject *const_str_plain_Connection; extern PyObject *const_str_plain_logging; extern PyObject *const_str_plain_certfile; static PyObject *const_tuple_str_digest_22ce283067899ce16a8ff927ff2a141c_tuple; extern PyObject *const_str_plain_SSLError; extern PyObject *const_str_plain_shutdown; static PyObject *const_str_plain_SSLv23_METHOD; static PyObject *const_str_digest_7e30f7b167f6016bf2ebb297c1892f81; static PyObject *const_str_digest_7ac562d65cde2e151e56b218341d4cdd; extern PyObject *const_str_digest_60a1bac43ab19e7498cc2fb7d34f5b86; extern PyObject *const_str_plain_metaclass; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_tuple_false_tuple; extern PyObject *const_str_plain__makefile_refs; extern PyObject *const_str_angle_metaclass; extern PyObject *const_tuple_int_neg_1_tuple; extern PyObject *const_str_plain_args; extern PyObject *const_str_plain_HAS_SNI; static PyObject *const_str_digest_a3fd3629b3a2374b7b38e7bf3e032130; extern PyObject *const_str_plain_protocol; extern PyObject *const_str_plain_items; static PyObject *const_str_digest_da6b5f185ded68c9e526279026e68fbc; static PyObject *const_str_plain_get_verify_mode; static PyObject *const_tuple_b07c4382fc3b698eab7bb6e79a5f230f_tuple; static PyObject *const_str_digest_5de90513b7e726b1a929b0328fda608e; static PyObject *const_str_plain_idna_encode; static PyObject *const_str_plain_TLSv1_1_METHOD; extern PyObject *const_str_plain_absolute_import; static PyObject *const_tuple_a5f32eb6eb0599095716173348d96f8b_tuple; extern PyObject *const_str_dot; extern PyObject *const_tuple_str_plain_backend_tuple; extern PyObject *const_str_plain_sendall; static PyObject *const_str_plain_return_code; extern PyObject *const_str_plain_ext; extern PyObject *const_str_digest_ee742e011576d32d1c182b86832e4555; static PyObject *const_str_plain_WrappedSocket; static PyObject *const_str_plain__decref_socketios; static PyObject *const_str_plain__openssl_versions; static PyObject *const_str_plain_peer_cert; static PyObject *const_str_digest_bb5bc8c3c3606f20b540789b2cae4e87; static PyObject *const_str_digest_47af4678a28313b5af6e38cd603ce3ad; extern PyObject *const_str_plain_DNSName; static PyObject *const_tuple_str_plain_self_str_plain_ciphers_tuple; extern PyObject *const_str_plain_send; extern PyObject *const_str_plain_UnsupportedGeneralNameType; extern PyObject *const_str_plain_SubjectAlternativeName; extern PyObject *const_str_plain_util; extern PyObject *const_str_plain_cert; static PyObject *const_str_digest_f5748acc7624a8d3f9bd48b7312e95e1; static PyObject *const_str_plain_orig_util_SSLContext; static PyObject *const_str_plain_cadata; static PyObject *const_str_digest_c2ca9ee709c1d2285dbebbfa7f97f083; static PyObject *const_tuple_9c47951cfb852325fceb861a5d8c8329_tuple; static PyObject *const_str_plain__dnsname_to_stdlib; extern PyObject *const_str_plain_backport_makefile; static PyObject *const_str_plain__reuse; static PyObject *const_tuple_str_plain_util_tuple; extern PyObject *const_str_angle_listcomp; static PyObject *const_str_plain_get_subj_alt_name; extern PyObject *const_str_angle_lambda; extern PyObject *const_bytes_empty; static PyObject *const_str_plain_get_subject; extern PyObject *const_str_plain_PROTOCOL_SSLv23; static PyObject *const_tuple_str_plain_self_str_plain_binary_form_str_plain_x509_tuple; static PyObject *const_str_digest_2d708b82df3c36741559ca09209c9f6c; extern PyObject *const_tuple_type_object_tuple; static PyObject *const_str_digest_6d237a1253b74549ee18fb0e488e3cf9; static PyObject *const_tuple_629e317cdb0a0a5b930602624a4df919_tuple; extern PyObject *const_int_pos_3; static PyObject *const_str_digest_36dfc40fd76fef32a3245e24bfe74ea9; extern PyObject *const_str_plain_self; extern PyObject *const_tuple_str_plain_name_tuple; extern PyObject *const_str_digest_76d751ede7bd087f9346e5a615d3c397; static PyObject *const_str_plain_orig_util_HAS_SNI; extern PyObject *const_int_pos_2; static PyObject *const_str_plain_TLSv1_METHOD; static PyObject *const_str_plain_err_no; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_tuple_str_plain_timeout_str_plain_error_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_timeout_str_plain_error_tuple, 0, const_str_plain_timeout ); Py_INCREF( const_str_plain_timeout ); PyTuple_SET_ITEM( const_tuple_str_plain_timeout_str_plain_error_tuple, 1, const_str_plain_error ); Py_INCREF( const_str_plain_error ); const_str_plain_UnsupportedExtension = UNSTREAM_STRING( &constant_bin[ 1476961 ], 20, 1 ); const_str_plain_suppress_ragged_eofs = UNSTREAM_STRING( &constant_bin[ 1476981 ], 20, 1 ); const_tuple_str_plain_X509_tuple = PyTuple_New( 1 ); const_str_plain_X509 = UNSTREAM_STRING( &constant_bin[ 452671 ], 4, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_X509_tuple, 0, const_str_plain_X509 ); Py_INCREF( const_str_plain_X509 ); const_str_digest_be78399d62208a7b25aea812a1645ac7 = UNSTREAM_STRING( &constant_bin[ 1477001 ], 167, 0 ); const_str_digest_572541d49912921fc3f520d5fbbbace7 = UNSTREAM_STRING( &constant_bin[ 1477168 ], 34, 0 ); const_str_plain_gettimeout = UNSTREAM_STRING( &constant_bin[ 1477202 ], 10, 1 ); const_str_digest_ea524135603414934edfdf9a140120da = UNSTREAM_STRING( &constant_bin[ 1477212 ], 85, 0 ); const_str_plain_Context = UNSTREAM_STRING( &constant_bin[ 259397 ], 7, 1 ); const_str_digest_3ae5eb58682e3453bcd445e251529344 = UNSTREAM_STRING( &constant_bin[ 1477297 ], 20, 0 ); const_str_plain_VERIFY_NONE = UNSTREAM_STRING( &constant_bin[ 1477317 ], 11, 1 ); const_tuple_int_neg_1_str_digest_fa91b370bf4aa8601b20ad022c04c7f5_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_int_neg_1_str_digest_fa91b370bf4aa8601b20ad022c04c7f5_tuple, 0, const_int_neg_1 ); Py_INCREF( const_int_neg_1 ); const_str_digest_fa91b370bf4aa8601b20ad022c04c7f5 = UNSTREAM_STRING( &constant_bin[ 1477328 ], 14, 0 ); PyTuple_SET_ITEM( const_tuple_int_neg_1_str_digest_fa91b370bf4aa8601b20ad022c04c7f5_tuple, 1, const_str_digest_fa91b370bf4aa8601b20ad022c04c7f5 ); Py_INCREF( const_str_digest_fa91b370bf4aa8601b20ad022c04c7f5 ); const_str_plain__drop = UNSTREAM_STRING( &constant_bin[ 1477093 ], 5, 1 ); const_str_plain_set_tlsext_host_name = UNSTREAM_STRING( &constant_bin[ 1477342 ], 20, 1 ); const_str_digest_5818b30a83a023d23de94fdb8555bc21 = UNSTREAM_STRING( &constant_bin[ 1477362 ], 22, 0 ); const_str_plain_SSL_WRITE_BLOCKSIZE = UNSTREAM_STRING( &constant_bin[ 1477384 ], 19, 1 ); const_str_digest_2f7e5e6bd20de78d1a826b224bb68950 = UNSTREAM_STRING( &constant_bin[ 1477403 ], 1634, 0 ); const_str_digest_e5467f76d8c624a1dc2eb95b9944b986 = UNSTREAM_STRING( &constant_bin[ 1479037 ], 28, 0 ); const_str_plain_set_verify = UNSTREAM_STRING( &constant_bin[ 1479065 ], 10, 1 ); const_str_digest_fcee667ed9294484931a59a6be1401a4 = UNSTREAM_STRING( &constant_bin[ 1479075 ], 21, 0 ); const_str_digest_ea149be6088931c3910923696f83d36a = UNSTREAM_STRING( &constant_bin[ 1479096 ], 23, 0 ); const_str_plain_recv = UNSTREAM_STRING( &constant_bin[ 1479110 ], 4, 1 ); const_str_digest_e69704a3b57bdbeeda0fb8ad90040f41 = UNSTREAM_STRING( &constant_bin[ 1479119 ], 25, 0 ); const_str_plain_set_connect_state = UNSTREAM_STRING( &constant_bin[ 1479144 ], 17, 1 ); const_str_plain_PROTOCOL_TLSv1 = UNSTREAM_STRING( &constant_bin[ 1479161 ], 14, 1 ); const_str_plain_extract_from_urllib3 = UNSTREAM_STRING( &constant_bin[ 1479175 ], 20, 1 ); const_str_digest_78e4d11343fc0ea815002c229d8141da = UNSTREAM_STRING( &constant_bin[ 1479195 ], 61, 0 ); const_str_plain_cnx = UNSTREAM_STRING( &constant_bin[ 1479256 ], 3, 1 ); const_str_plain_max_length = UNSTREAM_STRING( &constant_bin[ 1479259 ], 10, 1 ); const_str_plain__send_until_done = UNSTREAM_STRING( &constant_bin[ 1479269 ], 16, 1 ); const_tuple_c4b74dd253156b7d8eda9a3c39e8c5f4_tuple = PyTuple_New( 8 ); PyTuple_SET_ITEM( const_tuple_c4b74dd253156b7d8eda9a3c39e8c5f4_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_c4b74dd253156b7d8eda9a3c39e8c5f4_tuple, 1, const_str_plain_sock ); Py_INCREF( const_str_plain_sock ); PyTuple_SET_ITEM( const_tuple_c4b74dd253156b7d8eda9a3c39e8c5f4_tuple, 2, const_str_plain_server_side ); Py_INCREF( const_str_plain_server_side ); const_str_plain_do_handshake_on_connect = UNSTREAM_STRING( &constant_bin[ 1479285 ], 23, 1 ); PyTuple_SET_ITEM( const_tuple_c4b74dd253156b7d8eda9a3c39e8c5f4_tuple, 3, const_str_plain_do_handshake_on_connect ); Py_INCREF( const_str_plain_do_handshake_on_connect ); PyTuple_SET_ITEM( const_tuple_c4b74dd253156b7d8eda9a3c39e8c5f4_tuple, 4, const_str_plain_suppress_ragged_eofs ); Py_INCREF( const_str_plain_suppress_ragged_eofs ); PyTuple_SET_ITEM( const_tuple_c4b74dd253156b7d8eda9a3c39e8c5f4_tuple, 5, const_str_plain_server_hostname ); Py_INCREF( const_str_plain_server_hostname ); PyTuple_SET_ITEM( const_tuple_c4b74dd253156b7d8eda9a3c39e8c5f4_tuple, 6, const_str_plain_cnx ); Py_INCREF( const_str_plain_cnx ); PyTuple_SET_ITEM( const_tuple_c4b74dd253156b7d8eda9a3c39e8c5f4_tuple, 7, const_str_plain_e ); Py_INCREF( const_str_plain_e ); const_str_digest_071e6215d1e4e670779a10c8173678ae = UNSTREAM_STRING( &constant_bin[ 1479308 ], 210, 0 ); const_str_plain_bufsize = UNSTREAM_STRING( &constant_bin[ 1479518 ], 7, 1 ); const_str_plain_PROTOCOL_TLSv1_1 = UNSTREAM_STRING( &constant_bin[ 1479525 ], 16, 1 ); const_str_digest_afa22ab599702ad524e6d8b060fa5658 = UNSTREAM_STRING( &constant_bin[ 1479541 ], 36, 0 ); const_str_digest_8a27e0e8026a3feed39d29711dd67238 = UNSTREAM_STRING( &constant_bin[ 1479577 ], 19, 0 ); const_str_digest_ca64980ab25a7902ff8128128fe6cfe2 = UNSTREAM_STRING( &constant_bin[ 1479596 ], 20, 0 ); const_tuple_str_digest_7e30f7b167f6016bf2ebb297c1892f81_tuple = PyTuple_New( 1 ); const_str_digest_7e30f7b167f6016bf2ebb297c1892f81 = UNSTREAM_STRING( &constant_bin[ 1479616 ], 28, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_7e30f7b167f6016bf2ebb297c1892f81_tuple, 0, const_str_digest_7e30f7b167f6016bf2ebb297c1892f81 ); Py_INCREF( const_str_digest_7e30f7b167f6016bf2ebb297c1892f81 ); const_str_digest_33c018117b9b7eb17081ee25bae37674 = UNSTREAM_STRING( &constant_bin[ 1479644 ], 28, 0 ); const_tuple_2fb08e1c17c01c11662f4f13f1e1495a_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_2fb08e1c17c01c11662f4f13f1e1495a_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_2fb08e1c17c01c11662f4f13f1e1495a_tuple, 1, const_str_plain_cafile ); Py_INCREF( const_str_plain_cafile ); PyTuple_SET_ITEM( const_tuple_2fb08e1c17c01c11662f4f13f1e1495a_tuple, 2, const_str_plain_capath ); Py_INCREF( const_str_plain_capath ); const_str_plain_cadata = UNSTREAM_STRING( &constant_bin[ 1479672 ], 6, 1 ); PyTuple_SET_ITEM( const_tuple_2fb08e1c17c01c11662f4f13f1e1495a_tuple, 3, const_str_plain_cadata ); Py_INCREF( const_str_plain_cadata ); const_list_str_plain_inject_into_urllib3_str_plain_extract_from_urllib3_list = PyList_New( 2 ); PyList_SET_ITEM( const_list_str_plain_inject_into_urllib3_str_plain_extract_from_urllib3_list, 0, const_str_plain_inject_into_urllib3 ); Py_INCREF( const_str_plain_inject_into_urllib3 ); PyList_SET_ITEM( const_list_str_plain_inject_into_urllib3_str_plain_extract_from_urllib3_list, 1, const_str_plain_extract_from_urllib3 ); Py_INCREF( const_str_plain_extract_from_urllib3 ); const_str_plain_RECEIVED_SHUTDOWN = UNSTREAM_STRING( &constant_bin[ 1479678 ], 17, 1 ); const_str_plain_use_privatekey_file = UNSTREAM_STRING( &constant_bin[ 1479695 ], 19, 1 ); const_tuple_str_plain_name_str_plain_idna_str_plain_prefix_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_name_str_plain_idna_str_plain_prefix_tuple, 0, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_str_plain_name_str_plain_idna_str_plain_prefix_tuple, 1, const_str_plain_idna ); Py_INCREF( const_str_plain_idna ); PyTuple_SET_ITEM( const_tuple_str_plain_name_str_plain_idna_str_plain_prefix_tuple, 2, const_str_plain_prefix ); Py_INCREF( const_str_plain_prefix ); const_dict_e24f4d9d6e3eb6f736872abe66cd35c1 = _PyDict_NewPresized( 1 ); PyDict_SetItem( const_dict_e24f4d9d6e3eb6f736872abe66cd35c1, const_str_plain_close, Py_True ); assert( PyDict_Size( const_dict_e24f4d9d6e3eb6f736872abe66cd35c1 ) == 1 ); const_tuple_str_plain_backport_makefile_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_backport_makefile_tuple, 0, const_str_plain_backport_makefile ); Py_INCREF( const_str_plain_backport_makefile ); const_str_digest_2ff175dae94b767efe83d915c1b97f5f = UNSTREAM_STRING( &constant_bin[ 1479714 ], 17, 0 ); const_tuple_str_plain_self_str_plain_data_str_plain_e_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_data_str_plain_e_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_data_str_plain_e_tuple, 1, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_data_str_plain_e_tuple, 2, const_str_plain_e ); Py_INCREF( const_str_plain_e ); const_str_plain__fileobject = UNSTREAM_STRING( &constant_bin[ 1479731 ], 11, 1 ); const_str_plain_set_options = UNSTREAM_STRING( &constant_bin[ 1479742 ], 11, 1 ); const_str_plain__stdlib_to_openssl_verify = UNSTREAM_STRING( &constant_bin[ 1479753 ], 25, 1 ); const_str_digest_9dcb336ca353f810aa0d31921e9fdfb0 = UNSTREAM_STRING( &constant_bin[ 1479778 ], 24, 0 ); const_str_plain_set_passwd_cb = UNSTREAM_STRING( &constant_bin[ 1479802 ], 13, 1 ); const_str_plain_VERIFY_FAIL_IF_NO_PEER_CERT = UNSTREAM_STRING( &constant_bin[ 1479815 ], 27, 1 ); const_str_digest_594453327b8729538381766512c9452b = UNSTREAM_STRING( &constant_bin[ 1479842 ], 41, 0 ); const_str_plain_TLSv1_2_METHOD = UNSTREAM_STRING( &constant_bin[ 1479883 ], 14, 1 ); const_str_plain_PyOpenSSLContext = UNSTREAM_STRING( &constant_bin[ 1479037 ], 16, 1 ); const_str_digest_abba734a6a1803f203aec1a806eaf7ae = UNSTREAM_STRING( &constant_bin[ 1479897 ], 32, 0 ); const_str_plain_OpenSSL = UNSTREAM_STRING( &constant_bin[ 13233 ], 7, 1 ); const_tuple_e8b2873230843a4bb1a2136fdf114bf7_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_e8b2873230843a4bb1a2136fdf114bf7_tuple, 0, const_str_plain_cnx ); Py_INCREF( const_str_plain_cnx ); PyTuple_SET_ITEM( const_tuple_e8b2873230843a4bb1a2136fdf114bf7_tuple, 1, const_str_plain_x509 ); Py_INCREF( const_str_plain_x509 ); const_str_plain_err_no = UNSTREAM_STRING( &constant_bin[ 1479929 ], 6, 1 ); PyTuple_SET_ITEM( const_tuple_e8b2873230843a4bb1a2136fdf114bf7_tuple, 2, const_str_plain_err_no ); Py_INCREF( const_str_plain_err_no ); const_str_plain_err_depth = UNSTREAM_STRING( &constant_bin[ 1479935 ], 9, 1 ); PyTuple_SET_ITEM( const_tuple_e8b2873230843a4bb1a2136fdf114bf7_tuple, 3, const_str_plain_err_depth ); Py_INCREF( const_str_plain_err_depth ); const_str_plain_return_code = UNSTREAM_STRING( &constant_bin[ 1479944 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_e8b2873230843a4bb1a2136fdf114bf7_tuple, 4, const_str_plain_return_code ); Py_INCREF( const_str_plain_return_code ); const_str_plain_dump_certificate = UNSTREAM_STRING( &constant_bin[ 1479955 ], 16, 1 ); const_tuple_str_plain_Extensions_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_Extensions_tuple, 0, const_str_plain_Extensions ); Py_INCREF( const_str_plain_Extensions ); const_str_plain_SSLv3_METHOD = UNSTREAM_STRING( &constant_bin[ 1479971 ], 12, 1 ); const_str_plain_SysCallError = UNSTREAM_STRING( &constant_bin[ 1479983 ], 12, 1 ); const_str_digest_9b140d54e682de757186c632bf3beb69 = UNSTREAM_STRING( &constant_bin[ 1477176 ], 25, 0 ); const_str_digest_41dbd4a0c394791e01054bb237449a0d = UNSTREAM_STRING( &constant_bin[ 1479995 ], 19, 0 ); const_str_digest_fdf2dae424c2ab29e28d95112eab1065 = UNSTREAM_STRING( &constant_bin[ 1480014 ], 50, 0 ); const_str_plain_do_handshake = UNSTREAM_STRING( &constant_bin[ 1479285 ], 12, 1 ); const_str_plain_VERIFY_PEER = UNSTREAM_STRING( &constant_bin[ 1480064 ], 11, 1 ); const_str_plain_set_cipher_list = UNSTREAM_STRING( &constant_bin[ 1480075 ], 15, 1 ); const_str_plain_use_certificate_chain_file = UNSTREAM_STRING( &constant_bin[ 1480090 ], 26, 1 ); const_int_pos_16384 = PyLong_FromUnsignedLong( 16384ul ); const_str_plain__options = UNSTREAM_STRING( &constant_bin[ 1178848 ], 8, 1 ); const_str_plain_total_sent = UNSTREAM_STRING( &constant_bin[ 1480116 ], 10, 1 ); const_str_plain_PROTOCOL_TLSv1_2 = UNSTREAM_STRING( &constant_bin[ 1480126 ], 16, 1 ); const_str_plain_SSL = UNSTREAM_STRING( &constant_bin[ 13237 ], 3, 1 ); const_tuple_str_plain_self_str_plain_mode_str_plain_bufsize_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_mode_str_plain_bufsize_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_mode_str_plain_bufsize_tuple, 1, const_str_plain_mode ); Py_INCREF( const_str_plain_mode ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_mode_str_plain_bufsize_tuple, 2, const_str_plain_bufsize ); Py_INCREF( const_str_plain_bufsize ); const_str_digest_0ed7cab482b4eed6799e2697fa4599f9 = UNSTREAM_STRING( &constant_bin[ 1480142 ], 38, 0 ); const_str_digest_22ce283067899ce16a8ff927ff2a141c = UNSTREAM_STRING( &constant_bin[ 1480180 ], 16, 0 ); const_tuple_str_plain_UnsupportedExtension_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_UnsupportedExtension_tuple, 0, const_str_plain_UnsupportedExtension ); Py_INCREF( const_str_plain_UnsupportedExtension ); const_str_digest_584b1f1a72cb12d2c289fc29d118df4a = UNSTREAM_STRING( &constant_bin[ 1480196 ], 39, 0 ); const_str_digest_00536486d83401fa82a08b0e79354846 = UNSTREAM_STRING( &constant_bin[ 1480235 ], 24, 0 ); const_tuple_str_plain__Certificate_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain__Certificate_tuple, 0, const_str_plain__Certificate ); Py_INCREF( const_str_plain__Certificate ); const_str_plain__verify_callback = UNSTREAM_STRING( &constant_bin[ 1480259 ], 16, 1 ); const_str_plain_PROTOCOL_SSLv3 = UNSTREAM_STRING( &constant_bin[ 1480275 ], 14, 1 ); const_str_plain_FILETYPE_ASN1 = UNSTREAM_STRING( &constant_bin[ 1480289 ], 13, 1 ); const_str_digest_20c12b8a448bbfc5cd8c17b869421e3c = UNSTREAM_STRING( &constant_bin[ 1480302 ], 123, 0 ); const_str_digest_44c56a17c4956b3b0d9df3770f68da77 = UNSTREAM_STRING( &constant_bin[ 1480425 ], 435, 0 ); const_tuple_str_plain_name_str_plain_idna_encode_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_name_str_plain_idna_encode_tuple, 0, const_str_plain_name ); Py_INCREF( const_str_plain_name ); const_str_plain_idna_encode = UNSTREAM_STRING( &constant_bin[ 530427 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_name_str_plain_idna_encode_tuple, 1, const_str_plain_idna_encode ); Py_INCREF( const_str_plain_idna_encode ); const_str_plain_get_peer_certificate = UNSTREAM_STRING( &constant_bin[ 1480860 ], 20, 1 ); const_str_plain_to_cryptography = UNSTREAM_STRING( &constant_bin[ 1480880 ], 15, 1 ); const_str_plain_openssl_backend = UNSTREAM_STRING( &constant_bin[ 1480895 ], 15, 1 ); const_str_plain_WantReadError = UNSTREAM_STRING( &constant_bin[ 1480910 ], 13, 1 ); const_str_plain_recv_into = UNSTREAM_STRING( &constant_bin[ 1479110 ], 9, 1 ); const_tuple_str_plain_Extensions_str_plain_X509_str_plain_x509_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_Extensions_str_plain_X509_str_plain_x509_tuple, 0, const_str_plain_Extensions ); Py_INCREF( const_str_plain_Extensions ); PyTuple_SET_ITEM( const_tuple_str_plain_Extensions_str_plain_X509_str_plain_x509_tuple, 1, const_str_plain_X509 ); Py_INCREF( const_str_plain_X509 ); PyTuple_SET_ITEM( const_tuple_str_plain_Extensions_str_plain_X509_str_plain_x509_tuple, 2, const_str_plain_x509 ); Py_INCREF( const_str_plain_x509 ); const_str_plain_sent = UNSTREAM_STRING( &constant_bin[ 549 ], 4, 1 ); const_str_plain__validate_dependencies_met = UNSTREAM_STRING( &constant_bin[ 1480923 ], 26, 1 ); const_tuple_str_plain__fileobject_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain__fileobject_tuple, 0, const_str_plain__fileobject ); Py_INCREF( const_str_plain__fileobject ); const_str_plain_WantWriteError = UNSTREAM_STRING( &constant_bin[ 1480949 ], 14, 1 ); const_str_plain_ZeroReturnError = UNSTREAM_STRING( &constant_bin[ 1480963 ], 15, 1 ); const_str_digest_3337e517587b2ad7aa8c6fd0bb6ef6e7 = UNSTREAM_STRING( &constant_bin[ 1480978 ], 31, 0 ); const_str_plain_get_shutdown = UNSTREAM_STRING( &constant_bin[ 1481009 ], 12, 1 ); const_str_digest_8b472aa2b2e397bd3da940bb18c68211 = UNSTREAM_STRING( &constant_bin[ 1479096 ], 18, 0 ); const_tuple_false_true_true_none_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_false_true_true_none_tuple, 0, Py_False ); Py_INCREF( Py_False ); PyTuple_SET_ITEM( const_tuple_false_true_true_none_tuple, 1, Py_True ); Py_INCREF( Py_True ); PyTuple_SET_ITEM( const_tuple_false_true_true_none_tuple, 2, Py_True ); Py_INCREF( Py_True ); PyTuple_SET_ITEM( const_tuple_false_true_true_none_tuple, 3, Py_None ); Py_INCREF( Py_None ); const_str_plain_CN = UNSTREAM_STRING( &constant_bin[ 173139 ], 2, 1 ); const_str_digest_d22ac54ae5c0616296ff857ea08c49cb = UNSTREAM_STRING( &constant_bin[ 1481021 ], 88, 0 ); const_str_plain_prompt_twice = UNSTREAM_STRING( &constant_bin[ 1481109 ], 12, 1 ); const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_str_plain_e_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_str_plain_e_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_str_plain_e_tuple, 1, const_str_plain_args ); Py_INCREF( const_str_plain_args ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_str_plain_e_tuple, 2, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_str_plain_e_tuple, 3, const_str_plain_e ); Py_INCREF( const_str_plain_e ); const_tuple_str_plain_self_str_plain_protocol_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_protocol_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_protocol_tuple, 1, const_str_plain_protocol ); Py_INCREF( const_str_plain_protocol ); const_str_plain_CERT_OPTIONAL = UNSTREAM_STRING( &constant_bin[ 624123 ], 13, 1 ); const_str_plain__openssl_to_stdlib_verify = UNSTREAM_STRING( &constant_bin[ 1481121 ], 25, 1 ); const_str_digest_3ff79c08d61077339220a6b991e28f93 = UNSTREAM_STRING( &constant_bin[ 1481146 ], 83, 0 ); const_tuple_db2402bbc0165418bbec6436b14cef3c_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_db2402bbc0165418bbec6436b14cef3c_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_db2402bbc0165418bbec6436b14cef3c_tuple, 1, const_str_plain_certfile ); Py_INCREF( const_str_plain_certfile ); PyTuple_SET_ITEM( const_tuple_db2402bbc0165418bbec6436b14cef3c_tuple, 2, const_str_plain_keyfile ); Py_INCREF( const_str_plain_keyfile ); PyTuple_SET_ITEM( const_tuple_db2402bbc0165418bbec6436b14cef3c_tuple, 3, const_str_plain_password ); Py_INCREF( const_str_plain_password ); const_tuple_str_digest_9b140d54e682de757186c632bf3beb69_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_9b140d54e682de757186c632bf3beb69_tuple, 0, const_str_digest_9b140d54e682de757186c632bf3beb69 ); Py_INCREF( const_str_digest_9b140d54e682de757186c632bf3beb69 ); const_tuple_8746a5e1d761630cda9eea2990729203_tuple = PyTuple_New( 5 ); const_str_plain_peer_cert = UNSTREAM_STRING( &constant_bin[ 1458004 ], 9, 1 ); PyTuple_SET_ITEM( const_tuple_8746a5e1d761630cda9eea2990729203_tuple, 0, const_str_plain_peer_cert ); Py_INCREF( const_str_plain_peer_cert ); PyTuple_SET_ITEM( const_tuple_8746a5e1d761630cda9eea2990729203_tuple, 1, const_str_plain_cert ); Py_INCREF( const_str_plain_cert ); PyTuple_SET_ITEM( const_tuple_8746a5e1d761630cda9eea2990729203_tuple, 2, const_str_plain_ext ); Py_INCREF( const_str_plain_ext ); PyTuple_SET_ITEM( const_tuple_8746a5e1d761630cda9eea2990729203_tuple, 3, const_str_plain_e ); Py_INCREF( const_str_plain_e ); PyTuple_SET_ITEM( const_tuple_8746a5e1d761630cda9eea2990729203_tuple, 4, const_str_plain_names ); Py_INCREF( const_str_plain_names ); const_tuple_str_digest_22ce283067899ce16a8ff927ff2a141c_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_22ce283067899ce16a8ff927ff2a141c_tuple, 0, const_str_digest_22ce283067899ce16a8ff927ff2a141c ); Py_INCREF( const_str_digest_22ce283067899ce16a8ff927ff2a141c ); const_str_plain_SSLv23_METHOD = UNSTREAM_STRING( &constant_bin[ 1481229 ], 13, 1 ); const_str_digest_7ac562d65cde2e151e56b218341d4cdd = UNSTREAM_STRING( &constant_bin[ 1481242 ], 52, 0 ); const_str_digest_a3fd3629b3a2374b7b38e7bf3e032130 = UNSTREAM_STRING( &constant_bin[ 1481294 ], 30, 0 ); const_str_digest_da6b5f185ded68c9e526279026e68fbc = UNSTREAM_STRING( &constant_bin[ 1481324 ], 194, 0 ); const_str_plain_get_verify_mode = UNSTREAM_STRING( &constant_bin[ 1481518 ], 15, 1 ); const_tuple_b07c4382fc3b698eab7bb6e79a5f230f_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_b07c4382fc3b698eab7bb6e79a5f230f_tuple, 0, const_str_plain_max_length ); Py_INCREF( const_str_plain_max_length ); PyTuple_SET_ITEM( const_tuple_b07c4382fc3b698eab7bb6e79a5f230f_tuple, 1, const_str_plain_prompt_twice ); Py_INCREF( const_str_plain_prompt_twice ); PyTuple_SET_ITEM( const_tuple_b07c4382fc3b698eab7bb6e79a5f230f_tuple, 2, const_str_plain_userdata ); Py_INCREF( const_str_plain_userdata ); PyTuple_SET_ITEM( const_tuple_b07c4382fc3b698eab7bb6e79a5f230f_tuple, 3, const_str_plain_password ); Py_INCREF( const_str_plain_password ); const_str_digest_5de90513b7e726b1a929b0328fda608e = UNSTREAM_STRING( &constant_bin[ 1481533 ], 22, 0 ); const_str_plain_TLSv1_1_METHOD = UNSTREAM_STRING( &constant_bin[ 1481555 ], 14, 1 ); const_tuple_a5f32eb6eb0599095716173348d96f8b_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_a5f32eb6eb0599095716173348d96f8b_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_a5f32eb6eb0599095716173348d96f8b_tuple, 1, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_a5f32eb6eb0599095716173348d96f8b_tuple, 2, const_str_plain_total_sent ); Py_INCREF( const_str_plain_total_sent ); PyTuple_SET_ITEM( const_tuple_a5f32eb6eb0599095716173348d96f8b_tuple, 3, const_str_plain_sent ); Py_INCREF( const_str_plain_sent ); const_str_plain_WrappedSocket = UNSTREAM_STRING( &constant_bin[ 1477297 ], 13, 1 ); const_str_plain__decref_socketios = UNSTREAM_STRING( &constant_bin[ 1480992 ], 17, 1 ); const_str_plain__openssl_versions = UNSTREAM_STRING( &constant_bin[ 1481569 ], 17, 1 ); const_str_digest_bb5bc8c3c3606f20b540789b2cae4e87 = UNSTREAM_STRING( &constant_bin[ 1481586 ], 173, 0 ); const_str_digest_47af4678a28313b5af6e38cd603ce3ad = UNSTREAM_STRING( &constant_bin[ 1481759 ], 25, 0 ); const_tuple_str_plain_self_str_plain_ciphers_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_ciphers_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_ciphers_tuple, 1, const_str_plain_ciphers ); Py_INCREF( const_str_plain_ciphers ); const_str_digest_f5748acc7624a8d3f9bd48b7312e95e1 = UNSTREAM_STRING( &constant_bin[ 1481784 ], 27, 0 ); const_str_plain_orig_util_SSLContext = UNSTREAM_STRING( &constant_bin[ 1481811 ], 20, 1 ); const_str_digest_c2ca9ee709c1d2285dbebbfa7f97f083 = UNSTREAM_STRING( &constant_bin[ 1481831 ], 55, 0 ); const_tuple_9c47951cfb852325fceb861a5d8c8329_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_9c47951cfb852325fceb861a5d8c8329_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_9c47951cfb852325fceb861a5d8c8329_tuple, 1, const_str_plain_args ); Py_INCREF( const_str_plain_args ); PyTuple_SET_ITEM( const_tuple_9c47951cfb852325fceb861a5d8c8329_tuple, 2, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); PyTuple_SET_ITEM( const_tuple_9c47951cfb852325fceb861a5d8c8329_tuple, 3, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_9c47951cfb852325fceb861a5d8c8329_tuple, 4, const_str_plain_e ); Py_INCREF( const_str_plain_e ); const_str_plain__dnsname_to_stdlib = UNSTREAM_STRING( &constant_bin[ 1480196 ], 18, 1 ); const_str_plain__reuse = UNSTREAM_STRING( &constant_bin[ 1477105 ], 6, 1 ); const_tuple_str_plain_util_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_util_tuple, 0, const_str_plain_util ); Py_INCREF( const_str_plain_util ); const_str_plain_get_subj_alt_name = UNSTREAM_STRING( &constant_bin[ 1479541 ], 17, 1 ); const_str_plain_get_subject = UNSTREAM_STRING( &constant_bin[ 483254 ], 11, 1 ); const_tuple_str_plain_self_str_plain_binary_form_str_plain_x509_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_binary_form_str_plain_x509_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_binary_form_str_plain_x509_tuple, 1, const_str_plain_binary_form ); Py_INCREF( const_str_plain_binary_form ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_binary_form_str_plain_x509_tuple, 2, const_str_plain_x509 ); Py_INCREF( const_str_plain_x509 ); const_str_digest_2d708b82df3c36741559ca09209c9f6c = UNSTREAM_STRING( &constant_bin[ 1481886 ], 28, 0 ); const_str_digest_6d237a1253b74549ee18fb0e488e3cf9 = UNSTREAM_STRING( &constant_bin[ 1481914 ], 14, 0 ); const_tuple_629e317cdb0a0a5b930602624a4df919_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_629e317cdb0a0a5b930602624a4df919_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_629e317cdb0a0a5b930602624a4df919_tuple, 1, const_str_plain_connection ); Py_INCREF( const_str_plain_connection ); PyTuple_SET_ITEM( const_tuple_629e317cdb0a0a5b930602624a4df919_tuple, 2, const_str_plain_socket ); Py_INCREF( const_str_plain_socket ); PyTuple_SET_ITEM( const_tuple_629e317cdb0a0a5b930602624a4df919_tuple, 3, const_str_plain_suppress_ragged_eofs ); Py_INCREF( const_str_plain_suppress_ragged_eofs ); const_str_digest_36dfc40fd76fef32a3245e24bfe74ea9 = UNSTREAM_STRING( &constant_bin[ 1481928 ], 11, 0 ); const_str_plain_orig_util_HAS_SNI = UNSTREAM_STRING( &constant_bin[ 1481939 ], 17, 1 ); const_str_plain_TLSv1_METHOD = UNSTREAM_STRING( &constant_bin[ 1481956 ], 12, 1 ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_urllib3$contrib$pyopenssl( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_592bc8e257b4dd7f30aab4cfb0d75cbf; static PyCodeObject *codeobj_3f0f7d37c925ca5f38f81592eaacee02; static PyCodeObject *codeobj_d00d2dd46146f5f025313600b2ad8f4b; static PyCodeObject *codeobj_929d72f29be6c9baee4fdfbdb7af9dd0; static PyCodeObject *codeobj_fabadd78d4670a6f89d48d636dbe4438; static PyCodeObject *codeobj_ec99fc747e3c72f0c869369a43696673; static PyCodeObject *codeobj_589bb92608e9a8804968194ccd0e9843; static PyCodeObject *codeobj_a1dae5eb6ebd5270b4733608db485d59; static PyCodeObject *codeobj_a8898583adb89935f532efeed164b63b; static PyCodeObject *codeobj_3f00716f6fd2ba22cbdc11c1d07889d0; static PyCodeObject *codeobj_fe48b008183bda27671585024c646bf3; static PyCodeObject *codeobj_eeb074384ab9223ee1b6f9ccf7f65a18; static PyCodeObject *codeobj_a66803cb8834bab277358366d31277c7; static PyCodeObject *codeobj_d06bc7f5451d33661854961936e8154e; static PyCodeObject *codeobj_e80bb99fe5d4c5ca1629c02a727d605c; static PyCodeObject *codeobj_6f24f32ddab35cc8cdc65bd0dce5290a; static PyCodeObject *codeobj_006116280f6f9b597b96f27a1160cf8a; static PyCodeObject *codeobj_7bb766ebd54742c28efba549e4a02ac6; static PyCodeObject *codeobj_074fd26f5a3113d49cea9262ee3719b8; static PyCodeObject *codeobj_4257a4cb38e3001e19951774d34be9d2; static PyCodeObject *codeobj_dec2f8b1a40a5cddb789a084c26328e1; static PyCodeObject *codeobj_f82414b52933bc05483a538d6e88a2f8; static PyCodeObject *codeobj_86bccbba5193aaed4debf486b95f41fa; static PyCodeObject *codeobj_51205a4aec2ce195d099c3c23b7041c8; static PyCodeObject *codeobj_93cbe193b2213e556b5faf47b15cdc75; static PyCodeObject *codeobj_a0cfd0b7582b32d474a311870d099c2a; static PyCodeObject *codeobj_54e7a444296a39b6a45cf22cb3619d44; static PyCodeObject *codeobj_5ae303316bef2376b27ccdd7ee178779; static PyCodeObject *codeobj_cdfbdd01acdc797ce0c5ac31ffbd4052; static PyCodeObject *codeobj_2ff87df9dd8121bd30bb117a79a55a1e; static PyCodeObject *codeobj_27b35e7867b88d5b07b26e00d407a030; static PyCodeObject *codeobj_06456bd70f2bfecfc49eaf7b0e6d31cb; static PyCodeObject *codeobj_aa514d9ec7b4825edcdad4c13e231db5; static PyCodeObject *codeobj_7022e09527243229d470de45388e4671; static PyCodeObject *codeobj_cff2ca8671ee62ab66477f5d4b1503b0; static PyCodeObject *codeobj_d04b8b1f785387291c54835711c30e89; static PyCodeObject *codeobj_f44dc8e7a3b21230db570306bd21f4a6; static PyCodeObject *codeobj_7147d7ad6c9c675bc00ff2d2c2dd9546; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_78e4d11343fc0ea815002c229d8141da; codeobj_592bc8e257b4dd7f30aab4cfb0d75cbf = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 102, const_tuple_b0c00933e83a0151953f3a00c2178204_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_3f0f7d37c925ca5f38f81592eaacee02 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 231, const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_name_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_d00d2dd46146f5f025313600b2ad8f4b = MAKE_CODEOBJ( module_filename_obj, const_str_angle_lambda, 426, const_tuple_b07c4382fc3b698eab7bb6e79a5f230f_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_929d72f29be6c9baee4fdfbdb7af9dd0 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 227, const_tuple_str_plain_name_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_fabadd78d4670a6f89d48d636dbe4438 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_572541d49912921fc3f520d5fbbbace7, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_ec99fc747e3c72f0c869369a43696673 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_PyOpenSSLContext, 374, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_589bb92608e9a8804968194ccd0e9843 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_WrappedSocket, 238, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_a1dae5eb6ebd5270b4733608db485d59 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 245, const_tuple_629e317cdb0a0a5b930602624a4df919_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_a8898583adb89935f532efeed164b63b = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 380, const_tuple_str_plain_self_str_plain_protocol_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_3f00716f6fd2ba22cbdc11c1d07889d0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__decref_socketios, 256, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_fe48b008183bda27671585024c646bf3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__dnsname_to_stdlib, 157, const_tuple_str_plain_name_str_plain_idna_encode_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_eeb074384ab9223ee1b6f9ccf7f65a18 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__drop, 357, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_a66803cb8834bab277358366d31277c7 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__reuse, 354, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_d06bc7f5451d33661854961936e8154e = MAKE_CODEOBJ( module_filename_obj, const_str_plain__send_until_done, 305, const_tuple_str_plain_self_str_plain_data_str_plain_e_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e80bb99fe5d4c5ca1629c02a727d605c = MAKE_CODEOBJ( module_filename_obj, const_str_plain__validate_dependencies_met, 137, const_tuple_str_plain_Extensions_str_plain_X509_str_plain_x509_tuple, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_6f24f32ddab35cc8cdc65bd0dce5290a = MAKE_CODEOBJ( module_filename_obj, const_str_plain__verify_callback, 456, const_tuple_e8b2873230843a4bb1a2136fdf114bf7_tuple, 5, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_006116280f6f9b597b96f27a1160cf8a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_close, 326, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_7bb766ebd54742c28efba549e4a02ac6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_extract_from_urllib3, 127, const_tuple_empty, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_074fd26f5a3113d49cea9262ee3719b8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_fileno, 252, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_4257a4cb38e3001e19951774d34be9d2 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_subj_alt_name, 187, const_tuple_8746a5e1d761630cda9eea2990729203_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_dec2f8b1a40a5cddb789a084c26328e1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_getpeercert, 336, const_tuple_str_plain_self_str_plain_binary_form_str_plain_x509_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_f82414b52933bc05483a538d6e88a2f8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_idna_encode, 167, const_tuple_str_plain_name_str_plain_idna_str_plain_prefix_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_86bccbba5193aaed4debf486b95f41fa = MAKE_CODEOBJ( module_filename_obj, const_str_plain_inject_into_urllib3, 115, const_tuple_empty, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_51205a4aec2ce195d099c3c23b7041c8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_load_cert_chain, 423, const_tuple_db2402bbc0165418bbec6436b14cef3c_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_93cbe193b2213e556b5faf47b15cdc75 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_load_verify_locations, 414, const_tuple_2fb08e1c17c01c11662f4f13f1e1495a_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_a0cfd0b7582b32d474a311870d099c2a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_makefile, 365, const_tuple_str_plain_self_str_plain_mode_str_plain_bufsize_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_54e7a444296a39b6a45cf22cb3619d44 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_options, 386, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_5ae303316bef2376b27ccdd7ee178779 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_options, 390, const_tuple_str_plain_self_str_plain_value_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_cdfbdd01acdc797ce0c5ac31ffbd4052 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_recv, 262, const_tuple_9c47951cfb852325fceb861a5d8c8329_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_2ff87df9dd8121bd30bb117a79a55a1e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_recv_into, 283, const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_str_plain_e_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_27b35e7867b88d5b07b26e00d407a030 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_sendall, 316, const_tuple_a5f32eb6eb0599095716173348d96f8b_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_06456bd70f2bfecfc49eaf7b0e6d31cb = MAKE_CODEOBJ( module_filename_obj, const_str_plain_set_ciphers, 409, const_tuple_str_plain_self_str_plain_ciphers_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_aa514d9ec7b4825edcdad4c13e231db5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_set_default_verify_paths, 406, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_7022e09527243229d470de45388e4671 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_settimeout, 302, const_tuple_str_plain_self_str_plain_timeout_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_cff2ca8671ee62ab66477f5d4b1503b0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_shutdown, 322, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_d04b8b1f785387291c54835711c30e89 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_verify_mode, 395, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_f44dc8e7a3b21230db570306bd21f4a6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_verify_mode, 399, const_tuple_str_plain_self_str_plain_value_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_7147d7ad6c9c675bc00ff2d2c2dd9546 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_wrap_socket, 429, const_tuple_c4b74dd253156b7d8eda9a3c39e8c5f4_tuple, 6, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); } // The module function declarations. static PyObject *urllib3$contrib$pyopenssl$$$genexpr_1_genexpr_maker( void ); static PyObject *urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name$$$genexpr_1_genexpr_maker( void ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( PyObject **python_pars ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_10_recv_into( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_11_settimeout( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_12__send_until_done( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_13_sendall( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_14_shutdown( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_15_close( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_16_getpeercert( PyObject *defaults ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_17__reuse( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_18__drop( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_19_makefile( PyObject *defaults ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_1_inject_into_urllib3( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_20___init__( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_21_options( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_22_options( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_23_verify_mode( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_24_verify_mode( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_25_set_default_verify_paths( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_26_set_ciphers( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_27_load_verify_locations( PyObject *defaults ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_28_load_cert_chain( PyObject *defaults ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_28_load_cert_chain$$$function_1_lambda( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_29_wrap_socket( PyObject *defaults ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_2_extract_from_urllib3( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_30__verify_callback( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_3__validate_dependencies_met( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib$$$function_1_idna_encode( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_6___init__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_7_fileno( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_8__decref_socketios( ); static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_9_recv( ); // The module function definitions. struct urllib3$contrib$pyopenssl$$$genexpr_1_genexpr_locals { PyObject *var_k; PyObject *var_v; PyObject *tmp_iter_value_0; PyObject *tmp_tuple_unpack_1__element_1; PyObject *tmp_tuple_unpack_1__element_2; PyObject *tmp_tuple_unpack_1__source_iter; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; char yield_tmps[1024]; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; int exception_keeper_lineno_4; }; static PyObject *urllib3$contrib$pyopenssl$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct urllib3$contrib$pyopenssl$$$genexpr_1_genexpr_locals *generator_heap = (struct urllib3$contrib$pyopenssl$$$genexpr_1_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_k = NULL; generator_heap->var_v = NULL; generator_heap->tmp_iter_value_0 = NULL; generator_heap->tmp_tuple_unpack_1__element_1 = NULL; generator_heap->tmp_tuple_unpack_1__element_2 = NULL; generator_heap->tmp_tuple_unpack_1__source_iter = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_592bc8e257b4dd7f30aab4cfb0d75cbf, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *) ); generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF( generator->m_frame ); assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack #if PYTHON_VERSION >= 340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif Py_CLEAR( generator->m_frame->m_frame.f_back ); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF( generator->m_frame->m_frame.f_back ); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF( generator->m_frame ); Nuitka_Frame_MarkAsExecuting( generator->m_frame ); #if PYTHON_VERSION >= 300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); #if PYTHON_VERSION < 370 generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state ); if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL; Py_XINCREF( generator->m_frame->m_frame.f_exc_type ); generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_value ); generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback ); #else generator->m_exc_state.exc_type = EXC_TYPE( thread_state ); if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL; Py_XINCREF( generator->m_exc_state.exc_type ); generator->m_exc_state.exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_exc_state.exc_value ); generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_exc_state.exc_traceback ); #endif } #endif // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT( PyCell_GET( generator->m_closure[0] ) ); tmp_next_source_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_1 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 102; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; CHECK_OBJECT( generator_heap->tmp_iter_value_0 ); tmp_iter_arg_1 = generator_heap->tmp_iter_value_0; tmp_assign_source_2 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 102; generator_heap->type_description_1 = "Noo"; goto try_except_handler_3; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__source_iter; generator_heap->tmp_tuple_unpack_1__source_iter = tmp_assign_source_2; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_1; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = generator_heap->tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_3 == NULL ) { if ( !ERROR_OCCURRED() ) { generator_heap->exception_type = PyExc_StopIteration; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); } generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 102; goto try_except_handler_4; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__element_1; generator_heap->tmp_tuple_unpack_1__element_1 = tmp_assign_source_3; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_2; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = generator_heap->tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_4 == NULL ) { if ( !ERROR_OCCURRED() ) { generator_heap->exception_type = PyExc_StopIteration; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); } generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 102; goto try_except_handler_4; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__element_2; generator_heap->tmp_tuple_unpack_1__element_2 = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = generator_heap->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 ) ); generator_heap->tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( generator_heap->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( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 102; goto try_except_handler_4; } } } else { Py_DECREF( generator_heap->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( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 102; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_1__source_iter ); Py_DECREF( generator_heap->tmp_tuple_unpack_1__source_iter ); generator_heap->tmp_tuple_unpack_1__source_iter = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto try_except_handler_3; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_3:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_1 ); generator_heap->tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_2 ); generator_heap->tmp_tuple_unpack_1__element_2 = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto try_except_handler_2; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_1__source_iter ); Py_DECREF( generator_heap->tmp_tuple_unpack_1__source_iter ); generator_heap->tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_5; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__element_1 ); tmp_assign_source_5 = generator_heap->tmp_tuple_unpack_1__element_1; { PyObject *old = generator_heap->var_k; generator_heap->var_k = tmp_assign_source_5; Py_INCREF( generator_heap->var_k ); Py_XDECREF( old ); } } { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_1 ); generator_heap->tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_6; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__element_2 ); tmp_assign_source_6 = generator_heap->tmp_tuple_unpack_1__element_2; { PyObject *old = generator_heap->var_v; generator_heap->var_v = tmp_assign_source_6; Py_INCREF( generator_heap->var_v ); Py_XDECREF( old ); } } { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_2 ); generator_heap->tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_expression_name_1; PyObject *tmp_tuple_element_1; if ( generator_heap->var_v == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 102; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } tmp_tuple_element_1 = generator_heap->var_v; tmp_expression_name_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_expression_name_1, 0, tmp_tuple_element_1 ); if ( generator_heap->var_k == NULL ) { Py_DECREF( tmp_expression_name_1 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "k" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 102; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } tmp_tuple_element_1 = generator_heap->var_k; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_expression_name_1, 1, tmp_tuple_element_1 ); Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 102; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 102; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_3 = generator_heap->exception_type; generator_heap->exception_keeper_value_3 = generator_heap->exception_value; generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_3 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_3; generator_heap->exception_value = generator_heap->exception_keeper_value_3; generator_heap->exception_tb = generator_heap->exception_keeper_tb_3; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_3:; } Nuitka_Frame_MarkAsNotExecuting( generator->m_frame ); #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif // Allow re-use of the frame again. Py_DECREF( generator->m_frame ); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) ) { if ( generator_heap->exception_tb == NULL ) { generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno ); } else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame ) { generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno ); } Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)generator->m_frame, generator_heap->type_description_1, NULL, generator_heap->var_k, generator_heap->var_v ); // Release cached frame. if ( generator->m_frame == cache_m_frame ) { Py_DECREF( generator->m_frame ); } cache_m_frame = NULL; assertFrameObject( generator->m_frame ); } #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif Py_DECREF( generator->m_frame ); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_4; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_4 = generator_heap->exception_type; generator_heap->exception_keeper_value_4 = generator_heap->exception_value; generator_heap->exception_keeper_tb_4 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_4 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->var_k ); generator_heap->var_k = NULL; } { Py_XDECREF( generator_heap->var_v ); generator_heap->var_v = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_4; generator_heap->exception_value = generator_heap->exception_keeper_value_4; generator_heap->exception_tb = generator_heap->exception_keeper_tb_4; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_4; goto function_exception_exit; } // End of try: try_end_4:; } { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = NULL; } { Py_XDECREF( generator_heap->var_k ); generator_heap->var_k = NULL; } { Py_XDECREF( generator_heap->var_v ); generator_heap->var_v = NULL; } return NULL; function_exception_exit: assert( generator_heap->exception_type ); RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb ); return NULL; } static PyObject *urllib3$contrib$pyopenssl$$$genexpr_1_genexpr_maker( void ) { return Nuitka_Generator_New( urllib3$contrib$pyopenssl$$$genexpr_1_genexpr_context, module_urllib3$contrib$pyopenssl, const_str_angle_genexpr, #if PYTHON_VERSION >= 350 NULL, #endif codeobj_592bc8e257b4dd7f30aab4cfb0d75cbf, 1, sizeof(struct urllib3$contrib$pyopenssl$$$genexpr_1_genexpr_locals) ); } static PyObject *impl_urllib3$contrib$pyopenssl$$$function_1_inject_into_urllib3( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_FrameObject *frame_86bccbba5193aaed4debf486b95f41fa; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_86bccbba5193aaed4debf486b95f41fa = NULL; PyObject *tmp_return_value = NULL; // Actual function code. MAKE_OR_REUSE_FRAME( cache_frame_86bccbba5193aaed4debf486b95f41fa, codeobj_86bccbba5193aaed4debf486b95f41fa, module_urllib3$contrib$pyopenssl, 0 ); frame_86bccbba5193aaed4debf486b95f41fa = cache_frame_86bccbba5193aaed4debf486b95f41fa; // Push the new frame as the currently active one. pushFrameStack( frame_86bccbba5193aaed4debf486b95f41fa ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_86bccbba5193aaed4debf486b95f41fa ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__validate_dependencies_met ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__validate_dependencies_met ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_validate_dependencies_met" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; frame_86bccbba5193aaed4debf486b95f41fa->m_frame.f_lineno = 118; tmp_unused = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 118; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_assattr_target_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_3; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_PyOpenSSLContext ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PyOpenSSLContext ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PyOpenSSLContext" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 120; goto frame_exception_exit_1; } tmp_assattr_name_1 = tmp_mvar_value_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 120; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_3; tmp_assattr_target_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_ssl_ ); if ( tmp_assattr_target_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 120; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_SSLContext, tmp_assattr_name_1 ); Py_DECREF( tmp_assattr_target_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 120; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_mvar_value_4; PyObject *tmp_assattr_target_2; PyObject *tmp_mvar_value_5; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_HAS_SNI ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HAS_SNI ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HAS_SNI" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; goto frame_exception_exit_1; } tmp_assattr_name_2 = tmp_mvar_value_4; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; goto frame_exception_exit_1; } tmp_assattr_target_2 = tmp_mvar_value_5; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_HAS_SNI, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 121; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_mvar_value_6; PyObject *tmp_assattr_target_3; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_7; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_HAS_SNI ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HAS_SNI ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HAS_SNI" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 122; goto frame_exception_exit_1; } tmp_assattr_name_3 = tmp_mvar_value_6; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 122; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_7; tmp_assattr_target_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_ssl_ ); if ( tmp_assattr_target_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 122; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_HAS_SNI, tmp_assattr_name_3 ); Py_DECREF( tmp_assattr_target_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 122; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; PyObject *tmp_mvar_value_8; tmp_assattr_name_4 = Py_True; tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 123; goto frame_exception_exit_1; } tmp_assattr_target_4 = tmp_mvar_value_8; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_IS_PYOPENSSL, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 123; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_assattr_target_5; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_9; tmp_assattr_name_5 = Py_True; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_9 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 124; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_9; tmp_assattr_target_5 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_ssl_ ); if ( tmp_assattr_target_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 124; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_IS_PYOPENSSL, tmp_assattr_name_5 ); Py_DECREF( tmp_assattr_target_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 124; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_86bccbba5193aaed4debf486b95f41fa ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_86bccbba5193aaed4debf486b95f41fa ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_86bccbba5193aaed4debf486b95f41fa, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_86bccbba5193aaed4debf486b95f41fa->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_86bccbba5193aaed4debf486b95f41fa, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_86bccbba5193aaed4debf486b95f41fa, type_description_1 ); // Release cached frame. if ( frame_86bccbba5193aaed4debf486b95f41fa == cache_frame_86bccbba5193aaed4debf486b95f41fa ) { Py_DECREF( frame_86bccbba5193aaed4debf486b95f41fa ); } cache_frame_86bccbba5193aaed4debf486b95f41fa = NULL; assertFrameObject( frame_86bccbba5193aaed4debf486b95f41fa ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto function_return_exit; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_1_inject_into_urllib3 ); 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_urllib3$contrib$pyopenssl$$$function_2_extract_from_urllib3( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_FrameObject *frame_7bb766ebd54742c28efba549e4a02ac6; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_7bb766ebd54742c28efba549e4a02ac6 = NULL; PyObject *tmp_return_value = NULL; // Actual function code. MAKE_OR_REUSE_FRAME( cache_frame_7bb766ebd54742c28efba549e4a02ac6, codeobj_7bb766ebd54742c28efba549e4a02ac6, module_urllib3$contrib$pyopenssl, 0 ); frame_7bb766ebd54742c28efba549e4a02ac6 = cache_frame_7bb766ebd54742c28efba549e4a02ac6; // Push the new frame as the currently active one. pushFrameStack( frame_7bb766ebd54742c28efba549e4a02ac6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7bb766ebd54742c28efba549e4a02ac6 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_assattr_target_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_orig_util_SSLContext ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_orig_util_SSLContext ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "orig_util_SSLContext" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 130; goto frame_exception_exit_1; } tmp_assattr_name_1 = tmp_mvar_value_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 130; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_2; tmp_assattr_target_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_ssl_ ); if ( tmp_assattr_target_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 130; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_SSLContext, tmp_assattr_name_1 ); Py_DECREF( tmp_assattr_target_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 130; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_assattr_target_2; PyObject *tmp_mvar_value_4; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_orig_util_HAS_SNI ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_orig_util_HAS_SNI ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "orig_util_HAS_SNI" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 131; goto frame_exception_exit_1; } tmp_assattr_name_2 = tmp_mvar_value_3; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 131; goto frame_exception_exit_1; } tmp_assattr_target_2 = tmp_mvar_value_4; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_HAS_SNI, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 131; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_mvar_value_5; PyObject *tmp_assattr_target_3; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_6; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_orig_util_HAS_SNI ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_orig_util_HAS_SNI ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "orig_util_HAS_SNI" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 132; goto frame_exception_exit_1; } tmp_assattr_name_3 = tmp_mvar_value_5; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 132; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_6; tmp_assattr_target_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_ssl_ ); if ( tmp_assattr_target_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 132; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_HAS_SNI, tmp_assattr_name_3 ); Py_DECREF( tmp_assattr_target_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 132; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; PyObject *tmp_mvar_value_7; tmp_assattr_name_4 = Py_False; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 133; goto frame_exception_exit_1; } tmp_assattr_target_4 = tmp_mvar_value_7; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_IS_PYOPENSSL, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 133; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_assattr_target_5; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_8; tmp_assattr_name_5 = Py_False; tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 134; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_8; tmp_assattr_target_5 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_ssl_ ); if ( tmp_assattr_target_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 134; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_IS_PYOPENSSL, tmp_assattr_name_5 ); Py_DECREF( tmp_assattr_target_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 134; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_7bb766ebd54742c28efba549e4a02ac6 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7bb766ebd54742c28efba549e4a02ac6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7bb766ebd54742c28efba549e4a02ac6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7bb766ebd54742c28efba549e4a02ac6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7bb766ebd54742c28efba549e4a02ac6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7bb766ebd54742c28efba549e4a02ac6, type_description_1 ); // Release cached frame. if ( frame_7bb766ebd54742c28efba549e4a02ac6 == cache_frame_7bb766ebd54742c28efba549e4a02ac6 ) { Py_DECREF( frame_7bb766ebd54742c28efba549e4a02ac6 ); } cache_frame_7bb766ebd54742c28efba549e4a02ac6 = NULL; assertFrameObject( frame_7bb766ebd54742c28efba549e4a02ac6 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto function_return_exit; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_2_extract_from_urllib3 ); 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_urllib3$contrib$pyopenssl$$$function_3__validate_dependencies_met( 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 *var_Extensions = NULL; PyObject *var_X509 = NULL; PyObject *var_x509 = NULL; struct Nuitka_FrameObject *frame_e80bb99fe5d4c5ca1629c02a727d605c; 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; static struct Nuitka_FrameObject *cache_frame_e80bb99fe5d4c5ca1629c02a727d605c = 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_e80bb99fe5d4c5ca1629c02a727d605c, codeobj_e80bb99fe5d4c5ca1629c02a727d605c, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_e80bb99fe5d4c5ca1629c02a727d605c = cache_frame_e80bb99fe5d4c5ca1629c02a727d605c; // Push the new frame as the currently active one. pushFrameStack( frame_e80bb99fe5d4c5ca1629c02a727d605c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e80bb99fe5d4c5ca1629c02a727d605c ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_import_name_from_1; 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_digest_7822abce90b4f23aa7a437cf95bbfec5; tmp_globals_name_1 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = const_tuple_str_plain_Extensions_tuple; tmp_level_name_1 = const_int_0; frame_e80bb99fe5d4c5ca1629c02a727d605c->m_frame.f_lineno = 143; tmp_import_name_from_1 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_import_name_from_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 143; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_Extensions ); Py_DECREF( tmp_import_name_from_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 143; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_Extensions == NULL ); var_Extensions = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; CHECK_OBJECT( var_Extensions ); tmp_getattr_target_1 = var_Extensions; tmp_getattr_attr_1 = const_str_plain_get_extension_for_class; tmp_getattr_default_1 = Py_None; tmp_compexpr_left_1 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_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_d22ac54ae5c0616296ff857ea08c49cb; frame_e80bb99fe5d4c5ca1629c02a727d605c->m_frame.f_lineno = 145; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ImportError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 145; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_2; PyObject *tmp_import_name_from_2; PyObject *tmp_name_name_2; PyObject *tmp_globals_name_2; PyObject *tmp_locals_name_2; PyObject *tmp_fromlist_name_2; PyObject *tmp_level_name_2; tmp_name_name_2 = const_str_digest_6d237a1253b74549ee18fb0e488e3cf9; tmp_globals_name_2 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = const_tuple_str_plain_X509_tuple; tmp_level_name_2 = const_int_0; frame_e80bb99fe5d4c5ca1629c02a727d605c->m_frame.f_lineno = 150; tmp_import_name_from_2 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 ); if ( tmp_import_name_from_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 150; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_X509 ); Py_DECREF( tmp_import_name_from_2 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 150; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_X509 == NULL ); var_X509 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_1; CHECK_OBJECT( var_X509 ); tmp_called_name_1 = var_X509; frame_e80bb99fe5d4c5ca1629c02a727d605c->m_frame.f_lineno = 151; tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 151; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_x509 == NULL ); var_x509 = tmp_assign_source_3; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; CHECK_OBJECT( var_x509 ); tmp_getattr_target_2 = var_x509; tmp_getattr_attr_2 = const_str_plain__x509; tmp_getattr_default_2 = Py_None; tmp_compexpr_left_2 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 152; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_2 ); 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_3ff79c08d61077339220a6b991e28f93; frame_e80bb99fe5d4c5ca1629c02a727d605c->m_frame.f_lineno = 153; { PyObject *call_args[] = { tmp_make_exception_arg_2 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_ImportError, call_args ); } assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 153; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto frame_exception_exit_1; } branch_no_2:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e80bb99fe5d4c5ca1629c02a727d605c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e80bb99fe5d4c5ca1629c02a727d605c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e80bb99fe5d4c5ca1629c02a727d605c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e80bb99fe5d4c5ca1629c02a727d605c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e80bb99fe5d4c5ca1629c02a727d605c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e80bb99fe5d4c5ca1629c02a727d605c, type_description_1, var_Extensions, var_X509, var_x509 ); // Release cached frame. if ( frame_e80bb99fe5d4c5ca1629c02a727d605c == cache_frame_e80bb99fe5d4c5ca1629c02a727d605c ) { Py_DECREF( frame_e80bb99fe5d4c5ca1629c02a727d605c ); } cache_frame_e80bb99fe5d4c5ca1629c02a727d605c = NULL; assertFrameObject( frame_e80bb99fe5d4c5ca1629c02a727d605c ); // 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( urllib3$contrib$pyopenssl$$$function_3__validate_dependencies_met ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( var_Extensions ); var_Extensions = NULL; } { Py_XDECREF( var_X509 ); var_X509 = NULL; } { Py_XDECREF( var_x509 ); var_x509 = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( var_Extensions ); var_Extensions = NULL; } { Py_XDECREF( var_X509 ); var_X509 = NULL; } { Py_XDECREF( var_x509 ); var_x509 = 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( urllib3$contrib$pyopenssl$$$function_3__validate_dependencies_met ); 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_urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib( 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_name = python_pars[ 0 ]; PyObject *var_idna_encode = NULL; struct Nuitka_FrameObject *frame_fe48b008183bda27671585024c646bf3; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_fe48b008183bda27671585024c646bf3 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib$$$function_1_idna_encode( ); assert( var_idna_encode == NULL ); var_idna_encode = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_fe48b008183bda27671585024c646bf3, codeobj_fe48b008183bda27671585024c646bf3, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *) ); frame_fe48b008183bda27671585024c646bf3 = cache_frame_fe48b008183bda27671585024c646bf3; // Push the new frame as the currently active one. pushFrameStack( frame_fe48b008183bda27671585024c646bf3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_fe48b008183bda27671585024c646bf3 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( var_idna_encode ); tmp_called_name_1 = var_idna_encode; CHECK_OBJECT( par_name ); tmp_args_element_name_1 = par_name; frame_fe48b008183bda27671585024c646bf3->m_frame.f_lineno = 181; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 181; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_name; par_name = tmp_assign_source_2; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 182; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_version_info ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 182; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_tuple_int_pos_3_int_0_tuple; tmp_res = RICH_COMPARE_BOOL_GE( 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 = 182; 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_assign_source_3; PyObject *tmp_called_instance_1; if ( par_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 183; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_name; frame_fe48b008183bda27671585024c646bf3->m_frame.f_lineno = 183; tmp_assign_source_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_decode, &PyTuple_GET_ITEM( const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_tuple, 0 ) ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_name; par_name = tmp_assign_source_3; Py_XDECREF( old ); } } branch_no_1:; } { if ( par_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 184; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = par_name; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_fe48b008183bda27671585024c646bf3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fe48b008183bda27671585024c646bf3 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fe48b008183bda27671585024c646bf3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_fe48b008183bda27671585024c646bf3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_fe48b008183bda27671585024c646bf3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_fe48b008183bda27671585024c646bf3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_fe48b008183bda27671585024c646bf3, type_description_1, par_name, var_idna_encode ); // Release cached frame. if ( frame_fe48b008183bda27671585024c646bf3 == cache_frame_fe48b008183bda27671585024c646bf3 ) { Py_DECREF( frame_fe48b008183bda27671585024c646bf3 ); } cache_frame_fe48b008183bda27671585024c646bf3 = NULL; assertFrameObject( frame_fe48b008183bda27671585024c646bf3 ); // 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( urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( var_idna_encode ); var_idna_encode = 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_name ); par_name = NULL; } { Py_XDECREF( var_idna_encode ); var_idna_encode = 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( urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib ); 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_urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib$$$function_1_idna_encode( 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_name = python_pars[ 0 ]; PyObject *var_idna = NULL; PyObject *var_prefix = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_f82414b52933bc05483a538d6e88a2f8; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; static struct Nuitka_FrameObject *cache_frame_f82414b52933bc05483a538d6e88a2f8 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_f82414b52933bc05483a538d6e88a2f8, codeobj_f82414b52933bc05483a538d6e88a2f8, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_f82414b52933bc05483a538d6e88a2f8 = cache_frame_f82414b52933bc05483a538d6e88a2f8; // Push the new frame as the currently active one. pushFrameStack( frame_f82414b52933bc05483a538d6e88a2f8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f82414b52933bc05483a538d6e88a2f8 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; 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_idna; tmp_globals_name_1 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; frame_f82414b52933bc05483a538d6e88a2f8->m_frame.f_lineno = 173; tmp_assign_source_1 = 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_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 173; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_idna == NULL ); var_idna = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; tmp_iter_arg_1 = const_tuple_str_digest_f16ebd80f485bce26a5c8a0fab91362b_str_dot_tuple; tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 ); assert( !(tmp_assign_source_2 == NULL) ); assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_2; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_3 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; exception_lineno = 175; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_3; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_4 = tmp_for_loop_1__iter_value; { PyObject *old = var_prefix; var_prefix = tmp_assign_source_4; Py_INCREF( var_prefix ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; int tmp_truth_name_1; if ( par_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 176; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_1 = par_name; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_startswith ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 176; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_prefix == 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", "prefix" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 176; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_args_element_name_1 = var_prefix; frame_f82414b52933bc05483a538d6e88a2f8->m_frame.f_lineno = 176; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 176; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 176; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_5; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_len_arg_1; PyObject *tmp_stop_name_1; PyObject *tmp_step_name_1; if ( par_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 177; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_subscribed_name_1 = par_name; if ( var_prefix == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prefix" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 177; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_len_arg_1 = var_prefix; tmp_start_name_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_start_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 177; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_stop_name_1 = Py_None; tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_start_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_assign_source_5 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 177; type_description_1 = "ooo"; goto try_except_handler_2; } { PyObject *old = par_name; par_name = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_left_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_right_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; if ( var_prefix == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prefix" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 178; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_instance_1 = var_prefix; frame_f82414b52933bc05483a538d6e88a2f8->m_frame.f_lineno = 178; tmp_left_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 178; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_idna == 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", "idna" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 178; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_2 = var_idna; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_encode ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 178; type_description_1 = "ooo"; goto try_except_handler_2; } if ( par_name == NULL ) { Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 178; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_args_element_name_2 = par_name; frame_f82414b52933bc05483a538d6e88a2f8->m_frame.f_lineno = 178; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_right_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 178; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_return_value = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 178; type_description_1 = "ooo"; goto try_except_handler_2; } goto try_return_handler_2; } branch_no_1:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 175; type_description_1 = "ooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__iter_value ); Py_DECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_3; if ( var_idna == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "idna" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 179; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = var_idna; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_encode ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 179; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_name == 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", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 179; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_name; frame_f82414b52933bc05483a538d6e88a2f8->m_frame.f_lineno = 179; { PyObject *call_args[] = { tmp_args_element_name_3 }; 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 = 179; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_f82414b52933bc05483a538d6e88a2f8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f82414b52933bc05483a538d6e88a2f8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f82414b52933bc05483a538d6e88a2f8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f82414b52933bc05483a538d6e88a2f8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f82414b52933bc05483a538d6e88a2f8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f82414b52933bc05483a538d6e88a2f8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f82414b52933bc05483a538d6e88a2f8, type_description_1, par_name, var_idna, var_prefix ); // Release cached frame. if ( frame_f82414b52933bc05483a538d6e88a2f8 == cache_frame_f82414b52933bc05483a538d6e88a2f8 ) { Py_DECREF( frame_f82414b52933bc05483a538d6e88a2f8 ); } cache_frame_f82414b52933bc05483a538d6e88a2f8 = NULL; assertFrameObject( frame_f82414b52933bc05483a538d6e88a2f8 ); // 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( urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib$$$function_1_idna_encode ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( var_idna ); var_idna = NULL; } { Py_XDECREF( var_prefix ); var_prefix = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( var_idna ); var_idna = NULL; } { Py_XDECREF( var_prefix ); var_prefix = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib$$$function_1_idna_encode ); 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_urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name( 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_peer_cert = python_pars[ 0 ]; PyObject *var_cert = NULL; PyObject *var_ext = NULL; PyObject *var_e = NULL; PyObject *var_names = NULL; PyObject *outline_0_var_name = NULL; PyObject *tmp_genexpr_1__$0 = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_4257a4cb38e3001e19951774d34be9d2; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; PyObject *tmp_return_value = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; bool tmp_result; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; struct Nuitka_FrameObject *frame_929d72f29be6c9baee4fdfbdb7af9dd0_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_929d72f29be6c9baee4fdfbdb7af9dd0_2 = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; static struct Nuitka_FrameObject *cache_frame_4257a4cb38e3001e19951774d34be9d2 = NULL; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_4257a4cb38e3001e19951774d34be9d2, codeobj_4257a4cb38e3001e19951774d34be9d2, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_4257a4cb38e3001e19951774d34be9d2 = cache_frame_4257a4cb38e3001e19951774d34be9d2; // Push the new frame as the currently active one. pushFrameStack( frame_4257a4cb38e3001e19951774d34be9d2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4257a4cb38e3001e19951774d34be9d2 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_name_1; CHECK_OBJECT( par_peer_cert ); tmp_source_name_1 = par_peer_cert; tmp_attribute_name_1 = const_str_plain_to_cryptography; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_1, tmp_attribute_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 192; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_peer_cert ); tmp_called_instance_1 = par_peer_cert; frame_4257a4cb38e3001e19951774d34be9d2->m_frame.f_lineno = 193; tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_to_cryptography ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 193; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_cert == NULL ); var_cert = tmp_assign_source_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__Certificate ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__Certificate ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_Certificate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 197; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_openssl_backend ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_openssl_backend ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "openssl_backend" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 197; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = tmp_mvar_value_2; CHECK_OBJECT( par_peer_cert ); tmp_source_name_2 = par_peer_cert; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__x509 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 197; type_description_1 = "ooooo"; goto frame_exception_exit_1; } frame_4257a4cb38e3001e19951774d34be9d2->m_frame.f_lineno = 197; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_2 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 197; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_cert == NULL ); var_cert = tmp_assign_source_2; } branch_end_1:; } { // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_source_name_3; PyObject *tmp_called_name_2; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_3; PyObject *tmp_source_name_6; PyObject *tmp_mvar_value_3; CHECK_OBJECT( var_cert ); tmp_source_name_5 = var_cert; tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_extensions ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 202; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_get_extension_for_class ); Py_DECREF( tmp_source_name_4 ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 202; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_x509 ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_x509 ); } if ( tmp_mvar_value_3 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "x509" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 203; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_source_name_6 = tmp_mvar_value_3; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_SubjectAlternativeName ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 203; type_description_1 = "ooooo"; goto try_except_handler_2; } frame_4257a4cb38e3001e19951774d34be9d2->m_frame.f_lineno = 202; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_source_name_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_source_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 202; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_assign_source_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_value ); Py_DECREF( tmp_source_name_3 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 202; type_description_1 = "ooooo"; goto try_except_handler_2; } assert( var_ext == NULL ); var_ext = tmp_assign_source_3; } 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_4257a4cb38e3001e19951774d34be9d2, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_4257a4cb38e3001e19951774d34be9d2, exception_keeper_lineno_1 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 ); PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); } { // Tried code: { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_7; PyObject *tmp_mvar_value_4; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_x509 ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_x509 ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "x509" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 205; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_source_name_7 = tmp_mvar_value_4; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_ExtensionNotFound ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 205; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( 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 = 205; type_description_1 = "ooooo"; goto try_except_handler_3; } 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:; { tmp_return_value = PyList_New( 0 ); goto try_return_handler_3; } goto branch_end_2; branch_no_2:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_8; PyObject *tmp_mvar_value_5; PyObject *tmp_mvar_value_6; PyObject *tmp_source_name_9; PyObject *tmp_mvar_value_7; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_x509 ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_x509 ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "x509" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 208; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_source_name_8 = tmp_mvar_value_5; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_DuplicateExtension ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_compexpr_right_2 = PyTuple_New( 4 ); PyTuple_SET_ITEM( tmp_compexpr_right_2, 0, tmp_tuple_element_1 ); tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_UnsupportedExtension ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_UnsupportedExtension ); } if ( tmp_mvar_value_6 == NULL ) { Py_DECREF( tmp_compexpr_right_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "UnsupportedExtension" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 208; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_tuple_element_1 = tmp_mvar_value_6; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_compexpr_right_2, 1, tmp_tuple_element_1 ); tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_x509 ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_x509 ); } if ( tmp_mvar_value_7 == NULL ) { Py_DECREF( tmp_compexpr_right_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "x509" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 209; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_source_name_9 = tmp_mvar_value_7; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_UnsupportedGeneralNameType ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_right_2 ); exception_lineno = 209; type_description_1 = "ooooo"; goto try_except_handler_3; } PyTuple_SET_ITEM( tmp_compexpr_right_2, 2, tmp_tuple_element_1 ); tmp_tuple_element_1 = PyExc_UnicodeError; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_compexpr_right_2, 3, tmp_tuple_element_1 ); tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_2, tmp_compexpr_right_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 = 208; type_description_1 = "ooooo"; 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_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_4; tmp_assign_source_4 = EXC_VALUE(PyThreadState_GET()); assert( var_e == NULL ); Py_INCREF( tmp_assign_source_4 ); var_e = tmp_assign_source_4; } { // Tried code: { PyObject *tmp_called_name_3; PyObject *tmp_source_name_10; PyObject *tmp_mvar_value_8; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_log ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_log ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "log" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 212; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_source_name_10 = tmp_mvar_value_8; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_warning ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 212; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_args_element_name_4 = const_str_digest_bb5bc8c3c3606f20b540789b2cae4e87; if ( var_e == 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", "e" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 216; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_args_element_name_5 = var_e; frame_4257a4cb38e3001e19951774d34be9d2->m_frame.f_lineno = 212; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 212; type_description_1 = "ooooo"; goto try_except_handler_4; } Py_DECREF( tmp_unused ); } { tmp_return_value = PyList_New( 0 ); goto try_return_handler_4; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name ); return NULL; // Return handler code: try_return_handler_4:; { Py_XDECREF( var_e ); var_e = NULL; } { goto try_return_handler_3; } // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( var_e ); var_e = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_3; } // End of try: } goto branch_end_3; branch_no_3:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 201; } if (exception_tb && exception_tb->tb_frame == &frame_4257a4cb38e3001e19951774d34be9d2->m_frame) frame_4257a4cb38e3001e19951774d34be9d2->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooo"; goto try_except_handler_3; } branch_end_3:; } branch_end_2:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name ); return NULL; // Return handler code: try_return_handler_3:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_3:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: } // End of try: try_end_1:; } { PyObject *tmp_assign_source_5; { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_4; PyObject *tmp_source_name_11; PyObject *tmp_args_element_name_6; PyObject *tmp_source_name_12; PyObject *tmp_mvar_value_9; CHECK_OBJECT( var_ext ); tmp_source_name_11 = var_ext; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_get_values_for_type ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 228; type_description_1 = "ooooo"; goto try_except_handler_5; } tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_x509 ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_x509 ); } if ( tmp_mvar_value_9 == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "x509" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 228; type_description_1 = "ooooo"; goto try_except_handler_5; } tmp_source_name_12 = tmp_mvar_value_9; tmp_args_element_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_DNSName ); if ( tmp_args_element_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 228; type_description_1 = "ooooo"; goto try_except_handler_5; } frame_4257a4cb38e3001e19951774d34be9d2->m_frame.f_lineno = 228; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_6 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 228; type_description_1 = "ooooo"; goto try_except_handler_5; } tmp_assign_source_6 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 227; type_description_1 = "ooooo"; goto try_except_handler_5; } assert( tmp_listcomp_1__$0 == NULL ); tmp_listcomp_1__$0 = tmp_assign_source_6; } { PyObject *tmp_assign_source_7; tmp_assign_source_7 = PyList_New( 0 ); assert( tmp_listcomp_1__contraction == NULL ); tmp_listcomp_1__contraction = tmp_assign_source_7; } MAKE_OR_REUSE_FRAME( cache_frame_929d72f29be6c9baee4fdfbdb7af9dd0_2, codeobj_929d72f29be6c9baee4fdfbdb7af9dd0, module_urllib3$contrib$pyopenssl, sizeof(void *) ); frame_929d72f29be6c9baee4fdfbdb7af9dd0_2 = cache_frame_929d72f29be6c9baee4fdfbdb7af9dd0_2; // Push the new frame as the currently active one. pushFrameStack( frame_929d72f29be6c9baee4fdfbdb7af9dd0_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_929d72f29be6c9baee4fdfbdb7af9dd0_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_8; CHECK_OBJECT( tmp_listcomp_1__$0 ); tmp_next_source_1 = tmp_listcomp_1__$0; tmp_assign_source_8 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_8 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_2 = "o"; exception_lineno = 227; goto try_except_handler_6; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_8; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_listcomp_1__iter_value_0 ); tmp_assign_source_9 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_name; outline_0_var_name = tmp_assign_source_9; Py_INCREF( outline_0_var_name ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_tuple_element_2; PyObject *tmp_called_name_5; PyObject *tmp_mvar_value_10; PyObject *tmp_args_element_name_7; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; tmp_tuple_element_2 = const_str_plain_DNS; tmp_append_value_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_append_value_1, 0, tmp_tuple_element_2 ); tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__dnsname_to_stdlib ); if (unlikely( tmp_mvar_value_10 == NULL )) { tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__dnsname_to_stdlib ); } if ( tmp_mvar_value_10 == NULL ) { Py_DECREF( tmp_append_value_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_dnsname_to_stdlib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 227; type_description_2 = "o"; goto try_except_handler_6; } tmp_called_name_5 = tmp_mvar_value_10; CHECK_OBJECT( outline_0_var_name ); tmp_args_element_name_7 = outline_0_var_name; frame_929d72f29be6c9baee4fdfbdb7af9dd0_2->m_frame.f_lineno = 227; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_tuple_element_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_append_value_1 ); exception_lineno = 227; type_description_2 = "o"; goto try_except_handler_6; } PyTuple_SET_ITEM( tmp_append_value_1, 1, tmp_tuple_element_2 ); assert( PyList_Check( tmp_append_list_1 ) ); tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 ); Py_DECREF( tmp_append_value_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 227; type_description_2 = "o"; goto try_except_handler_6; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 227; type_description_2 = "o"; goto try_except_handler_6; } goto loop_start_1; loop_end_1:; } { CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_assign_source_5 = tmp_listcomp_1__contraction; Py_INCREF( tmp_assign_source_5 ); goto try_return_handler_6; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name ); return NULL; // Return handler code: try_return_handler_6:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { goto frame_return_exit_2; } // Exception handler code: try_except_handler_6:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_2; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_929d72f29be6c9baee4fdfbdb7af9dd0_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_929d72f29be6c9baee4fdfbdb7af9dd0_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_5; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_929d72f29be6c9baee4fdfbdb7af9dd0_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_929d72f29be6c9baee4fdfbdb7af9dd0_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_929d72f29be6c9baee4fdfbdb7af9dd0_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_929d72f29be6c9baee4fdfbdb7af9dd0_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_929d72f29be6c9baee4fdfbdb7af9dd0_2, type_description_2, outline_0_var_name ); // Release cached frame. if ( frame_929d72f29be6c9baee4fdfbdb7af9dd0_2 == cache_frame_929d72f29be6c9baee4fdfbdb7af9dd0_2 ) { Py_DECREF( frame_929d72f29be6c9baee4fdfbdb7af9dd0_2 ); } cache_frame_929d72f29be6c9baee4fdfbdb7af9dd0_2 = NULL; assertFrameObject( frame_929d72f29be6c9baee4fdfbdb7af9dd0_2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; type_description_1 = "ooooo"; goto try_except_handler_5; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name ); return NULL; // Return handler code: try_return_handler_5:; { Py_XDECREF( outline_0_var_name ); outline_0_var_name = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_5:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( outline_0_var_name ); outline_0_var_name = 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 outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name ); return NULL; outline_exception_1:; exception_lineno = 227; goto frame_exception_exit_1; outline_result_1:; assert( var_names == NULL ); var_names = tmp_assign_source_5; } { PyObject *tmp_called_name_6; PyObject *tmp_source_name_13; PyObject *tmp_args_element_name_8; CHECK_OBJECT( var_names ); tmp_source_name_13 = var_names; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_extend ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 230; type_description_1 = "ooooo"; goto frame_exception_exit_1; } { PyObject *tmp_assign_source_10; PyObject *tmp_iter_arg_2; PyObject *tmp_called_name_7; PyObject *tmp_source_name_14; PyObject *tmp_args_element_name_9; PyObject *tmp_source_name_15; PyObject *tmp_mvar_value_11; if ( var_ext == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ext" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 232; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_14 = var_ext; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_get_values_for_type ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 232; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_x509 ); if (unlikely( tmp_mvar_value_11 == NULL )) { tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_x509 ); } if ( tmp_mvar_value_11 == NULL ) { Py_DECREF( tmp_called_name_7 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "x509" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 232; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_15 = tmp_mvar_value_11; tmp_args_element_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_IPAddress ); if ( tmp_args_element_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_7 ); exception_lineno = 232; type_description_1 = "ooooo"; goto frame_exception_exit_1; } frame_4257a4cb38e3001e19951774d34be9d2->m_frame.f_lineno = 232; { PyObject *call_args[] = { tmp_args_element_name_9 }; tmp_iter_arg_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_args_element_name_9 ); if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 232; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assign_source_10 = MAKE_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 231; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( tmp_genexpr_1__$0 == NULL ); tmp_genexpr_1__$0 = tmp_assign_source_10; } { // Tried code: { tmp_args_element_name_8 = urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name$$$genexpr_1_genexpr_maker(); ((struct Nuitka_GeneratorObject *)tmp_args_element_name_8)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 ); goto try_return_handler_7; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name ); return NULL; // Return handler code: try_return_handler_7:; { CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 ); Py_DECREF( tmp_genexpr_1__$0 ); tmp_genexpr_1__$0 = NULL; } { goto outline_result_2; } // End of try: } { CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 ); Py_DECREF( tmp_genexpr_1__$0 ); tmp_genexpr_1__$0 = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name ); return NULL; outline_result_2:; frame_4257a4cb38e3001e19951774d34be9d2->m_frame.f_lineno = 230; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_args_element_name_8 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 230; type_description_1 = "ooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { if ( var_names == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "names" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 235; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_return_value = var_names; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_4257a4cb38e3001e19951774d34be9d2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4257a4cb38e3001e19951774d34be9d2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4257a4cb38e3001e19951774d34be9d2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4257a4cb38e3001e19951774d34be9d2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4257a4cb38e3001e19951774d34be9d2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4257a4cb38e3001e19951774d34be9d2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4257a4cb38e3001e19951774d34be9d2, type_description_1, par_peer_cert, var_cert, var_ext, var_e, var_names ); // Release cached frame. if ( frame_4257a4cb38e3001e19951774d34be9d2 == cache_frame_4257a4cb38e3001e19951774d34be9d2 ) { Py_DECREF( frame_4257a4cb38e3001e19951774d34be9d2 ); } cache_frame_4257a4cb38e3001e19951774d34be9d2 = NULL; assertFrameObject( frame_4257a4cb38e3001e19951774d34be9d2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_2:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_peer_cert ); par_peer_cert = NULL; } { Py_XDECREF( var_cert ); var_cert = NULL; } { Py_XDECREF( var_ext ); var_ext = NULL; } { Py_XDECREF( var_e ); var_e = NULL; } { Py_XDECREF( var_names ); var_names = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_peer_cert ); par_peer_cert = NULL; } { Py_XDECREF( var_cert ); var_cert = NULL; } { Py_XDECREF( var_ext ); var_ext = NULL; } { Py_XDECREF( var_e ); var_e = NULL; } { Py_XDECREF( var_names ); var_names = NULL; } { // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name ); 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; } struct urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name$$$genexpr_1_genexpr_locals { PyObject *var_name; PyObject *tmp_iter_value_0; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; char yield_tmps[1024]; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; }; static PyObject *urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name$$$genexpr_1_genexpr_locals *generator_heap = (struct urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name$$$genexpr_1_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_name = NULL; generator_heap->tmp_iter_value_0 = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_3f0f7d37c925ca5f38f81592eaacee02, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *) ); generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF( generator->m_frame ); assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack #if PYTHON_VERSION >= 340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif Py_CLEAR( generator->m_frame->m_frame.f_back ); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF( generator->m_frame->m_frame.f_back ); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF( generator->m_frame ); Nuitka_Frame_MarkAsExecuting( generator->m_frame ); #if PYTHON_VERSION >= 300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); #if PYTHON_VERSION < 370 generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state ); if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL; Py_XINCREF( generator->m_frame->m_frame.f_exc_type ); generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_value ); generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback ); #else generator->m_exc_state.exc_type = EXC_TYPE( thread_state ); if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL; Py_XINCREF( generator->m_exc_state.exc_type ); generator->m_exc_state.exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_exc_state.exc_value ); generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_exc_state.exc_traceback ); #endif } #endif // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT( PyCell_GET( generator->m_closure[0] ) ); tmp_next_source_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_1 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "No"; generator_heap->exception_lineno = 231; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_2; CHECK_OBJECT( generator_heap->tmp_iter_value_0 ); tmp_assign_source_2 = generator_heap->tmp_iter_value_0; { PyObject *old = generator_heap->var_name; generator_heap->var_name = tmp_assign_source_2; Py_INCREF( generator_heap->var_name ); Py_XDECREF( old ); } } { PyObject *tmp_expression_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_unicode_arg_1; tmp_tuple_element_1 = const_str_digest_76d751ede7bd087f9346e5a615d3c397; tmp_expression_name_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_expression_name_1, 0, tmp_tuple_element_1 ); CHECK_OBJECT( generator_heap->var_name ); tmp_unicode_arg_1 = generator_heap->var_name; tmp_tuple_element_1 = PyObject_Unicode( tmp_unicode_arg_1 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_expression_name_1 ); generator_heap->exception_lineno = 231; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } PyTuple_SET_ITEM( tmp_expression_name_1, 1, tmp_tuple_element_1 ); Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), &tmp_unicode_arg_1, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), &tmp_unicode_arg_1, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 231; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } tmp_unused = yield_return_value; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 231; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } Nuitka_Frame_MarkAsNotExecuting( generator->m_frame ); #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif // Allow re-use of the frame again. Py_DECREF( generator->m_frame ); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) ) { if ( generator_heap->exception_tb == NULL ) { generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno ); } else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame ) { generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno ); } Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)generator->m_frame, generator_heap->type_description_1, NULL, generator_heap->var_name ); // Release cached frame. if ( generator->m_frame == cache_m_frame ) { Py_DECREF( generator->m_frame ); } cache_m_frame = NULL; assertFrameObject( generator->m_frame ); } #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif Py_DECREF( generator->m_frame ); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_2; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->var_name ); generator_heap->var_name = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto function_exception_exit; } // End of try: try_end_2:; } { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = NULL; } { Py_XDECREF( generator_heap->var_name ); generator_heap->var_name = NULL; } return NULL; function_exception_exit: assert( generator_heap->exception_type ); RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb ); return NULL; } static PyObject *urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name$$$genexpr_1_genexpr_maker( void ) { return Nuitka_Generator_New( urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name$$$genexpr_1_genexpr_context, module_urllib3$contrib$pyopenssl, const_str_angle_genexpr, #if PYTHON_VERSION >= 350 const_str_digest_afa22ab599702ad524e6d8b060fa5658, #endif codeobj_3f0f7d37c925ca5f38f81592eaacee02, 1, sizeof(struct urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name$$$genexpr_1_genexpr_locals) ); } static PyObject *impl_urllib3$contrib$pyopenssl$$$function_6___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_connection = python_pars[ 1 ]; PyObject *par_socket = python_pars[ 2 ]; PyObject *par_suppress_ragged_eofs = python_pars[ 3 ]; struct Nuitka_FrameObject *frame_a1dae5eb6ebd5270b4733608db485d59; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_a1dae5eb6ebd5270b4733608db485d59 = 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_a1dae5eb6ebd5270b4733608db485d59, codeobj_a1dae5eb6ebd5270b4733608db485d59, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_a1dae5eb6ebd5270b4733608db485d59 = cache_frame_a1dae5eb6ebd5270b4733608db485d59; // Push the new frame as the currently active one. pushFrameStack( frame_a1dae5eb6ebd5270b4733608db485d59 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a1dae5eb6ebd5270b4733608db485d59 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( par_connection ); tmp_assattr_name_1 = par_connection; CHECK_OBJECT( par_self ); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_connection, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 246; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; if ( par_socket == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "socket" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 247; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = par_socket; 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 = 247; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_socket, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 247; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; if ( par_suppress_ragged_eofs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "suppress_ragged_eofs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 248; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_name_3 = par_suppress_ragged_eofs; 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 = 248; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_suppress_ragged_eofs, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 248; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; tmp_assattr_name_4 = const_int_0; 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 = 249; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain__makefile_refs, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 249; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_assattr_target_5; tmp_assattr_name_5 = Py_False; 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 = 250; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain__closed, tmp_assattr_name_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 250; type_description_1 = "oooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_a1dae5eb6ebd5270b4733608db485d59 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a1dae5eb6ebd5270b4733608db485d59 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a1dae5eb6ebd5270b4733608db485d59, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a1dae5eb6ebd5270b4733608db485d59->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a1dae5eb6ebd5270b4733608db485d59, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a1dae5eb6ebd5270b4733608db485d59, type_description_1, par_self, par_connection, par_socket, par_suppress_ragged_eofs ); // Release cached frame. if ( frame_a1dae5eb6ebd5270b4733608db485d59 == cache_frame_a1dae5eb6ebd5270b4733608db485d59 ) { Py_DECREF( frame_a1dae5eb6ebd5270b4733608db485d59 ); } cache_frame_a1dae5eb6ebd5270b4733608db485d59 = NULL; assertFrameObject( frame_a1dae5eb6ebd5270b4733608db485d59 ); // 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( urllib3$contrib$pyopenssl$$$function_6___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_connection ); par_connection = NULL; } { Py_XDECREF( par_socket ); par_socket = NULL; } { Py_XDECREF( par_suppress_ragged_eofs ); par_suppress_ragged_eofs = 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_connection ); par_connection = NULL; } { Py_XDECREF( par_socket ); par_socket = NULL; } { Py_XDECREF( par_suppress_ragged_eofs ); par_suppress_ragged_eofs = 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( urllib3$contrib$pyopenssl$$$function_6___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_urllib3$contrib$pyopenssl$$$function_7_fileno( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_074fd26f5a3113d49cea9262ee3719b8; 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_074fd26f5a3113d49cea9262ee3719b8 = 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_074fd26f5a3113d49cea9262ee3719b8, codeobj_074fd26f5a3113d49cea9262ee3719b8, module_urllib3$contrib$pyopenssl, sizeof(void *) ); frame_074fd26f5a3113d49cea9262ee3719b8 = cache_frame_074fd26f5a3113d49cea9262ee3719b8; // Push the new frame as the currently active one. pushFrameStack( frame_074fd26f5a3113d49cea9262ee3719b8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_074fd26f5a3113d49cea9262ee3719b8 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_socket ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 253; type_description_1 = "o"; goto frame_exception_exit_1; } frame_074fd26f5a3113d49cea9262ee3719b8->m_frame.f_lineno = 253; tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_fileno ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 253; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_074fd26f5a3113d49cea9262ee3719b8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_074fd26f5a3113d49cea9262ee3719b8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_074fd26f5a3113d49cea9262ee3719b8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_074fd26f5a3113d49cea9262ee3719b8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_074fd26f5a3113d49cea9262ee3719b8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_074fd26f5a3113d49cea9262ee3719b8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_074fd26f5a3113d49cea9262ee3719b8, type_description_1, par_self ); // Release cached frame. if ( frame_074fd26f5a3113d49cea9262ee3719b8 == cache_frame_074fd26f5a3113d49cea9262ee3719b8 ) { Py_DECREF( frame_074fd26f5a3113d49cea9262ee3719b8 ); } cache_frame_074fd26f5a3113d49cea9262ee3719b8 = NULL; assertFrameObject( frame_074fd26f5a3113d49cea9262ee3719b8 ); // 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( urllib3$contrib$pyopenssl$$$function_7_fileno ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_7_fileno ); 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_urllib3$contrib$pyopenssl$$$function_8__decref_socketios( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *tmp_inplace_assign_attr_1__end = NULL; PyObject *tmp_inplace_assign_attr_1__start = NULL; struct Nuitka_FrameObject *frame_3f00716f6fd2ba22cbdc11c1d07889d0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; 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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_3f00716f6fd2ba22cbdc11c1d07889d0 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_3f00716f6fd2ba22cbdc11c1d07889d0, codeobj_3f00716f6fd2ba22cbdc11c1d07889d0, module_urllib3$contrib$pyopenssl, sizeof(void *) ); frame_3f00716f6fd2ba22cbdc11c1d07889d0 = cache_frame_3f00716f6fd2ba22cbdc11c1d07889d0; // Push the new frame as the currently active one. pushFrameStack( frame_3f00716f6fd2ba22cbdc11c1d07889d0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3f00716f6fd2ba22cbdc11c1d07889d0 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__makefile_refs ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 257; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_0; tmp_res = RICH_COMPARE_BOOL_GT( 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 = 257; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_2; 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 = 258; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__makefile_refs ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 258; type_description_1 = "o"; goto frame_exception_exit_1; } assert( tmp_inplace_assign_attr_1__start == NULL ); tmp_inplace_assign_attr_1__start = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__start ); tmp_left_name_1 = tmp_inplace_assign_attr_1__start; tmp_right_name_1 = const_int_pos_1; tmp_assign_source_2 = BINARY_OPERATION( PyNumber_InPlaceSubtract, tmp_left_name_1, tmp_right_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 258; type_description_1 = "o"; goto try_except_handler_2; } assert( tmp_inplace_assign_attr_1__end == NULL ); tmp_inplace_assign_attr_1__end = tmp_assign_source_2; } { // Tried code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__end ); tmp_assattr_name_1 = tmp_inplace_assign_attr_1__end; 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 = 258; type_description_1 = "o"; goto try_except_handler_3; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__makefile_refs, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 258; type_description_1 = "o"; 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_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = 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; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = 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_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = NULL; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = NULL; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_source_name_3; PyObject *tmp_attribute_value_1; int tmp_truth_name_1; 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 = 259; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__closed ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 259; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_1 ); exception_lineno = 259; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_called_instance_1; 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 = 260; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; frame_3f00716f6fd2ba22cbdc11c1d07889d0->m_frame.f_lineno = 260; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_close ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 260; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_2:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_3f00716f6fd2ba22cbdc11c1d07889d0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3f00716f6fd2ba22cbdc11c1d07889d0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3f00716f6fd2ba22cbdc11c1d07889d0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3f00716f6fd2ba22cbdc11c1d07889d0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3f00716f6fd2ba22cbdc11c1d07889d0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3f00716f6fd2ba22cbdc11c1d07889d0, type_description_1, par_self ); // Release cached frame. if ( frame_3f00716f6fd2ba22cbdc11c1d07889d0 == cache_frame_3f00716f6fd2ba22cbdc11c1d07889d0 ) { Py_DECREF( frame_3f00716f6fd2ba22cbdc11c1d07889d0 ); } cache_frame_3f00716f6fd2ba22cbdc11c1d07889d0 = NULL; assertFrameObject( frame_3f00716f6fd2ba22cbdc11c1d07889d0 ); // 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( urllib3$contrib$pyopenssl$$$function_8__decref_socketios ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_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_self ); par_self = 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( urllib3$contrib$pyopenssl$$$function_8__decref_socketios ); 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_urllib3$contrib$pyopenssl$$$function_9_recv( 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_args = python_pars[ 1 ]; PyObject *par_kwargs = python_pars[ 2 ]; PyObject *var_data = NULL; PyObject *var_e = NULL; struct Nuitka_FrameObject *frame_cdfbdd01acdc797ce0c5ac31ffbd4052; 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_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; bool tmp_result; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_cdfbdd01acdc797ce0c5ac31ffbd4052 = 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_cdfbdd01acdc797ce0c5ac31ffbd4052, codeobj_cdfbdd01acdc797ce0c5ac31ffbd4052, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_cdfbdd01acdc797ce0c5ac31ffbd4052 = cache_frame_cdfbdd01acdc797ce0c5ac31ffbd4052; // Push the new frame as the currently active one. pushFrameStack( frame_cdfbdd01acdc797ce0c5ac31ffbd4052 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_cdfbdd01acdc797ce0c5ac31ffbd4052 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_dircall_arg2_1; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_connection ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 264; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_recv ); Py_DECREF( tmp_source_name_1 ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 264; type_description_1 = "ooooo"; goto try_except_handler_2; } if ( par_args == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 264; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_dircall_arg2_1 = par_args; if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 264; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg2_1 ); Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_assign_source_1 = impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( dir_call_args ); } if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 264; type_description_1 = "ooooo"; goto try_except_handler_2; } assert( var_data == NULL ); var_data = tmp_assign_source_1; } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_cdfbdd01acdc797ce0c5ac31ffbd4052, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_cdfbdd01acdc797ce0c5ac31ffbd4052, 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_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 265; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_source_name_4 = tmp_mvar_value_1; tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_SSL ); if ( tmp_source_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 265; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_SysCallError ); Py_DECREF( tmp_source_name_3 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 265; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( 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 = 265; type_description_1 = "ooooo"; 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 branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_2; tmp_assign_source_2 = EXC_VALUE(PyThreadState_GET()); assert( var_e == NULL ); Py_INCREF( tmp_assign_source_2 ); var_e = tmp_assign_source_2; } { // Tried code: { nuitka_bool tmp_condition_result_2; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_source_name_5; PyObject *tmp_attribute_value_1; int tmp_truth_name_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_6; 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 = 266; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_source_name_5 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_suppress_ragged_eofs ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 266; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_1 ); exception_lineno = 266; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_and_left_value_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( var_e == NULL ) { 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 = 266; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_source_name_6 = var_e; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_args ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 266; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_compexpr_right_2 = const_tuple_int_neg_1_str_digest_fa91b370bf4aa8601b20ad022c04c7f5_tuple; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 266; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_2 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_2 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { tmp_return_value = const_bytes_empty; Py_INCREF( tmp_return_value ); goto try_return_handler_4; } goto branch_end_2; branch_no_2:; { PyObject *tmp_raise_type_1; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; PyObject *tmp_unicode_arg_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_SocketError ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SocketError ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "SocketError" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 269; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_called_name_1 = tmp_mvar_value_2; if ( var_e == NULL ) { 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 = 269; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_unicode_arg_1 = var_e; tmp_args_element_name_1 = PyObject_Unicode( tmp_unicode_arg_1 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 269; type_description_1 = "ooooo"; goto try_except_handler_4; } frame_cdfbdd01acdc797ce0c5ac31ffbd4052->m_frame.f_lineno = 269; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_1 ); if ( tmp_raise_type_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 269; type_description_1 = "ooooo"; goto try_except_handler_4; } exception_type = tmp_raise_type_1; exception_lineno = 269; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooo"; goto try_except_handler_4; } branch_end_2:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_9_recv ); return NULL; // Return handler code: try_return_handler_4:; { Py_XDECREF( var_e ); var_e = NULL; } { goto try_return_handler_3; } // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( var_e ); var_e = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_3; } // End of try: } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_7; PyObject *tmp_source_name_8; PyObject *tmp_mvar_value_3; tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 270; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_source_name_8 = tmp_mvar_value_3; tmp_source_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_SSL ); if ( tmp_source_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 270; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_ZeroReturnError ); Py_DECREF( tmp_source_name_7 ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 270; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 270; type_description_1 = "ooooo"; 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_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_3; tmp_assign_source_3 = EXC_VALUE(PyThreadState_GET()); { PyObject *old = var_e; var_e = tmp_assign_source_3; Py_INCREF( var_e ); Py_XDECREF( old ); } } { // Tried code: { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_called_instance_1; PyObject *tmp_source_name_9; PyObject *tmp_source_name_10; PyObject *tmp_source_name_11; PyObject *tmp_mvar_value_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 271; type_description_1 = "ooooo"; goto try_except_handler_5; } tmp_source_name_9 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_connection ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 271; type_description_1 = "ooooo"; goto try_except_handler_5; } frame_cdfbdd01acdc797ce0c5ac31ffbd4052->m_frame.f_lineno = 271; tmp_compexpr_left_4 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_get_shutdown ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_compexpr_left_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 271; type_description_1 = "ooooo"; goto try_except_handler_5; } tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_compexpr_left_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 271; type_description_1 = "ooooo"; goto try_except_handler_5; } tmp_source_name_11 = tmp_mvar_value_4; tmp_source_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_SSL ); if ( tmp_source_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_4 ); exception_lineno = 271; type_description_1 = "ooooo"; goto try_except_handler_5; } tmp_compexpr_right_4 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_RECEIVED_SHUTDOWN ); Py_DECREF( tmp_source_name_10 ); if ( tmp_compexpr_right_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_4 ); exception_lineno = 271; type_description_1 = "ooooo"; goto try_except_handler_5; } tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_4, tmp_compexpr_right_4 ); Py_DECREF( 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 = 271; type_description_1 = "ooooo"; goto try_except_handler_5; } tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { tmp_return_value = const_bytes_empty; Py_INCREF( tmp_return_value ); goto try_return_handler_5; } goto branch_end_4; branch_no_4:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 274; } if (exception_tb && exception_tb->tb_frame == &frame_cdfbdd01acdc797ce0c5ac31ffbd4052->m_frame) frame_cdfbdd01acdc797ce0c5ac31ffbd4052->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooo"; goto try_except_handler_5; } branch_end_4:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_9_recv ); return NULL; // Return handler code: try_return_handler_5:; { Py_XDECREF( var_e ); var_e = NULL; } { goto try_return_handler_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; { Py_XDECREF( var_e ); var_e = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_3; } // End of try: } goto branch_end_3; branch_no_3:; { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_source_name_12; PyObject *tmp_source_name_13; PyObject *tmp_mvar_value_5; tmp_compexpr_left_5 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 275; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_source_name_13 = tmp_mvar_value_5; tmp_source_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_SSL ); if ( tmp_source_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 275; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_compexpr_right_5 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_WantReadError ); Py_DECREF( tmp_source_name_12 ); if ( tmp_compexpr_right_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 275; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_5, tmp_compexpr_right_5 ); Py_DECREF( tmp_compexpr_right_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 275; type_description_1 = "ooooo"; 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:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_operand_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_14; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_15; PyObject *tmp_args_element_name_3; PyObject *tmp_called_instance_2; PyObject *tmp_source_name_16; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 276; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_source_name_14 = tmp_mvar_value_6; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_wait_for_read ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 276; type_description_1 = "ooooo"; goto try_except_handler_3; } if ( par_self == 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", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 276; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_source_name_15 = par_self; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_socket ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 276; type_description_1 = "ooooo"; goto try_except_handler_3; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 276; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_source_name_16 = par_self; tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_socket ); if ( tmp_called_instance_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_lineno = 276; type_description_1 = "ooooo"; goto try_except_handler_3; } frame_cdfbdd01acdc797ce0c5ac31ffbd4052->m_frame.f_lineno = 276; tmp_args_element_name_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_gettimeout ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_lineno = 276; type_description_1 = "ooooo"; goto try_except_handler_3; } frame_cdfbdd01acdc797ce0c5ac31ffbd4052->m_frame.f_lineno = 276; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 276; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 276; type_description_1 = "ooooo"; goto try_except_handler_3; } 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_2; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_7; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_timeout ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_timeout ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "timeout" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 277; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_called_name_3 = tmp_mvar_value_7; frame_cdfbdd01acdc797ce0c5ac31ffbd4052->m_frame.f_lineno = 277; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, &PyTuple_GET_ITEM( const_tuple_str_digest_7e30f7b167f6016bf2ebb297c1892f81_tuple, 0 ) ); if ( tmp_raise_type_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 277; type_description_1 = "ooooo"; goto try_except_handler_3; } exception_type = tmp_raise_type_2; exception_lineno = 277; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooo"; goto try_except_handler_3; } goto branch_end_6; branch_no_6:; { PyObject *tmp_dircall_arg1_2; PyObject *tmp_source_name_17; PyObject *tmp_dircall_arg2_2; PyObject *tmp_dircall_arg3_2; 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 = 279; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_source_name_17 = par_self; tmp_dircall_arg1_2 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain_recv ); if ( tmp_dircall_arg1_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 279; type_description_1 = "ooooo"; goto try_except_handler_3; } if ( par_args == NULL ) { Py_DECREF( tmp_dircall_arg1_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 279; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_dircall_arg2_2 = par_args; if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 279; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_dircall_arg3_2 = par_kwargs; Py_INCREF( tmp_dircall_arg2_2 ); Py_INCREF( tmp_dircall_arg3_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2}; tmp_return_value = impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 279; type_description_1 = "ooooo"; goto try_except_handler_3; } goto try_return_handler_3; } branch_end_6:; } goto branch_end_5; branch_no_5:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 263; } if (exception_tb && exception_tb->tb_frame == &frame_cdfbdd01acdc797ce0c5ac31ffbd4052->m_frame) frame_cdfbdd01acdc797ce0c5ac31ffbd4052->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooo"; goto try_except_handler_3; } branch_end_5:; } branch_end_3:; } branch_end_1:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_9_recv ); return NULL; // Return handler code: try_return_handler_3:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_3:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: } // End of try: try_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_cdfbdd01acdc797ce0c5ac31ffbd4052 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cdfbdd01acdc797ce0c5ac31ffbd4052 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cdfbdd01acdc797ce0c5ac31ffbd4052 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_cdfbdd01acdc797ce0c5ac31ffbd4052, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_cdfbdd01acdc797ce0c5ac31ffbd4052->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_cdfbdd01acdc797ce0c5ac31ffbd4052, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_cdfbdd01acdc797ce0c5ac31ffbd4052, type_description_1, par_self, par_args, par_kwargs, var_data, var_e ); // Release cached frame. if ( frame_cdfbdd01acdc797ce0c5ac31ffbd4052 == cache_frame_cdfbdd01acdc797ce0c5ac31ffbd4052 ) { Py_DECREF( frame_cdfbdd01acdc797ce0c5ac31ffbd4052 ); } cache_frame_cdfbdd01acdc797ce0c5ac31ffbd4052 = NULL; assertFrameObject( frame_cdfbdd01acdc797ce0c5ac31ffbd4052 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( var_data ); tmp_return_value = var_data; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_9_recv ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { Py_XDECREF( var_e ); var_e = 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_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_e ); var_e = 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( urllib3$contrib$pyopenssl$$$function_9_recv ); 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_urllib3$contrib$pyopenssl$$$function_10_recv_into( 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_args = python_pars[ 1 ]; PyObject *par_kwargs = python_pars[ 2 ]; PyObject *var_e = NULL; struct Nuitka_FrameObject *frame_2ff87df9dd8121bd30bb117a79a55a1e; 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; 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; int tmp_res; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; bool tmp_result; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_2ff87df9dd8121bd30bb117a79a55a1e = 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_2ff87df9dd8121bd30bb117a79a55a1e, codeobj_2ff87df9dd8121bd30bb117a79a55a1e, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_2ff87df9dd8121bd30bb117a79a55a1e = cache_frame_2ff87df9dd8121bd30bb117a79a55a1e; // Push the new frame as the currently active one. pushFrameStack( frame_2ff87df9dd8121bd30bb117a79a55a1e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_2ff87df9dd8121bd30bb117a79a55a1e ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_dircall_arg2_1; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_connection ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 285; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_recv_into ); Py_DECREF( tmp_source_name_1 ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 285; type_description_1 = "oooo"; goto try_except_handler_2; } if ( par_args == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 285; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_dircall_arg2_1 = par_args; if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 285; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg2_1 ); Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 285; type_description_1 = "oooo"; goto try_except_handler_2; } goto frame_return_exit_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_10_recv_into ); return NULL; // 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_2ff87df9dd8121bd30bb117a79a55a1e, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_2ff87df9dd8121bd30bb117a79a55a1e, 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_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 286; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_source_name_4 = tmp_mvar_value_1; tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_SSL ); if ( tmp_source_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 286; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_SysCallError ); Py_DECREF( tmp_source_name_3 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 286; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( 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 = 286; type_description_1 = "oooo"; 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 branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; tmp_assign_source_1 = EXC_VALUE(PyThreadState_GET()); assert( var_e == NULL ); Py_INCREF( tmp_assign_source_1 ); var_e = tmp_assign_source_1; } { // Tried code: { nuitka_bool tmp_condition_result_2; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_source_name_5; PyObject *tmp_attribute_value_1; int tmp_truth_name_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_6; 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 = 287; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_source_name_5 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_suppress_ragged_eofs ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 287; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_1 ); exception_lineno = 287; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_and_left_value_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( var_e == NULL ) { 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 = 287; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_source_name_6 = var_e; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_args ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 287; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_compexpr_right_2 = const_tuple_int_neg_1_str_digest_fa91b370bf4aa8601b20ad022c04c7f5_tuple; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 287; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_2 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_2 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { tmp_return_value = const_int_0; Py_INCREF( tmp_return_value ); goto try_return_handler_4; } goto branch_end_2; branch_no_2:; { PyObject *tmp_raise_type_1; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; PyObject *tmp_unicode_arg_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_SocketError ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SocketError ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "SocketError" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 290; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_called_name_1 = tmp_mvar_value_2; if ( var_e == NULL ) { 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 = 290; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_unicode_arg_1 = var_e; tmp_args_element_name_1 = PyObject_Unicode( tmp_unicode_arg_1 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 290; type_description_1 = "oooo"; goto try_except_handler_4; } frame_2ff87df9dd8121bd30bb117a79a55a1e->m_frame.f_lineno = 290; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_1 ); if ( tmp_raise_type_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 290; type_description_1 = "oooo"; goto try_except_handler_4; } exception_type = tmp_raise_type_1; exception_lineno = 290; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto try_except_handler_4; } branch_end_2:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_10_recv_into ); return NULL; // Return handler code: try_return_handler_4:; { Py_XDECREF( var_e ); var_e = NULL; } { goto try_return_handler_3; } // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( var_e ); var_e = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_3; } // End of try: } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_7; PyObject *tmp_source_name_8; PyObject *tmp_mvar_value_3; tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 291; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_source_name_8 = tmp_mvar_value_3; tmp_source_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_SSL ); if ( tmp_source_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 291; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_ZeroReturnError ); Py_DECREF( tmp_source_name_7 ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 291; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 291; type_description_1 = "oooo"; 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_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_2; tmp_assign_source_2 = EXC_VALUE(PyThreadState_GET()); { PyObject *old = var_e; var_e = tmp_assign_source_2; Py_INCREF( var_e ); Py_XDECREF( old ); } } { // Tried code: { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_called_instance_1; PyObject *tmp_source_name_9; PyObject *tmp_source_name_10; PyObject *tmp_source_name_11; PyObject *tmp_mvar_value_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 292; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_source_name_9 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_connection ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 292; type_description_1 = "oooo"; goto try_except_handler_5; } frame_2ff87df9dd8121bd30bb117a79a55a1e->m_frame.f_lineno = 292; tmp_compexpr_left_4 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_get_shutdown ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_compexpr_left_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 292; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_compexpr_left_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 292; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_source_name_11 = tmp_mvar_value_4; tmp_source_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_SSL ); if ( tmp_source_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_4 ); exception_lineno = 292; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_compexpr_right_4 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_RECEIVED_SHUTDOWN ); Py_DECREF( tmp_source_name_10 ); if ( tmp_compexpr_right_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_4 ); exception_lineno = 292; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_4, tmp_compexpr_right_4 ); Py_DECREF( 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 = 292; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { tmp_return_value = const_int_0; Py_INCREF( tmp_return_value ); goto try_return_handler_5; } goto branch_end_4; branch_no_4:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 295; } if (exception_tb && exception_tb->tb_frame == &frame_2ff87df9dd8121bd30bb117a79a55a1e->m_frame) frame_2ff87df9dd8121bd30bb117a79a55a1e->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooo"; goto try_except_handler_5; } branch_end_4:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_10_recv_into ); return NULL; // Return handler code: try_return_handler_5:; { Py_XDECREF( var_e ); var_e = NULL; } { goto try_return_handler_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; { Py_XDECREF( var_e ); var_e = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_3; } // End of try: } goto branch_end_3; branch_no_3:; { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_source_name_12; PyObject *tmp_source_name_13; PyObject *tmp_mvar_value_5; tmp_compexpr_left_5 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 296; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_source_name_13 = tmp_mvar_value_5; tmp_source_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_SSL ); if ( tmp_source_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 296; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_compexpr_right_5 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_WantReadError ); Py_DECREF( tmp_source_name_12 ); if ( tmp_compexpr_right_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 296; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_5, tmp_compexpr_right_5 ); Py_DECREF( tmp_compexpr_right_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 296; type_description_1 = "oooo"; 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:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_operand_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_14; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_15; PyObject *tmp_args_element_name_3; PyObject *tmp_called_instance_2; PyObject *tmp_source_name_16; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 297; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_source_name_14 = tmp_mvar_value_6; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_wait_for_read ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 297; type_description_1 = "oooo"; goto try_except_handler_3; } if ( par_self == 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", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 297; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_source_name_15 = par_self; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_socket ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 297; type_description_1 = "oooo"; goto try_except_handler_3; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 297; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_source_name_16 = par_self; tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_socket ); if ( tmp_called_instance_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_lineno = 297; type_description_1 = "oooo"; goto try_except_handler_3; } frame_2ff87df9dd8121bd30bb117a79a55a1e->m_frame.f_lineno = 297; tmp_args_element_name_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_gettimeout ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_lineno = 297; type_description_1 = "oooo"; goto try_except_handler_3; } frame_2ff87df9dd8121bd30bb117a79a55a1e->m_frame.f_lineno = 297; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 297; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 297; type_description_1 = "oooo"; goto try_except_handler_3; } 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_2; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_7; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_timeout ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_timeout ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "timeout" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 298; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_called_name_3 = tmp_mvar_value_7; frame_2ff87df9dd8121bd30bb117a79a55a1e->m_frame.f_lineno = 298; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, &PyTuple_GET_ITEM( const_tuple_str_digest_7e30f7b167f6016bf2ebb297c1892f81_tuple, 0 ) ); if ( tmp_raise_type_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 298; type_description_1 = "oooo"; goto try_except_handler_3; } exception_type = tmp_raise_type_2; exception_lineno = 298; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto try_except_handler_3; } goto branch_end_6; branch_no_6:; { PyObject *tmp_dircall_arg1_2; PyObject *tmp_source_name_17; PyObject *tmp_dircall_arg2_2; PyObject *tmp_dircall_arg3_2; 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 = 300; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_source_name_17 = par_self; tmp_dircall_arg1_2 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain_recv_into ); if ( tmp_dircall_arg1_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 300; type_description_1 = "oooo"; goto try_except_handler_3; } if ( par_args == NULL ) { Py_DECREF( tmp_dircall_arg1_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 300; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_dircall_arg2_2 = par_args; if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 300; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_dircall_arg3_2 = par_kwargs; Py_INCREF( tmp_dircall_arg2_2 ); Py_INCREF( tmp_dircall_arg3_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2}; tmp_return_value = impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 300; type_description_1 = "oooo"; goto try_except_handler_3; } goto try_return_handler_3; } branch_end_6:; } goto branch_end_5; branch_no_5:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 284; } if (exception_tb && exception_tb->tb_frame == &frame_2ff87df9dd8121bd30bb117a79a55a1e->m_frame) frame_2ff87df9dd8121bd30bb117a79a55a1e->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooo"; goto try_except_handler_3; } branch_end_5:; } branch_end_3:; } branch_end_1:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_10_recv_into ); return NULL; // Return handler code: try_return_handler_3:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_3:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_2ff87df9dd8121bd30bb117a79a55a1e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2ff87df9dd8121bd30bb117a79a55a1e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2ff87df9dd8121bd30bb117a79a55a1e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_2ff87df9dd8121bd30bb117a79a55a1e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_2ff87df9dd8121bd30bb117a79a55a1e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_2ff87df9dd8121bd30bb117a79a55a1e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_2ff87df9dd8121bd30bb117a79a55a1e, type_description_1, par_self, par_args, par_kwargs, var_e ); // Release cached frame. if ( frame_2ff87df9dd8121bd30bb117a79a55a1e == cache_frame_2ff87df9dd8121bd30bb117a79a55a1e ) { Py_DECREF( frame_2ff87df9dd8121bd30bb117a79a55a1e ); } cache_frame_2ff87df9dd8121bd30bb117a79a55a1e = NULL; assertFrameObject( frame_2ff87df9dd8121bd30bb117a79a55a1e ); // 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( urllib3$contrib$pyopenssl$$$function_10_recv_into ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_e ); var_e = 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_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_e ); var_e = 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( urllib3$contrib$pyopenssl$$$function_10_recv_into ); 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_urllib3$contrib$pyopenssl$$$function_11_settimeout( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_timeout = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_7022e09527243229d470de45388e4671; 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_7022e09527243229d470de45388e4671 = 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_7022e09527243229d470de45388e4671, codeobj_7022e09527243229d470de45388e4671, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *) ); frame_7022e09527243229d470de45388e4671 = cache_frame_7022e09527243229d470de45388e4671; // Push the new frame as the currently active one. pushFrameStack( frame_7022e09527243229d470de45388e4671 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7022e09527243229d470de45388e4671 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_socket ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 303; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_settimeout ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 303; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_timeout == 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", "timeout" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 303; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_timeout; frame_7022e09527243229d470de45388e4671->m_frame.f_lineno = 303; { 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 = 303; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7022e09527243229d470de45388e4671 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7022e09527243229d470de45388e4671 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7022e09527243229d470de45388e4671 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7022e09527243229d470de45388e4671, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7022e09527243229d470de45388e4671->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7022e09527243229d470de45388e4671, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7022e09527243229d470de45388e4671, type_description_1, par_self, par_timeout ); // Release cached frame. if ( frame_7022e09527243229d470de45388e4671 == cache_frame_7022e09527243229d470de45388e4671 ) { Py_DECREF( frame_7022e09527243229d470de45388e4671 ); } cache_frame_7022e09527243229d470de45388e4671 = NULL; assertFrameObject( frame_7022e09527243229d470de45388e4671 ); // 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( urllib3$contrib$pyopenssl$$$function_11_settimeout ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_timeout ); par_timeout = 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_timeout ); par_timeout = 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( urllib3$contrib$pyopenssl$$$function_11_settimeout ); 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_urllib3$contrib$pyopenssl$$$function_12__send_until_done( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_data = python_pars[ 1 ]; PyObject *var_e = NULL; struct Nuitka_FrameObject *frame_d06bc7f5451d33661854961936e8154e; 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; 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; int tmp_res; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; bool tmp_result; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; static struct Nuitka_FrameObject *cache_frame_d06bc7f5451d33661854961936e8154e = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_d06bc7f5451d33661854961936e8154e, codeobj_d06bc7f5451d33661854961936e8154e, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d06bc7f5451d33661854961936e8154e = cache_frame_d06bc7f5451d33661854961936e8154e; // Push the new frame as the currently active one. pushFrameStack( frame_d06bc7f5451d33661854961936e8154e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d06bc7f5451d33661854961936e8154e ) == 2 ); // Frame stack // Framed code: { loop_start_1:; { // Tried code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_connection ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 308; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_send ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 308; type_description_1 = "ooo"; goto try_except_handler_2; } 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 = 308; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_args_element_name_1 = par_data; frame_d06bc7f5451d33661854961936e8154e->m_frame.f_lineno = 308; { 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 = 308; type_description_1 = "ooo"; goto try_except_handler_2; } goto frame_return_exit_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_12__send_until_done ); return NULL; // 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_d06bc7f5451d33661854961936e8154e, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_d06bc7f5451d33661854961936e8154e, 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_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 309; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_source_name_4 = tmp_mvar_value_1; tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_SSL ); if ( tmp_source_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 309; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_WantWriteError ); Py_DECREF( tmp_source_name_3 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 309; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( 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 = 309; type_description_1 = "ooo"; 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 branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_3; PyObject *tmp_called_instance_1; PyObject *tmp_source_name_7; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 310; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_source_name_5 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_wait_for_write ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 310; type_description_1 = "ooo"; goto try_except_handler_3; } if ( par_self == 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", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 310; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_source_name_6 = par_self; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_socket ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 310; type_description_1 = "ooo"; goto try_except_handler_3; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 310; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_source_name_7 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_socket ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_lineno = 310; type_description_1 = "ooo"; goto try_except_handler_3; } frame_d06bc7f5451d33661854961936e8154e->m_frame.f_lineno = 310; tmp_args_element_name_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_gettimeout ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_lineno = 310; type_description_1 = "ooo"; goto try_except_handler_3; } frame_d06bc7f5451d33661854961936e8154e->m_frame.f_lineno = 310; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 310; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 310; type_description_1 = "ooo"; goto try_except_handler_3; } 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_1; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_timeout ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_timeout ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "timeout" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 311; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_called_name_3 = tmp_mvar_value_3; frame_d06bc7f5451d33661854961936e8154e->m_frame.f_lineno = 311; tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS( tmp_called_name_3 ); if ( tmp_raise_type_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 311; type_description_1 = "ooo"; goto try_except_handler_3; } exception_type = tmp_raise_type_1; exception_lineno = 311; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto try_except_handler_3; } branch_no_2:; } { goto try_continue_handler_3; } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_8; PyObject *tmp_source_name_9; PyObject *tmp_mvar_value_4; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 313; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_source_name_9 = tmp_mvar_value_4; tmp_source_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_SSL ); if ( tmp_source_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 313; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_SysCallError ); Py_DECREF( tmp_source_name_8 ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 313; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_2, tmp_compexpr_right_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 = 313; type_description_1 = "ooo"; 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_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_1; tmp_assign_source_1 = EXC_VALUE(PyThreadState_GET()); { PyObject *old = var_e; var_e = tmp_assign_source_1; Py_INCREF( var_e ); Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_raise_type_2; PyObject *tmp_called_name_4; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_4; PyObject *tmp_unicode_arg_1; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_SocketError ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SocketError ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "SocketError" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 314; type_description_1 = "ooo"; goto try_except_handler_4; } tmp_called_name_4 = tmp_mvar_value_5; CHECK_OBJECT( var_e ); tmp_unicode_arg_1 = var_e; tmp_args_element_name_4 = PyObject_Unicode( tmp_unicode_arg_1 ); if ( tmp_args_element_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 314; type_description_1 = "ooo"; goto try_except_handler_4; } frame_d06bc7f5451d33661854961936e8154e->m_frame.f_lineno = 314; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_args_element_name_4 ); if ( tmp_raise_type_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 314; type_description_1 = "ooo"; goto try_except_handler_4; } exception_type = tmp_raise_type_2; exception_lineno = 314; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto try_except_handler_4; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_12__send_until_done ); return NULL; // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( var_e ); var_e = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_3; } // End of try: } goto branch_end_3; branch_no_3:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 307; } if (exception_tb && exception_tb->tb_frame == &frame_d06bc7f5451d33661854961936e8154e->m_frame) frame_d06bc7f5451d33661854961936e8154e->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooo"; goto try_except_handler_3; } branch_end_3:; } branch_end_1:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_12__send_until_done ); return NULL; // Exception handler code: try_except_handler_3:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // try continue handler code: try_continue_handler_3:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { goto loop_start_1; } // End of try: } // End of try: } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 306; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto loop_start_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d06bc7f5451d33661854961936e8154e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d06bc7f5451d33661854961936e8154e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d06bc7f5451d33661854961936e8154e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d06bc7f5451d33661854961936e8154e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d06bc7f5451d33661854961936e8154e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d06bc7f5451d33661854961936e8154e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d06bc7f5451d33661854961936e8154e, type_description_1, par_self, par_data, var_e ); // Release cached frame. if ( frame_d06bc7f5451d33661854961936e8154e == cache_frame_d06bc7f5451d33661854961936e8154e ) { Py_DECREF( frame_d06bc7f5451d33661854961936e8154e ); } cache_frame_d06bc7f5451d33661854961936e8154e = NULL; assertFrameObject( frame_d06bc7f5451d33661854961936e8154e ); // 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( urllib3$contrib$pyopenssl$$$function_12__send_until_done ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( var_e ); var_e = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( var_e ); var_e = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_12__send_until_done ); 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_urllib3$contrib$pyopenssl$$$function_13_sendall( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_data = python_pars[ 1 ]; PyObject *var_total_sent = NULL; PyObject *var_sent = NULL; struct Nuitka_FrameObject *frame_27b35e7867b88d5b07b26e00d407a030; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_27b35e7867b88d5b07b26e00d407a030 = 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. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = const_int_0; assert( var_total_sent == NULL ); Py_INCREF( tmp_assign_source_1 ); var_total_sent = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_27b35e7867b88d5b07b26e00d407a030, codeobj_27b35e7867b88d5b07b26e00d407a030, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_27b35e7867b88d5b07b26e00d407a030 = cache_frame_27b35e7867b88d5b07b26e00d407a030; // Push the new frame as the currently active one. pushFrameStack( frame_27b35e7867b88d5b07b26e00d407a030 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_27b35e7867b88d5b07b26e00d407a030 ) == 2 ); // Frame stack // Framed code: { loop_start_1:; { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; if ( var_total_sent == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "total_sent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 318; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_total_sent; CHECK_OBJECT( par_data ); tmp_len_arg_1 = par_data; tmp_compexpr_right_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 318; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = RICH_COMPARE_LT( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 318; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 318; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { goto loop_end_1; } branch_no_1:; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_step_name_1; 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 = 319; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__send_until_done ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 319; type_description_1 = "oooo"; 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 = 319; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = par_data; if ( var_total_sent == 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", "total_sent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 319; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_start_name_1 = var_total_sent; if ( var_total_sent == 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", "total_sent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 319; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_total_sent; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_SSL_WRITE_BLOCKSIZE ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SSL_WRITE_BLOCKSIZE ); } if ( tmp_mvar_value_1 == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "SSL_WRITE_BLOCKSIZE" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 319; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_1 = tmp_mvar_value_1; tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 319; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_args_element_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 319; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_27b35e7867b88d5b07b26e00d407a030->m_frame.f_lineno = 319; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 319; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = var_sent; var_sent = tmp_assign_source_2; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_3; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; if ( var_total_sent == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "total_sent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 320; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_total_sent; CHECK_OBJECT( var_sent ); tmp_right_name_2 = var_sent; tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_2, tmp_right_name_2 ); tmp_assign_source_3 = tmp_left_name_2; if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 320; type_description_1 = "oooo"; goto frame_exception_exit_1; } var_total_sent = tmp_assign_source_3; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 318; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_27b35e7867b88d5b07b26e00d407a030 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_27b35e7867b88d5b07b26e00d407a030 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_27b35e7867b88d5b07b26e00d407a030, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_27b35e7867b88d5b07b26e00d407a030->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_27b35e7867b88d5b07b26e00d407a030, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_27b35e7867b88d5b07b26e00d407a030, type_description_1, par_self, par_data, var_total_sent, var_sent ); // Release cached frame. if ( frame_27b35e7867b88d5b07b26e00d407a030 == cache_frame_27b35e7867b88d5b07b26e00d407a030 ) { Py_DECREF( frame_27b35e7867b88d5b07b26e00d407a030 ); } cache_frame_27b35e7867b88d5b07b26e00d407a030 = NULL; assertFrameObject( frame_27b35e7867b88d5b07b26e00d407a030 ); // 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( urllib3$contrib$pyopenssl$$$function_13_sendall ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( var_total_sent ); var_total_sent = NULL; } { Py_XDECREF( var_sent ); var_sent = 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_data ); par_data = NULL; } { Py_XDECREF( var_total_sent ); var_total_sent = NULL; } { Py_XDECREF( var_sent ); var_sent = 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( urllib3$contrib$pyopenssl$$$function_13_sendall ); 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_urllib3$contrib$pyopenssl$$$function_14_shutdown( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_cff2ca8671ee62ab66477f5d4b1503b0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_cff2ca8671ee62ab66477f5d4b1503b0 = 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_cff2ca8671ee62ab66477f5d4b1503b0, codeobj_cff2ca8671ee62ab66477f5d4b1503b0, module_urllib3$contrib$pyopenssl, sizeof(void *) ); frame_cff2ca8671ee62ab66477f5d4b1503b0 = cache_frame_cff2ca8671ee62ab66477f5d4b1503b0; // Push the new frame as the currently active one. pushFrameStack( frame_cff2ca8671ee62ab66477f5d4b1503b0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_cff2ca8671ee62ab66477f5d4b1503b0 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_connection ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 324; type_description_1 = "o"; goto frame_exception_exit_1; } frame_cff2ca8671ee62ab66477f5d4b1503b0->m_frame.f_lineno = 324; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_shutdown ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 324; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_cff2ca8671ee62ab66477f5d4b1503b0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cff2ca8671ee62ab66477f5d4b1503b0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_cff2ca8671ee62ab66477f5d4b1503b0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_cff2ca8671ee62ab66477f5d4b1503b0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_cff2ca8671ee62ab66477f5d4b1503b0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_cff2ca8671ee62ab66477f5d4b1503b0, type_description_1, par_self ); // Release cached frame. if ( frame_cff2ca8671ee62ab66477f5d4b1503b0 == cache_frame_cff2ca8671ee62ab66477f5d4b1503b0 ) { Py_DECREF( frame_cff2ca8671ee62ab66477f5d4b1503b0 ); } cache_frame_cff2ca8671ee62ab66477f5d4b1503b0 = NULL; assertFrameObject( frame_cff2ca8671ee62ab66477f5d4b1503b0 ); // 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( urllib3$contrib$pyopenssl$$$function_14_shutdown ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_14_shutdown ); 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_urllib3$contrib$pyopenssl$$$function_15_close( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *tmp_inplace_assign_attr_1__end = NULL; PyObject *tmp_inplace_assign_attr_1__start = NULL; struct Nuitka_FrameObject *frame_006116280f6f9b597b96f27a1160cf8a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_006116280f6f9b597b96f27a1160cf8a = 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_006116280f6f9b597b96f27a1160cf8a, codeobj_006116280f6f9b597b96f27a1160cf8a, module_urllib3$contrib$pyopenssl, sizeof(void *) ); frame_006116280f6f9b597b96f27a1160cf8a = cache_frame_006116280f6f9b597b96f27a1160cf8a; // Push the new frame as the currently active one. pushFrameStack( frame_006116280f6f9b597b96f27a1160cf8a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_006116280f6f9b597b96f27a1160cf8a ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__makefile_refs ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 327; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_pos_1; 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 = 327; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { // Tried code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = Py_True; 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 = 329; type_description_1 = "o"; goto try_except_handler_2; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__closed, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 329; type_description_1 = "o"; goto try_except_handler_2; } } { PyObject *tmp_called_instance_1; PyObject *tmp_source_name_2; 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 = 330; type_description_1 = "o"; goto try_except_handler_2; } tmp_source_name_2 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_connection ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 330; type_description_1 = "o"; goto try_except_handler_2; } frame_006116280f6f9b597b96f27a1160cf8a->m_frame.f_lineno = 330; tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_close ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 330; type_description_1 = "o"; goto try_except_handler_2; } goto frame_return_exit_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_15_close ); return NULL; // 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_006116280f6f9b597b96f27a1160cf8a, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_006116280f6f9b597b96f27a1160cf8a, exception_keeper_lineno_1 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 ); PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); } { // Tried code: { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_1; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 331; type_description_1 = "o"; goto try_except_handler_3; } tmp_source_name_4 = tmp_mvar_value_1; tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_SSL ); if ( tmp_source_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 331; type_description_1 = "o"; goto try_except_handler_3; } tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_Error ); Py_DECREF( tmp_source_name_3 ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 331; type_description_1 = "o"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_2, tmp_compexpr_right_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 = 331; type_description_1 = "o"; goto try_except_handler_3; } 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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_3; } goto branch_end_2; branch_no_2:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 328; } if (exception_tb && exception_tb->tb_frame == &frame_006116280f6f9b597b96f27a1160cf8a->m_frame) frame_006116280f6f9b597b96f27a1160cf8a->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "o"; goto try_except_handler_3; } branch_end_2:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_15_close ); return NULL; // Return handler code: try_return_handler_3:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. 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: } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_5; 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 = 334; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__makefile_refs ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 334; type_description_1 = "o"; goto frame_exception_exit_1; } assert( tmp_inplace_assign_attr_1__start == NULL ); tmp_inplace_assign_attr_1__start = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__start ); tmp_left_name_1 = tmp_inplace_assign_attr_1__start; tmp_right_name_1 = const_int_pos_1; tmp_assign_source_2 = BINARY_OPERATION( PyNumber_InPlaceSubtract, tmp_left_name_1, tmp_right_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 334; type_description_1 = "o"; goto try_except_handler_4; } assert( tmp_inplace_assign_attr_1__end == NULL ); tmp_inplace_assign_attr_1__end = tmp_assign_source_2; } { // Tried code: { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; CHECK_OBJECT( tmp_inplace_assign_attr_1__end ); tmp_assattr_name_2 = tmp_inplace_assign_attr_1__end; 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 = 334; type_description_1 = "o"; goto try_except_handler_5; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__makefile_refs, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 334; type_description_1 = "o"; goto try_except_handler_5; } } goto try_end_1; // 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_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = 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_1:; } goto try_end_2; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = NULL; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = NULL; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_006116280f6f9b597b96f27a1160cf8a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_006116280f6f9b597b96f27a1160cf8a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_006116280f6f9b597b96f27a1160cf8a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_006116280f6f9b597b96f27a1160cf8a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_006116280f6f9b597b96f27a1160cf8a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_006116280f6f9b597b96f27a1160cf8a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_006116280f6f9b597b96f27a1160cf8a, type_description_1, par_self ); // Release cached frame. if ( frame_006116280f6f9b597b96f27a1160cf8a == cache_frame_006116280f6f9b597b96f27a1160cf8a ) { Py_DECREF( frame_006116280f6f9b597b96f27a1160cf8a ); } cache_frame_006116280f6f9b597b96f27a1160cf8a = NULL; assertFrameObject( frame_006116280f6f9b597b96f27a1160cf8a ); // 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( urllib3$contrib$pyopenssl$$$function_15_close ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_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_self ); par_self = 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( urllib3$contrib$pyopenssl$$$function_15_close ); 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_urllib3$contrib$pyopenssl$$$function_16_getpeercert( 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_binary_form = python_pars[ 1 ]; PyObject *var_x509 = NULL; struct Nuitka_FrameObject *frame_dec2f8b1a40a5cddb789a084c26328e1; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_dec2f8b1a40a5cddb789a084c26328e1 = 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_dec2f8b1a40a5cddb789a084c26328e1, codeobj_dec2f8b1a40a5cddb789a084c26328e1, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_dec2f8b1a40a5cddb789a084c26328e1 = cache_frame_dec2f8b1a40a5cddb789a084c26328e1; // Push the new frame as the currently active one. pushFrameStack( frame_dec2f8b1a40a5cddb789a084c26328e1 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_dec2f8b1a40a5cddb789a084c26328e1 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_connection ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_dec2f8b1a40a5cddb789a084c26328e1->m_frame.f_lineno = 337; tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_get_peer_certificate ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_x509 == NULL ); var_x509 = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; CHECK_OBJECT( var_x509 ); tmp_operand_name_1 = var_x509; 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 = 339; type_description_1 = "ooo"; 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:; { if ( var_x509 == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "x509" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 340; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = var_x509; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; if ( par_binary_form == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "binary_form" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 342; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( par_binary_form ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 342; type_description_1 = "ooo"; 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_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 343; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_1; tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_crypto ); if ( tmp_source_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 343; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_dump_certificate ); Py_DECREF( tmp_source_name_2 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 343; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 344; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_2; tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_crypto ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 344; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_FILETYPE_ASN1 ); Py_DECREF( tmp_source_name_4 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 344; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( var_x509 == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "x509" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 345; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_x509; frame_dec2f8b1a40a5cddb789a084c26328e1->m_frame.f_lineno = 343; { 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 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 343; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_2:; } { PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_tuple_element_1; PyObject *tmp_tuple_element_2; PyObject *tmp_tuple_element_3; PyObject *tmp_source_name_6; PyObject *tmp_called_instance_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_3; tmp_dict_key_1 = const_str_plain_subject; tmp_tuple_element_3 = const_str_plain_commonName; tmp_tuple_element_2 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_tuple_element_2, 0, tmp_tuple_element_3 ); if ( var_x509 == NULL ) { Py_DECREF( tmp_tuple_element_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "x509" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 349; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = var_x509; frame_dec2f8b1a40a5cddb789a084c26328e1->m_frame.f_lineno = 349; tmp_source_name_6 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_get_subject ); if ( tmp_source_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_tuple_element_2 ); exception_lineno = 349; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_CN ); Py_DECREF( tmp_source_name_6 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_tuple_element_2 ); exception_lineno = 349; type_description_1 = "ooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_tuple_element_2, 1, tmp_tuple_element_3 ); tmp_tuple_element_1 = PyTuple_New( 1 ); PyTuple_SET_ITEM( tmp_tuple_element_1, 0, tmp_tuple_element_2 ); tmp_dict_value_1 = PyTuple_New( 1 ); PyTuple_SET_ITEM( tmp_dict_value_1, 0, tmp_tuple_element_1 ); tmp_return_value = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem( tmp_return_value, tmp_dict_key_1, tmp_dict_value_1 ); Py_DECREF( tmp_dict_value_1 ); assert( !(tmp_res != 0) ); tmp_dict_key_2 = const_str_plain_subjectAltName; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_get_subj_alt_name ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_get_subj_alt_name ); } if ( tmp_mvar_value_3 == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "get_subj_alt_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 351; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_3; if ( var_x509 == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "x509" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 351; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = var_x509; frame_dec2f8b1a40a5cddb789a084c26328e1->m_frame.f_lineno = 351; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_dict_value_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } if ( tmp_dict_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_return_value ); exception_lineno = 351; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_res = PyDict_SetItem( tmp_return_value, tmp_dict_key_2, tmp_dict_value_2 ); Py_DECREF( tmp_dict_value_2 ); assert( !(tmp_res != 0) ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_dec2f8b1a40a5cddb789a084c26328e1 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dec2f8b1a40a5cddb789a084c26328e1 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dec2f8b1a40a5cddb789a084c26328e1 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_dec2f8b1a40a5cddb789a084c26328e1, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_dec2f8b1a40a5cddb789a084c26328e1->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_dec2f8b1a40a5cddb789a084c26328e1, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_dec2f8b1a40a5cddb789a084c26328e1, type_description_1, par_self, par_binary_form, var_x509 ); // Release cached frame. if ( frame_dec2f8b1a40a5cddb789a084c26328e1 == cache_frame_dec2f8b1a40a5cddb789a084c26328e1 ) { Py_DECREF( frame_dec2f8b1a40a5cddb789a084c26328e1 ); } cache_frame_dec2f8b1a40a5cddb789a084c26328e1 = NULL; assertFrameObject( frame_dec2f8b1a40a5cddb789a084c26328e1 ); // 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( urllib3$contrib$pyopenssl$$$function_16_getpeercert ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_binary_form ); par_binary_form = NULL; } { Py_XDECREF( var_x509 ); var_x509 = 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_binary_form ); par_binary_form = NULL; } { Py_XDECREF( var_x509 ); var_x509 = 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( urllib3$contrib$pyopenssl$$$function_16_getpeercert ); 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_urllib3$contrib$pyopenssl$$$function_17__reuse( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *tmp_inplace_assign_attr_1__end = NULL; PyObject *tmp_inplace_assign_attr_1__start = NULL; struct Nuitka_FrameObject *frame_a66803cb8834bab277358366d31277c7; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_a66803cb8834bab277358366d31277c7 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_a66803cb8834bab277358366d31277c7, codeobj_a66803cb8834bab277358366d31277c7, module_urllib3$contrib$pyopenssl, sizeof(void *) ); frame_a66803cb8834bab277358366d31277c7 = cache_frame_a66803cb8834bab277358366d31277c7; // Push the new frame as the currently active one. pushFrameStack( frame_a66803cb8834bab277358366d31277c7 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a66803cb8834bab277358366d31277c7 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__makefile_refs ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 355; type_description_1 = "o"; goto frame_exception_exit_1; } assert( tmp_inplace_assign_attr_1__start == NULL ); tmp_inplace_assign_attr_1__start = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__start ); tmp_left_name_1 = tmp_inplace_assign_attr_1__start; tmp_right_name_1 = const_int_pos_1; tmp_assign_source_2 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_1, tmp_right_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 355; type_description_1 = "o"; goto try_except_handler_2; } assert( tmp_inplace_assign_attr_1__end == NULL ); tmp_inplace_assign_attr_1__end = tmp_assign_source_2; } { // Tried code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__end ); tmp_assattr_name_1 = tmp_inplace_assign_attr_1__end; 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 = 355; type_description_1 = "o"; goto try_except_handler_3; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__makefile_refs, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 355; type_description_1 = "o"; 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_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = 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; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = 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:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_a66803cb8834bab277358366d31277c7 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a66803cb8834bab277358366d31277c7 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a66803cb8834bab277358366d31277c7, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a66803cb8834bab277358366d31277c7->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a66803cb8834bab277358366d31277c7, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a66803cb8834bab277358366d31277c7, type_description_1, par_self ); // Release cached frame. if ( frame_a66803cb8834bab277358366d31277c7 == cache_frame_a66803cb8834bab277358366d31277c7 ) { Py_DECREF( frame_a66803cb8834bab277358366d31277c7 ); } cache_frame_a66803cb8834bab277358366d31277c7 = NULL; assertFrameObject( frame_a66803cb8834bab277358366d31277c7 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = NULL; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = NULL; } { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_17__reuse ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_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_self ); par_self = 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( urllib3$contrib$pyopenssl$$$function_17__reuse ); 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_urllib3$contrib$pyopenssl$$$function_18__drop( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *tmp_inplace_assign_attr_1__end = NULL; PyObject *tmp_inplace_assign_attr_1__start = NULL; struct Nuitka_FrameObject *frame_eeb074384ab9223ee1b6f9ccf7f65a18; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_eeb074384ab9223ee1b6f9ccf7f65a18 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_eeb074384ab9223ee1b6f9ccf7f65a18, codeobj_eeb074384ab9223ee1b6f9ccf7f65a18, module_urllib3$contrib$pyopenssl, sizeof(void *) ); frame_eeb074384ab9223ee1b6f9ccf7f65a18 = cache_frame_eeb074384ab9223ee1b6f9ccf7f65a18; // Push the new frame as the currently active one. pushFrameStack( frame_eeb074384ab9223ee1b6f9ccf7f65a18 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_eeb074384ab9223ee1b6f9ccf7f65a18 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__makefile_refs ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 358; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_pos_1; 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 = 358; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_instance_1; 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 = 359; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; frame_eeb074384ab9223ee1b6f9ccf7f65a18->m_frame.f_lineno = 359; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_close ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 359; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_2; 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 = 361; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__makefile_refs ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 361; type_description_1 = "o"; goto frame_exception_exit_1; } assert( tmp_inplace_assign_attr_1__start == NULL ); tmp_inplace_assign_attr_1__start = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__start ); tmp_left_name_1 = tmp_inplace_assign_attr_1__start; tmp_right_name_1 = const_int_pos_1; tmp_assign_source_2 = BINARY_OPERATION( PyNumber_InPlaceSubtract, tmp_left_name_1, tmp_right_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 361; type_description_1 = "o"; goto try_except_handler_2; } assert( tmp_inplace_assign_attr_1__end == NULL ); tmp_inplace_assign_attr_1__end = tmp_assign_source_2; } { // Tried code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__end ); tmp_assattr_name_1 = tmp_inplace_assign_attr_1__end; 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 = 361; type_description_1 = "o"; goto try_except_handler_3; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__makefile_refs, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 361; type_description_1 = "o"; 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_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = 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; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = 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_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = NULL; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = NULL; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_eeb074384ab9223ee1b6f9ccf7f65a18 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_eeb074384ab9223ee1b6f9ccf7f65a18 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_eeb074384ab9223ee1b6f9ccf7f65a18, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_eeb074384ab9223ee1b6f9ccf7f65a18->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_eeb074384ab9223ee1b6f9ccf7f65a18, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_eeb074384ab9223ee1b6f9ccf7f65a18, type_description_1, par_self ); // Release cached frame. if ( frame_eeb074384ab9223ee1b6f9ccf7f65a18 == cache_frame_eeb074384ab9223ee1b6f9ccf7f65a18 ) { Py_DECREF( frame_eeb074384ab9223ee1b6f9ccf7f65a18 ); } cache_frame_eeb074384ab9223ee1b6f9ccf7f65a18 = NULL; assertFrameObject( frame_eeb074384ab9223ee1b6f9ccf7f65a18 ); // 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( urllib3$contrib$pyopenssl$$$function_18__drop ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_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_self ); par_self = 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( urllib3$contrib$pyopenssl$$$function_18__drop ); 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_urllib3$contrib$pyopenssl$$$function_19_makefile( 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_mode = python_pars[ 1 ]; PyObject *par_bufsize = python_pars[ 2 ]; PyObject *tmp_inplace_assign_attr_1__end = NULL; PyObject *tmp_inplace_assign_attr_1__start = NULL; struct Nuitka_FrameObject *frame_a0cfd0b7582b32d474a311870d099c2a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; 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_a0cfd0b7582b32d474a311870d099c2a = 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_a0cfd0b7582b32d474a311870d099c2a, codeobj_a0cfd0b7582b32d474a311870d099c2a, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_a0cfd0b7582b32d474a311870d099c2a = cache_frame_a0cfd0b7582b32d474a311870d099c2a; // Push the new frame as the currently active one. pushFrameStack( frame_a0cfd0b7582b32d474a311870d099c2a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a0cfd0b7582b32d474a311870d099c2a ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__makefile_refs ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 366; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( tmp_inplace_assign_attr_1__start == NULL ); tmp_inplace_assign_attr_1__start = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__start ); tmp_left_name_1 = tmp_inplace_assign_attr_1__start; tmp_right_name_1 = const_int_pos_1; tmp_assign_source_2 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_1, tmp_right_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 366; type_description_1 = "ooo"; goto try_except_handler_2; } assert( tmp_inplace_assign_attr_1__end == NULL ); tmp_inplace_assign_attr_1__end = tmp_assign_source_2; } { // Tried code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__end ); tmp_assattr_name_1 = tmp_inplace_assign_attr_1__end; 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 = 366; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__makefile_refs, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 366; type_description_1 = "ooo"; 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_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = 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; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = 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_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = NULL; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = NULL; } { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kw_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__fileobject ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__fileobject ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_fileobject" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 367; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; 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 = 367; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_self; tmp_args_name_1 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 ); if ( par_mode == NULL ) { Py_DECREF( tmp_args_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "mode" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 367; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_mode; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 ); if ( par_bufsize == NULL ) { Py_DECREF( tmp_args_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bufsize" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 367; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_bufsize; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 2, tmp_tuple_element_1 ); tmp_kw_name_1 = PyDict_Copy( const_dict_e24f4d9d6e3eb6f736872abe66cd35c1 ); frame_a0cfd0b7582b32d474a311870d099c2a->m_frame.f_lineno = 367; tmp_return_value = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_args_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 367; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_a0cfd0b7582b32d474a311870d099c2a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a0cfd0b7582b32d474a311870d099c2a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a0cfd0b7582b32d474a311870d099c2a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a0cfd0b7582b32d474a311870d099c2a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a0cfd0b7582b32d474a311870d099c2a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a0cfd0b7582b32d474a311870d099c2a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a0cfd0b7582b32d474a311870d099c2a, type_description_1, par_self, par_mode, par_bufsize ); // Release cached frame. if ( frame_a0cfd0b7582b32d474a311870d099c2a == cache_frame_a0cfd0b7582b32d474a311870d099c2a ) { Py_DECREF( frame_a0cfd0b7582b32d474a311870d099c2a ); } cache_frame_a0cfd0b7582b32d474a311870d099c2a = NULL; assertFrameObject( frame_a0cfd0b7582b32d474a311870d099c2a ); // 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( urllib3$contrib$pyopenssl$$$function_19_makefile ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_mode ); par_mode = NULL; } { Py_XDECREF( par_bufsize ); par_bufsize = 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_self ); par_self = NULL; } { Py_XDECREF( par_mode ); par_mode = NULL; } { Py_XDECREF( par_bufsize ); par_bufsize = 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( urllib3$contrib$pyopenssl$$$function_19_makefile ); 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_urllib3$contrib$pyopenssl$$$function_20___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_protocol = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_a8898583adb89935f532efeed164b63b; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_a8898583adb89935f532efeed164b63b = 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_a8898583adb89935f532efeed164b63b, codeobj_a8898583adb89935f532efeed164b63b, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *) ); frame_a8898583adb89935f532efeed164b63b = cache_frame_a8898583adb89935f532efeed164b63b; // Push the new frame as the currently active one. pushFrameStack( frame_a8898583adb89935f532efeed164b63b ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a8898583adb89935f532efeed164b63b ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_subscript_name_1; PyObject *tmp_assattr_target_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__openssl_versions ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__openssl_versions ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_openssl_versions" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 381; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_protocol ); tmp_subscript_name_1 = par_protocol; tmp_assattr_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 381; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 381; 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_protocol, tmp_assattr_name_1 ); Py_DECREF( tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 381; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_3; PyObject *tmp_assattr_target_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 382; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_SSL ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 382; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_Context ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 382; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 382; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_protocol ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 382; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_a8898583adb89935f532efeed164b63b->m_frame.f_lineno = 382; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assattr_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_assattr_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 382; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 382; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__ctx, tmp_assattr_name_2 ); Py_DECREF( tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 382; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; tmp_assattr_name_3 = const_int_0; 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 = 383; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain__options, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 383; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; tmp_assattr_name_4 = Py_False; 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 = 384; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_check_hostname, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 384; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_a8898583adb89935f532efeed164b63b ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a8898583adb89935f532efeed164b63b ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a8898583adb89935f532efeed164b63b, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a8898583adb89935f532efeed164b63b->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a8898583adb89935f532efeed164b63b, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a8898583adb89935f532efeed164b63b, type_description_1, par_self, par_protocol ); // Release cached frame. if ( frame_a8898583adb89935f532efeed164b63b == cache_frame_a8898583adb89935f532efeed164b63b ) { Py_DECREF( frame_a8898583adb89935f532efeed164b63b ); } cache_frame_a8898583adb89935f532efeed164b63b = NULL; assertFrameObject( frame_a8898583adb89935f532efeed164b63b ); // 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( urllib3$contrib$pyopenssl$$$function_20___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_protocol ); par_protocol = 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_protocol ); par_protocol = 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( urllib3$contrib$pyopenssl$$$function_20___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_urllib3$contrib$pyopenssl$$$function_21_options( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_54e7a444296a39b6a45cf22cb3619d44; 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_54e7a444296a39b6a45cf22cb3619d44 = 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_54e7a444296a39b6a45cf22cb3619d44, codeobj_54e7a444296a39b6a45cf22cb3619d44, module_urllib3$contrib$pyopenssl, sizeof(void *) ); frame_54e7a444296a39b6a45cf22cb3619d44 = cache_frame_54e7a444296a39b6a45cf22cb3619d44; // Push the new frame as the currently active one. pushFrameStack( frame_54e7a444296a39b6a45cf22cb3619d44 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_54e7a444296a39b6a45cf22cb3619d44 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__options ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 388; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_54e7a444296a39b6a45cf22cb3619d44 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_54e7a444296a39b6a45cf22cb3619d44 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_54e7a444296a39b6a45cf22cb3619d44 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_54e7a444296a39b6a45cf22cb3619d44, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_54e7a444296a39b6a45cf22cb3619d44->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_54e7a444296a39b6a45cf22cb3619d44, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_54e7a444296a39b6a45cf22cb3619d44, type_description_1, par_self ); // Release cached frame. if ( frame_54e7a444296a39b6a45cf22cb3619d44 == cache_frame_54e7a444296a39b6a45cf22cb3619d44 ) { Py_DECREF( frame_54e7a444296a39b6a45cf22cb3619d44 ); } cache_frame_54e7a444296a39b6a45cf22cb3619d44 = NULL; assertFrameObject( frame_54e7a444296a39b6a45cf22cb3619d44 ); // 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( urllib3$contrib$pyopenssl$$$function_21_options ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_21_options ); 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_urllib3$contrib$pyopenssl$$$function_22_options( 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_value = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_5ae303316bef2376b27ccdd7ee178779; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_5ae303316bef2376b27ccdd7ee178779 = 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_5ae303316bef2376b27ccdd7ee178779, codeobj_5ae303316bef2376b27ccdd7ee178779, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *) ); frame_5ae303316bef2376b27ccdd7ee178779 = cache_frame_5ae303316bef2376b27ccdd7ee178779; // Push the new frame as the currently active one. pushFrameStack( frame_5ae303316bef2376b27ccdd7ee178779 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5ae303316bef2376b27ccdd7ee178779 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( par_value ); tmp_assattr_name_1 = par_value; CHECK_OBJECT( par_self ); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__options, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 392; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; 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 = 393; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__ctx ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 393; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_set_options ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 393; 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 = 393; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_value; frame_5ae303316bef2376b27ccdd7ee178779->m_frame.f_lineno = 393; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 393; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_5ae303316bef2376b27ccdd7ee178779 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5ae303316bef2376b27ccdd7ee178779 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5ae303316bef2376b27ccdd7ee178779, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5ae303316bef2376b27ccdd7ee178779->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5ae303316bef2376b27ccdd7ee178779, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5ae303316bef2376b27ccdd7ee178779, type_description_1, par_self, par_value ); // Release cached frame. if ( frame_5ae303316bef2376b27ccdd7ee178779 == cache_frame_5ae303316bef2376b27ccdd7ee178779 ) { Py_DECREF( frame_5ae303316bef2376b27ccdd7ee178779 ); } cache_frame_5ae303316bef2376b27ccdd7ee178779 = NULL; assertFrameObject( frame_5ae303316bef2376b27ccdd7ee178779 ); // 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( urllib3$contrib$pyopenssl$$$function_22_options ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_value ); par_value = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_value ); par_value = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_22_options ); 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_urllib3$contrib$pyopenssl$$$function_23_verify_mode( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_d04b8b1f785387291c54835711c30e89; 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_d04b8b1f785387291c54835711c30e89 = 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_d04b8b1f785387291c54835711c30e89, codeobj_d04b8b1f785387291c54835711c30e89, module_urllib3$contrib$pyopenssl, sizeof(void *) ); frame_d04b8b1f785387291c54835711c30e89 = cache_frame_d04b8b1f785387291c54835711c30e89; // Push the new frame as the currently active one. pushFrameStack( frame_d04b8b1f785387291c54835711c30e89 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d04b8b1f785387291c54835711c30e89 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_subscribed_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_subscript_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_source_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__openssl_to_stdlib_verify ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__openssl_to_stdlib_verify ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_openssl_to_stdlib_verify" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 397; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__ctx ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 397; type_description_1 = "o"; goto frame_exception_exit_1; } frame_d04b8b1f785387291c54835711c30e89->m_frame.f_lineno = 397; tmp_subscript_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_get_verify_mode ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_subscript_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 397; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 397; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d04b8b1f785387291c54835711c30e89 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d04b8b1f785387291c54835711c30e89 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d04b8b1f785387291c54835711c30e89 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d04b8b1f785387291c54835711c30e89, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d04b8b1f785387291c54835711c30e89->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d04b8b1f785387291c54835711c30e89, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d04b8b1f785387291c54835711c30e89, type_description_1, par_self ); // Release cached frame. if ( frame_d04b8b1f785387291c54835711c30e89 == cache_frame_d04b8b1f785387291c54835711c30e89 ) { Py_DECREF( frame_d04b8b1f785387291c54835711c30e89 ); } cache_frame_d04b8b1f785387291c54835711c30e89 = NULL; assertFrameObject( frame_d04b8b1f785387291c54835711c30e89 ); // 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( urllib3$contrib$pyopenssl$$$function_23_verify_mode ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_23_verify_mode ); 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_urllib3$contrib$pyopenssl$$$function_24_verify_mode( 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_value = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_f44dc8e7a3b21230db570306bd21f4a6; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_f44dc8e7a3b21230db570306bd21f4a6 = 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_f44dc8e7a3b21230db570306bd21f4a6, codeobj_f44dc8e7a3b21230db570306bd21f4a6, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *) ); frame_f44dc8e7a3b21230db570306bd21f4a6 = cache_frame_f44dc8e7a3b21230db570306bd21f4a6; // Push the new frame as the currently active one. pushFrameStack( frame_f44dc8e7a3b21230db570306bd21f4a6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f44dc8e7a3b21230db570306bd21f4a6 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_subscript_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_mvar_value_2; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__ctx ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_set_verify ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__stdlib_to_openssl_verify ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__stdlib_to_openssl_verify ); } if ( tmp_mvar_value_1 == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_stdlib_to_openssl_verify" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 402; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = tmp_mvar_value_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 = 402; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = par_value; tmp_args_element_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 402; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__verify_callback ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__verify_callback ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_verify_callback" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 403; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = tmp_mvar_value_2; frame_f44dc8e7a3b21230db570306bd21f4a6->m_frame.f_lineno = 401; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_f44dc8e7a3b21230db570306bd21f4a6 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f44dc8e7a3b21230db570306bd21f4a6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f44dc8e7a3b21230db570306bd21f4a6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f44dc8e7a3b21230db570306bd21f4a6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f44dc8e7a3b21230db570306bd21f4a6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f44dc8e7a3b21230db570306bd21f4a6, type_description_1, par_self, par_value ); // Release cached frame. if ( frame_f44dc8e7a3b21230db570306bd21f4a6 == cache_frame_f44dc8e7a3b21230db570306bd21f4a6 ) { Py_DECREF( frame_f44dc8e7a3b21230db570306bd21f4a6 ); } cache_frame_f44dc8e7a3b21230db570306bd21f4a6 = NULL; assertFrameObject( frame_f44dc8e7a3b21230db570306bd21f4a6 ); // 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( urllib3$contrib$pyopenssl$$$function_24_verify_mode ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_value ); par_value = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_value ); par_value = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_24_verify_mode ); 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_urllib3$contrib$pyopenssl$$$function_25_set_default_verify_paths( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_aa514d9ec7b4825edcdad4c13e231db5; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_aa514d9ec7b4825edcdad4c13e231db5 = 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_aa514d9ec7b4825edcdad4c13e231db5, codeobj_aa514d9ec7b4825edcdad4c13e231db5, module_urllib3$contrib$pyopenssl, sizeof(void *) ); frame_aa514d9ec7b4825edcdad4c13e231db5 = cache_frame_aa514d9ec7b4825edcdad4c13e231db5; // Push the new frame as the currently active one. pushFrameStack( frame_aa514d9ec7b4825edcdad4c13e231db5 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_aa514d9ec7b4825edcdad4c13e231db5 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__ctx ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 407; type_description_1 = "o"; goto frame_exception_exit_1; } frame_aa514d9ec7b4825edcdad4c13e231db5->m_frame.f_lineno = 407; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_set_default_verify_paths ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 407; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_aa514d9ec7b4825edcdad4c13e231db5 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_aa514d9ec7b4825edcdad4c13e231db5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_aa514d9ec7b4825edcdad4c13e231db5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_aa514d9ec7b4825edcdad4c13e231db5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_aa514d9ec7b4825edcdad4c13e231db5, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_aa514d9ec7b4825edcdad4c13e231db5, type_description_1, par_self ); // Release cached frame. if ( frame_aa514d9ec7b4825edcdad4c13e231db5 == cache_frame_aa514d9ec7b4825edcdad4c13e231db5 ) { Py_DECREF( frame_aa514d9ec7b4825edcdad4c13e231db5 ); } cache_frame_aa514d9ec7b4825edcdad4c13e231db5 = NULL; assertFrameObject( frame_aa514d9ec7b4825edcdad4c13e231db5 ); // 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( urllib3$contrib$pyopenssl$$$function_25_set_default_verify_paths ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_25_set_default_verify_paths ); 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_urllib3$contrib$pyopenssl$$$function_26_set_ciphers( 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_ciphers = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_06456bd70f2bfecfc49eaf7b0e6d31cb; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_06456bd70f2bfecfc49eaf7b0e6d31cb = 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_06456bd70f2bfecfc49eaf7b0e6d31cb, codeobj_06456bd70f2bfecfc49eaf7b0e6d31cb, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *) ); frame_06456bd70f2bfecfc49eaf7b0e6d31cb = cache_frame_06456bd70f2bfecfc49eaf7b0e6d31cb; // Push the new frame as the currently active one. pushFrameStack( frame_06456bd70f2bfecfc49eaf7b0e6d31cb ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_06456bd70f2bfecfc49eaf7b0e6d31cb ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; CHECK_OBJECT( par_ciphers ); tmp_isinstance_inst_1 = par_ciphers; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_six ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_six ); } if ( tmp_mvar_value_1 == 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 = 410; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_text_type ); if ( tmp_isinstance_cls_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 410; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); Py_DECREF( tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 410; 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_assign_source_1; PyObject *tmp_called_instance_1; if ( par_ciphers == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ciphers" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 411; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_ciphers; frame_06456bd70f2bfecfc49eaf7b0e6d31cb->m_frame.f_lineno = 411; tmp_assign_source_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_tuple, 0 ) ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 411; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_ciphers; par_ciphers = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_1:; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_1; 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 = 412; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__ctx ); if ( tmp_source_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 412; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_set_cipher_list ); Py_DECREF( tmp_source_name_2 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 412; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_ciphers == 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", "ciphers" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 412; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_ciphers; frame_06456bd70f2bfecfc49eaf7b0e6d31cb->m_frame.f_lineno = 412; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 412; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_06456bd70f2bfecfc49eaf7b0e6d31cb ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_06456bd70f2bfecfc49eaf7b0e6d31cb ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_06456bd70f2bfecfc49eaf7b0e6d31cb, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_06456bd70f2bfecfc49eaf7b0e6d31cb->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_06456bd70f2bfecfc49eaf7b0e6d31cb, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_06456bd70f2bfecfc49eaf7b0e6d31cb, type_description_1, par_self, par_ciphers ); // Release cached frame. if ( frame_06456bd70f2bfecfc49eaf7b0e6d31cb == cache_frame_06456bd70f2bfecfc49eaf7b0e6d31cb ) { Py_DECREF( frame_06456bd70f2bfecfc49eaf7b0e6d31cb ); } cache_frame_06456bd70f2bfecfc49eaf7b0e6d31cb = NULL; assertFrameObject( frame_06456bd70f2bfecfc49eaf7b0e6d31cb ); // 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( urllib3$contrib$pyopenssl$$$function_26_set_ciphers ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_ciphers ); par_ciphers = 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_ciphers ); par_ciphers = 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( urllib3$contrib$pyopenssl$$$function_26_set_ciphers ); 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_urllib3$contrib$pyopenssl$$$function_27_load_verify_locations( 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_cafile = python_pars[ 1 ]; PyObject *par_capath = python_pars[ 2 ]; PyObject *par_cadata = python_pars[ 3 ]; struct Nuitka_FrameObject *frame_93cbe193b2213e556b5faf47b15cdc75; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_93cbe193b2213e556b5faf47b15cdc75 = 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_93cbe193b2213e556b5faf47b15cdc75, codeobj_93cbe193b2213e556b5faf47b15cdc75, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_93cbe193b2213e556b5faf47b15cdc75 = cache_frame_93cbe193b2213e556b5faf47b15cdc75; // Push the new frame as the currently active one. pushFrameStack( frame_93cbe193b2213e556b5faf47b15cdc75 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_93cbe193b2213e556b5faf47b15cdc75 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_cafile ); tmp_compexpr_left_1 = par_cafile; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; if ( par_cafile == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cafile" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 416; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_cafile; frame_93cbe193b2213e556b5faf47b15cdc75->m_frame.f_lineno = 416; tmp_assign_source_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_tuple, 0 ) ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 416; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = par_cafile; par_cafile = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( par_capath == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "capath" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 417; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = par_capath; tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = ( tmp_compexpr_left_2 != tmp_compexpr_right_2 ) ? 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_2; PyObject *tmp_called_instance_2; if ( par_capath == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "capath" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 418; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_capath; frame_93cbe193b2213e556b5faf47b15cdc75->m_frame.f_lineno = 418; tmp_assign_source_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_tuple, 0 ) ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 418; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = par_capath; par_capath = tmp_assign_source_2; Py_XDECREF( old ); } } branch_no_2:; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; 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 = 419; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__ctx ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 419; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_load_verify_locations ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 419; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_cafile == 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", "cafile" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 419; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_cafile; if ( par_capath == 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", "capath" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 419; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_capath; frame_93cbe193b2213e556b5faf47b15cdc75->m_frame.f_lineno = 419; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 419; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( par_cadata == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cadata" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 420; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = par_cadata; tmp_compexpr_right_3 = Py_None; tmp_condition_result_3 = ( tmp_compexpr_left_3 != tmp_compexpr_right_3 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_3; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 421; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__ctx ); if ( tmp_source_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 421; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_load_verify_locations ); Py_DECREF( tmp_source_name_3 ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 421; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_BytesIO ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BytesIO ); } if ( tmp_mvar_value_1 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "BytesIO" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 421; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_3 = tmp_mvar_value_1; if ( par_cadata == 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", "cadata" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 421; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_cadata; frame_93cbe193b2213e556b5faf47b15cdc75->m_frame.f_lineno = 421; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_args_element_name_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 421; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_93cbe193b2213e556b5faf47b15cdc75->m_frame.f_lineno = 421; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 421; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_3:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_93cbe193b2213e556b5faf47b15cdc75 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_93cbe193b2213e556b5faf47b15cdc75 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_93cbe193b2213e556b5faf47b15cdc75, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_93cbe193b2213e556b5faf47b15cdc75->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_93cbe193b2213e556b5faf47b15cdc75, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_93cbe193b2213e556b5faf47b15cdc75, type_description_1, par_self, par_cafile, par_capath, par_cadata ); // Release cached frame. if ( frame_93cbe193b2213e556b5faf47b15cdc75 == cache_frame_93cbe193b2213e556b5faf47b15cdc75 ) { Py_DECREF( frame_93cbe193b2213e556b5faf47b15cdc75 ); } cache_frame_93cbe193b2213e556b5faf47b15cdc75 = NULL; assertFrameObject( frame_93cbe193b2213e556b5faf47b15cdc75 ); // 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( urllib3$contrib$pyopenssl$$$function_27_load_verify_locations ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_cafile ); par_cafile = NULL; } { Py_XDECREF( par_capath ); par_capath = NULL; } { Py_XDECREF( par_cadata ); par_cadata = 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_cafile ); par_cafile = NULL; } { Py_XDECREF( par_capath ); par_capath = NULL; } { Py_XDECREF( par_cadata ); par_cadata = 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( urllib3$contrib$pyopenssl$$$function_27_load_verify_locations ); 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_urllib3$contrib$pyopenssl$$$function_28_load_cert_chain( 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_certfile = python_pars[ 1 ]; PyObject *par_keyfile = python_pars[ 2 ]; struct Nuitka_CellObject *par_password = PyCell_NEW1( python_pars[ 3 ] ); struct Nuitka_FrameObject *frame_51205a4aec2ce195d099c3c23b7041c8; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_51205a4aec2ce195d099c3c23b7041c8 = 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_51205a4aec2ce195d099c3c23b7041c8, codeobj_51205a4aec2ce195d099c3c23b7041c8, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_51205a4aec2ce195d099c3c23b7041c8 = cache_frame_51205a4aec2ce195d099c3c23b7041c8; // Push the new frame as the currently active one. pushFrameStack( frame_51205a4aec2ce195d099c3c23b7041c8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_51205a4aec2ce195d099c3c23b7041c8 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__ctx ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 424; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_use_certificate_chain_file ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 424; type_description_1 = "oooc"; goto frame_exception_exit_1; } if ( par_certfile == 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", "certfile" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 424; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_certfile; frame_51205a4aec2ce195d099c3c23b7041c8->m_frame.f_lineno = 424; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 424; type_description_1 = "oooc"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( PyCell_GET( 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 = 425; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = PyCell_GET( par_password ); tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_instance_1; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_2; 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 = 426; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__ctx ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 426; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_args_element_name_2 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_28_load_cert_chain$$$function_1_lambda( ); ((struct Nuitka_FunctionObject *)tmp_args_element_name_2)->m_closure[0] = par_password; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_args_element_name_2)->m_closure[0] ); frame_51205a4aec2ce195d099c3c23b7041c8->m_frame.f_lineno = 426; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_set_passwd_cb, call_args ); } Py_DECREF( tmp_called_instance_1 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 426; type_description_1 = "oooc"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_1:; } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_3; int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; 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 = 427; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__ctx ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 427; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_use_privatekey_file ); Py_DECREF( tmp_source_name_4 ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 427; type_description_1 = "oooc"; goto frame_exception_exit_1; } if ( par_keyfile == 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", "keyfile" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 427; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_or_left_value_1 = par_keyfile; tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 ); if ( tmp_or_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 427; type_description_1 = "oooc"; goto frame_exception_exit_1; } if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; if ( par_certfile == 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", "certfile" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 427; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_or_right_value_1 = par_certfile; tmp_args_element_name_3 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_args_element_name_3 = tmp_or_left_value_1; or_end_1:; frame_51205a4aec2ce195d099c3c23b7041c8->m_frame.f_lineno = 427; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 427; type_description_1 = "oooc"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_51205a4aec2ce195d099c3c23b7041c8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_51205a4aec2ce195d099c3c23b7041c8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_51205a4aec2ce195d099c3c23b7041c8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_51205a4aec2ce195d099c3c23b7041c8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_51205a4aec2ce195d099c3c23b7041c8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_51205a4aec2ce195d099c3c23b7041c8, type_description_1, par_self, par_certfile, par_keyfile, par_password ); // Release cached frame. if ( frame_51205a4aec2ce195d099c3c23b7041c8 == cache_frame_51205a4aec2ce195d099c3c23b7041c8 ) { Py_DECREF( frame_51205a4aec2ce195d099c3c23b7041c8 ); } cache_frame_51205a4aec2ce195d099c3c23b7041c8 = NULL; assertFrameObject( frame_51205a4aec2ce195d099c3c23b7041c8 ); // 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( urllib3$contrib$pyopenssl$$$function_28_load_cert_chain ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_certfile ); par_certfile = NULL; } { Py_XDECREF( par_keyfile ); par_keyfile = NULL; } { CHECK_OBJECT( (PyObject *)par_password ); Py_DECREF( 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_certfile ); par_certfile = NULL; } { Py_XDECREF( par_keyfile ); par_keyfile = NULL; } { CHECK_OBJECT( (PyObject *)par_password ); Py_DECREF( 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( urllib3$contrib$pyopenssl$$$function_28_load_cert_chain ); 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_urllib3$contrib$pyopenssl$$$function_28_load_cert_chain$$$function_1_lambda( 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_max_length = python_pars[ 0 ]; PyObject *par_prompt_twice = python_pars[ 1 ]; PyObject *par_userdata = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_d00d2dd46146f5f025313600b2ad8f4b; 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_d00d2dd46146f5f025313600b2ad8f4b = 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_d00d2dd46146f5f025313600b2ad8f4b, codeobj_d00d2dd46146f5f025313600b2ad8f4b, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d00d2dd46146f5f025313600b2ad8f4b = cache_frame_d00d2dd46146f5f025313600b2ad8f4b; // Push the new frame as the currently active one. pushFrameStack( frame_d00d2dd46146f5f025313600b2ad8f4b ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d00d2dd46146f5f025313600b2ad8f4b ) == 2 ); // Frame stack // Framed code: { if ( PyCell_GET( self->m_closure[0] ) == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "password" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 426; type_description_1 = "oooc"; goto frame_exception_exit_1; } tmp_return_value = PyCell_GET( self->m_closure[0] ); Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d00d2dd46146f5f025313600b2ad8f4b ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d00d2dd46146f5f025313600b2ad8f4b ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d00d2dd46146f5f025313600b2ad8f4b ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d00d2dd46146f5f025313600b2ad8f4b, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d00d2dd46146f5f025313600b2ad8f4b->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d00d2dd46146f5f025313600b2ad8f4b, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d00d2dd46146f5f025313600b2ad8f4b, type_description_1, par_max_length, par_prompt_twice, par_userdata, self->m_closure[0] ); // Release cached frame. if ( frame_d00d2dd46146f5f025313600b2ad8f4b == cache_frame_d00d2dd46146f5f025313600b2ad8f4b ) { Py_DECREF( frame_d00d2dd46146f5f025313600b2ad8f4b ); } cache_frame_d00d2dd46146f5f025313600b2ad8f4b = NULL; assertFrameObject( frame_d00d2dd46146f5f025313600b2ad8f4b ); // 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( urllib3$contrib$pyopenssl$$$function_28_load_cert_chain$$$function_1_lambda ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_max_length ); Py_DECREF( par_max_length ); par_max_length = NULL; } { Py_XDECREF( par_prompt_twice ); par_prompt_twice = NULL; } { Py_XDECREF( par_userdata ); par_userdata = 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; { CHECK_OBJECT( (PyObject *)par_max_length ); Py_DECREF( par_max_length ); par_max_length = NULL; } { Py_XDECREF( par_prompt_twice ); par_prompt_twice = NULL; } { Py_XDECREF( par_userdata ); par_userdata = 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( urllib3$contrib$pyopenssl$$$function_28_load_cert_chain$$$function_1_lambda ); 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_urllib3$contrib$pyopenssl$$$function_29_wrap_socket( 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_sock = python_pars[ 1 ]; PyObject *par_server_side = python_pars[ 2 ]; PyObject *par_do_handshake_on_connect = python_pars[ 3 ]; PyObject *par_suppress_ragged_eofs = python_pars[ 4 ]; PyObject *par_server_hostname = python_pars[ 5 ]; PyObject *var_cnx = NULL; PyObject *var_e = NULL; struct Nuitka_FrameObject *frame_7147d7ad6c9c675bc00ff2d2c2dd9546; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; bool tmp_result; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_7147d7ad6c9c675bc00ff2d2c2dd9546 = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_7147d7ad6c9c675bc00ff2d2c2dd9546, codeobj_7147d7ad6c9c675bc00ff2d2c2dd9546, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_7147d7ad6c9c675bc00ff2d2c2dd9546 = cache_frame_7147d7ad6c9c675bc00ff2d2c2dd9546; // Push the new frame as the currently active one. pushFrameStack( frame_7147d7ad6c9c675bc00ff2d2c2dd9546 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7147d7ad6c9c675bc00ff2d2c2dd9546 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 432; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_1; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_SSL ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 432; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_Connection ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 432; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 432; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__ctx ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 432; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_sock == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sock" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 432; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_sock; frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame.f_lineno = 432; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 432; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert( var_cnx == NULL ); var_cnx = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_2; if ( par_server_hostname == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "server_hostname" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 434; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_1 = par_server_hostname; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (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 = 434; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_2; tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_text_type ); if ( tmp_isinstance_cls_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 434; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); Py_DECREF( tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 434; 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_assign_source_2; PyObject *tmp_called_instance_1; if ( par_server_hostname == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "server_hostname" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 435; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_server_hostname; frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame.f_lineno = 435; tmp_assign_source_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_tuple, 0 ) ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 435; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_server_hostname; par_server_hostname = tmp_assign_source_2; Py_XDECREF( old ); } } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( par_server_hostname == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "server_hostname" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 437; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = par_server_hostname; tmp_compexpr_right_1 = Py_None; tmp_condition_result_2 = ( tmp_compexpr_left_1 != tmp_compexpr_right_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_called_name_2; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_3; if ( var_cnx == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cnx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 438; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = var_cnx; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_set_tlsext_host_name ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 438; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_server_hostname == 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", "server_hostname" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 438; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_server_hostname; frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame.f_lineno = 438; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 438; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_2:; } { PyObject *tmp_called_instance_2; if ( var_cnx == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cnx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 440; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = var_cnx; frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame.f_lineno = 440; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_set_connect_state ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 440; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { loop_start_1:; { // Tried code: { PyObject *tmp_called_instance_3; if ( var_cnx == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cnx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 444; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_called_instance_3 = var_cnx; frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame.f_lineno = 444; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_do_handshake ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 444; type_description_1 = "oooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } 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_7147d7ad6c9c675bc00ff2d2c2dd9546, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_7147d7ad6c9c675bc00ff2d2c2dd9546, 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_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_6; PyObject *tmp_source_name_7; PyObject *tmp_mvar_value_3; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 445; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_source_name_7 = tmp_mvar_value_3; tmp_source_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_SSL ); if ( tmp_source_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 445; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_WantReadError ); Py_DECREF( tmp_source_name_6 ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 445; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_2, tmp_compexpr_right_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 = 445; type_description_1 = "oooooooo"; 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_3; } else { goto branch_no_3; } branch_yes_3:; { nuitka_bool tmp_condition_result_4; PyObject *tmp_operand_name_1; PyObject *tmp_called_name_3; PyObject *tmp_source_name_8; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_called_instance_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 446; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_source_name_8 = tmp_mvar_value_4; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_wait_for_read ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 446; type_description_1 = "oooooooo"; goto try_except_handler_3; } if ( par_sock == 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", "sock" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 446; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_args_element_name_4 = par_sock; if ( par_sock == 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", "sock" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 446; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_called_instance_4 = par_sock; frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame.f_lineno = 446; tmp_args_element_name_5 = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_gettimeout ); if ( tmp_args_element_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 446; type_description_1 = "oooooooo"; goto try_except_handler_3; } frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame.f_lineno = 446; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_5 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 446; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 446; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_condition_result_4 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_raise_type_1; PyObject *tmp_called_name_4; PyObject *tmp_mvar_value_5; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_timeout ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_timeout ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "timeout" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 447; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_called_name_4 = tmp_mvar_value_5; frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame.f_lineno = 447; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, &PyTuple_GET_ITEM( const_tuple_str_digest_22ce283067899ce16a8ff927ff2a141c_tuple, 0 ) ); if ( tmp_raise_type_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 447; type_description_1 = "oooooooo"; goto try_except_handler_3; } exception_type = tmp_raise_type_1; exception_lineno = 447; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; goto try_except_handler_3; } branch_no_4:; } { goto try_continue_handler_3; } goto branch_end_3; branch_no_3:; { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_9; PyObject *tmp_source_name_10; PyObject *tmp_mvar_value_6; tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 449; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_source_name_10 = tmp_mvar_value_6; tmp_source_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_SSL ); if ( tmp_source_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 449; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_Error ); Py_DECREF( tmp_source_name_9 ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 449; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 449; type_description_1 = "oooooooo"; 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_assign_source_3; tmp_assign_source_3 = EXC_VALUE(PyThreadState_GET()); { PyObject *old = var_e; var_e = tmp_assign_source_3; Py_INCREF( var_e ); Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_raise_type_2; PyObject *tmp_called_name_5; PyObject *tmp_source_name_11; PyObject *tmp_mvar_value_7; PyObject *tmp_args_element_name_6; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_ssl ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ssl ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ssl" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 450; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_source_name_11 = tmp_mvar_value_7; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_SSLError ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 450; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_left_name_1 = const_str_digest_2ff175dae94b767efe83d915c1b97f5f; if ( var_e == 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", "e" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 450; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_right_name_1 = var_e; tmp_args_element_name_6 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_args_element_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_5 ); exception_lineno = 450; type_description_1 = "oooooooo"; goto try_except_handler_4; } frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame.f_lineno = 450; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); Py_DECREF( tmp_args_element_name_6 ); if ( tmp_raise_type_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 450; type_description_1 = "oooooooo"; goto try_except_handler_4; } exception_type = tmp_raise_type_2; exception_lineno = 450; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; goto try_except_handler_4; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_29_wrap_socket ); return NULL; // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( var_e ); var_e = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_3; } // End of try: } goto branch_end_5; branch_no_5:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 443; } if (exception_tb && exception_tb->tb_frame == &frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame) frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooooo"; goto try_except_handler_3; } branch_end_5:; } branch_end_3:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_29_wrap_socket ); return NULL; // Exception handler code: try_except_handler_3:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // try continue handler code: try_continue_handler_3:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { goto loop_start_1; } // End of try: } // End of try: try_end_1:; } { goto loop_end_1; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 442; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } { PyObject *tmp_called_name_6; PyObject *tmp_mvar_value_8; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_WrappedSocket ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_WrappedSocket ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "WrappedSocket" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 453; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_6 = tmp_mvar_value_8; if ( var_cnx == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cnx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 453; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = var_cnx; if ( par_sock == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sock" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 453; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = par_sock; frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame.f_lineno = 453; { PyObject *call_args[] = { tmp_args_element_name_7, tmp_args_element_name_8 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_6, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 453; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7147d7ad6c9c675bc00ff2d2c2dd9546 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7147d7ad6c9c675bc00ff2d2c2dd9546 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7147d7ad6c9c675bc00ff2d2c2dd9546 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7147d7ad6c9c675bc00ff2d2c2dd9546, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7147d7ad6c9c675bc00ff2d2c2dd9546->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7147d7ad6c9c675bc00ff2d2c2dd9546, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7147d7ad6c9c675bc00ff2d2c2dd9546, type_description_1, par_self, par_sock, par_server_side, par_do_handshake_on_connect, par_suppress_ragged_eofs, par_server_hostname, var_cnx, var_e ); // Release cached frame. if ( frame_7147d7ad6c9c675bc00ff2d2c2dd9546 == cache_frame_7147d7ad6c9c675bc00ff2d2c2dd9546 ) { Py_DECREF( frame_7147d7ad6c9c675bc00ff2d2c2dd9546 ); } cache_frame_7147d7ad6c9c675bc00ff2d2c2dd9546 = NULL; assertFrameObject( frame_7147d7ad6c9c675bc00ff2d2c2dd9546 ); // 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( urllib3$contrib$pyopenssl$$$function_29_wrap_socket ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_sock ); par_sock = NULL; } { Py_XDECREF( par_server_side ); par_server_side = NULL; } { Py_XDECREF( par_do_handshake_on_connect ); par_do_handshake_on_connect = NULL; } { Py_XDECREF( par_suppress_ragged_eofs ); par_suppress_ragged_eofs = NULL; } { Py_XDECREF( par_server_hostname ); par_server_hostname = NULL; } { Py_XDECREF( var_cnx ); var_cnx = NULL; } { Py_XDECREF( var_e ); var_e = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_sock ); par_sock = NULL; } { Py_XDECREF( par_server_side ); par_server_side = NULL; } { Py_XDECREF( par_do_handshake_on_connect ); par_do_handshake_on_connect = NULL; } { Py_XDECREF( par_suppress_ragged_eofs ); par_suppress_ragged_eofs = NULL; } { Py_XDECREF( par_server_hostname ); par_server_hostname = NULL; } { Py_XDECREF( var_cnx ); var_cnx = NULL; } { Py_XDECREF( var_e ); var_e = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl$$$function_29_wrap_socket ); 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_urllib3$contrib$pyopenssl$$$function_30__verify_callback( 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_cnx = python_pars[ 0 ]; PyObject *par_x509 = python_pars[ 1 ]; PyObject *par_err_no = python_pars[ 2 ]; PyObject *par_err_depth = python_pars[ 3 ]; PyObject *par_return_code = python_pars[ 4 ]; struct Nuitka_FrameObject *frame_6f24f32ddab35cc8cdc65bd0dce5290a; 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_6f24f32ddab35cc8cdc65bd0dce5290a = 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_6f24f32ddab35cc8cdc65bd0dce5290a, codeobj_6f24f32ddab35cc8cdc65bd0dce5290a, module_urllib3$contrib$pyopenssl, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_6f24f32ddab35cc8cdc65bd0dce5290a = cache_frame_6f24f32ddab35cc8cdc65bd0dce5290a; // Push the new frame as the currently active one. pushFrameStack( frame_6f24f32ddab35cc8cdc65bd0dce5290a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_6f24f32ddab35cc8cdc65bd0dce5290a ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_err_no ); tmp_compexpr_left_1 = par_err_no; tmp_compexpr_right_1 = const_int_0; tmp_return_value = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 457; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_6f24f32ddab35cc8cdc65bd0dce5290a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6f24f32ddab35cc8cdc65bd0dce5290a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6f24f32ddab35cc8cdc65bd0dce5290a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_6f24f32ddab35cc8cdc65bd0dce5290a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_6f24f32ddab35cc8cdc65bd0dce5290a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_6f24f32ddab35cc8cdc65bd0dce5290a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_6f24f32ddab35cc8cdc65bd0dce5290a, type_description_1, par_cnx, par_x509, par_err_no, par_err_depth, par_return_code ); // Release cached frame. if ( frame_6f24f32ddab35cc8cdc65bd0dce5290a == cache_frame_6f24f32ddab35cc8cdc65bd0dce5290a ) { Py_DECREF( frame_6f24f32ddab35cc8cdc65bd0dce5290a ); } cache_frame_6f24f32ddab35cc8cdc65bd0dce5290a = NULL; assertFrameObject( frame_6f24f32ddab35cc8cdc65bd0dce5290a ); // 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( urllib3$contrib$pyopenssl$$$function_30__verify_callback ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cnx ); par_cnx = NULL; } { Py_XDECREF( par_x509 ); par_x509 = NULL; } { Py_XDECREF( par_err_no ); par_err_no = NULL; } { Py_XDECREF( par_err_depth ); par_err_depth = NULL; } { Py_XDECREF( par_return_code ); par_return_code = 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_cnx ); par_cnx = NULL; } { Py_XDECREF( par_x509 ); par_x509 = NULL; } { Py_XDECREF( par_err_no ); par_err_no = NULL; } { Py_XDECREF( par_err_depth ); par_err_depth = NULL; } { Py_XDECREF( par_return_code ); par_return_code = 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( urllib3$contrib$pyopenssl$$$function_30__verify_callback ); 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_urllib3$contrib$pyopenssl$$$function_10_recv_into( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_10_recv_into, const_str_plain_recv_into, #if PYTHON_VERSION >= 300 const_str_digest_ea149be6088931c3910923696f83d36a, #endif codeobj_2ff87df9dd8121bd30bb117a79a55a1e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_11_settimeout( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_11_settimeout, const_str_plain_settimeout, #if PYTHON_VERSION >= 300 const_str_digest_9dcb336ca353f810aa0d31921e9fdfb0, #endif codeobj_7022e09527243229d470de45388e4671, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_12__send_until_done( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_12__send_until_done, const_str_plain__send_until_done, #if PYTHON_VERSION >= 300 const_str_digest_a3fd3629b3a2374b7b38e7bf3e032130, #endif codeobj_d06bc7f5451d33661854961936e8154e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_13_sendall( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_13_sendall, const_str_plain_sendall, #if PYTHON_VERSION >= 300 const_str_digest_fcee667ed9294484931a59a6be1401a4, #endif codeobj_27b35e7867b88d5b07b26e00d407a030, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_14_shutdown( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_14_shutdown, const_str_plain_shutdown, #if PYTHON_VERSION >= 300 const_str_digest_5de90513b7e726b1a929b0328fda608e, #endif codeobj_cff2ca8671ee62ab66477f5d4b1503b0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_15_close( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_15_close, const_str_plain_close, #if PYTHON_VERSION >= 300 const_str_digest_41dbd4a0c394791e01054bb237449a0d, #endif codeobj_006116280f6f9b597b96f27a1160cf8a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_16_getpeercert( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_16_getpeercert, const_str_plain_getpeercert, #if PYTHON_VERSION >= 300 const_str_digest_47af4678a28313b5af6e38cd603ce3ad, #endif codeobj_dec2f8b1a40a5cddb789a084c26328e1, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_17__reuse( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_17__reuse, const_str_plain__reuse, #if PYTHON_VERSION >= 300 const_str_digest_ca64980ab25a7902ff8128128fe6cfe2, #endif codeobj_a66803cb8834bab277358366d31277c7, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_18__drop( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_18__drop, const_str_plain__drop, #if PYTHON_VERSION >= 300 const_str_digest_8a27e0e8026a3feed39d29711dd67238, #endif codeobj_eeb074384ab9223ee1b6f9ccf7f65a18, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_19_makefile( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_19_makefile, const_str_plain_makefile, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_a0cfd0b7582b32d474a311870d099c2a, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_1_inject_into_urllib3( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_1_inject_into_urllib3, const_str_plain_inject_into_urllib3, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_86bccbba5193aaed4debf486b95f41fa, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, const_str_digest_c2ca9ee709c1d2285dbebbfa7f97f083, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_20___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_20___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_e69704a3b57bdbeeda0fb8ad90040f41, #endif codeobj_a8898583adb89935f532efeed164b63b, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_21_options( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_21_options, const_str_plain_options, #if PYTHON_VERSION >= 300 const_str_digest_00536486d83401fa82a08b0e79354846, #endif codeobj_54e7a444296a39b6a45cf22cb3619d44, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_22_options( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_22_options, const_str_plain_options, #if PYTHON_VERSION >= 300 const_str_digest_00536486d83401fa82a08b0e79354846, #endif codeobj_5ae303316bef2376b27ccdd7ee178779, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_23_verify_mode( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_23_verify_mode, const_str_plain_verify_mode, #if PYTHON_VERSION >= 300 const_str_digest_e5467f76d8c624a1dc2eb95b9944b986, #endif codeobj_d04b8b1f785387291c54835711c30e89, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_24_verify_mode( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_24_verify_mode, const_str_plain_verify_mode, #if PYTHON_VERSION >= 300 const_str_digest_e5467f76d8c624a1dc2eb95b9944b986, #endif codeobj_f44dc8e7a3b21230db570306bd21f4a6, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_25_set_default_verify_paths( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_25_set_default_verify_paths, const_str_plain_set_default_verify_paths, #if PYTHON_VERSION >= 300 const_str_digest_594453327b8729538381766512c9452b, #endif codeobj_aa514d9ec7b4825edcdad4c13e231db5, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_26_set_ciphers( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_26_set_ciphers, const_str_plain_set_ciphers, #if PYTHON_VERSION >= 300 const_str_digest_33c018117b9b7eb17081ee25bae37674, #endif codeobj_06456bd70f2bfecfc49eaf7b0e6d31cb, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_27_load_verify_locations( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_27_load_verify_locations, const_str_plain_load_verify_locations, #if PYTHON_VERSION >= 300 const_str_digest_0ed7cab482b4eed6799e2697fa4599f9, #endif codeobj_93cbe193b2213e556b5faf47b15cdc75, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_28_load_cert_chain( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_28_load_cert_chain, const_str_plain_load_cert_chain, #if PYTHON_VERSION >= 300 const_str_digest_abba734a6a1803f203aec1a806eaf7ae, #endif codeobj_51205a4aec2ce195d099c3c23b7041c8, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_28_load_cert_chain$$$function_1_lambda( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_28_load_cert_chain$$$function_1_lambda, const_str_angle_lambda, #if PYTHON_VERSION >= 300 const_str_digest_fdf2dae424c2ab29e28d95112eab1065, #endif codeobj_d00d2dd46146f5f025313600b2ad8f4b, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_29_wrap_socket( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_29_wrap_socket, const_str_plain_wrap_socket, #if PYTHON_VERSION >= 300 const_str_digest_2d708b82df3c36741559ca09209c9f6c, #endif codeobj_7147d7ad6c9c675bc00ff2d2c2dd9546, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_2_extract_from_urllib3( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_2_extract_from_urllib3, const_str_plain_extract_from_urllib3, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_7bb766ebd54742c28efba549e4a02ac6, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, const_str_digest_7ac562d65cde2e151e56b218341d4cdd, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_30__verify_callback( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_30__verify_callback, const_str_plain__verify_callback, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_6f24f32ddab35cc8cdc65bd0dce5290a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_3__validate_dependencies_met( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_3__validate_dependencies_met, const_str_plain__validate_dependencies_met, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_e80bb99fe5d4c5ca1629c02a727d605c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, const_str_digest_20c12b8a448bbfc5cd8c17b869421e3c, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib, const_str_plain__dnsname_to_stdlib, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_fe48b008183bda27671585024c646bf3, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, const_str_digest_44c56a17c4956b3b0d9df3770f68da77, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib$$$function_1_idna_encode( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib$$$function_1_idna_encode, const_str_plain_idna_encode, #if PYTHON_VERSION >= 300 const_str_digest_584b1f1a72cb12d2c289fc29d118df4a, #endif codeobj_f82414b52933bc05483a538d6e88a2f8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, const_str_digest_071e6215d1e4e670779a10c8173678ae, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name, const_str_plain_get_subj_alt_name, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_4257a4cb38e3001e19951774d34be9d2, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, const_str_digest_ea524135603414934edfdf9a140120da, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_6___init__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_6___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_5818b30a83a023d23de94fdb8555bc21, #endif codeobj_a1dae5eb6ebd5270b4733608db485d59, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_7_fileno( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_7_fileno, const_str_plain_fileno, #if PYTHON_VERSION >= 300 const_str_digest_3ae5eb58682e3453bcd445e251529344, #endif codeobj_074fd26f5a3113d49cea9262ee3719b8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_8__decref_socketios( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_8__decref_socketios, const_str_plain__decref_socketios, #if PYTHON_VERSION >= 300 const_str_digest_3337e517587b2ad7aa8c6fd0bb6ef6e7, #endif codeobj_3f00716f6fd2ba22cbdc11c1d07889d0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_9_recv( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$contrib$pyopenssl$$$function_9_recv, const_str_plain_recv, #if PYTHON_VERSION >= 300 const_str_digest_8b472aa2b2e397bd3da940bb18c68211, #endif codeobj_cdfbdd01acdc797ce0c5ac31ffbd4052, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$contrib$pyopenssl, NULL, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_urllib3$contrib$pyopenssl = { PyModuleDef_HEAD_INIT, "urllib3.contrib.pyopenssl", /* 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( urllib3$contrib$pyopenssl ) { #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_urllib3$contrib$pyopenssl ); } 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("urllib3.contrib.pyopenssl: 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("urllib3.contrib.pyopenssl: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("urllib3.contrib.pyopenssl: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in initurllib3$contrib$pyopenssl" ); // 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_urllib3$contrib$pyopenssl = Py_InitModule4( "urllib3.contrib.pyopenssl", // 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_urllib3$contrib$pyopenssl = PyModule_Create( &mdef_urllib3$contrib$pyopenssl ); #endif moduledict_urllib3$contrib$pyopenssl = MODULE_DICT( module_urllib3$contrib$pyopenssl ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain___name__ ); char const *module_name_cstr = PyString_AS_STRING( module_name ); char const *last_dot = strrchr( module_name_cstr, '.' ); if ( last_dot != NULL ) { UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain___package__, PyString_FromStringAndSize( module_name_cstr, last_dot - module_name_cstr ) ); } #else PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain___name__ ); Py_ssize_t dot_index = PyUnicode_Find( module_name, const_str_dot, 0, PyUnicode_GetLength( module_name ), -1 ); if ( dot_index != -1 ) { UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_urllib3$contrib$pyopenssl ); // 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_9b140d54e682de757186c632bf3beb69, module_urllib3$contrib$pyopenssl ); 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_urllib3$contrib$pyopenssl, (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_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_urllib3$contrib$pyopenssl, (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_urllib3$contrib$pyopenssl, (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_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain___spec__, spec_value ); Py_DECREF( module_spec_class ); } #endif #endif // Temp variables if any PyObject *outline_0_var___class__ = NULL; PyObject *outline_1_var___class__ = NULL; PyObject *outline_2_var___class__ = NULL; PyObject *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_class_creation_3__bases = NULL; PyObject *tmp_class_creation_3__class_decl_dict = NULL; PyObject *tmp_class_creation_3__metaclass = NULL; PyObject *tmp_class_creation_3__prepared = NULL; PyObject *tmp_genexpr_1__$0 = NULL; PyObject *tmp_import_from_1__module = NULL; struct Nuitka_FrameObject *frame_fabadd78d4670a6f89d48d636dbe4438; 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_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; bool tmp_result; PyObject *locals_urllib3$contrib$pyopenssl_54 = NULL; PyObject *tmp_dictset_value; 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_preserved_type_2; PyObject *exception_preserved_value_2; PyTracebackObject *exception_preserved_tb_2; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; 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_preserved_type_3; PyObject *exception_preserved_value_3; PyTracebackObject *exception_preserved_tb_3; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *locals_urllib3$contrib$pyopenssl_238 = NULL; struct Nuitka_FrameObject *frame_589bb92608e9a8804968194ccd0e9843_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_589bb92608e9a8804968194ccd0e9843_2 = NULL; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *locals_urllib3$contrib$pyopenssl_374 = NULL; struct Nuitka_FrameObject *frame_ec99fc747e3c72f0c869369a43696673_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_ec99fc747e3c72f0c869369a43696673_3 = NULL; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; PyObject *exception_keeper_type_16; PyObject *exception_keeper_value_16; PyTracebackObject *exception_keeper_tb_16; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = const_str_digest_2f7e5e6bd20de78d1a826b224bb68950; UPDATE_STRING_DICT0( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_78e4d11343fc0ea815002c229d8141da; UPDATE_STRING_DICT0( moduledict_urllib3$contrib$pyopenssl, (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_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 ); } // Frame without reuse. frame_fabadd78d4670a6f89d48d636dbe4438 = MAKE_MODULE_FRAME( codeobj_fabadd78d4670a6f89d48d636dbe4438, module_urllib3$contrib$pyopenssl ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_fabadd78d4670a6f89d48d636dbe4438 ); assert( Py_REFCNT( frame_fabadd78d4670a6f89d48d636dbe4438 ) == 2 ); // Framed code: { PyObject *tmp_assign_source_4; PyObject *tmp_import_name_from_1; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 44; tmp_import_name_from_1 = PyImport_ImportModule("__future__"); assert( !(tmp_import_name_from_1 == NULL) ); tmp_assign_source_4 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_absolute_import ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_absolute_import, tmp_assign_source_4 ); } { PyObject *tmp_assign_source_5; 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_digest_36dfc40fd76fef32a3245e24bfe74ea9; tmp_globals_name_1 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 46; tmp_assign_source_5 = 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_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 46; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL, tmp_assign_source_5 ); } { PyObject *tmp_assign_source_6; PyObject *tmp_import_name_from_2; 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_cryptography; tmp_globals_name_2 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = const_tuple_str_plain_x509_tuple; tmp_level_name_2 = const_int_0; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 47; tmp_import_name_from_2 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 ); if ( tmp_import_name_from_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto frame_exception_exit_1; } tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_x509 ); Py_DECREF( tmp_import_name_from_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_x509, tmp_assign_source_6 ); } { PyObject *tmp_assign_source_7; PyObject *tmp_import_name_from_3; 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_digest_ee742e011576d32d1c182b86832e4555; tmp_globals_name_3 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = const_tuple_str_plain_backend_tuple; tmp_level_name_3 = const_int_0; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 48; tmp_import_name_from_3 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 ); if ( tmp_import_name_from_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 48; goto frame_exception_exit_1; } tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_backend ); Py_DECREF( tmp_import_name_from_3 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 48; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_openssl_backend, tmp_assign_source_7 ); } { PyObject *tmp_assign_source_8; 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_digest_2b6a6c0099f1f1dd77d2725acd0722df; tmp_globals_name_4 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_4 = Py_None; tmp_fromlist_name_4 = const_tuple_str_plain__Certificate_tuple; tmp_level_name_4 = const_int_0; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 49; 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 = 49; goto frame_exception_exit_1; } tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain__Certificate ); Py_DECREF( tmp_import_name_from_4 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 49; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__Certificate, tmp_assign_source_8 ); } { // Tried code: { PyObject *tmp_assign_source_9; PyObject *tmp_import_name_from_5; PyObject *tmp_name_name_5; PyObject *tmp_globals_name_5; PyObject *tmp_locals_name_5; PyObject *tmp_fromlist_name_5; PyObject *tmp_level_name_5; tmp_name_name_5 = const_str_digest_60a1bac43ab19e7498cc2fb7d34f5b86; tmp_globals_name_5 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_5 = Py_None; tmp_fromlist_name_5 = const_tuple_str_plain_UnsupportedExtension_tuple; tmp_level_name_5 = const_int_0; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 51; tmp_import_name_from_5 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_5 ); if ( tmp_import_name_from_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 51; goto try_except_handler_1; } tmp_assign_source_9 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_UnsupportedExtension ); Py_DECREF( tmp_import_name_from_5 ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 51; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_UnsupportedExtension, tmp_assign_source_9 ); } goto try_end_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. 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_fabadd78d4670a6f89d48d636dbe4438, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_fabadd78d4670a6f89d48d636dbe4438, 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_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_ImportError; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 52; goto try_except_handler_2; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { // Tried code: { PyObject *tmp_assign_source_10; PyObject *tmp_dircall_arg1_1; tmp_dircall_arg1_1 = const_tuple_type_Exception_tuple; Py_INCREF( tmp_dircall_arg1_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_assign_source_10 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; goto try_except_handler_3; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_10; } { PyObject *tmp_assign_source_11; tmp_assign_source_11 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_11; } { PyObject *tmp_assign_source_12; PyObject *tmp_metaclass_name_1; nuitka_bool tmp_condition_result_2; 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_3; 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 = 54; goto try_except_handler_3; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == 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 = 54; 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 = 54; goto try_except_handler_3; } tmp_condition_result_3 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_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 = 54; 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 = 54; 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_12 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; goto try_except_handler_3; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_12; } { nuitka_bool tmp_condition_result_4; 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 = 54; goto try_except_handler_3; } 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:; { 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 = 54; goto try_except_handler_3; } } branch_no_2:; } { nuitka_bool tmp_condition_result_5; 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_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_assign_source_13; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kw_name_1; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_2 = tmp_class_creation_1__metaclass; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___prepare__ ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; goto try_except_handler_3; } tmp_tuple_element_1 = const_str_plain_UnsupportedExtension; tmp_args_name_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_1 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 54; tmp_assign_source_13 = 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_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; goto try_except_handler_3; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_13; } { nuitka_bool tmp_condition_result_6; 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 = 54; goto try_except_handler_3; } 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:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; PyObject *tmp_source_name_4; PyObject *tmp_type_arg_2; tmp_raise_type_1 = PyExc_TypeError; tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_getattr_target_1 = tmp_class_creation_1__metaclass; tmp_getattr_attr_1 = const_str_plain___name__; tmp_getattr_default_1 = const_str_angle_metaclass; tmp_tuple_element_2 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; goto try_except_handler_3; } tmp_right_name_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_source_name_4 = BUILTIN_TYPE1( tmp_type_arg_2 ); assert( !(tmp_source_name_4 == NULL) ); tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ ); Py_DECREF( tmp_source_name_4 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_1 ); exception_lineno = 54; goto try_except_handler_3; } PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_2 ); tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_raise_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; 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 = 54; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_3; } branch_no_4:; } goto branch_end_3; branch_no_3:; { PyObject *tmp_assign_source_14; tmp_assign_source_14 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_14; } branch_end_3:; } { PyObject *tmp_assign_source_15; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_urllib3$contrib$pyopenssl_54 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_9b140d54e682de757186c632bf3beb69; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_54, 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 = 54; goto try_except_handler_5; } } { tmp_dictset_value = const_str_plain_UnsupportedExtension; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_54, 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 = 54; goto try_except_handler_5; } } { nuitka_bool tmp_condition_result_7; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_compexpr_left_2 = tmp_class_creation_1__bases; tmp_compexpr_right_2 = const_tuple_type_Exception_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; goto try_except_handler_5; } tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { tmp_dictset_value = const_tuple_type_Exception_tuple; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_54, 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 = 54; goto try_except_handler_5; } } branch_no_5:; } { PyObject *tmp_assign_source_16; PyObject *tmp_called_name_2; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_3; PyObject *tmp_kw_name_2; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_called_name_2 = tmp_class_creation_1__metaclass; tmp_tuple_element_3 = const_str_plain_UnsupportedExtension; tmp_args_name_2 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_3 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_3 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_3 ); tmp_tuple_element_3 = locals_urllib3$contrib$pyopenssl_54; Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_3 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 54; tmp_assign_source_16 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; goto try_except_handler_5; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_16; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_15 = outline_0_var___class__; Py_INCREF( tmp_assign_source_15 ); goto try_return_handler_5; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_5:; { Py_DECREF( locals_urllib3$contrib$pyopenssl_54 ); locals_urllib3$contrib$pyopenssl_54 = NULL; } { goto try_return_handler_4; } // Exception handler code: try_except_handler_5:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_urllib3$contrib$pyopenssl_54 ); locals_urllib3$contrib$pyopenssl_54 = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_4; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); 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_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 54; goto try_except_handler_3; outline_result_1:; UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_UnsupportedExtension, tmp_assign_source_15 ); } goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_1__bases ); tmp_class_creation_1__bases = NULL; } { Py_XDECREF( tmp_class_creation_1__class_decl_dict ); tmp_class_creation_1__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_1__metaclass ); tmp_class_creation_1__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_1__prepared ); tmp_class_creation_1__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto try_except_handler_2; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases ); Py_DECREF( tmp_class_creation_1__bases ); tmp_class_creation_1__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__class_decl_dict ); Py_DECREF( tmp_class_creation_1__class_decl_dict ); tmp_class_creation_1__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__metaclass ); Py_DECREF( tmp_class_creation_1__metaclass ); tmp_class_creation_1__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared ); Py_DECREF( tmp_class_creation_1__prepared ); tmp_class_creation_1__prepared = NULL; } goto branch_end_1; branch_no_1:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 50; } if (exception_tb && exception_tb->tb_frame == &frame_fabadd78d4670a6f89d48d636dbe4438->m_frame) frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = exception_tb->tb_lineno; goto try_except_handler_2; } branch_end_1:; } goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // 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:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } goto try_end_1; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); // End of try: try_end_1:; } { PyObject *tmp_assign_source_17; 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_socket; tmp_globals_name_6 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_6 = Py_None; tmp_fromlist_name_6 = const_tuple_str_plain_timeout_str_plain_error_tuple; tmp_level_name_6 = const_int_0; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 57; tmp_assign_source_17 = IMPORT_MODULE5( tmp_name_name_6, tmp_globals_name_6, tmp_locals_name_6, tmp_fromlist_name_6, tmp_level_name_6 ); if ( tmp_assign_source_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; goto frame_exception_exit_1; } assert( tmp_import_from_1__module == NULL ); tmp_import_from_1__module = tmp_assign_source_17; } { // Tried code: { PyObject *tmp_assign_source_18; PyObject *tmp_import_name_from_6; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_6 = tmp_import_from_1__module; tmp_assign_source_18 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_timeout ); if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; goto try_except_handler_6; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_timeout, tmp_assign_source_18 ); } { PyObject *tmp_assign_source_19; PyObject *tmp_import_name_from_7; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_7 = tmp_import_from_1__module; tmp_assign_source_19 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_error ); if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; goto try_except_handler_6; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_SocketError, tmp_assign_source_19 ); } goto try_end_4; // Exception handler code: try_except_handler_6:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (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_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto frame_exception_exit_1; } // End of try: try_end_4:; } { 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_20; PyObject *tmp_import_name_from_8; PyObject *tmp_name_name_7; PyObject *tmp_globals_name_7; PyObject *tmp_locals_name_7; PyObject *tmp_fromlist_name_7; PyObject *tmp_level_name_7; tmp_name_name_7 = const_str_plain_io; tmp_globals_name_7 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_7 = Py_None; tmp_fromlist_name_7 = const_tuple_str_plain_BytesIO_tuple; tmp_level_name_7 = const_int_0; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 58; tmp_import_name_from_8 = IMPORT_MODULE5( tmp_name_name_7, tmp_globals_name_7, tmp_locals_name_7, tmp_fromlist_name_7, tmp_level_name_7 ); if ( tmp_import_name_from_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; goto frame_exception_exit_1; } tmp_assign_source_20 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_BytesIO ); Py_DECREF( tmp_import_name_from_8 ); if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_BytesIO, tmp_assign_source_20 ); } { // Tried code: { PyObject *tmp_assign_source_21; PyObject *tmp_import_name_from_9; 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_plain_socket; tmp_globals_name_8 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_8 = Py_None; tmp_fromlist_name_8 = const_tuple_str_plain__fileobject_tuple; tmp_level_name_8 = const_int_0; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 61; tmp_import_name_from_9 = IMPORT_MODULE5( tmp_name_name_8, tmp_globals_name_8, tmp_locals_name_8, tmp_fromlist_name_8, tmp_level_name_8 ); if ( tmp_import_name_from_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; goto try_except_handler_7; } tmp_assign_source_21 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain__fileobject ); Py_DECREF( tmp_import_name_from_9 ); if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; goto try_except_handler_7; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__fileobject, tmp_assign_source_21 ); } goto try_end_5; // 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; { // Preserve existing published exception. exception_preserved_type_2 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_2 ); exception_preserved_value_2 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_2 ); exception_preserved_tb_2 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_2 ); } { if ( exception_keeper_tb_7 == NULL ) { exception_keeper_tb_7 = MAKE_TRACEBACK( frame_fabadd78d4670a6f89d48d636dbe4438, exception_keeper_lineno_7 ); } else if ( exception_keeper_lineno_7 != 0 ) { exception_keeper_tb_7 = ADD_TRACEBACK( exception_keeper_tb_7, frame_fabadd78d4670a6f89d48d636dbe4438, exception_keeper_lineno_7 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_7, &exception_keeper_value_7, &exception_keeper_tb_7 ); PyException_SetTraceback( exception_keeper_value_7, (PyObject *)exception_keeper_tb_7 ); PUBLISH_EXCEPTION( &exception_keeper_type_7, &exception_keeper_value_7, &exception_keeper_tb_7 ); } { // Tried code: { nuitka_bool tmp_condition_result_8; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_3 = PyExc_ImportError; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_3, tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 62; goto try_except_handler_8; } tmp_condition_result_8 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_22; tmp_assign_source_22 = Py_None; UPDATE_STRING_DICT0( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__fileobject, tmp_assign_source_22 ); } { PyObject *tmp_assign_source_23; PyObject *tmp_import_name_from_10; PyObject *tmp_name_name_9; PyObject *tmp_globals_name_9; PyObject *tmp_locals_name_9; PyObject *tmp_fromlist_name_9; PyObject *tmp_level_name_9; tmp_name_name_9 = const_str_digest_f5748acc7624a8d3f9bd48b7312e95e1; tmp_globals_name_9 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_9 = Py_None; tmp_fromlist_name_9 = const_tuple_str_plain_backport_makefile_tuple; tmp_level_name_9 = const_int_pos_2; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 64; tmp_import_name_from_10 = IMPORT_MODULE5( tmp_name_name_9, tmp_globals_name_9, tmp_locals_name_9, tmp_fromlist_name_9, tmp_level_name_9 ); if ( tmp_import_name_from_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 64; goto try_except_handler_8; } if ( PyModule_Check( tmp_import_name_from_10 ) ) { tmp_assign_source_23 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_10, (PyObject *)MODULE_DICT(tmp_import_name_from_10), const_str_plain_backport_makefile, const_int_pos_2 ); } else { tmp_assign_source_23 = IMPORT_NAME( tmp_import_name_from_10, const_str_plain_backport_makefile ); } Py_DECREF( tmp_import_name_from_10 ); if ( tmp_assign_source_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 64; goto try_except_handler_8; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_backport_makefile, tmp_assign_source_23 ); } goto branch_end_6; branch_no_6:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 60; } if (exception_tb && exception_tb->tb_frame == &frame_fabadd78d4670a6f89d48d636dbe4438->m_frame) frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = exception_tb->tb_lineno; goto try_except_handler_8; } branch_end_6:; } goto try_end_6; // 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; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } { // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto frame_exception_exit_1; } // End of try: try_end_6:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } goto try_end_5; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); // End of try: try_end_5:; } { PyObject *tmp_assign_source_24; PyObject *tmp_name_name_10; PyObject *tmp_globals_name_10; PyObject *tmp_locals_name_10; PyObject *tmp_fromlist_name_10; PyObject *tmp_level_name_10; tmp_name_name_10 = const_str_plain_logging; tmp_globals_name_10 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_10 = Py_None; tmp_fromlist_name_10 = Py_None; tmp_level_name_10 = const_int_0; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 66; tmp_assign_source_24 = IMPORT_MODULE5( tmp_name_name_10, tmp_globals_name_10, tmp_locals_name_10, tmp_fromlist_name_10, tmp_level_name_10 ); if ( tmp_assign_source_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_logging, tmp_assign_source_24 ); } { PyObject *tmp_assign_source_25; PyObject *tmp_name_name_11; PyObject *tmp_globals_name_11; PyObject *tmp_locals_name_11; PyObject *tmp_fromlist_name_11; PyObject *tmp_level_name_11; tmp_name_name_11 = const_str_plain_ssl; tmp_globals_name_11 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_11 = Py_None; tmp_fromlist_name_11 = Py_None; tmp_level_name_11 = const_int_0; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 67; tmp_assign_source_25 = IMPORT_MODULE5( tmp_name_name_11, tmp_globals_name_11, tmp_locals_name_11, tmp_fromlist_name_11, tmp_level_name_11 ); if ( tmp_assign_source_25 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 67; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_ssl, tmp_assign_source_25 ); } { PyObject *tmp_assign_source_26; PyObject *tmp_import_name_from_11; PyObject *tmp_name_name_12; PyObject *tmp_globals_name_12; PyObject *tmp_locals_name_12; PyObject *tmp_fromlist_name_12; PyObject *tmp_level_name_12; tmp_name_name_12 = const_str_plain_packages; tmp_globals_name_12 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_12 = Py_None; tmp_fromlist_name_12 = const_tuple_str_plain_six_tuple; tmp_level_name_12 = const_int_pos_2; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 68; tmp_import_name_from_11 = IMPORT_MODULE5( tmp_name_name_12, tmp_globals_name_12, tmp_locals_name_12, tmp_fromlist_name_12, tmp_level_name_12 ); if ( tmp_import_name_from_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 68; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_11 ) ) { tmp_assign_source_26 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_11, (PyObject *)MODULE_DICT(tmp_import_name_from_11), const_str_plain_six, const_int_pos_2 ); } else { tmp_assign_source_26 = IMPORT_NAME( tmp_import_name_from_11, const_str_plain_six ); } Py_DECREF( tmp_import_name_from_11 ); if ( tmp_assign_source_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 68; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_six, tmp_assign_source_26 ); } { PyObject *tmp_assign_source_27; PyObject *tmp_name_name_13; PyObject *tmp_globals_name_13; PyObject *tmp_locals_name_13; PyObject *tmp_fromlist_name_13; PyObject *tmp_level_name_13; tmp_name_name_13 = const_str_plain_sys; tmp_globals_name_13 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_13 = Py_None; tmp_fromlist_name_13 = Py_None; tmp_level_name_13 = const_int_0; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 69; tmp_assign_source_27 = IMPORT_MODULE5( tmp_name_name_13, tmp_globals_name_13, tmp_locals_name_13, tmp_fromlist_name_13, tmp_level_name_13 ); assert( !(tmp_assign_source_27 == NULL) ); UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_sys, tmp_assign_source_27 ); } { PyObject *tmp_assign_source_28; PyObject *tmp_import_name_from_12; PyObject *tmp_name_name_14; PyObject *tmp_globals_name_14; PyObject *tmp_locals_name_14; PyObject *tmp_fromlist_name_14; PyObject *tmp_level_name_14; tmp_name_name_14 = const_str_empty; tmp_globals_name_14 = (PyObject *)moduledict_urllib3$contrib$pyopenssl; tmp_locals_name_14 = Py_None; tmp_fromlist_name_14 = const_tuple_str_plain_util_tuple; tmp_level_name_14 = const_int_pos_2; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 71; tmp_import_name_from_12 = IMPORT_MODULE5( tmp_name_name_14, tmp_globals_name_14, tmp_locals_name_14, tmp_fromlist_name_14, tmp_level_name_14 ); if ( tmp_import_name_from_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 71; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_12 ) ) { tmp_assign_source_28 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_12, (PyObject *)MODULE_DICT(tmp_import_name_from_12), const_str_plain_util, const_int_pos_2 ); } else { tmp_assign_source_28 = IMPORT_NAME( tmp_import_name_from_12, const_str_plain_util ); } Py_DECREF( tmp_import_name_from_12 ); if ( tmp_assign_source_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 71; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util, tmp_assign_source_28 ); } { PyObject *tmp_assign_source_29; tmp_assign_source_29 = LIST_COPY( const_list_str_plain_inject_into_urllib3_str_plain_extract_from_urllib3_list ); UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain___all__, tmp_assign_source_29 ); } { PyObject *tmp_assign_source_30; tmp_assign_source_30 = Py_True; UPDATE_STRING_DICT0( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_HAS_SNI, tmp_assign_source_30 ); } { PyObject *tmp_assign_source_31; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_1; PyObject *tmp_source_name_6; PyObject *tmp_source_name_7; PyObject *tmp_mvar_value_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_source_name_8; PyObject *tmp_mvar_value_3; PyObject *tmp_source_name_9; PyObject *tmp_source_name_10; PyObject *tmp_mvar_value_4; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_ssl ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ssl ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ssl" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 80; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_1; tmp_dict_key_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_PROTOCOL_SSLv23 ); if ( tmp_dict_key_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_dict_key_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 80; goto frame_exception_exit_1; } tmp_source_name_7 = tmp_mvar_value_2; tmp_source_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_SSL ); if ( tmp_source_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dict_key_1 ); exception_lineno = 80; goto frame_exception_exit_1; } tmp_dict_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_SSLv23_METHOD ); Py_DECREF( tmp_source_name_6 ); if ( tmp_dict_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dict_key_1 ); exception_lineno = 80; goto frame_exception_exit_1; } tmp_assign_source_31 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem( tmp_assign_source_31, tmp_dict_key_1, tmp_dict_value_1 ); Py_DECREF( tmp_dict_value_1 ); Py_DECREF( tmp_dict_key_1 ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_31 ); exception_lineno = 79; goto frame_exception_exit_1; } tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_ssl ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ssl ); } if ( tmp_mvar_value_3 == NULL ) { Py_DECREF( tmp_assign_source_31 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ssl" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 81; goto frame_exception_exit_1; } tmp_source_name_8 = tmp_mvar_value_3; tmp_dict_key_2 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_PROTOCOL_TLSv1 ); if ( tmp_dict_key_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_31 ); exception_lineno = 81; goto frame_exception_exit_1; } tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_assign_source_31 ); Py_DECREF( tmp_dict_key_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 81; goto frame_exception_exit_1; } tmp_source_name_10 = tmp_mvar_value_4; tmp_source_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_SSL ); if ( tmp_source_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_31 ); Py_DECREF( tmp_dict_key_2 ); exception_lineno = 81; goto frame_exception_exit_1; } tmp_dict_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_TLSv1_METHOD ); Py_DECREF( tmp_source_name_9 ); if ( tmp_dict_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_31 ); Py_DECREF( tmp_dict_key_2 ); exception_lineno = 81; goto frame_exception_exit_1; } tmp_res = PyDict_SetItem( tmp_assign_source_31, tmp_dict_key_2, tmp_dict_value_2 ); Py_DECREF( tmp_dict_value_2 ); Py_DECREF( tmp_dict_key_2 ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_31 ); exception_lineno = 79; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__openssl_versions, tmp_assign_source_31 ); } { nuitka_bool tmp_condition_result_9; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_source_name_11; PyObject *tmp_mvar_value_5; PyObject *tmp_attribute_name_1; PyObject *tmp_source_name_12; PyObject *tmp_source_name_13; PyObject *tmp_mvar_value_6; PyObject *tmp_attribute_name_2; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_ssl ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ssl ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ssl" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 84; goto frame_exception_exit_1; } tmp_source_name_11 = tmp_mvar_value_5; tmp_attribute_name_1 = const_str_plain_PROTOCOL_TLSv1_1; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_11, tmp_attribute_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 84; goto frame_exception_exit_1; } tmp_source_name_13 = tmp_mvar_value_6; tmp_source_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_SSL ); if ( tmp_source_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; goto frame_exception_exit_1; } tmp_attribute_name_2 = const_str_plain_TLSv1_1_METHOD; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_12, tmp_attribute_name_2 ); Py_DECREF( tmp_source_name_12 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_9 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_9 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_ass_subvalue_1; PyObject *tmp_source_name_14; PyObject *tmp_source_name_15; PyObject *tmp_mvar_value_7; PyObject *tmp_ass_subscribed_1; PyObject *tmp_mvar_value_8; PyObject *tmp_ass_subscript_1; PyObject *tmp_source_name_16; PyObject *tmp_mvar_value_9; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 85; goto frame_exception_exit_1; } tmp_source_name_15 = tmp_mvar_value_7; tmp_source_name_14 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_SSL ); if ( tmp_source_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 85; goto frame_exception_exit_1; } tmp_ass_subvalue_1 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_TLSv1_1_METHOD ); Py_DECREF( tmp_source_name_14 ); if ( tmp_ass_subvalue_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 85; goto frame_exception_exit_1; } tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__openssl_versions ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__openssl_versions ); } if ( tmp_mvar_value_8 == NULL ) { Py_DECREF( tmp_ass_subvalue_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_openssl_versions" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 85; goto frame_exception_exit_1; } tmp_ass_subscribed_1 = tmp_mvar_value_8; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_ssl ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ssl ); } if ( tmp_mvar_value_9 == NULL ) { Py_DECREF( tmp_ass_subvalue_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ssl" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 85; goto frame_exception_exit_1; } tmp_source_name_16 = tmp_mvar_value_9; tmp_ass_subscript_1 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_PROTOCOL_TLSv1_1 ); if ( tmp_ass_subscript_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_ass_subvalue_1 ); exception_lineno = 85; goto frame_exception_exit_1; } tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subscript_1 ); Py_DECREF( tmp_ass_subvalue_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 85; goto frame_exception_exit_1; } } branch_no_7:; } { nuitka_bool tmp_condition_result_10; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_source_name_17; PyObject *tmp_mvar_value_10; PyObject *tmp_attribute_name_3; PyObject *tmp_source_name_18; PyObject *tmp_source_name_19; PyObject *tmp_mvar_value_11; PyObject *tmp_attribute_name_4; tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_ssl ); if (unlikely( tmp_mvar_value_10 == NULL )) { tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ssl ); } if ( tmp_mvar_value_10 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ssl" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 87; goto frame_exception_exit_1; } tmp_source_name_17 = tmp_mvar_value_10; tmp_attribute_name_3 = const_str_plain_PROTOCOL_TLSv1_2; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_17, tmp_attribute_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto frame_exception_exit_1; } tmp_and_left_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_11 == NULL )) { tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_11 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 87; goto frame_exception_exit_1; } tmp_source_name_19 = tmp_mvar_value_11; tmp_source_name_18 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain_SSL ); if ( tmp_source_name_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto frame_exception_exit_1; } tmp_attribute_name_4 = const_str_plain_TLSv1_2_METHOD; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_18, tmp_attribute_name_4 ); Py_DECREF( tmp_source_name_18 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto frame_exception_exit_1; } tmp_and_right_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_10 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_10 = tmp_and_left_value_2; and_end_2:; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { PyObject *tmp_ass_subvalue_2; PyObject *tmp_source_name_20; PyObject *tmp_source_name_21; PyObject *tmp_mvar_value_12; PyObject *tmp_ass_subscribed_2; PyObject *tmp_mvar_value_13; PyObject *tmp_ass_subscript_2; PyObject *tmp_source_name_22; PyObject *tmp_mvar_value_14; tmp_mvar_value_12 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_12 == NULL )) { tmp_mvar_value_12 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_12 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 88; goto frame_exception_exit_1; } tmp_source_name_21 = tmp_mvar_value_12; tmp_source_name_20 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain_SSL ); if ( tmp_source_name_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 88; goto frame_exception_exit_1; } tmp_ass_subvalue_2 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain_TLSv1_2_METHOD ); Py_DECREF( tmp_source_name_20 ); if ( tmp_ass_subvalue_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 88; goto frame_exception_exit_1; } tmp_mvar_value_13 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__openssl_versions ); if (unlikely( tmp_mvar_value_13 == NULL )) { tmp_mvar_value_13 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__openssl_versions ); } if ( tmp_mvar_value_13 == NULL ) { Py_DECREF( tmp_ass_subvalue_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_openssl_versions" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 88; goto frame_exception_exit_1; } tmp_ass_subscribed_2 = tmp_mvar_value_13; tmp_mvar_value_14 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_ssl ); if (unlikely( tmp_mvar_value_14 == NULL )) { tmp_mvar_value_14 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ssl ); } if ( tmp_mvar_value_14 == NULL ) { Py_DECREF( tmp_ass_subvalue_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ssl" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 88; goto frame_exception_exit_1; } tmp_source_name_22 = tmp_mvar_value_14; tmp_ass_subscript_2 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain_PROTOCOL_TLSv1_2 ); if ( tmp_ass_subscript_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_ass_subvalue_2 ); exception_lineno = 88; goto frame_exception_exit_1; } tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2 ); Py_DECREF( tmp_ass_subscript_2 ); Py_DECREF( tmp_ass_subvalue_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 88; goto frame_exception_exit_1; } } branch_no_8:; } { // Tried code: { PyObject *tmp_called_name_3; PyObject *tmp_source_name_23; PyObject *tmp_mvar_value_15; PyObject *tmp_args_element_name_1; PyObject *tmp_dict_key_3; PyObject *tmp_dict_value_3; PyObject *tmp_source_name_24; PyObject *tmp_mvar_value_16; PyObject *tmp_source_name_25; PyObject *tmp_source_name_26; PyObject *tmp_mvar_value_17; tmp_mvar_value_15 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__openssl_versions ); if (unlikely( tmp_mvar_value_15 == NULL )) { tmp_mvar_value_15 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__openssl_versions ); } if ( tmp_mvar_value_15 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_openssl_versions" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 91; goto try_except_handler_9; } tmp_source_name_23 = tmp_mvar_value_15; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_23, const_str_plain_update ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; goto try_except_handler_9; } tmp_mvar_value_16 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_ssl ); if (unlikely( tmp_mvar_value_16 == NULL )) { tmp_mvar_value_16 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ssl ); } if ( tmp_mvar_value_16 == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ssl" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 91; goto try_except_handler_9; } tmp_source_name_24 = tmp_mvar_value_16; tmp_dict_key_3 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain_PROTOCOL_SSLv3 ); if ( tmp_dict_key_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 91; goto try_except_handler_9; } tmp_mvar_value_17 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_17 == NULL )) { tmp_mvar_value_17 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_17 == NULL ) { Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_dict_key_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 91; goto try_except_handler_9; } tmp_source_name_26 = tmp_mvar_value_17; tmp_source_name_25 = LOOKUP_ATTRIBUTE( tmp_source_name_26, const_str_plain_SSL ); if ( tmp_source_name_25 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_dict_key_3 ); exception_lineno = 91; goto try_except_handler_9; } tmp_dict_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_25, const_str_plain_SSLv3_METHOD ); Py_DECREF( tmp_source_name_25 ); if ( tmp_dict_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_dict_key_3 ); exception_lineno = 91; goto try_except_handler_9; } tmp_args_element_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_args_element_name_1, tmp_dict_key_3, tmp_dict_value_3 ); Py_DECREF( tmp_dict_value_3 ); Py_DECREF( tmp_dict_key_3 ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_1 ); exception_lineno = 91; goto try_except_handler_9; } frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 91; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; goto try_except_handler_9; } Py_DECREF( tmp_unused ); } goto try_end_7; // Exception handler code: try_except_handler_9:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. exception_preserved_type_3 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_3 ); exception_preserved_value_3 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_3 ); exception_preserved_tb_3 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_3 ); } { if ( exception_keeper_tb_9 == NULL ) { exception_keeper_tb_9 = MAKE_TRACEBACK( frame_fabadd78d4670a6f89d48d636dbe4438, exception_keeper_lineno_9 ); } else if ( exception_keeper_lineno_9 != 0 ) { exception_keeper_tb_9 = ADD_TRACEBACK( exception_keeper_tb_9, frame_fabadd78d4670a6f89d48d636dbe4438, exception_keeper_lineno_9 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_9, &exception_keeper_value_9, &exception_keeper_tb_9 ); PyException_SetTraceback( exception_keeper_value_9, (PyObject *)exception_keeper_tb_9 ); PUBLISH_EXCEPTION( &exception_keeper_type_9, &exception_keeper_value_9, &exception_keeper_tb_9 ); } { // Tried code: { nuitka_bool tmp_condition_result_11; PyObject *tmp_operand_name_2; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; tmp_compexpr_left_4 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_4 = PyExc_AttributeError; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 92; goto try_except_handler_10; } 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 = 92; goto try_except_handler_10; } tmp_condition_result_11 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 90; } if (exception_tb && exception_tb->tb_frame == &frame_fabadd78d4670a6f89d48d636dbe4438->m_frame) frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = exception_tb->tb_lineno; goto try_except_handler_10; } branch_no_9:; } goto try_end_8; // 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; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_3, exception_preserved_value_3, exception_preserved_tb_3 ); } { // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto frame_exception_exit_1; } // End of try: try_end_8:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_3, exception_preserved_value_3, exception_preserved_tb_3 ); } goto try_end_7; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); // End of try: try_end_7:; } { PyObject *tmp_assign_source_32; PyObject *tmp_dict_key_4; PyObject *tmp_dict_value_4; PyObject *tmp_source_name_27; PyObject *tmp_mvar_value_18; PyObject *tmp_source_name_28; PyObject *tmp_source_name_29; PyObject *tmp_mvar_value_19; PyObject *tmp_dict_key_5; PyObject *tmp_dict_value_5; PyObject *tmp_source_name_30; PyObject *tmp_mvar_value_20; PyObject *tmp_source_name_31; PyObject *tmp_source_name_32; PyObject *tmp_mvar_value_21; PyObject *tmp_dict_key_6; PyObject *tmp_dict_value_6; PyObject *tmp_source_name_33; PyObject *tmp_mvar_value_22; PyObject *tmp_left_name_2; PyObject *tmp_source_name_34; PyObject *tmp_source_name_35; PyObject *tmp_mvar_value_23; PyObject *tmp_right_name_2; PyObject *tmp_source_name_36; PyObject *tmp_source_name_37; PyObject *tmp_mvar_value_24; tmp_mvar_value_18 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_ssl ); if (unlikely( tmp_mvar_value_18 == NULL )) { tmp_mvar_value_18 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ssl ); } if ( tmp_mvar_value_18 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ssl" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 96; goto frame_exception_exit_1; } tmp_source_name_27 = tmp_mvar_value_18; tmp_dict_key_4 = LOOKUP_ATTRIBUTE( tmp_source_name_27, const_str_plain_CERT_NONE ); if ( tmp_dict_key_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 96; goto frame_exception_exit_1; } tmp_mvar_value_19 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_19 == NULL )) { tmp_mvar_value_19 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_19 == NULL ) { Py_DECREF( tmp_dict_key_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 96; goto frame_exception_exit_1; } tmp_source_name_29 = tmp_mvar_value_19; tmp_source_name_28 = LOOKUP_ATTRIBUTE( tmp_source_name_29, const_str_plain_SSL ); if ( tmp_source_name_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dict_key_4 ); exception_lineno = 96; goto frame_exception_exit_1; } tmp_dict_value_4 = LOOKUP_ATTRIBUTE( tmp_source_name_28, const_str_plain_VERIFY_NONE ); Py_DECREF( tmp_source_name_28 ); if ( tmp_dict_value_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dict_key_4 ); exception_lineno = 96; goto frame_exception_exit_1; } tmp_assign_source_32 = _PyDict_NewPresized( 3 ); tmp_res = PyDict_SetItem( tmp_assign_source_32, tmp_dict_key_4, tmp_dict_value_4 ); Py_DECREF( tmp_dict_value_4 ); Py_DECREF( tmp_dict_key_4 ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_32 ); exception_lineno = 95; goto frame_exception_exit_1; } tmp_mvar_value_20 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_ssl ); if (unlikely( tmp_mvar_value_20 == NULL )) { tmp_mvar_value_20 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ssl ); } if ( tmp_mvar_value_20 == NULL ) { Py_DECREF( tmp_assign_source_32 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ssl" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 97; goto frame_exception_exit_1; } tmp_source_name_30 = tmp_mvar_value_20; tmp_dict_key_5 = LOOKUP_ATTRIBUTE( tmp_source_name_30, const_str_plain_CERT_OPTIONAL ); if ( tmp_dict_key_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_32 ); exception_lineno = 97; goto frame_exception_exit_1; } tmp_mvar_value_21 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_21 == NULL )) { tmp_mvar_value_21 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_21 == NULL ) { Py_DECREF( tmp_assign_source_32 ); Py_DECREF( tmp_dict_key_5 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 97; goto frame_exception_exit_1; } tmp_source_name_32 = tmp_mvar_value_21; tmp_source_name_31 = LOOKUP_ATTRIBUTE( tmp_source_name_32, const_str_plain_SSL ); if ( tmp_source_name_31 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_32 ); Py_DECREF( tmp_dict_key_5 ); exception_lineno = 97; goto frame_exception_exit_1; } tmp_dict_value_5 = LOOKUP_ATTRIBUTE( tmp_source_name_31, const_str_plain_VERIFY_PEER ); Py_DECREF( tmp_source_name_31 ); if ( tmp_dict_value_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_32 ); Py_DECREF( tmp_dict_key_5 ); exception_lineno = 97; goto frame_exception_exit_1; } tmp_res = PyDict_SetItem( tmp_assign_source_32, tmp_dict_key_5, tmp_dict_value_5 ); Py_DECREF( tmp_dict_value_5 ); Py_DECREF( tmp_dict_key_5 ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_32 ); exception_lineno = 95; goto frame_exception_exit_1; } tmp_mvar_value_22 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_ssl ); if (unlikely( tmp_mvar_value_22 == NULL )) { tmp_mvar_value_22 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ssl ); } if ( tmp_mvar_value_22 == NULL ) { Py_DECREF( tmp_assign_source_32 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ssl" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 98; goto frame_exception_exit_1; } tmp_source_name_33 = tmp_mvar_value_22; tmp_dict_key_6 = LOOKUP_ATTRIBUTE( tmp_source_name_33, const_str_plain_CERT_REQUIRED ); if ( tmp_dict_key_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_32 ); exception_lineno = 98; goto frame_exception_exit_1; } tmp_mvar_value_23 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_23 == NULL )) { tmp_mvar_value_23 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_23 == NULL ) { Py_DECREF( tmp_assign_source_32 ); Py_DECREF( tmp_dict_key_6 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 99; goto frame_exception_exit_1; } tmp_source_name_35 = tmp_mvar_value_23; tmp_source_name_34 = LOOKUP_ATTRIBUTE( tmp_source_name_35, const_str_plain_SSL ); if ( tmp_source_name_34 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_32 ); Py_DECREF( tmp_dict_key_6 ); exception_lineno = 99; goto frame_exception_exit_1; } tmp_left_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_34, const_str_plain_VERIFY_PEER ); Py_DECREF( tmp_source_name_34 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_32 ); Py_DECREF( tmp_dict_key_6 ); exception_lineno = 99; goto frame_exception_exit_1; } tmp_mvar_value_24 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_OpenSSL ); if (unlikely( tmp_mvar_value_24 == NULL )) { tmp_mvar_value_24 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OpenSSL ); } if ( tmp_mvar_value_24 == NULL ) { Py_DECREF( tmp_assign_source_32 ); Py_DECREF( tmp_dict_key_6 ); Py_DECREF( tmp_left_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OpenSSL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 99; goto frame_exception_exit_1; } tmp_source_name_37 = tmp_mvar_value_24; tmp_source_name_36 = LOOKUP_ATTRIBUTE( tmp_source_name_37, const_str_plain_SSL ); if ( tmp_source_name_36 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_32 ); Py_DECREF( tmp_dict_key_6 ); Py_DECREF( tmp_left_name_2 ); exception_lineno = 99; goto frame_exception_exit_1; } tmp_right_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_36, const_str_plain_VERIFY_FAIL_IF_NO_PEER_CERT ); Py_DECREF( tmp_source_name_36 ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_32 ); Py_DECREF( tmp_dict_key_6 ); Py_DECREF( tmp_left_name_2 ); exception_lineno = 99; goto frame_exception_exit_1; } tmp_dict_value_6 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_left_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_dict_value_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_32 ); Py_DECREF( tmp_dict_key_6 ); exception_lineno = 99; goto frame_exception_exit_1; } tmp_res = PyDict_SetItem( tmp_assign_source_32, tmp_dict_key_6, tmp_dict_value_6 ); Py_DECREF( tmp_dict_value_6 ); Py_DECREF( tmp_dict_key_6 ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_32 ); exception_lineno = 95; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__stdlib_to_openssl_verify, tmp_assign_source_32 ); } { PyObject *tmp_assign_source_33; PyObject *tmp_dict_seq_1; { PyObject *tmp_assign_source_34; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_25; tmp_mvar_value_25 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__stdlib_to_openssl_verify ); if (unlikely( tmp_mvar_value_25 == NULL )) { tmp_mvar_value_25 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__stdlib_to_openssl_verify ); } CHECK_OBJECT( tmp_mvar_value_25 ); tmp_called_instance_1 = tmp_mvar_value_25; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 102; tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 102; goto frame_exception_exit_1; } tmp_assign_source_34 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_34 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 102; goto frame_exception_exit_1; } assert( tmp_genexpr_1__$0 == NULL ); tmp_genexpr_1__$0 = tmp_assign_source_34; } { // Tried code: { tmp_dict_seq_1 = urllib3$contrib$pyopenssl$$$genexpr_1_genexpr_maker(); ((struct Nuitka_GeneratorObject *)tmp_dict_seq_1)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 ); goto try_return_handler_11; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_11:; { CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 ); Py_DECREF( tmp_genexpr_1__$0 ); tmp_genexpr_1__$0 = NULL; } { goto outline_result_2; } // End of try: } { CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 ); Py_DECREF( tmp_genexpr_1__$0 ); tmp_genexpr_1__$0 = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); outline_result_2:; tmp_assign_source_33 = TO_DICT( tmp_dict_seq_1, NULL ); Py_DECREF( tmp_dict_seq_1 ); if ( tmp_assign_source_33 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 101; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__openssl_to_stdlib_verify, tmp_assign_source_33 ); } { PyObject *tmp_assign_source_35; tmp_assign_source_35 = const_int_pos_16384; UPDATE_STRING_DICT0( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_SSL_WRITE_BLOCKSIZE, tmp_assign_source_35 ); } { PyObject *tmp_assign_source_36; PyObject *tmp_source_name_38; PyObject *tmp_mvar_value_26; tmp_mvar_value_26 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_26 == NULL )) { tmp_mvar_value_26 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_26 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 108; goto frame_exception_exit_1; } tmp_source_name_38 = tmp_mvar_value_26; tmp_assign_source_36 = LOOKUP_ATTRIBUTE( tmp_source_name_38, const_str_plain_HAS_SNI ); if ( tmp_assign_source_36 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 108; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_orig_util_HAS_SNI, tmp_assign_source_36 ); } { PyObject *tmp_assign_source_37; PyObject *tmp_source_name_39; PyObject *tmp_source_name_40; PyObject *tmp_mvar_value_27; tmp_mvar_value_27 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_util ); if (unlikely( tmp_mvar_value_27 == NULL )) { tmp_mvar_value_27 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_util ); } if ( tmp_mvar_value_27 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "util" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 109; goto frame_exception_exit_1; } tmp_source_name_40 = tmp_mvar_value_27; tmp_source_name_39 = LOOKUP_ATTRIBUTE( tmp_source_name_40, const_str_plain_ssl_ ); if ( tmp_source_name_39 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; goto frame_exception_exit_1; } tmp_assign_source_37 = LOOKUP_ATTRIBUTE( tmp_source_name_39, const_str_plain_SSLContext ); Py_DECREF( tmp_source_name_39 ); if ( tmp_assign_source_37 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_orig_util_SSLContext, tmp_assign_source_37 ); } { PyObject *tmp_assign_source_38; PyObject *tmp_called_instance_2; PyObject *tmp_mvar_value_28; tmp_mvar_value_28 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_logging ); if (unlikely( tmp_mvar_value_28 == NULL )) { tmp_mvar_value_28 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_logging ); } if ( tmp_mvar_value_28 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "logging" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 112; goto frame_exception_exit_1; } tmp_called_instance_2 = tmp_mvar_value_28; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 112; tmp_assign_source_38 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_getLogger, &PyTuple_GET_ITEM( const_tuple_str_digest_9b140d54e682de757186c632bf3beb69_tuple, 0 ) ); if ( tmp_assign_source_38 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 112; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_log, tmp_assign_source_38 ); } { PyObject *tmp_assign_source_39; tmp_assign_source_39 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_1_inject_into_urllib3( ); UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_inject_into_urllib3, tmp_assign_source_39 ); } { PyObject *tmp_assign_source_40; tmp_assign_source_40 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_2_extract_from_urllib3( ); UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_extract_from_urllib3, tmp_assign_source_40 ); } { PyObject *tmp_assign_source_41; tmp_assign_source_41 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_3__validate_dependencies_met( ); UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__validate_dependencies_met, tmp_assign_source_41 ); } { PyObject *tmp_assign_source_42; tmp_assign_source_42 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_4__dnsname_to_stdlib( ); UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__dnsname_to_stdlib, tmp_assign_source_42 ); } { PyObject *tmp_assign_source_43; tmp_assign_source_43 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_5_get_subj_alt_name( ); UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_get_subj_alt_name, tmp_assign_source_43 ); } { // Tried code: { PyObject *tmp_assign_source_44; PyObject *tmp_dircall_arg1_2; tmp_dircall_arg1_2 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_44 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_44 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; goto try_except_handler_12; } assert( tmp_class_creation_2__bases == NULL ); tmp_class_creation_2__bases = tmp_assign_source_44; } { PyObject *tmp_assign_source_45; tmp_assign_source_45 = PyDict_New(); assert( tmp_class_creation_2__class_decl_dict == NULL ); tmp_class_creation_2__class_decl_dict = tmp_assign_source_45; } { PyObject *tmp_assign_source_46; PyObject *tmp_metaclass_name_2; nuitka_bool tmp_condition_result_12; 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_13; 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 = 238; goto try_except_handler_12; } tmp_condition_result_12 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_12 == 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 = 238; goto try_except_handler_12; } 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 = 238; goto try_except_handler_12; } tmp_condition_result_13 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_13 == 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 = 238; goto try_except_handler_12; } 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 = 238; goto try_except_handler_12; } 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_46 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 ); Py_DECREF( tmp_metaclass_name_2 ); if ( tmp_assign_source_46 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; goto try_except_handler_12; } assert( tmp_class_creation_2__metaclass == NULL ); tmp_class_creation_2__metaclass = tmp_assign_source_46; } { nuitka_bool tmp_condition_result_14; 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 = 238; goto try_except_handler_12; } tmp_condition_result_14 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { 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 = 238; goto try_except_handler_12; } } branch_no_10:; } { nuitka_bool tmp_condition_result_15; PyObject *tmp_source_name_41; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_41 = tmp_class_creation_2__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_41, const_str_plain___prepare__ ); tmp_condition_result_15 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto branch_yes_11; } else { goto branch_no_11; } branch_yes_11:; { PyObject *tmp_assign_source_47; PyObject *tmp_called_name_4; PyObject *tmp_source_name_42; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_4; PyObject *tmp_kw_name_3; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_42 = tmp_class_creation_2__metaclass; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_42, const_str_plain___prepare__ ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; goto try_except_handler_12; } tmp_tuple_element_4 = const_str_plain_WrappedSocket; tmp_args_name_3 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_4 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 238; tmp_assign_source_47 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_3, tmp_kw_name_3 ); Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_name_3 ); if ( tmp_assign_source_47 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; goto try_except_handler_12; } assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_47; } { nuitka_bool tmp_condition_result_16; PyObject *tmp_operand_name_3; PyObject *tmp_source_name_43; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_source_name_43 = tmp_class_creation_2__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_43, 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 = 238; goto try_except_handler_12; } tmp_condition_result_16 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE ) { goto branch_yes_12; } else { goto branch_no_12; } branch_yes_12:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_tuple_element_5; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; PyObject *tmp_source_name_44; PyObject *tmp_type_arg_4; tmp_raise_type_2 = PyExc_TypeError; tmp_left_name_3 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_getattr_target_2 = tmp_class_creation_2__metaclass; tmp_getattr_attr_2 = const_str_plain___name__; tmp_getattr_default_2 = const_str_angle_metaclass; tmp_tuple_element_5 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; goto try_except_handler_12; } tmp_right_name_3 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_5 ); CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_type_arg_4 = tmp_class_creation_2__prepared; tmp_source_name_44 = BUILTIN_TYPE1( tmp_type_arg_4 ); assert( !(tmp_source_name_44 == NULL) ); tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_44, const_str_plain___name__ ); Py_DECREF( tmp_source_name_44 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_3 ); exception_lineno = 238; goto try_except_handler_12; } PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_5 ); tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_raise_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; goto try_except_handler_12; } exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_value = tmp_raise_value_2; exception_lineno = 238; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_12; } branch_no_12:; } goto branch_end_11; branch_no_11:; { PyObject *tmp_assign_source_48; tmp_assign_source_48 = PyDict_New(); assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_48; } branch_end_11:; } { PyObject *tmp_assign_source_49; { PyObject *tmp_set_locals_2; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_urllib3$contrib$pyopenssl_238 = tmp_set_locals_2; Py_INCREF( tmp_set_locals_2 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_9b140d54e682de757186c632bf3beb69; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, 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 = 238; goto try_except_handler_14; } } { tmp_dictset_value = const_str_digest_be78399d62208a7b25aea812a1645ac7; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain___doc__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; goto try_except_handler_14; } } { tmp_dictset_value = const_str_plain_WrappedSocket; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, 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 = 238; goto try_except_handler_14; } } MAKE_OR_REUSE_FRAME( cache_frame_589bb92608e9a8804968194ccd0e9843_2, codeobj_589bb92608e9a8804968194ccd0e9843, module_urllib3$contrib$pyopenssl, sizeof(void *) ); frame_589bb92608e9a8804968194ccd0e9843_2 = cache_frame_589bb92608e9a8804968194ccd0e9843_2; // Push the new frame as the currently active one. pushFrameStack( frame_589bb92608e9a8804968194ccd0e9843_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_589bb92608e9a8804968194ccd0e9843_2 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_defaults_1; tmp_defaults_1 = const_tuple_true_tuple; Py_INCREF( tmp_defaults_1 ); tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_6___init__( tmp_defaults_1 ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, 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 = 245; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_7_fileno( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain_fileno, 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 = 252; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_8__decref_socketios( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain__decref_socketios, 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 = 256; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_9_recv( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain_recv, 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 = 262; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_10_recv_into( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain_recv_into, 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 = 283; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_11_settimeout( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain_settimeout, 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 = 302; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_12__send_until_done( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain__send_until_done, 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 = 305; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_13_sendall( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain_sendall, 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 = 316; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_14_shutdown( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain_shutdown, 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 = 322; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_15_close( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain_close, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 326; type_description_2 = "o"; goto frame_exception_exit_2; } } { PyObject *tmp_defaults_2; tmp_defaults_2 = const_tuple_false_tuple; Py_INCREF( tmp_defaults_2 ); tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_16_getpeercert( tmp_defaults_2 ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain_getpeercert, 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 = 336; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_17__reuse( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain__reuse, 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 = 354; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_18__drop( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, const_str_plain__drop, 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 = 357; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_589bb92608e9a8804968194ccd0e9843_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_589bb92608e9a8804968194ccd0e9843_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_589bb92608e9a8804968194ccd0e9843_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_589bb92608e9a8804968194ccd0e9843_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_589bb92608e9a8804968194ccd0e9843_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_589bb92608e9a8804968194ccd0e9843_2, type_description_2, outline_1_var___class__ ); // Release cached frame. if ( frame_589bb92608e9a8804968194ccd0e9843_2 == cache_frame_589bb92608e9a8804968194ccd0e9843_2 ) { Py_DECREF( frame_589bb92608e9a8804968194ccd0e9843_2 ); } cache_frame_589bb92608e9a8804968194ccd0e9843_2 = NULL; assertFrameObject( frame_589bb92608e9a8804968194ccd0e9843_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_14; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_17; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_compexpr_left_5 = tmp_class_creation_2__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 = 238; goto try_except_handler_14; } tmp_condition_result_17 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE ) { goto branch_yes_13; } else { goto branch_no_13; } branch_yes_13:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_238, 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 = 238; goto try_except_handler_14; } } branch_no_13:; } { PyObject *tmp_assign_source_50; PyObject *tmp_called_name_5; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_6; PyObject *tmp_kw_name_4; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_called_name_5 = tmp_class_creation_2__metaclass; tmp_tuple_element_6 = const_str_plain_WrappedSocket; tmp_args_name_4 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_6 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_6 ); tmp_tuple_element_6 = locals_urllib3$contrib$pyopenssl_238; Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 238; tmp_assign_source_50 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_4, tmp_kw_name_4 ); Py_DECREF( tmp_args_name_4 ); if ( tmp_assign_source_50 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; goto try_except_handler_14; } assert( outline_1_var___class__ == NULL ); outline_1_var___class__ = tmp_assign_source_50; } { CHECK_OBJECT( outline_1_var___class__ ); tmp_assign_source_49 = outline_1_var___class__; Py_INCREF( tmp_assign_source_49 ); goto try_return_handler_14; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_14:; { Py_DECREF( locals_urllib3$contrib$pyopenssl_238 ); locals_urllib3$contrib$pyopenssl_238 = NULL; } { goto try_return_handler_13; } // Exception handler code: try_except_handler_14:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_urllib3$contrib$pyopenssl_238 ); locals_urllib3$contrib$pyopenssl_238 = NULL; } { // Re-raise. exception_type = exception_keeper_type_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto try_except_handler_13; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_13:; { CHECK_OBJECT( (PyObject *)outline_1_var___class__ ); Py_DECREF( outline_1_var___class__ ); outline_1_var___class__ = NULL; } { goto outline_result_3; } // Exception handler code: try_except_handler_13:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto outline_exception_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); outline_exception_2:; exception_lineno = 238; goto try_except_handler_12; outline_result_3:; UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_WrappedSocket, tmp_assign_source_49 ); } goto try_end_9; // Exception handler code: try_except_handler_12:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_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_13; exception_value = exception_keeper_value_13; exception_tb = exception_keeper_tb_13; exception_lineno = exception_keeper_lineno_13; goto frame_exception_exit_1; } // End of try: try_end_9:; } { 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; } { nuitka_bool tmp_condition_result_18; PyObject *tmp_mvar_value_29; int tmp_truth_name_3; tmp_mvar_value_29 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__fileobject ); if (unlikely( tmp_mvar_value_29 == NULL )) { tmp_mvar_value_29 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__fileobject ); } if ( tmp_mvar_value_29 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_fileobject" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 364; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE( tmp_mvar_value_29 ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 364; goto frame_exception_exit_1; } tmp_condition_result_18 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE ) { goto branch_yes_14; } else { goto branch_no_14; } branch_yes_14:; { PyObject *tmp_assign_source_51; PyObject *tmp_defaults_3; tmp_defaults_3 = const_tuple_int_neg_1_tuple; Py_INCREF( tmp_defaults_3 ); tmp_assign_source_51 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_19_makefile( tmp_defaults_3 ); UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_makefile, tmp_assign_source_51 ); } goto branch_end_14; branch_no_14:; { PyObject *tmp_assign_source_52; PyObject *tmp_mvar_value_30; tmp_mvar_value_30 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_backport_makefile ); if (unlikely( tmp_mvar_value_30 == NULL )) { tmp_mvar_value_30 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_backport_makefile ); } if ( tmp_mvar_value_30 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "backport_makefile" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 369; goto frame_exception_exit_1; } tmp_assign_source_52 = tmp_mvar_value_30; UPDATE_STRING_DICT0( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_makefile, tmp_assign_source_52 ); } branch_end_14:; } { PyObject *tmp_assattr_name_1; PyObject *tmp_mvar_value_31; PyObject *tmp_assattr_target_1; PyObject *tmp_mvar_value_32; tmp_mvar_value_31 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_makefile ); if (unlikely( tmp_mvar_value_31 == NULL )) { tmp_mvar_value_31 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_makefile ); } CHECK_OBJECT( tmp_mvar_value_31 ); tmp_assattr_name_1 = tmp_mvar_value_31; tmp_mvar_value_32 = GET_STRING_DICT_VALUE( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_WrappedSocket ); if (unlikely( tmp_mvar_value_32 == NULL )) { tmp_mvar_value_32 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_WrappedSocket ); } if ( tmp_mvar_value_32 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "WrappedSocket" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 371; goto frame_exception_exit_1; } tmp_assattr_target_1 = tmp_mvar_value_32; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_makefile, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 371; goto frame_exception_exit_1; } } { // Tried code: { PyObject *tmp_assign_source_53; PyObject *tmp_dircall_arg1_3; tmp_dircall_arg1_3 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_3 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_3}; tmp_assign_source_53 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_53 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 374; goto try_except_handler_15; } assert( tmp_class_creation_3__bases == NULL ); tmp_class_creation_3__bases = tmp_assign_source_53; } { PyObject *tmp_assign_source_54; tmp_assign_source_54 = PyDict_New(); assert( tmp_class_creation_3__class_decl_dict == NULL ); tmp_class_creation_3__class_decl_dict = tmp_assign_source_54; } { PyObject *tmp_assign_source_55; PyObject *tmp_metaclass_name_3; nuitka_bool tmp_condition_result_19; 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_20; int tmp_truth_name_4; 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 = 374; goto try_except_handler_15; } tmp_condition_result_19 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_19 == 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 = 374; goto try_except_handler_15; } goto condexpr_end_5; condexpr_false_5:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_truth_name_4 = CHECK_IF_TRUE( tmp_class_creation_3__bases ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 374; goto try_except_handler_15; } 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_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 = 374; goto try_except_handler_15; } 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 = 374; goto try_except_handler_15; } 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_55 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 ); Py_DECREF( tmp_metaclass_name_3 ); if ( tmp_assign_source_55 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 374; goto try_except_handler_15; } assert( tmp_class_creation_3__metaclass == NULL ); tmp_class_creation_3__metaclass = tmp_assign_source_55; } { nuitka_bool tmp_condition_result_21; 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 = 374; goto try_except_handler_15; } tmp_condition_result_21 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_21 == NUITKA_BOOL_TRUE ) { goto branch_yes_15; } else { goto branch_no_15; } branch_yes_15:; { 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 = 374; goto try_except_handler_15; } } branch_no_15:; } { nuitka_bool tmp_condition_result_22; PyObject *tmp_source_name_45; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_45 = tmp_class_creation_3__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_45, 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_16; } else { goto branch_no_16; } branch_yes_16:; { PyObject *tmp_assign_source_56; PyObject *tmp_called_name_6; PyObject *tmp_source_name_46; PyObject *tmp_args_name_5; PyObject *tmp_tuple_element_7; PyObject *tmp_kw_name_5; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_46 = tmp_class_creation_3__metaclass; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_46, const_str_plain___prepare__ ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 374; goto try_except_handler_15; } tmp_tuple_element_7 = const_str_plain_PyOpenSSLContext; tmp_args_name_5 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_5, 0, tmp_tuple_element_7 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_7 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_5, 1, tmp_tuple_element_7 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_5 = tmp_class_creation_3__class_decl_dict; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 374; tmp_assign_source_56 = CALL_FUNCTION( tmp_called_name_6, tmp_args_name_5, tmp_kw_name_5 ); Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_args_name_5 ); if ( tmp_assign_source_56 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 374; goto try_except_handler_15; } assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_56; } { nuitka_bool tmp_condition_result_23; PyObject *tmp_operand_name_4; PyObject *tmp_source_name_47; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_source_name_47 = tmp_class_creation_3__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_47, 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 = 374; goto try_except_handler_15; } tmp_condition_result_23 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_23 == NUITKA_BOOL_TRUE ) { goto branch_yes_17; } else { goto branch_no_17; } branch_yes_17:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_3; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_tuple_element_8; PyObject *tmp_getattr_target_3; PyObject *tmp_getattr_attr_3; PyObject *tmp_getattr_default_3; PyObject *tmp_source_name_48; PyObject *tmp_type_arg_6; tmp_raise_type_3 = PyExc_TypeError; tmp_left_name_4 = 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_8 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 ); if ( tmp_tuple_element_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 374; goto try_except_handler_15; } tmp_right_name_4 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_4, 0, tmp_tuple_element_8 ); CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_type_arg_6 = tmp_class_creation_3__prepared; tmp_source_name_48 = BUILTIN_TYPE1( tmp_type_arg_6 ); assert( !(tmp_source_name_48 == NULL) ); tmp_tuple_element_8 = LOOKUP_ATTRIBUTE( tmp_source_name_48, const_str_plain___name__ ); Py_DECREF( tmp_source_name_48 ); if ( tmp_tuple_element_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_4 ); exception_lineno = 374; goto try_except_handler_15; } PyTuple_SET_ITEM( tmp_right_name_4, 1, tmp_tuple_element_8 ); tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_4, tmp_right_name_4 ); Py_DECREF( tmp_right_name_4 ); if ( tmp_raise_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 374; goto try_except_handler_15; } exception_type = tmp_raise_type_3; Py_INCREF( tmp_raise_type_3 ); exception_value = tmp_raise_value_3; exception_lineno = 374; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_15; } branch_no_17:; } goto branch_end_16; branch_no_16:; { PyObject *tmp_assign_source_57; tmp_assign_source_57 = PyDict_New(); assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_57; } branch_end_16:; } { PyObject *tmp_assign_source_58; { PyObject *tmp_set_locals_3; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_set_locals_3 = tmp_class_creation_3__prepared; locals_urllib3$contrib$pyopenssl_374 = tmp_set_locals_3; Py_INCREF( tmp_set_locals_3 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_9b140d54e682de757186c632bf3beb69; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, 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 = 374; goto try_except_handler_17; } } { tmp_dictset_value = const_str_digest_da6b5f185ded68c9e526279026e68fbc; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain___doc__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 374; goto try_except_handler_17; } } { tmp_dictset_value = const_str_plain_PyOpenSSLContext; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, 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 = 374; goto try_except_handler_17; } } MAKE_OR_REUSE_FRAME( cache_frame_ec99fc747e3c72f0c869369a43696673_3, codeobj_ec99fc747e3c72f0c869369a43696673, module_urllib3$contrib$pyopenssl, sizeof(void *) ); frame_ec99fc747e3c72f0c869369a43696673_3 = cache_frame_ec99fc747e3c72f0c869369a43696673_3; // Push the new frame as the currently active one. pushFrameStack( frame_ec99fc747e3c72f0c869369a43696673_3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ec99fc747e3c72f0c869369a43696673_3 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_20___init__( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, 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 = 380; type_description_2 = "o"; goto frame_exception_exit_3; } } { nuitka_bool tmp_condition_result_24; PyObject *tmp_called_name_7; PyObject *tmp_args_element_name_2; PyObject *tmp_called_name_8; PyObject *tmp_args_element_name_3; tmp_res = MAPPING_HAS_ITEM( locals_urllib3$contrib$pyopenssl_374, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 386; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_condition_result_24 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_24 == NUITKA_BOOL_TRUE ) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; tmp_called_name_7 = PyObject_GetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_property ); if ( tmp_called_name_7 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 386; type_description_2 = "o"; goto frame_exception_exit_3; } if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 386; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_args_element_name_2 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_21_options( ); frame_ec99fc747e3c72f0c869369a43696673_3->m_frame.f_lineno = 386; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 386; type_description_2 = "o"; goto frame_exception_exit_3; } goto condexpr_end_7; condexpr_false_7:; tmp_called_name_8 = (PyObject *)&PyProperty_Type; tmp_args_element_name_3 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_21_options( ); frame_ec99fc747e3c72f0c869369a43696673_3->m_frame.f_lineno = 386; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_args_element_name_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 386; type_description_2 = "o"; goto frame_exception_exit_3; } condexpr_end_7:; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_options, 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 = 386; type_description_2 = "o"; goto frame_exception_exit_3; } } { PyObject *tmp_called_instance_3; PyObject *tmp_args_element_name_4; tmp_called_instance_3 = PyObject_GetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_options ); if ( tmp_called_instance_3 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "options" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 390; type_description_2 = "o"; goto frame_exception_exit_3; } if ( tmp_called_instance_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 390; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_args_element_name_4 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_22_options( ); frame_ec99fc747e3c72f0c869369a43696673_3->m_frame.f_lineno = 390; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_setter, call_args ); } Py_DECREF( tmp_called_instance_3 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 390; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_options, 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 = 390; type_description_2 = "o"; goto frame_exception_exit_3; } } { nuitka_bool tmp_condition_result_25; PyObject *tmp_called_name_9; PyObject *tmp_args_element_name_5; PyObject *tmp_called_name_10; PyObject *tmp_args_element_name_6; tmp_res = MAPPING_HAS_ITEM( locals_urllib3$contrib$pyopenssl_374, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 395; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_condition_result_25 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_25 == NUITKA_BOOL_TRUE ) { goto condexpr_true_8; } else { goto condexpr_false_8; } condexpr_true_8:; tmp_called_name_9 = PyObject_GetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_property ); if ( tmp_called_name_9 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 395; type_description_2 = "o"; goto frame_exception_exit_3; } if ( tmp_called_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 395; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_args_element_name_5 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_23_verify_mode( ); frame_ec99fc747e3c72f0c869369a43696673_3->m_frame.f_lineno = 395; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args ); } Py_DECREF( tmp_called_name_9 ); Py_DECREF( tmp_args_element_name_5 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 395; type_description_2 = "o"; goto frame_exception_exit_3; } goto condexpr_end_8; condexpr_false_8:; tmp_called_name_10 = (PyObject *)&PyProperty_Type; tmp_args_element_name_6 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_23_verify_mode( ); frame_ec99fc747e3c72f0c869369a43696673_3->m_frame.f_lineno = 395; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args ); } Py_DECREF( tmp_args_element_name_6 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 395; type_description_2 = "o"; goto frame_exception_exit_3; } condexpr_end_8:; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_verify_mode, 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 = 395; type_description_2 = "o"; goto frame_exception_exit_3; } } { PyObject *tmp_called_instance_4; PyObject *tmp_args_element_name_7; tmp_called_instance_4 = PyObject_GetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_verify_mode ); if ( tmp_called_instance_4 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "verify_mode" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 399; type_description_2 = "o"; goto frame_exception_exit_3; } if ( tmp_called_instance_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 399; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_args_element_name_7 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_24_verify_mode( ); frame_ec99fc747e3c72f0c869369a43696673_3->m_frame.f_lineno = 399; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_setter, call_args ); } Py_DECREF( tmp_called_instance_4 ); Py_DECREF( tmp_args_element_name_7 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 399; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_verify_mode, 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 = 399; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_25_set_default_verify_paths( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_set_default_verify_paths, 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 = 406; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_26_set_ciphers( ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_set_ciphers, 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 = 409; type_description_2 = "o"; goto frame_exception_exit_3; } } { PyObject *tmp_defaults_4; tmp_defaults_4 = const_tuple_none_none_none_tuple; Py_INCREF( tmp_defaults_4 ); tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_27_load_verify_locations( tmp_defaults_4 ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_load_verify_locations, 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 = 414; type_description_2 = "o"; goto frame_exception_exit_3; } } { PyObject *tmp_defaults_5; tmp_defaults_5 = const_tuple_none_none_tuple; Py_INCREF( tmp_defaults_5 ); tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_28_load_cert_chain( tmp_defaults_5 ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_load_cert_chain, 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 = 423; type_description_2 = "o"; goto frame_exception_exit_3; } } { PyObject *tmp_defaults_6; tmp_defaults_6 = const_tuple_false_true_true_none_tuple; Py_INCREF( tmp_defaults_6 ); tmp_dictset_value = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_29_wrap_socket( tmp_defaults_6 ); tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, const_str_plain_wrap_socket, 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 = 429; type_description_2 = "o"; goto frame_exception_exit_3; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_ec99fc747e3c72f0c869369a43696673_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_ec99fc747e3c72f0c869369a43696673_3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ec99fc747e3c72f0c869369a43696673_3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ec99fc747e3c72f0c869369a43696673_3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ec99fc747e3c72f0c869369a43696673_3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ec99fc747e3c72f0c869369a43696673_3, type_description_2, outline_2_var___class__ ); // Release cached frame. if ( frame_ec99fc747e3c72f0c869369a43696673_3 == cache_frame_ec99fc747e3c72f0c869369a43696673_3 ) { Py_DECREF( frame_ec99fc747e3c72f0c869369a43696673_3 ); } cache_frame_ec99fc747e3c72f0c869369a43696673_3 = NULL; assertFrameObject( frame_ec99fc747e3c72f0c869369a43696673_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_17; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_26; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_compexpr_left_6 = tmp_class_creation_3__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 = 374; goto try_except_handler_17; } tmp_condition_result_26 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_26 == NUITKA_BOOL_TRUE ) { goto branch_yes_18; } else { goto branch_no_18; } branch_yes_18:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_urllib3$contrib$pyopenssl_374, 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 = 374; goto try_except_handler_17; } } branch_no_18:; } { PyObject *tmp_assign_source_59; PyObject *tmp_called_name_11; PyObject *tmp_args_name_6; PyObject *tmp_tuple_element_9; PyObject *tmp_kw_name_6; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_called_name_11 = tmp_class_creation_3__metaclass; tmp_tuple_element_9 = const_str_plain_PyOpenSSLContext; tmp_args_name_6 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_9 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_9 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_9 ); tmp_tuple_element_9 = locals_urllib3$contrib$pyopenssl_374; Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_6, 2, tmp_tuple_element_9 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_6 = tmp_class_creation_3__class_decl_dict; frame_fabadd78d4670a6f89d48d636dbe4438->m_frame.f_lineno = 374; tmp_assign_source_59 = CALL_FUNCTION( tmp_called_name_11, tmp_args_name_6, tmp_kw_name_6 ); Py_DECREF( tmp_args_name_6 ); if ( tmp_assign_source_59 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 374; goto try_except_handler_17; } assert( outline_2_var___class__ == NULL ); outline_2_var___class__ = tmp_assign_source_59; } { CHECK_OBJECT( outline_2_var___class__ ); tmp_assign_source_58 = outline_2_var___class__; Py_INCREF( tmp_assign_source_58 ); goto try_return_handler_17; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_17:; { Py_DECREF( locals_urllib3$contrib$pyopenssl_374 ); locals_urllib3$contrib$pyopenssl_374 = NULL; } { goto try_return_handler_16; } // Exception handler code: try_except_handler_17:; 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_DECREF( locals_urllib3$contrib$pyopenssl_374 ); locals_urllib3$contrib$pyopenssl_374 = NULL; } { // Re-raise. exception_type = exception_keeper_type_14; exception_value = exception_keeper_value_14; exception_tb = exception_keeper_tb_14; exception_lineno = exception_keeper_lineno_14; goto try_except_handler_16; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_16:; { CHECK_OBJECT( (PyObject *)outline_2_var___class__ ); Py_DECREF( outline_2_var___class__ ); outline_2_var___class__ = NULL; } { goto outline_result_4; } // Exception handler code: try_except_handler_16:; 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; { // 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 outline_exception_3; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$contrib$pyopenssl ); return MOD_RETURN_VALUE( NULL ); outline_exception_3:; exception_lineno = 374; goto try_except_handler_15; outline_result_4:; UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain_PyOpenSSLContext, tmp_assign_source_58 ); } goto try_end_10; // Exception handler code: try_except_handler_15:; exception_keeper_type_16 = exception_type; exception_keeper_value_16 = exception_value; exception_keeper_tb_16 = exception_tb; exception_keeper_lineno_16 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( 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_16; exception_value = exception_keeper_value_16; exception_tb = exception_keeper_tb_16; exception_lineno = exception_keeper_lineno_16; goto frame_exception_exit_1; } // End of try: try_end_10:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_fabadd78d4670a6f89d48d636dbe4438 ); #endif popFrameStack(); assertFrameObject( frame_fabadd78d4670a6f89d48d636dbe4438 ); goto frame_no_exception_3; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fabadd78d4670a6f89d48d636dbe4438 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_fabadd78d4670a6f89d48d636dbe4438, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_fabadd78d4670a6f89d48d636dbe4438->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_fabadd78d4670a6f89d48d636dbe4438, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_3:; { 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; } { PyObject *tmp_assign_source_60; tmp_assign_source_60 = MAKE_FUNCTION_urllib3$contrib$pyopenssl$$$function_30__verify_callback( ); UPDATE_STRING_DICT1( moduledict_urllib3$contrib$pyopenssl, (Nuitka_StringObject *)const_str_plain__verify_callback, tmp_assign_source_60 ); } return MOD_RETURN_VALUE( module_urllib3$contrib$pyopenssl ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }