mirror of
https://github.com/house-of-vanity/fesmoo_perdoliq.git
synced 2025-08-21 16:17:15 +00:00
12143 lines
396 KiB
C
12143 lines
396 KiB
C
/* Generated code for Python source for module 'future.backports.email.charset'
|
|
* created by Nuitka version 0.6.0
|
|
*
|
|
* This code is in part copyright 2018 Kay Hayen.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#include "nuitka/prelude.h"
|
|
|
|
#include "__helpers.h"
|
|
|
|
/* The _module_future$backports$email$charset is a Python object pointer of module type. */
|
|
|
|
/* Note: For full compatibility with CPython, every module variable access
|
|
* needs to go through it except for cases where the module cannot possibly
|
|
* have changed in the mean time.
|
|
*/
|
|
|
|
PyObject *module_future$backports$email$charset;
|
|
PyDictObject *moduledict_future$backports$email$charset;
|
|
|
|
/* The module constants used, if any. */
|
|
static PyObject *const_str_digest_b19a1e864ac21f752cd7a57df4f79946;
|
|
static PyObject *const_str_plain_SHORTEST;
|
|
extern PyObject *const_str_plain_header_encode_lines;
|
|
extern PyObject *const_str_plain_metaclass;
|
|
extern PyObject *const_str_plain___name__;
|
|
static PyObject *const_str_digest_3fb0f2d55b1454c93e22718c7ae51e4c;
|
|
extern PyObject *const_tuple_str_plain___class___tuple;
|
|
extern PyObject *const_str_plain_string;
|
|
extern PyObject *const_str_angle_metaclass;
|
|
static PyObject *const_str_plain_RFC2047_CHROME_LEN;
|
|
extern PyObject *const_tuple_str_plain_ascii_str_plain_surrogateescape_tuple;
|
|
static PyObject *const_str_digest_e5df5baa78bc03c8f31f7a10bac1f535;
|
|
extern PyObject *const_str_plain___file__;
|
|
extern PyObject *const_str_plain_latin1;
|
|
extern PyObject *const_str_plain_object;
|
|
static PyObject *const_str_digest_3bbc0287d0003df24b3b9bfd53ff274a;
|
|
extern PyObject *const_str_plain_encode;
|
|
extern PyObject *const_str_plain_CharsetError;
|
|
static PyObject *const_str_plain_BASE64;
|
|
static PyObject *const_tuple_str_plain_next_tuple;
|
|
extern PyObject *const_str_digest_308b528f6f3a13b66fca5729f635fa2d;
|
|
static PyObject *const_str_plain_add_codec;
|
|
extern PyObject *const_str_plain_division;
|
|
static PyObject *const_tuple_str_plain_charset_str_plain_codecname_tuple;
|
|
extern PyObject *const_str_plain_output_charset;
|
|
static PyObject *const_str_digest_5b2471d7a0fba14bf6a8d6bdf0676287;
|
|
static PyObject *const_str_digest_2fc2cfd85e9169d7a3a02f77487759f7;
|
|
extern PyObject *const_str_plain_email;
|
|
extern PyObject *const_tuple_str_plain_partial_tuple;
|
|
extern PyObject *const_str_plain_None;
|
|
static PyObject *const_str_plain_QP;
|
|
extern PyObject *const_str_plain_charset;
|
|
extern PyObject *const_str_digest_d19bf663764a0b15d5e8f7167c910e4e;
|
|
extern PyObject *const_str_digest_741d67a63a1148262437f3f97bcea1cd;
|
|
static PyObject *const_str_digest_1671bf4e4f654ab8c7ba33504964c669;
|
|
extern PyObject *const_str_plain_maxlen;
|
|
static PyObject *const_tuple_str_plain_string_str_plain_codec_tuple;
|
|
extern PyObject *const_str_plain_get_output_charset;
|
|
extern PyObject *const_str_plain_next;
|
|
static PyObject *const_str_plain_this_line;
|
|
static PyObject *const_str_digest_73b5849d046f5c698929aa2aa119cd97;
|
|
static PyObject *const_str_digest_6644d669e0e9f34a8195709ca3f92adb;
|
|
extern PyObject *const_str_plain_join;
|
|
extern PyObject *const_str_plain_output_codec;
|
|
static PyObject *const_str_digest_4add0a7a450a2179c066959cd2bafefe;
|
|
extern PyObject *const_tuple_none_none_none_tuple;
|
|
extern PyObject *const_str_plain_absolute_import;
|
|
extern PyObject *const_str_plain___doc__;
|
|
extern PyObject *const_str_plain_lower;
|
|
extern PyObject *const_tuple_str_plain_errors_tuple;
|
|
static PyObject *const_str_digest_568361846626f20d3ed2fef28ba63d78;
|
|
extern PyObject *const_str_digest_20861594150da1e43b5ee3f86b9deef6;
|
|
extern PyObject *const_str_plain___orig_bases__;
|
|
static PyObject *const_str_plain_CODEC_MAP;
|
|
static PyObject *const_str_plain_canonical;
|
|
static PyObject *const_str_digest_c51be62745af9683f98a346aa1995618;
|
|
extern PyObject *const_tuple_str_plain_ascii_tuple;
|
|
static PyObject *const_str_digest_735c58e3c875aa2918e147a157d10f33;
|
|
static PyObject *const_dict_0540273436a7e7b635e83f4ff8ffb0ee;
|
|
extern PyObject *const_str_plain_str;
|
|
extern PyObject *const_str_plain___ne__;
|
|
extern PyObject *const_str_plain_input_charset;
|
|
static PyObject *const_str_digest_a9671d58dc5d1a2ffbf3c7beabdf4f47;
|
|
static PyObject *const_str_digest_6c6a1d2bf4ffd2cdc91acd03461095f8;
|
|
extern PyObject *const_str_plain___qualname__;
|
|
extern PyObject *const_str_plain_header_encoding;
|
|
static PyObject *const_str_plain_DEFAULT_CHARSET;
|
|
static PyObject *const_str_digest_06c3df7a128f394ed52bb13f34611514;
|
|
static PyObject *const_str_plain_joined_line;
|
|
static PyObject *const_str_plain_add_charset;
|
|
static PyObject *const_str_plain_len64;
|
|
extern PyObject *const_str_digest_d2e4011cbc7cf5a65e1cc479840bcff9;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_other_tuple;
|
|
static PyObject *const_str_digest_7893419b7661835e465aa0bee0af5c89;
|
|
extern PyObject *const_tuple_str_plain_self_tuple;
|
|
extern PyObject *const_str_plain_surrogateescape;
|
|
extern PyObject *const_str_plain_quoprimime;
|
|
extern PyObject *const_tuple_str_plain_latin1_tuple;
|
|
extern PyObject *const_str_plain_base64;
|
|
static PyObject *const_str_digest_2c73a1a9ccb9aaa45763845528ca38e2;
|
|
static PyObject *const_str_digest_21cdc79d7d277ce60a65c7621f6b9d0c;
|
|
static PyObject *const_str_plain_codecname;
|
|
extern PyObject *const_str_plain_header_encode;
|
|
extern PyObject *const_tuple_empty;
|
|
extern PyObject *const_str_plain_header_bytes;
|
|
extern PyObject *const_str_space;
|
|
static PyObject *const_str_plain_add_alias;
|
|
extern PyObject *const_str_plain_append;
|
|
extern PyObject *const_str_plain_separator;
|
|
static PyObject *const_str_plain_encoder_module;
|
|
extern PyObject *const_str_digest_c3c96c8ed3ec2ec3a4d3f0dfaaa3ddf2;
|
|
static PyObject *const_tuple_str_plain_alias_str_plain_canonical_tuple;
|
|
extern PyObject *const_str_plain_errors;
|
|
static PyObject *const_tuple_5b4b95c0dfc436eac38ff3037fb27cfb_tuple;
|
|
static PyObject *const_dict_b89ed32a5c1c5ab949ab76f3b70d44cb;
|
|
extern PyObject *const_str_plain_Charset;
|
|
extern PyObject *const_str_plain_base64mime;
|
|
static PyObject *const_str_plain_body_enc;
|
|
extern PyObject *const_str_plain_decode;
|
|
static PyObject *const_str_digest_326b8ec8e594664c22687d2269146df7;
|
|
static PyObject *const_str_plain_ALIASES;
|
|
extern PyObject *const_str_plain___getitem__;
|
|
extern PyObject *const_str_plain___all__;
|
|
extern PyObject *const_str_digest_c075052d723d6707083e869a0e3659bb;
|
|
extern PyObject *const_str_plain_encode_7or8bit;
|
|
static PyObject *const_str_plain_conv;
|
|
static PyObject *const_tuple_b8485f239eb3cf3d6494af09cd9bc16c_tuple;
|
|
extern PyObject *const_str_plain___eq__;
|
|
extern PyObject *const_str_plain_pop;
|
|
static PyObject *const_tuple_f897390e8f1a7c8d720b28e76eb3c42c_tuple;
|
|
extern PyObject *const_int_0;
|
|
static PyObject *const_str_plain_henc;
|
|
static PyObject *const_tuple_str_plain_encode_7or8bit_tuple;
|
|
static PyObject *const_str_plain_gb2312;
|
|
static PyObject *const_str_plain_CHARSETS;
|
|
extern PyObject *const_str_plain_extra;
|
|
static PyObject *const_str_plain_body_encoding;
|
|
extern PyObject *const_str_digest_5b492fde186bf9fa2dbf7913e4ddea2c;
|
|
extern PyObject *const_tuple_str_plain_str_tuple;
|
|
extern PyObject *const_str_plain_length;
|
|
static PyObject *const_str_digest_2a76542895d755cfeccab89151470043;
|
|
static PyObject *const_str_plain_big5_tw;
|
|
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
static PyObject *const_str_digest_0bce12be770fe83e909736ab77e40b74;
|
|
extern PyObject *const_str_plain_input_codec;
|
|
static PyObject *const_tuple_e29a54f95a7b4af2a45278392838135e_tuple;
|
|
static PyObject *const_str_plain_header_enc;
|
|
static PyObject *const_str_digest_9383a493ad036aca83ddca133e2a7edc;
|
|
static PyObject *const_tuple_60f6de948ea44572b207f12be5447355_tuple;
|
|
extern PyObject *const_str_plain_EMPTYSTRING;
|
|
static PyObject *const_str_plain_shift_jis;
|
|
extern PyObject *const_str_plain_type;
|
|
static PyObject *const_str_digest_313495d36ece046983f5860aabedd45c;
|
|
extern PyObject *const_str_plain_header_length;
|
|
extern PyObject *const_str_plain___cached__;
|
|
static PyObject *const_str_digest_28884ba7aee4f7b7562035f0608013c6;
|
|
extern PyObject *const_str_plain___class__;
|
|
extern PyObject *const_str_plain_codec;
|
|
extern PyObject *const_tuple_none_tuple;
|
|
static PyObject *const_str_plain_current_line;
|
|
static PyObject *const_str_plain_eucgb2312_cn;
|
|
extern PyObject *const_tuple_type_object_tuple;
|
|
extern PyObject *const_str_plain___module__;
|
|
extern PyObject *const_str_plain_functools;
|
|
extern PyObject *const_str_plain___str__;
|
|
static PyObject *const_str_plain_lenqp;
|
|
extern PyObject *const_str_plain_unicode_literals;
|
|
static PyObject *const_str_plain__get_encoder;
|
|
static PyObject *const_str_digest_a91b7f7cb6c1e687d29ec04e093d10cd;
|
|
extern PyObject *const_str_plain_partial;
|
|
extern PyObject *const_int_pos_1;
|
|
static PyObject *const_str_plain_maxlengths;
|
|
static PyObject *const_str_digest_047fadfffaca6a62667882fbee0b4964;
|
|
extern PyObject *const_tuple_str_plain_email_tuple;
|
|
extern PyObject *const_str_plain_UNKNOWN8BIT;
|
|
extern PyObject *const_str_plain_other;
|
|
extern PyObject *const_str_plain_alias;
|
|
extern PyObject *const_str_digest_0e0a66fa25a730966802deeb1b6be9bf;
|
|
extern PyObject *const_str_digest_880529ee285393273b708ebc2cbdff96;
|
|
static PyObject *const_str_digest_58cb6871db47327ba631a4c7ffc117ea;
|
|
extern PyObject *const_int_pos_3;
|
|
static PyObject *const_list_908a71c311388d4440cd4234bfadfed3_list;
|
|
extern PyObject *const_str_plain___prepare__;
|
|
extern PyObject *const_str_plain___init__;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_string_tuple;
|
|
extern PyObject *const_str_plain_encoder;
|
|
extern PyObject *const_str_digest_dbed2d8610eb28a4c8f2b2cb41b61864;
|
|
extern PyObject *const_str_plain_self;
|
|
extern PyObject *const_str_plain_lines;
|
|
static PyObject *const_str_plain_big5;
|
|
static PyObject *const_str_digest_d0448529256c69ba9291c30b72b8582d;
|
|
extern PyObject *const_str_digest_6968875ff9253166eec441872605df0f;
|
|
extern PyObject *const_str_plain___repr__;
|
|
extern PyObject *const_str_plain_body_encode;
|
|
extern PyObject *const_int_pos_7;
|
|
static PyObject *const_str_plain_viscii;
|
|
static PyObject *const_str_digest_d69bcd163f09c4f31b32f86856514209;
|
|
extern PyObject *const_str_plain_get;
|
|
extern PyObject *const_int_pos_2;
|
|
extern PyObject *const_str_plain_ascii;
|
|
extern PyObject *const_str_plain_get_body_encoding;
|
|
extern PyObject *const_str_digest_29519ab8213fea2e78dbfee4381e95e6;
|
|
extern PyObject *const_str_empty;
|
|
extern PyObject *const_str_plain_character;
|
|
static PyObject *const_str_digest_bab05edd7e8bae88bc446e2b3ec612d1;
|
|
extern PyObject *const_str_digest_3293e85292556cc6d800009076416580;
|
|
static PyObject *const_str_plain_benc;
|
|
extern PyObject *const_str_plain__encode;
|
|
static PyObject *module_filename_obj;
|
|
|
|
static bool constants_created = false;
|
|
|
|
static void createModuleConstants( void )
|
|
{
|
|
const_str_digest_b19a1e864ac21f752cd7a57df4f79946 = UNSTREAM_STRING( &constant_bin[ 571191 ], 592, 0 );
|
|
const_str_plain_SHORTEST = UNSTREAM_STRING( &constant_bin[ 571783 ], 8, 1 );
|
|
const_str_digest_3fb0f2d55b1454c93e22718c7ae51e4c = UNSTREAM_STRING( &constant_bin[ 571791 ], 27, 0 );
|
|
const_str_plain_RFC2047_CHROME_LEN = UNSTREAM_STRING( &constant_bin[ 571818 ], 18, 1 );
|
|
const_str_digest_e5df5baa78bc03c8f31f7a10bac1f535 = UNSTREAM_STRING( &constant_bin[ 571836 ], 292, 0 );
|
|
const_str_digest_3bbc0287d0003df24b3b9bfd53ff274a = UNSTREAM_STRING( &constant_bin[ 572128 ], 16, 0 );
|
|
const_str_plain_BASE64 = UNSTREAM_STRING( &constant_bin[ 571720 ], 6, 1 );
|
|
const_tuple_str_plain_next_tuple = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_next_tuple, 0, const_str_plain_next ); Py_INCREF( const_str_plain_next );
|
|
const_str_plain_add_codec = UNSTREAM_STRING( &constant_bin[ 572144 ], 9, 1 );
|
|
const_tuple_str_plain_charset_str_plain_codecname_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_charset_str_plain_codecname_tuple, 0, const_str_plain_charset ); Py_INCREF( const_str_plain_charset );
|
|
const_str_plain_codecname = UNSTREAM_STRING( &constant_bin[ 571962 ], 9, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_charset_str_plain_codecname_tuple, 1, const_str_plain_codecname ); Py_INCREF( const_str_plain_codecname );
|
|
const_str_digest_5b2471d7a0fba14bf6a8d6bdf0676287 = UNSTREAM_STRING( &constant_bin[ 572153 ], 11, 0 );
|
|
const_str_digest_2fc2cfd85e9169d7a3a02f77487759f7 = UNSTREAM_STRING( &constant_bin[ 572164 ], 6, 0 );
|
|
const_str_plain_QP = UNSTREAM_STRING( &constant_bin[ 571666 ], 2, 1 );
|
|
const_str_digest_1671bf4e4f654ab8c7ba33504964c669 = UNSTREAM_STRING( &constant_bin[ 572170 ], 20, 0 );
|
|
const_tuple_str_plain_string_str_plain_codec_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_string_str_plain_codec_tuple, 0, const_str_plain_string ); Py_INCREF( const_str_plain_string );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_string_str_plain_codec_tuple, 1, const_str_plain_codec ); Py_INCREF( const_str_plain_codec );
|
|
const_str_plain_this_line = UNSTREAM_STRING( &constant_bin[ 572190 ], 9, 1 );
|
|
const_str_digest_73b5849d046f5c698929aa2aa119cd97 = UNSTREAM_STRING( &constant_bin[ 572199 ], 11, 0 );
|
|
const_str_digest_6644d669e0e9f34a8195709ca3f92adb = UNSTREAM_STRING( &constant_bin[ 572210 ], 2368, 0 );
|
|
const_str_digest_4add0a7a450a2179c066959cd2bafefe = UNSTREAM_STRING( &constant_bin[ 574578 ], 11, 0 );
|
|
const_str_digest_568361846626f20d3ed2fef28ba63d78 = UNSTREAM_STRING( &constant_bin[ 574589 ], 33, 0 );
|
|
const_str_plain_CODEC_MAP = UNSTREAM_STRING( &constant_bin[ 574622 ], 9, 1 );
|
|
const_str_plain_canonical = UNSTREAM_STRING( &constant_bin[ 558351 ], 9, 1 );
|
|
const_str_digest_c51be62745af9683f98a346aa1995618 = UNSTREAM_STRING( &constant_bin[ 574631 ], 39, 0 );
|
|
const_str_digest_735c58e3c875aa2918e147a157d10f33 = UNSTREAM_STRING( &constant_bin[ 574670 ], 374, 0 );
|
|
const_dict_0540273436a7e7b635e83f4ff8ffb0ee = _PyDict_NewPresized( 3 );
|
|
const_str_plain_gb2312 = UNSTREAM_STRING( &constant_bin[ 167481 ], 6, 1 );
|
|
const_str_plain_eucgb2312_cn = UNSTREAM_STRING( &constant_bin[ 575044 ], 12, 1 );
|
|
PyDict_SetItem( const_dict_0540273436a7e7b635e83f4ff8ffb0ee, const_str_plain_gb2312, const_str_plain_eucgb2312_cn );
|
|
const_str_plain_big5 = UNSTREAM_STRING( &constant_bin[ 139959 ], 4, 1 );
|
|
const_str_plain_big5_tw = UNSTREAM_STRING( &constant_bin[ 575056 ], 7, 1 );
|
|
PyDict_SetItem( const_dict_0540273436a7e7b635e83f4ff8ffb0ee, const_str_plain_big5, const_str_plain_big5_tw );
|
|
PyDict_SetItem( const_dict_0540273436a7e7b635e83f4ff8ffb0ee, const_str_digest_6968875ff9253166eec441872605df0f, Py_None );
|
|
assert( PyDict_Size( const_dict_0540273436a7e7b635e83f4ff8ffb0ee ) == 3 );
|
|
const_str_digest_a9671d58dc5d1a2ffbf3c7beabdf4f47 = UNSTREAM_STRING( &constant_bin[ 571791 ], 21, 0 );
|
|
const_str_digest_6c6a1d2bf4ffd2cdc91acd03461095f8 = UNSTREAM_STRING( &constant_bin[ 575063 ], 66, 0 );
|
|
const_str_plain_DEFAULT_CHARSET = UNSTREAM_STRING( &constant_bin[ 575129 ], 15, 1 );
|
|
const_str_digest_06c3df7a128f394ed52bb13f34611514 = UNSTREAM_STRING( &constant_bin[ 575144 ], 14, 0 );
|
|
const_str_plain_joined_line = UNSTREAM_STRING( &constant_bin[ 575158 ], 11, 1 );
|
|
const_str_plain_add_charset = UNSTREAM_STRING( &constant_bin[ 575169 ], 11, 1 );
|
|
const_str_plain_len64 = UNSTREAM_STRING( &constant_bin[ 575180 ], 5, 1 );
|
|
const_str_digest_7893419b7661835e465aa0bee0af5c89 = UNSTREAM_STRING( &constant_bin[ 575185 ], 1086, 0 );
|
|
const_str_digest_2c73a1a9ccb9aaa45763845528ca38e2 = UNSTREAM_STRING( &constant_bin[ 576271 ], 143, 0 );
|
|
const_str_digest_21cdc79d7d277ce60a65c7621f6b9d0c = UNSTREAM_STRING( &constant_bin[ 576414 ], 10, 0 );
|
|
const_str_plain_add_alias = UNSTREAM_STRING( &constant_bin[ 576424 ], 9, 1 );
|
|
const_str_plain_encoder_module = UNSTREAM_STRING( &constant_bin[ 576433 ], 14, 1 );
|
|
const_tuple_str_plain_alias_str_plain_canonical_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_alias_str_plain_canonical_tuple, 0, const_str_plain_alias ); Py_INCREF( const_str_plain_alias );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_alias_str_plain_canonical_tuple, 1, const_str_plain_canonical ); Py_INCREF( const_str_plain_canonical );
|
|
const_tuple_5b4b95c0dfc436eac38ff3037fb27cfb_tuple = PyTuple_New( 5 );
|
|
PyTuple_SET_ITEM( const_tuple_5b4b95c0dfc436eac38ff3037fb27cfb_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_5b4b95c0dfc436eac38ff3037fb27cfb_tuple, 1, const_str_plain_string ); Py_INCREF( const_str_plain_string );
|
|
PyTuple_SET_ITEM( const_tuple_5b4b95c0dfc436eac38ff3037fb27cfb_tuple, 2, const_str_plain_codec ); Py_INCREF( const_str_plain_codec );
|
|
PyTuple_SET_ITEM( const_tuple_5b4b95c0dfc436eac38ff3037fb27cfb_tuple, 3, const_str_plain_header_bytes ); Py_INCREF( const_str_plain_header_bytes );
|
|
PyTuple_SET_ITEM( const_tuple_5b4b95c0dfc436eac38ff3037fb27cfb_tuple, 4, const_str_plain_encoder_module ); Py_INCREF( const_str_plain_encoder_module );
|
|
const_dict_b89ed32a5c1c5ab949ab76f3b70d44cb = PyMarshal_ReadObjectFromString( (char *)&constant_bin[ 576447 ], 506 );
|
|
const_str_plain_body_enc = UNSTREAM_STRING( &constant_bin[ 571649 ], 8, 1 );
|
|
const_str_digest_326b8ec8e594664c22687d2269146df7 = UNSTREAM_STRING( &constant_bin[ 576585 ], 10, 0 );
|
|
const_str_plain_ALIASES = UNSTREAM_STRING( &constant_bin[ 119004 ], 7, 1 );
|
|
const_str_plain_conv = UNSTREAM_STRING( &constant_bin[ 6191 ], 4, 1 );
|
|
const_tuple_b8485f239eb3cf3d6494af09cd9bc16c_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_b8485f239eb3cf3d6494af09cd9bc16c_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_b8485f239eb3cf3d6494af09cd9bc16c_tuple, 1, const_str_plain_header_bytes ); Py_INCREF( const_str_plain_header_bytes );
|
|
PyTuple_SET_ITEM( const_tuple_b8485f239eb3cf3d6494af09cd9bc16c_tuple, 2, const_str_plain_len64 ); Py_INCREF( const_str_plain_len64 );
|
|
const_str_plain_lenqp = UNSTREAM_STRING( &constant_bin[ 576953 ], 5, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_b8485f239eb3cf3d6494af09cd9bc16c_tuple, 3, const_str_plain_lenqp ); Py_INCREF( const_str_plain_lenqp );
|
|
const_tuple_f897390e8f1a7c8d720b28e76eb3c42c_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_f897390e8f1a7c8d720b28e76eb3c42c_tuple, 0, const_str_plain_charset ); Py_INCREF( const_str_plain_charset );
|
|
const_str_plain_header_enc = UNSTREAM_STRING( &constant_bin[ 571799 ], 10, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_f897390e8f1a7c8d720b28e76eb3c42c_tuple, 1, const_str_plain_header_enc ); Py_INCREF( const_str_plain_header_enc );
|
|
PyTuple_SET_ITEM( const_tuple_f897390e8f1a7c8d720b28e76eb3c42c_tuple, 2, const_str_plain_body_enc ); Py_INCREF( const_str_plain_body_enc );
|
|
PyTuple_SET_ITEM( const_tuple_f897390e8f1a7c8d720b28e76eb3c42c_tuple, 3, const_str_plain_output_charset ); Py_INCREF( const_str_plain_output_charset );
|
|
const_str_plain_henc = UNSTREAM_STRING( &constant_bin[ 576958 ], 4, 1 );
|
|
const_tuple_str_plain_encode_7or8bit_tuple = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_encode_7or8bit_tuple, 0, const_str_plain_encode_7or8bit ); Py_INCREF( const_str_plain_encode_7or8bit );
|
|
const_str_plain_CHARSETS = UNSTREAM_STRING( &constant_bin[ 576962 ], 8, 1 );
|
|
const_str_plain_body_encoding = UNSTREAM_STRING( &constant_bin[ 571649 ], 13, 1 );
|
|
const_str_digest_2a76542895d755cfeccab89151470043 = UNSTREAM_STRING( &constant_bin[ 576970 ], 14, 0 );
|
|
const_str_digest_0bce12be770fe83e909736ab77e40b74 = UNSTREAM_STRING( &constant_bin[ 576846 ], 11, 0 );
|
|
const_tuple_e29a54f95a7b4af2a45278392838135e_tuple = PyTuple_New( 5 );
|
|
PyTuple_SET_ITEM( const_tuple_e29a54f95a7b4af2a45278392838135e_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_e29a54f95a7b4af2a45278392838135e_tuple, 1, const_str_plain_input_charset ); Py_INCREF( const_str_plain_input_charset );
|
|
PyTuple_SET_ITEM( const_tuple_e29a54f95a7b4af2a45278392838135e_tuple, 2, const_str_plain_henc ); Py_INCREF( const_str_plain_henc );
|
|
const_str_plain_benc = UNSTREAM_STRING( &constant_bin[ 576984 ], 4, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_e29a54f95a7b4af2a45278392838135e_tuple, 3, const_str_plain_benc ); Py_INCREF( const_str_plain_benc );
|
|
PyTuple_SET_ITEM( const_tuple_e29a54f95a7b4af2a45278392838135e_tuple, 4, const_str_plain_conv ); Py_INCREF( const_str_plain_conv );
|
|
const_str_digest_9383a493ad036aca83ddca133e2a7edc = UNSTREAM_STRING( &constant_bin[ 576988 ], 870, 0 );
|
|
const_tuple_60f6de948ea44572b207f12be5447355_tuple = PyTuple_New( 17 );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 1, const_str_plain_string ); Py_INCREF( const_str_plain_string );
|
|
const_str_plain_maxlengths = UNSTREAM_STRING( &constant_bin[ 577368 ], 10, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 2, const_str_plain_maxlengths ); Py_INCREF( const_str_plain_maxlengths );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 3, const_str_plain_codec ); Py_INCREF( const_str_plain_codec );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 4, const_str_plain_header_bytes ); Py_INCREF( const_str_plain_header_bytes );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 5, const_str_plain_encoder_module ); Py_INCREF( const_str_plain_encoder_module );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 6, const_str_plain_encoder ); Py_INCREF( const_str_plain_encoder );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 7, const_str_plain_charset ); Py_INCREF( const_str_plain_charset );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 8, const_str_plain_extra ); Py_INCREF( const_str_plain_extra );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 9, const_str_plain_lines ); Py_INCREF( const_str_plain_lines );
|
|
const_str_plain_current_line = UNSTREAM_STRING( &constant_bin[ 577858 ], 12, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 10, const_str_plain_current_line ); Py_INCREF( const_str_plain_current_line );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 11, const_str_plain_maxlen ); Py_INCREF( const_str_plain_maxlen );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 12, const_str_plain_character ); Py_INCREF( const_str_plain_character );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 13, const_str_plain_this_line ); Py_INCREF( const_str_plain_this_line );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 14, const_str_plain_length ); Py_INCREF( const_str_plain_length );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 15, const_str_plain_separator ); Py_INCREF( const_str_plain_separator );
|
|
PyTuple_SET_ITEM( const_tuple_60f6de948ea44572b207f12be5447355_tuple, 16, const_str_plain_joined_line ); Py_INCREF( const_str_plain_joined_line );
|
|
const_str_plain_shift_jis = UNSTREAM_STRING( &constant_bin[ 577870 ], 9, 1 );
|
|
const_str_digest_313495d36ece046983f5860aabedd45c = UNSTREAM_STRING( &constant_bin[ 577879 ], 414, 0 );
|
|
const_str_digest_28884ba7aee4f7b7562035f0608013c6 = UNSTREAM_STRING( &constant_bin[ 578293 ], 19, 0 );
|
|
const_str_plain__get_encoder = UNSTREAM_STRING( &constant_bin[ 572178 ], 12, 1 );
|
|
const_str_digest_a91b7f7cb6c1e687d29ec04e093d10cd = UNSTREAM_STRING( &constant_bin[ 578312 ], 6, 0 );
|
|
const_str_digest_047fadfffaca6a62667882fbee0b4964 = UNSTREAM_STRING( &constant_bin[ 578318 ], 15, 0 );
|
|
const_str_digest_58cb6871db47327ba631a4c7ffc117ea = UNSTREAM_STRING( &constant_bin[ 578333 ], 25, 0 );
|
|
const_list_908a71c311388d4440cd4234bfadfed3_list = PyList_New( 4 );
|
|
PyList_SET_ITEM( const_list_908a71c311388d4440cd4234bfadfed3_list, 0, const_str_plain_Charset ); Py_INCREF( const_str_plain_Charset );
|
|
PyList_SET_ITEM( const_list_908a71c311388d4440cd4234bfadfed3_list, 1, const_str_plain_add_alias ); Py_INCREF( const_str_plain_add_alias );
|
|
PyList_SET_ITEM( const_list_908a71c311388d4440cd4234bfadfed3_list, 2, const_str_plain_add_charset ); Py_INCREF( const_str_plain_add_charset );
|
|
PyList_SET_ITEM( const_list_908a71c311388d4440cd4234bfadfed3_list, 3, const_str_plain_add_codec ); Py_INCREF( const_str_plain_add_codec );
|
|
const_str_digest_d0448529256c69ba9291c30b72b8582d = UNSTREAM_STRING( &constant_bin[ 578358 ], 11, 0 );
|
|
const_str_plain_viscii = UNSTREAM_STRING( &constant_bin[ 578369 ], 6, 1 );
|
|
const_str_digest_d69bcd163f09c4f31b32f86856514209 = UNSTREAM_STRING( &constant_bin[ 578375 ], 26, 0 );
|
|
const_str_digest_bab05edd7e8bae88bc446e2b3ec612d1 = UNSTREAM_STRING( &constant_bin[ 578401 ], 143, 0 );
|
|
|
|
constants_created = true;
|
|
}
|
|
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
void checkModuleConstants_future$backports$email$charset( void )
|
|
{
|
|
// The module may not have been used at all.
|
|
if (constants_created == false) return;
|
|
|
|
|
|
}
|
|
#endif
|
|
|
|
// The module code objects.
|
|
static PyCodeObject *codeobj_b8b03d0b038980e3ff67f0ef094a65ad;
|
|
static PyCodeObject *codeobj_192b5fa87932fefc9459d999458ec9ff;
|
|
static PyCodeObject *codeobj_daecebdb08af63fc1740d4e9919dc6d8;
|
|
static PyCodeObject *codeobj_4bd9c3c30986bf9e7b312aa01835d8cb;
|
|
static PyCodeObject *codeobj_8291592d9a60f0174a09f536aaf978ad;
|
|
static PyCodeObject *codeobj_53d251867086cafd9454a6d9bd01eefd;
|
|
static PyCodeObject *codeobj_8a520390934d519a7a38052f4c26b456;
|
|
static PyCodeObject *codeobj_be8c7f2b58a5daa47b7cbbc79633080c;
|
|
static PyCodeObject *codeobj_45fcdf7de7aba181b77d5dae7993237d;
|
|
static PyCodeObject *codeobj_4e835ee0c5571dd7d8380a3cc2f7ebf1;
|
|
static PyCodeObject *codeobj_fff8af100b9516f8e26525928474aabe;
|
|
static PyCodeObject *codeobj_29594cd1e5064824c7eadc98bb7d69f5;
|
|
static PyCodeObject *codeobj_6343c646d5df66d462de3a80ee7220d5;
|
|
static PyCodeObject *codeobj_8185a3429d998d57012d0e9c6c7553fc;
|
|
static PyCodeObject *codeobj_7e3aad2183d4bdb87a361eab00af6535;
|
|
static PyCodeObject *codeobj_5c0e138e51ee95faac87301acb9b77b6;
|
|
|
|
static void createModuleCodeObjects(void)
|
|
{
|
|
module_filename_obj = const_str_digest_6c6a1d2bf4ffd2cdc91acd03461095f8;
|
|
codeobj_b8b03d0b038980e3ff67f0ef094a65ad = MAKE_CODEOBJ( module_filename_obj, const_str_digest_c51be62745af9683f98a346aa1995618, 1, const_tuple_empty, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_192b5fa87932fefc9459d999458ec9ff = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Charset, 167, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_daecebdb08af63fc1740d4e9919dc6d8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___eq__, 249, const_tuple_str_plain_self_str_plain_other_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_4bd9c3c30986bf9e7b312aa01835d8cb = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 211, const_tuple_e29a54f95a7b4af2a45278392838135e_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_8291592d9a60f0174a09f536aaf978ad = MAKE_CODEOBJ( module_filename_obj, const_str_plain___ne__, 252, const_tuple_str_plain_self_str_plain_other_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_53d251867086cafd9454a6d9bd01eefd = MAKE_CODEOBJ( module_filename_obj, const_str_plain___str__, 244, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_8a520390934d519a7a38052f4c26b456 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__encode, 159, const_tuple_str_plain_string_str_plain_codec_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_be8c7f2b58a5daa47b7cbbc79633080c = MAKE_CODEOBJ( module_filename_obj, const_str_plain__get_encoder, 365, const_tuple_b8485f239eb3cf3d6494af09cd9bc16c_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_45fcdf7de7aba181b77d5dae7993237d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_add_alias, 138, const_tuple_str_plain_alias_str_plain_canonical_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_4e835ee0c5571dd7d8380a3cc2f7ebf1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_add_charset, 110, const_tuple_f897390e8f1a7c8d720b28e76eb3c42c_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_fff8af100b9516f8e26525928474aabe = MAKE_CODEOBJ( module_filename_obj, const_str_plain_add_codec, 147, const_tuple_str_plain_charset_str_plain_codecname_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_29594cd1e5064824c7eadc98bb7d69f5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_body_encode, 380, const_tuple_str_plain_self_str_plain_string_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_6343c646d5df66d462de3a80ee7220d5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_body_encoding, 255, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_8185a3429d998d57012d0e9c6c7553fc = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_output_charset, 276, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_7e3aad2183d4bdb87a361eab00af6535 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_encode, 284, const_tuple_5b4b95c0dfc436eac38ff3037fb27cfb_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_5c0e138e51ee95faac87301acb9b77b6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_encode_lines, 303, const_tuple_60f6de948ea44572b207f12be5447355_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
}
|
|
|
|
// The module function declarations.
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_10_get_output_charset( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_11_header_encode( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_12_header_encode_lines( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_13__get_encoder( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_14_body_encode( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_1_add_charset( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_2_add_alias( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_3_add_codec( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_4__encode( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_5___init__( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_6___str__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_7___eq__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_8___ne__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_9_get_body_encoding( );
|
|
|
|
|
|
// The module function definitions.
|
|
static PyObject *impl_future$backports$email$charset$$$function_1_add_charset( 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_charset = python_pars[ 0 ];
|
|
PyObject *par_header_enc = python_pars[ 1 ];
|
|
PyObject *par_body_enc = python_pars[ 2 ];
|
|
PyObject *par_output_charset = python_pars[ 3 ];
|
|
struct Nuitka_FrameObject *frame_4e835ee0c5571dd7d8380a3cc2f7ebf1;
|
|
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_4e835ee0c5571dd7d8380a3cc2f7ebf1 = 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_4e835ee0c5571dd7d8380a3cc2f7ebf1, codeobj_4e835ee0c5571dd7d8380a3cc2f7ebf1, module_future$backports$email$charset, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_4e835ee0c5571dd7d8380a3cc2f7ebf1 = cache_frame_4e835ee0c5571dd7d8380a3cc2f7ebf1;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_4e835ee0c5571dd7d8380a3cc2f7ebf1 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_4e835ee0c5571dd7d8380a3cc2f7ebf1 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_body_enc );
|
|
tmp_compexpr_left_1 = par_body_enc;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_SHORTEST );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SHORTEST );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "SHORTEST" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 133;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_1 = tmp_mvar_value_1;
|
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 133;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_make_exception_arg_1;
|
|
tmp_make_exception_arg_1 = const_str_digest_568361846626f20d3ed2fef28ba63d78;
|
|
frame_4e835ee0c5571dd7d8380a3cc2f7ebf1->m_frame.f_lineno = 134;
|
|
{
|
|
PyObject *call_args[] = { tmp_make_exception_arg_1 };
|
|
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args );
|
|
}
|
|
|
|
assert( !(tmp_raise_type_1 == NULL) );
|
|
exception_type = tmp_raise_type_1;
|
|
exception_lineno = 134;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_ass_subscript_1;
|
|
if ( par_header_enc == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "header_enc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 135;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = par_header_enc;
|
|
tmp_ass_subvalue_1 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_ass_subvalue_1, 0, tmp_tuple_element_1 );
|
|
if ( par_body_enc == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "body_enc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 135;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = par_body_enc;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_ass_subvalue_1, 1, tmp_tuple_element_1 );
|
|
if ( par_output_charset == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "output_charset" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 135;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = par_output_charset;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_ass_subvalue_1, 2, tmp_tuple_element_1 );
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_CHARSETS );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CHARSETS );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CHARSETS" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 135;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = tmp_mvar_value_2;
|
|
if ( par_charset == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "charset" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 135;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscript_1 = par_charset;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_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 = 135;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_4e835ee0c5571dd7d8380a3cc2f7ebf1 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_4e835ee0c5571dd7d8380a3cc2f7ebf1 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_4e835ee0c5571dd7d8380a3cc2f7ebf1, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_4e835ee0c5571dd7d8380a3cc2f7ebf1->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_4e835ee0c5571dd7d8380a3cc2f7ebf1, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_4e835ee0c5571dd7d8380a3cc2f7ebf1,
|
|
type_description_1,
|
|
par_charset,
|
|
par_header_enc,
|
|
par_body_enc,
|
|
par_output_charset
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_4e835ee0c5571dd7d8380a3cc2f7ebf1 == cache_frame_4e835ee0c5571dd7d8380a3cc2f7ebf1 )
|
|
{
|
|
Py_DECREF( frame_4e835ee0c5571dd7d8380a3cc2f7ebf1 );
|
|
}
|
|
cache_frame_4e835ee0c5571dd7d8380a3cc2f7ebf1 = NULL;
|
|
|
|
assertFrameObject( frame_4e835ee0c5571dd7d8380a3cc2f7ebf1 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_1_add_charset );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_charset );
|
|
par_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_header_enc );
|
|
par_header_enc = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_body_enc );
|
|
par_body_enc = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_output_charset );
|
|
par_output_charset = 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_charset );
|
|
par_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_header_enc );
|
|
par_header_enc = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_body_enc );
|
|
par_body_enc = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_output_charset );
|
|
par_output_charset = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_1_add_charset );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$charset$$$function_2_add_alias( 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_alias = python_pars[ 0 ];
|
|
PyObject *par_canonical = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_45fcdf7de7aba181b77d5dae7993237d;
|
|
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_45fcdf7de7aba181b77d5dae7993237d = 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_45fcdf7de7aba181b77d5dae7993237d, codeobj_45fcdf7de7aba181b77d5dae7993237d, module_future$backports$email$charset, sizeof(void *)+sizeof(void *) );
|
|
frame_45fcdf7de7aba181b77d5dae7993237d = cache_frame_45fcdf7de7aba181b77d5dae7993237d;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_45fcdf7de7aba181b77d5dae7993237d );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_45fcdf7de7aba181b77d5dae7993237d ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
CHECK_OBJECT( par_canonical );
|
|
tmp_ass_subvalue_1 = par_canonical;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_ALIASES );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ALIASES );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ALIASES" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 144;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_alias );
|
|
tmp_ass_subscript_1 = par_alias;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 144;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_45fcdf7de7aba181b77d5dae7993237d );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_45fcdf7de7aba181b77d5dae7993237d );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_45fcdf7de7aba181b77d5dae7993237d, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_45fcdf7de7aba181b77d5dae7993237d->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_45fcdf7de7aba181b77d5dae7993237d, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_45fcdf7de7aba181b77d5dae7993237d,
|
|
type_description_1,
|
|
par_alias,
|
|
par_canonical
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_45fcdf7de7aba181b77d5dae7993237d == cache_frame_45fcdf7de7aba181b77d5dae7993237d )
|
|
{
|
|
Py_DECREF( frame_45fcdf7de7aba181b77d5dae7993237d );
|
|
}
|
|
cache_frame_45fcdf7de7aba181b77d5dae7993237d = NULL;
|
|
|
|
assertFrameObject( frame_45fcdf7de7aba181b77d5dae7993237d );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_2_add_alias );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_alias );
|
|
par_alias = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_canonical );
|
|
par_canonical = 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_alias );
|
|
par_alias = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_canonical );
|
|
par_canonical = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_2_add_alias );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$charset$$$function_3_add_codec( 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_charset = python_pars[ 0 ];
|
|
PyObject *par_codecname = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_fff8af100b9516f8e26525928474aabe;
|
|
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_fff8af100b9516f8e26525928474aabe = 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_fff8af100b9516f8e26525928474aabe, codeobj_fff8af100b9516f8e26525928474aabe, module_future$backports$email$charset, sizeof(void *)+sizeof(void *) );
|
|
frame_fff8af100b9516f8e26525928474aabe = cache_frame_fff8af100b9516f8e26525928474aabe;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_fff8af100b9516f8e26525928474aabe );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_fff8af100b9516f8e26525928474aabe ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
CHECK_OBJECT( par_codecname );
|
|
tmp_ass_subvalue_1 = par_codecname;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_CODEC_MAP );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CODEC_MAP );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CODEC_MAP" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 154;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_charset );
|
|
tmp_ass_subscript_1 = par_charset;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 154;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_fff8af100b9516f8e26525928474aabe );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_fff8af100b9516f8e26525928474aabe );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_fff8af100b9516f8e26525928474aabe, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_fff8af100b9516f8e26525928474aabe->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_fff8af100b9516f8e26525928474aabe, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_fff8af100b9516f8e26525928474aabe,
|
|
type_description_1,
|
|
par_charset,
|
|
par_codecname
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_fff8af100b9516f8e26525928474aabe == cache_frame_fff8af100b9516f8e26525928474aabe )
|
|
{
|
|
Py_DECREF( frame_fff8af100b9516f8e26525928474aabe );
|
|
}
|
|
cache_frame_fff8af100b9516f8e26525928474aabe = NULL;
|
|
|
|
assertFrameObject( frame_fff8af100b9516f8e26525928474aabe );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_3_add_codec );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_charset );
|
|
par_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_codecname );
|
|
par_codecname = 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_charset );
|
|
par_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_codecname );
|
|
par_codecname = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_3_add_codec );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$charset$$$function_4__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_string = python_pars[ 0 ];
|
|
PyObject *par_codec = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_8a520390934d519a7a38052f4c26b456;
|
|
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_8a520390934d519a7a38052f4c26b456 = 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_8a520390934d519a7a38052f4c26b456, codeobj_8a520390934d519a7a38052f4c26b456, module_future$backports$email$charset, sizeof(void *)+sizeof(void *) );
|
|
frame_8a520390934d519a7a38052f4c26b456 = cache_frame_8a520390934d519a7a38052f4c26b456;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_8a520390934d519a7a38052f4c26b456 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_8a520390934d519a7a38052f4c26b456 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_str );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 160;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_string );
|
|
tmp_args_element_name_1 = par_string;
|
|
frame_8a520390934d519a7a38052f4c26b456->m_frame.f_lineno = 160;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 160;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_string;
|
|
par_string = tmp_assign_source_1;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
if ( par_codec == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "codec" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 161;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_left_1 = par_codec;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_UNKNOWN8BIT );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_UNKNOWN8BIT );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "UNKNOWN8BIT" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 161;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_1 = tmp_mvar_value_2;
|
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 161;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_called_instance_1;
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 162;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_string;
|
|
frame_8a520390934d519a7a38052f4c26b456->m_frame.f_lineno = 162;
|
|
tmp_return_value = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_str_plain_surrogateescape_tuple, 0 ) );
|
|
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 162;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 164;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = par_string;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_encode );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_codec == 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", "codec" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 164;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_codec;
|
|
frame_8a520390934d519a7a38052f4c26b456->m_frame.f_lineno = 164;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8a520390934d519a7a38052f4c26b456 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8a520390934d519a7a38052f4c26b456 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8a520390934d519a7a38052f4c26b456 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_8a520390934d519a7a38052f4c26b456, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_8a520390934d519a7a38052f4c26b456->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_8a520390934d519a7a38052f4c26b456, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_8a520390934d519a7a38052f4c26b456,
|
|
type_description_1,
|
|
par_string,
|
|
par_codec
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_8a520390934d519a7a38052f4c26b456 == cache_frame_8a520390934d519a7a38052f4c26b456 )
|
|
{
|
|
Py_DECREF( frame_8a520390934d519a7a38052f4c26b456 );
|
|
}
|
|
cache_frame_8a520390934d519a7a38052f4c26b456 = NULL;
|
|
|
|
assertFrameObject( frame_8a520390934d519a7a38052f4c26b456 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_4__encode );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_string );
|
|
par_string = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_codec );
|
|
par_codec = 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_string );
|
|
par_string = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_codec );
|
|
par_codec = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_4__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_future$backports$email$charset$$$function_5___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_input_charset = python_pars[ 1 ];
|
|
PyObject *var_henc = NULL;
|
|
PyObject *var_benc = NULL;
|
|
PyObject *var_conv = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_3 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
|
|
struct Nuitka_FrameObject *frame_4bd9c3c30986bf9e7b312aa01835d8cb;
|
|
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;
|
|
bool tmp_result;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
PyObject *tmp_iterator_attempt;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
static struct Nuitka_FrameObject *cache_frame_4bd9c3c30986bf9e7b312aa01835d8cb = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_5;
|
|
PyObject *exception_keeper_value_5;
|
|
PyTracebackObject *exception_keeper_tb_5;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_4bd9c3c30986bf9e7b312aa01835d8cb, codeobj_4bd9c3c30986bf9e7b312aa01835d8cb, module_future$backports$email$charset, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_4bd9c3c30986bf9e7b312aa01835d8cb = cache_frame_4bd9c3c30986bf9e7b312aa01835d8cb;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_4bd9c3c30986bf9e7b312aa01835d8cb );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_4bd9c3c30986bf9e7b312aa01835d8cb ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_isinstance_inst_1;
|
|
PyObject *tmp_isinstance_cls_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_input_charset );
|
|
tmp_isinstance_inst_1 = par_input_charset;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_str );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 217;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_isinstance_cls_1 = tmp_mvar_value_1;
|
|
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 217;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_called_instance_1;
|
|
CHECK_OBJECT( par_input_charset );
|
|
tmp_called_instance_1 = par_input_charset;
|
|
frame_4bd9c3c30986bf9e7b312aa01835d8cb->m_frame.f_lineno = 218;
|
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) );
|
|
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 218;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_str );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 220;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_2;
|
|
CHECK_OBJECT( par_input_charset );
|
|
tmp_args_element_name_1 = par_input_charset;
|
|
tmp_args_element_name_2 = const_str_plain_ascii;
|
|
frame_4bd9c3c30986bf9e7b312aa01835d8cb->m_frame.f_lineno = 220;
|
|
{
|
|
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 );
|
|
}
|
|
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 220;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = par_input_charset;
|
|
par_input_charset = tmp_assign_source_1;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// 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_4bd9c3c30986bf9e7b312aa01835d8cb, exception_keeper_lineno_1 );
|
|
}
|
|
else if ( exception_keeper_lineno_1 != 0 )
|
|
{
|
|
exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_4bd9c3c30986bf9e7b312aa01835d8cb, exception_keeper_lineno_1 );
|
|
}
|
|
|
|
NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
|
PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 );
|
|
PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET());
|
|
tmp_compexpr_right_1 = PyExc_UnicodeError;
|
|
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 = 221;
|
|
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:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_mvar_value_3;
|
|
PyObject *tmp_args_element_name_3;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_errors );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_errors );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "errors" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 222;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_source_name_1 = tmp_mvar_value_3;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_CharsetError );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 222;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
if ( par_input_charset == 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", "input_charset" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 222;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_args_element_name_3 = par_input_charset;
|
|
frame_4bd9c3c30986bf9e7b312aa01835d8cb->m_frame.f_lineno = 222;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_raise_type_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 222;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
exception_type = tmp_raise_type_1;
|
|
exception_lineno = 222;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooooo";
|
|
goto try_except_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 = 216;
|
|
}
|
|
|
|
if (exception_tb && exception_tb->tb_frame == &frame_4bd9c3c30986bf9e7b312aa01835d8cb->m_frame) frame_4bd9c3c30986bf9e7b312aa01835d8cb->m_frame.f_lineno = exception_tb->tb_lineno;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_5___init__ );
|
|
return NULL;
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_called_instance_2;
|
|
if ( par_input_charset == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "input_charset" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 223;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = par_input_charset;
|
|
frame_4bd9c3c30986bf9e7b312aa01835d8cb->m_frame.f_lineno = 223;
|
|
tmp_assign_source_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_lower );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 223;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_input_charset;
|
|
par_input_charset = tmp_assign_source_2;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_1;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_args_element_name_5;
|
|
PyObject *tmp_assattr_target_1;
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_ALIASES );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ALIASES );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ALIASES" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 225;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = tmp_mvar_value_4;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_get );
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 225;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_input_charset == 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", "input_charset" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 225;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_4 = par_input_charset;
|
|
if ( par_input_charset == 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", "input_charset" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 225;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_5 = par_input_charset;
|
|
frame_4bd9c3c30986bf9e7b312aa01835d8cb->m_frame.f_lineno = 225;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 };
|
|
tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_3 );
|
|
if ( tmp_assattr_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 225;
|
|
type_description_1 = "ooooo";
|
|
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 = 225;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_1 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_input_charset, 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 = 225;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_mvar_value_5;
|
|
PyObject *tmp_args_element_name_6;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_args_element_name_7;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_mvar_value_6;
|
|
PyObject *tmp_mvar_value_7;
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_CHARSETS );
|
|
|
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CHARSETS );
|
|
}
|
|
|
|
if ( tmp_mvar_value_5 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CHARSETS" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 229;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_source_name_3 = tmp_mvar_value_5;
|
|
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_get );
|
|
if ( tmp_called_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 229;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_4 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 229;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_source_name_4 = par_self;
|
|
tmp_args_element_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_input_charset );
|
|
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 = 229;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_SHORTEST );
|
|
|
|
if (unlikely( tmp_mvar_value_6 == NULL ))
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SHORTEST );
|
|
}
|
|
|
|
if ( tmp_mvar_value_6 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_4 );
|
|
Py_DECREF( tmp_args_element_name_6 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "SHORTEST" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 230;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_tuple_element_1 = tmp_mvar_value_6;
|
|
tmp_args_element_name_7 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_element_name_7, 0, tmp_tuple_element_1 );
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_7 == NULL ))
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
if ( tmp_mvar_value_7 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_4 );
|
|
Py_DECREF( tmp_args_element_name_6 );
|
|
Py_DECREF( tmp_args_element_name_7 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "BASE64" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 230;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_tuple_element_1 = tmp_mvar_value_7;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_element_name_7, 1, tmp_tuple_element_1 );
|
|
tmp_tuple_element_1 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_element_name_7, 2, tmp_tuple_element_1 );
|
|
frame_4bd9c3c30986bf9e7b312aa01835d8cb->m_frame.f_lineno = 229;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_6, tmp_args_element_name_7 };
|
|
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_4 );
|
|
Py_DECREF( tmp_args_element_name_6 );
|
|
Py_DECREF( tmp_args_element_name_7 );
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 229;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_assign_source_3 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 229;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
assert( tmp_tuple_unpack_1__source_iter == NULL );
|
|
tmp_tuple_unpack_1__source_iter = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_unpack_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_1, 0, 3 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 229;
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_1 == NULL );
|
|
tmp_tuple_unpack_1__element_1 = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_unpack_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_5 = UNPACK_NEXT( tmp_unpack_2, 1, 3 );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 229;
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_2 == NULL );
|
|
tmp_tuple_unpack_1__element_2 = tmp_assign_source_5;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_unpack_3;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_6 = UNPACK_NEXT( tmp_unpack_3, 2, 3 );
|
|
if ( tmp_assign_source_6 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 229;
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_3 == NULL );
|
|
tmp_tuple_unpack_1__element_3 = tmp_assign_source_6;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_iterator_name_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
|
|
// Check if iterator has left-over elements.
|
|
CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
|
|
|
|
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
|
|
|
|
if (likely( tmp_iterator_attempt == NULL ))
|
|
{
|
|
PyObject *error = GET_ERROR_OCCURRED();
|
|
|
|
if ( error != NULL )
|
|
{
|
|
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
|
|
{
|
|
CLEAR_ERROR_OCCURRED();
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 229;
|
|
goto try_except_handler_5;
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Py_DECREF( tmp_iterator_attempt );
|
|
|
|
// TODO: Could avoid PyErr_Format.
|
|
#if PYTHON_VERSION < 300
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
|
|
#else
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 3)" );
|
|
#endif
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 229;
|
|
goto try_except_handler_5;
|
|
}
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_5:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
goto try_end_3;
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
exception_keeper_type_4 = exception_type;
|
|
exception_keeper_value_4 = exception_value;
|
|
exception_keeper_tb_4 = exception_tb;
|
|
exception_keeper_lineno_4 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_3 );
|
|
tmp_tuple_unpack_1__element_3 = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_4;
|
|
exception_value = exception_keeper_value_4;
|
|
exception_tb = exception_keeper_tb_4;
|
|
exception_lineno = exception_keeper_lineno_4;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
|
|
tmp_assign_source_7 = tmp_tuple_unpack_1__element_1;
|
|
assert( var_henc == NULL );
|
|
Py_INCREF( tmp_assign_source_7 );
|
|
var_henc = tmp_assign_source_7;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
|
|
tmp_assign_source_8 = tmp_tuple_unpack_1__element_2;
|
|
assert( var_benc == NULL );
|
|
Py_INCREF( tmp_assign_source_8 );
|
|
var_benc = tmp_assign_source_8;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_3 );
|
|
tmp_assign_source_9 = tmp_tuple_unpack_1__element_3;
|
|
assert( var_conv == NULL );
|
|
Py_INCREF( tmp_assign_source_9 );
|
|
var_conv = tmp_assign_source_9;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_3 );
|
|
tmp_tuple_unpack_1__element_3 = NULL;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_operand_name_1;
|
|
if ( var_conv == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "conv" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 231;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_operand_name_1 = var_conv;
|
|
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 = 231;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
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 = 232;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_5 = par_self;
|
|
tmp_assign_source_10 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_input_charset );
|
|
if ( tmp_assign_source_10 == 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;
|
|
}
|
|
{
|
|
PyObject *old = var_conv;
|
|
var_conv = tmp_assign_source_10;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_2;
|
|
PyObject *tmp_assattr_target_2;
|
|
if ( var_henc == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "henc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 234;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_2 = var_henc;
|
|
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 = 234;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_2 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_header_encoding, tmp_assattr_name_2 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 234;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_3;
|
|
PyObject *tmp_assattr_target_3;
|
|
if ( var_benc == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "benc" );
|
|
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_assattr_name_3 = var_benc;
|
|
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 = 235;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_3 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_body_encoding, tmp_assattr_name_3 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 235;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_4;
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_mvar_value_8;
|
|
PyObject *tmp_args_element_name_8;
|
|
PyObject *tmp_args_element_name_9;
|
|
PyObject *tmp_assattr_target_4;
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_ALIASES );
|
|
|
|
if (unlikely( tmp_mvar_value_8 == NULL ))
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ALIASES );
|
|
}
|
|
|
|
if ( tmp_mvar_value_8 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ALIASES" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 236;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_6 = tmp_mvar_value_8;
|
|
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_get );
|
|
if ( tmp_called_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 236;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_conv == 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", "conv" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 236;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_8 = var_conv;
|
|
if ( var_conv == 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", "conv" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 236;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_9 = var_conv;
|
|
frame_4bd9c3c30986bf9e7b312aa01835d8cb->m_frame.f_lineno = 236;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_8, tmp_args_element_name_9 };
|
|
tmp_assattr_name_4 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_5, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_5 );
|
|
if ( tmp_assattr_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 236;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_4 );
|
|
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 = 236;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_4 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_output_charset, tmp_assattr_name_4 );
|
|
Py_DECREF( tmp_assattr_name_4 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 236;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_5;
|
|
PyObject *tmp_called_name_6;
|
|
PyObject *tmp_source_name_7;
|
|
PyObject *tmp_mvar_value_9;
|
|
PyObject *tmp_args_element_name_10;
|
|
PyObject *tmp_source_name_8;
|
|
PyObject *tmp_args_element_name_11;
|
|
PyObject *tmp_source_name_9;
|
|
PyObject *tmp_assattr_target_5;
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_CODEC_MAP );
|
|
|
|
if (unlikely( tmp_mvar_value_9 == NULL ))
|
|
{
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CODEC_MAP );
|
|
}
|
|
|
|
if ( tmp_mvar_value_9 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CODEC_MAP" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 239;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_7 = tmp_mvar_value_9;
|
|
tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_get );
|
|
if ( tmp_called_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 239;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_6 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 239;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_8 = par_self;
|
|
tmp_args_element_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_input_charset );
|
|
if ( tmp_args_element_name_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_6 );
|
|
|
|
exception_lineno = 239;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_6 );
|
|
Py_DECREF( tmp_args_element_name_10 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 240;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_9 = par_self;
|
|
tmp_args_element_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_input_charset );
|
|
if ( tmp_args_element_name_11 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_6 );
|
|
Py_DECREF( tmp_args_element_name_10 );
|
|
|
|
exception_lineno = 240;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_4bd9c3c30986bf9e7b312aa01835d8cb->m_frame.f_lineno = 239;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_10, tmp_args_element_name_11 };
|
|
tmp_assattr_name_5 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_6, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_6 );
|
|
Py_DECREF( tmp_args_element_name_10 );
|
|
Py_DECREF( tmp_args_element_name_11 );
|
|
if ( tmp_assattr_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 239;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_5 );
|
|
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 = 239;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_5 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_input_codec, tmp_assattr_name_5 );
|
|
Py_DECREF( tmp_assattr_name_5 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 239;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_6;
|
|
PyObject *tmp_called_name_7;
|
|
PyObject *tmp_source_name_10;
|
|
PyObject *tmp_mvar_value_10;
|
|
PyObject *tmp_args_element_name_12;
|
|
PyObject *tmp_source_name_11;
|
|
PyObject *tmp_args_element_name_13;
|
|
PyObject *tmp_source_name_12;
|
|
PyObject *tmp_assattr_target_6;
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_CODEC_MAP );
|
|
|
|
if (unlikely( tmp_mvar_value_10 == NULL ))
|
|
{
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CODEC_MAP );
|
|
}
|
|
|
|
if ( tmp_mvar_value_10 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CODEC_MAP" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_10 = tmp_mvar_value_10;
|
|
tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_get );
|
|
if ( tmp_called_name_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_7 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_11 = par_self;
|
|
tmp_args_element_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_output_charset );
|
|
if ( tmp_args_element_name_12 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_7 );
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_7 );
|
|
Py_DECREF( tmp_args_element_name_12 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 242;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_12 = par_self;
|
|
tmp_args_element_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_output_charset );
|
|
if ( tmp_args_element_name_13 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_7 );
|
|
Py_DECREF( tmp_args_element_name_12 );
|
|
|
|
exception_lineno = 242;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_4bd9c3c30986bf9e7b312aa01835d8cb->m_frame.f_lineno = 241;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_12, tmp_args_element_name_13 };
|
|
tmp_assattr_name_6 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_7, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_7 );
|
|
Py_DECREF( tmp_args_element_name_12 );
|
|
Py_DECREF( tmp_args_element_name_13 );
|
|
if ( tmp_assattr_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_6 );
|
|
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 = 241;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_6 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_output_codec, tmp_assattr_name_6 );
|
|
Py_DECREF( tmp_assattr_name_6 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_4bd9c3c30986bf9e7b312aa01835d8cb );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_4bd9c3c30986bf9e7b312aa01835d8cb );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_4bd9c3c30986bf9e7b312aa01835d8cb, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_4bd9c3c30986bf9e7b312aa01835d8cb->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_4bd9c3c30986bf9e7b312aa01835d8cb, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_4bd9c3c30986bf9e7b312aa01835d8cb,
|
|
type_description_1,
|
|
par_self,
|
|
par_input_charset,
|
|
var_henc,
|
|
var_benc,
|
|
var_conv
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_4bd9c3c30986bf9e7b312aa01835d8cb == cache_frame_4bd9c3c30986bf9e7b312aa01835d8cb )
|
|
{
|
|
Py_DECREF( frame_4bd9c3c30986bf9e7b312aa01835d8cb );
|
|
}
|
|
cache_frame_4bd9c3c30986bf9e7b312aa01835d8cb = NULL;
|
|
|
|
assertFrameObject( frame_4bd9c3c30986bf9e7b312aa01835d8cb );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_5___init__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_input_charset );
|
|
par_input_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_henc );
|
|
var_henc = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_benc );
|
|
var_benc = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_conv );
|
|
var_conv = 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_input_charset );
|
|
par_input_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_henc );
|
|
var_henc = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_benc );
|
|
var_benc = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_conv );
|
|
var_conv = 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( future$backports$email$charset$$$function_5___init__ );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$charset$$$function_6___str__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_53d251867086cafd9454a6d9bd01eefd;
|
|
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_53d251867086cafd9454a6d9bd01eefd = 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_53d251867086cafd9454a6d9bd01eefd, codeobj_53d251867086cafd9454a6d9bd01eefd, module_future$backports$email$charset, sizeof(void *) );
|
|
frame_53d251867086cafd9454a6d9bd01eefd = cache_frame_53d251867086cafd9454a6d9bd01eefd;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_53d251867086cafd9454a6d9bd01eefd );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_53d251867086cafd9454a6d9bd01eefd ) == 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_input_charset );
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 245;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_53d251867086cafd9454a6d9bd01eefd->m_frame.f_lineno = 245;
|
|
tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_lower );
|
|
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 = 245;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_53d251867086cafd9454a6d9bd01eefd );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_53d251867086cafd9454a6d9bd01eefd );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_53d251867086cafd9454a6d9bd01eefd );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_53d251867086cafd9454a6d9bd01eefd, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_53d251867086cafd9454a6d9bd01eefd->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_53d251867086cafd9454a6d9bd01eefd, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_53d251867086cafd9454a6d9bd01eefd,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_53d251867086cafd9454a6d9bd01eefd == cache_frame_53d251867086cafd9454a6d9bd01eefd )
|
|
{
|
|
Py_DECREF( frame_53d251867086cafd9454a6d9bd01eefd );
|
|
}
|
|
cache_frame_53d251867086cafd9454a6d9bd01eefd = NULL;
|
|
|
|
assertFrameObject( frame_53d251867086cafd9454a6d9bd01eefd );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_6___str__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_6___str__ );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$charset$$$function_7___eq__( 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_other = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_daecebdb08af63fc1740d4e9919dc6d8;
|
|
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_daecebdb08af63fc1740d4e9919dc6d8 = 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_daecebdb08af63fc1740d4e9919dc6d8, codeobj_daecebdb08af63fc1740d4e9919dc6d8, module_future$backports$email$charset, sizeof(void *)+sizeof(void *) );
|
|
frame_daecebdb08af63fc1740d4e9919dc6d8 = cache_frame_daecebdb08af63fc1740d4e9919dc6d8;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_daecebdb08af63fc1740d4e9919dc6d8 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_daecebdb08af63fc1740d4e9919dc6d8 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_str );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 250;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_args_element_name_1 = par_self;
|
|
frame_daecebdb08af63fc1740d4e9919dc6d8->m_frame.f_lineno = 250;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_compexpr_left_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 250;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_str );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 250;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_2 = tmp_mvar_value_2;
|
|
if ( par_other == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 250;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_other;
|
|
frame_daecebdb08af63fc1740d4e9919dc6d8->m_frame.f_lineno = 250;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_called_instance_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
|
|
exception_lineno = 250;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_daecebdb08af63fc1740d4e9919dc6d8->m_frame.f_lineno = 250;
|
|
tmp_compexpr_right_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_lower );
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
if ( tmp_compexpr_right_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
|
|
exception_lineno = 250;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
Py_DECREF( tmp_compexpr_right_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 250;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_daecebdb08af63fc1740d4e9919dc6d8 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_daecebdb08af63fc1740d4e9919dc6d8 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_daecebdb08af63fc1740d4e9919dc6d8 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_daecebdb08af63fc1740d4e9919dc6d8, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_daecebdb08af63fc1740d4e9919dc6d8->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_daecebdb08af63fc1740d4e9919dc6d8, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_daecebdb08af63fc1740d4e9919dc6d8,
|
|
type_description_1,
|
|
par_self,
|
|
par_other
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_daecebdb08af63fc1740d4e9919dc6d8 == cache_frame_daecebdb08af63fc1740d4e9919dc6d8 )
|
|
{
|
|
Py_DECREF( frame_daecebdb08af63fc1740d4e9919dc6d8 );
|
|
}
|
|
cache_frame_daecebdb08af63fc1740d4e9919dc6d8 = NULL;
|
|
|
|
assertFrameObject( frame_daecebdb08af63fc1740d4e9919dc6d8 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_7___eq__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_other );
|
|
par_other = 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_other );
|
|
par_other = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_7___eq__ );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$charset$$$function_8___ne__( 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_other = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_8291592d9a60f0174a09f536aaf978ad;
|
|
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;
|
|
int tmp_res;
|
|
static struct Nuitka_FrameObject *cache_frame_8291592d9a60f0174a09f536aaf978ad = 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_8291592d9a60f0174a09f536aaf978ad, codeobj_8291592d9a60f0174a09f536aaf978ad, module_future$backports$email$charset, sizeof(void *)+sizeof(void *) );
|
|
frame_8291592d9a60f0174a09f536aaf978ad = cache_frame_8291592d9a60f0174a09f536aaf978ad;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_8291592d9a60f0174a09f536aaf978ad );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_8291592d9a60f0174a09f536aaf978ad ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___eq__ );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 253;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_other == 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", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 253;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_other;
|
|
frame_8291592d9a60f0174a09f536aaf978ad->m_frame.f_lineno = 253;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_operand_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 253;
|
|
type_description_1 = "oo";
|
|
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 = 253;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = ( tmp_res == 0 ) ? Py_True : Py_False;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8291592d9a60f0174a09f536aaf978ad );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8291592d9a60f0174a09f536aaf978ad );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8291592d9a60f0174a09f536aaf978ad );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_8291592d9a60f0174a09f536aaf978ad, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_8291592d9a60f0174a09f536aaf978ad->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_8291592d9a60f0174a09f536aaf978ad, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_8291592d9a60f0174a09f536aaf978ad,
|
|
type_description_1,
|
|
par_self,
|
|
par_other
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_8291592d9a60f0174a09f536aaf978ad == cache_frame_8291592d9a60f0174a09f536aaf978ad )
|
|
{
|
|
Py_DECREF( frame_8291592d9a60f0174a09f536aaf978ad );
|
|
}
|
|
cache_frame_8291592d9a60f0174a09f536aaf978ad = NULL;
|
|
|
|
assertFrameObject( frame_8291592d9a60f0174a09f536aaf978ad );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_8___ne__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_other );
|
|
par_other = 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_other );
|
|
par_other = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_8___ne__ );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$charset$$$function_9_get_body_encoding( 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_6343c646d5df66d462de3a80ee7220d5;
|
|
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_6343c646d5df66d462de3a80ee7220d5 = 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_6343c646d5df66d462de3a80ee7220d5, codeobj_6343c646d5df66d462de3a80ee7220d5, module_future$backports$email$charset, sizeof(void *) );
|
|
frame_6343c646d5df66d462de3a80ee7220d5 = cache_frame_6343c646d5df66d462de3a80ee7220d5;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_6343c646d5df66d462de3a80ee7220d5 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_6343c646d5df66d462de3a80ee7220d5 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_body_encoding );
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 268;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_SHORTEST );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SHORTEST );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "SHORTEST" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 268;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_1 = tmp_mvar_value_1;
|
|
tmp_operand_name_1 = RICH_COMPARE_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
if ( tmp_operand_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 268;
|
|
type_description_1 = "o";
|
|
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 = 268;
|
|
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_raise_type_1;
|
|
tmp_raise_type_1 = PyExc_AssertionError;
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_lineno = 268;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_mvar_value_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 = 269;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_body_encoding );
|
|
if ( tmp_compexpr_left_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_2 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "QP" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 269;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_2 = tmp_mvar_value_2;
|
|
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 = 269;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
tmp_return_value = const_str_digest_3293e85292556cc6d800009076416580;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_compexpr_left_3;
|
|
PyObject *tmp_compexpr_right_3;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_mvar_value_3;
|
|
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 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_3 = par_self;
|
|
tmp_compexpr_left_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_body_encoding );
|
|
if ( tmp_compexpr_left_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 271;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_3 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "BASE64" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 271;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_3 = tmp_mvar_value_3;
|
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 );
|
|
Py_DECREF( tmp_compexpr_left_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 271;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
tmp_return_value = const_str_plain_base64;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
goto branch_end_3;
|
|
branch_no_3:;
|
|
{
|
|
PyObject *tmp_mvar_value_4;
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_encode_7or8bit );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_encode_7or8bit );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "encode_7or8bit" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 274;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = tmp_mvar_value_4;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_end_3:;
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6343c646d5df66d462de3a80ee7220d5 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6343c646d5df66d462de3a80ee7220d5 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6343c646d5df66d462de3a80ee7220d5 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_6343c646d5df66d462de3a80ee7220d5, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_6343c646d5df66d462de3a80ee7220d5->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_6343c646d5df66d462de3a80ee7220d5, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_6343c646d5df66d462de3a80ee7220d5,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_6343c646d5df66d462de3a80ee7220d5 == cache_frame_6343c646d5df66d462de3a80ee7220d5 )
|
|
{
|
|
Py_DECREF( frame_6343c646d5df66d462de3a80ee7220d5 );
|
|
}
|
|
cache_frame_6343c646d5df66d462de3a80ee7220d5 = NULL;
|
|
|
|
assertFrameObject( frame_6343c646d5df66d462de3a80ee7220d5 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_9_get_body_encoding );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_9_get_body_encoding );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$charset$$$function_10_get_output_charset( 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_8185a3429d998d57012d0e9c6c7553fc;
|
|
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_8185a3429d998d57012d0e9c6c7553fc = 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_8185a3429d998d57012d0e9c6c7553fc, codeobj_8185a3429d998d57012d0e9c6c7553fc, module_future$backports$email$charset, sizeof(void *) );
|
|
frame_8185a3429d998d57012d0e9c6c7553fc = cache_frame_8185a3429d998d57012d0e9c6c7553fc;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_8185a3429d998d57012d0e9c6c7553fc );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_8185a3429d998d57012d0e9c6c7553fc ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
int tmp_or_left_truth_1;
|
|
PyObject *tmp_or_left_value_1;
|
|
PyObject *tmp_or_right_value_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_or_left_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_output_charset );
|
|
if ( tmp_or_left_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 282;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 );
|
|
if ( tmp_or_left_truth_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_or_left_value_1 );
|
|
|
|
exception_lineno = 282;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( tmp_or_left_truth_1 == 1 )
|
|
{
|
|
goto or_left_1;
|
|
}
|
|
else
|
|
{
|
|
goto or_right_1;
|
|
}
|
|
or_right_1:;
|
|
Py_DECREF( tmp_or_left_value_1 );
|
|
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 = 282;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_or_right_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_input_charset );
|
|
if ( tmp_or_right_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 282;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = tmp_or_right_value_1;
|
|
goto or_end_1;
|
|
or_left_1:;
|
|
tmp_return_value = tmp_or_left_value_1;
|
|
or_end_1:;
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8185a3429d998d57012d0e9c6c7553fc );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8185a3429d998d57012d0e9c6c7553fc );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8185a3429d998d57012d0e9c6c7553fc );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_8185a3429d998d57012d0e9c6c7553fc, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_8185a3429d998d57012d0e9c6c7553fc->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_8185a3429d998d57012d0e9c6c7553fc, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_8185a3429d998d57012d0e9c6c7553fc,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_8185a3429d998d57012d0e9c6c7553fc == cache_frame_8185a3429d998d57012d0e9c6c7553fc )
|
|
{
|
|
Py_DECREF( frame_8185a3429d998d57012d0e9c6c7553fc );
|
|
}
|
|
cache_frame_8185a3429d998d57012d0e9c6c7553fc = NULL;
|
|
|
|
assertFrameObject( frame_8185a3429d998d57012d0e9c6c7553fc );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_10_get_output_charset );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_10_get_output_charset );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$charset$$$function_11_header_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_self = python_pars[ 0 ];
|
|
PyObject *par_string = python_pars[ 1 ];
|
|
PyObject *var_codec = NULL;
|
|
PyObject *var_header_bytes = NULL;
|
|
PyObject *var_encoder_module = NULL;
|
|
struct Nuitka_FrameObject *frame_7e3aad2183d4bdb87a361eab00af6535;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_7e3aad2183d4bdb87a361eab00af6535 = 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_7e3aad2183d4bdb87a361eab00af6535, codeobj_7e3aad2183d4bdb87a361eab00af6535, module_future$backports$email$charset, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_7e3aad2183d4bdb87a361eab00af6535 = cache_frame_7e3aad2183d4bdb87a361eab00af6535;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_7e3aad2183d4bdb87a361eab00af6535 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_7e3aad2183d4bdb87a361eab00af6535 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
int tmp_or_left_truth_1;
|
|
PyObject *tmp_or_left_value_1;
|
|
PyObject *tmp_or_right_value_1;
|
|
PyObject *tmp_source_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_or_left_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_output_codec );
|
|
if ( tmp_or_left_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 295;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 );
|
|
if ( tmp_or_left_truth_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_or_left_value_1 );
|
|
|
|
exception_lineno = 295;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( tmp_or_left_truth_1 == 1 )
|
|
{
|
|
goto or_left_1;
|
|
}
|
|
else
|
|
{
|
|
goto or_right_1;
|
|
}
|
|
or_right_1:;
|
|
Py_DECREF( tmp_or_left_value_1 );
|
|
tmp_or_right_value_1 = const_str_digest_6968875ff9253166eec441872605df0f;
|
|
Py_INCREF( tmp_or_right_value_1 );
|
|
tmp_assign_source_1 = tmp_or_right_value_1;
|
|
goto or_end_1;
|
|
or_left_1:;
|
|
tmp_assign_source_1 = tmp_or_left_value_1;
|
|
or_end_1:;
|
|
assert( var_codec == NULL );
|
|
var_codec = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain__encode );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__encode );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_encode" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 296;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 296;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_string;
|
|
CHECK_OBJECT( var_codec );
|
|
tmp_args_element_name_2 = var_codec;
|
|
frame_7e3aad2183d4bdb87a361eab00af6535->m_frame.f_lineno = 296;
|
|
{
|
|
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 );
|
|
}
|
|
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 296;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_header_bytes == NULL );
|
|
var_header_bytes = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
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 = 298;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__get_encoder );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 298;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_header_bytes == 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", "header_bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 298;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_3 = var_header_bytes;
|
|
frame_7e3aad2183d4bdb87a361eab00af6535->m_frame.f_lineno = 298;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 298;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_encoder_module == NULL );
|
|
var_encoder_module = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( var_encoder_module );
|
|
tmp_compexpr_left_1 = var_encoder_module;
|
|
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:;
|
|
{
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 300;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = par_string;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_args_element_name_5;
|
|
if ( var_encoder_module == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoder_module" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 301;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_3 = var_encoder_module;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_header_encode );
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 301;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_header_bytes == 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", "header_bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 301;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_4 = var_header_bytes;
|
|
if ( var_codec == 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", "codec" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 301;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_5 = var_codec;
|
|
frame_7e3aad2183d4bdb87a361eab00af6535->m_frame.f_lineno = 301;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS2( 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 = 301;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7e3aad2183d4bdb87a361eab00af6535 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7e3aad2183d4bdb87a361eab00af6535 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7e3aad2183d4bdb87a361eab00af6535 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_7e3aad2183d4bdb87a361eab00af6535, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_7e3aad2183d4bdb87a361eab00af6535->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_7e3aad2183d4bdb87a361eab00af6535, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_7e3aad2183d4bdb87a361eab00af6535,
|
|
type_description_1,
|
|
par_self,
|
|
par_string,
|
|
var_codec,
|
|
var_header_bytes,
|
|
var_encoder_module
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_7e3aad2183d4bdb87a361eab00af6535 == cache_frame_7e3aad2183d4bdb87a361eab00af6535 )
|
|
{
|
|
Py_DECREF( frame_7e3aad2183d4bdb87a361eab00af6535 );
|
|
}
|
|
cache_frame_7e3aad2183d4bdb87a361eab00af6535 = NULL;
|
|
|
|
assertFrameObject( frame_7e3aad2183d4bdb87a361eab00af6535 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_11_header_encode );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_string );
|
|
par_string = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_codec );
|
|
var_codec = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_header_bytes );
|
|
var_header_bytes = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_encoder_module );
|
|
var_encoder_module = 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_string );
|
|
par_string = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_codec );
|
|
var_codec = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_header_bytes );
|
|
var_header_bytes = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_encoder_module );
|
|
var_encoder_module = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_11_header_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_future$backports$email$charset$$$function_12_header_encode_lines( 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_string = python_pars[ 1 ];
|
|
PyObject *par_maxlengths = python_pars[ 2 ];
|
|
PyObject *var_codec = NULL;
|
|
PyObject *var_header_bytes = NULL;
|
|
PyObject *var_encoder_module = NULL;
|
|
PyObject *var_encoder = NULL;
|
|
PyObject *var_charset = NULL;
|
|
PyObject *var_extra = NULL;
|
|
PyObject *var_lines = NULL;
|
|
PyObject *var_current_line = NULL;
|
|
PyObject *var_maxlen = NULL;
|
|
PyObject *var_character = NULL;
|
|
PyObject *var_this_line = NULL;
|
|
PyObject *var_length = NULL;
|
|
PyObject *var_separator = NULL;
|
|
PyObject *var_joined_line = NULL;
|
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
|
struct Nuitka_FrameObject *frame_5c0e138e51ee95faac87301acb9b77b6;
|
|
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 *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_5c0e138e51ee95faac87301acb9b77b6 = 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_5c0e138e51ee95faac87301acb9b77b6, codeobj_5c0e138e51ee95faac87301acb9b77b6, module_future$backports$email$charset, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_5c0e138e51ee95faac87301acb9b77b6 = cache_frame_5c0e138e51ee95faac87301acb9b77b6;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_5c0e138e51ee95faac87301acb9b77b6 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_5c0e138e51ee95faac87301acb9b77b6 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
int tmp_or_left_truth_1;
|
|
PyObject *tmp_or_left_value_1;
|
|
PyObject *tmp_or_right_value_1;
|
|
PyObject *tmp_source_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_or_left_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_output_codec );
|
|
if ( tmp_or_left_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 321;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 );
|
|
if ( tmp_or_left_truth_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_or_left_value_1 );
|
|
|
|
exception_lineno = 321;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( tmp_or_left_truth_1 == 1 )
|
|
{
|
|
goto or_left_1;
|
|
}
|
|
else
|
|
{
|
|
goto or_right_1;
|
|
}
|
|
or_right_1:;
|
|
Py_DECREF( tmp_or_left_value_1 );
|
|
tmp_or_right_value_1 = const_str_digest_6968875ff9253166eec441872605df0f;
|
|
Py_INCREF( tmp_or_right_value_1 );
|
|
tmp_assign_source_1 = tmp_or_right_value_1;
|
|
goto or_end_1;
|
|
or_left_1:;
|
|
tmp_assign_source_1 = tmp_or_left_value_1;
|
|
or_end_1:;
|
|
assert( var_codec == NULL );
|
|
var_codec = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain__encode );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__encode );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_encode" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 322;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 322;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_string;
|
|
CHECK_OBJECT( var_codec );
|
|
tmp_args_element_name_2 = var_codec;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 322;
|
|
{
|
|
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 );
|
|
}
|
|
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 322;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_header_bytes == NULL );
|
|
var_header_bytes = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
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 = 323;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__get_encoder );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 323;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_header_bytes == 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", "header_bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 323;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_3 = var_header_bytes;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 323;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 323;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_encoder_module == NULL );
|
|
var_encoder_module = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_name_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_kw_name_1;
|
|
PyObject *tmp_dict_key_1;
|
|
PyObject *tmp_dict_value_1;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_partial );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_partial );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "partial" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 324;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_3 = tmp_mvar_value_2;
|
|
CHECK_OBJECT( var_encoder_module );
|
|
tmp_source_name_3 = var_encoder_module;
|
|
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_header_encode );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 324;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_args_name_1 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
|
|
tmp_dict_key_1 = const_str_plain_charset;
|
|
if ( var_codec == 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", "codec" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 324;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dict_value_1 = var_codec;
|
|
tmp_kw_name_1 = _PyDict_NewPresized( 1 );
|
|
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 );
|
|
assert( !(tmp_res != 0) );
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 324;
|
|
tmp_assign_source_4 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_1, tmp_kw_name_1 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
Py_DECREF( tmp_kw_name_1 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 324;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_encoder == NULL );
|
|
var_encoder = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
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 = 327;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_self;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 327;
|
|
tmp_assign_source_5 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_get_output_charset );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 327;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_charset == NULL );
|
|
var_charset = tmp_assign_source_5;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_len_arg_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_mvar_value_3;
|
|
CHECK_OBJECT( var_charset );
|
|
tmp_len_arg_1 = var_charset;
|
|
tmp_left_name_1 = BUILTIN_LEN( tmp_len_arg_1 );
|
|
if ( tmp_left_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 328;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_RFC2047_CHROME_LEN );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_RFC2047_CHROME_LEN );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
Py_DECREF( tmp_left_name_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "RFC2047_CHROME_LEN" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 328;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_right_name_1 = tmp_mvar_value_3;
|
|
tmp_assign_source_6 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
if ( tmp_assign_source_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 328;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_extra == NULL );
|
|
var_extra = tmp_assign_source_6;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
tmp_assign_source_7 = PyList_New( 0 );
|
|
assert( var_lines == NULL );
|
|
var_lines = tmp_assign_source_7;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
tmp_assign_source_8 = PyList_New( 0 );
|
|
assert( var_current_line == NULL );
|
|
var_current_line = tmp_assign_source_8;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_right_name_2;
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_next );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_next );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "next" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 342;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_4 = tmp_mvar_value_4;
|
|
if ( par_maxlengths == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "maxlengths" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 342;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_4 = par_maxlengths;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 342;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4 };
|
|
tmp_left_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
if ( tmp_left_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 342;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_extra == NULL )
|
|
{
|
|
Py_DECREF( tmp_left_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "extra" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 342;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_right_name_2 = var_extra;
|
|
tmp_assign_source_9 = BINARY_OPERATION_SUB( tmp_left_name_2, tmp_right_name_2 );
|
|
Py_DECREF( tmp_left_name_2 );
|
|
if ( tmp_assign_source_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 342;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_maxlen == NULL );
|
|
var_maxlen = tmp_assign_source_9;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
PyObject *tmp_iter_arg_1;
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 343;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_iter_arg_1 = par_string;
|
|
tmp_assign_source_10 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 343;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_10;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_11;
|
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_11 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_11 == 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 = "ooooooooooooooooo";
|
|
exception_lineno = 343;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_11;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
|
tmp_assign_source_12 = tmp_for_loop_1__iter_value;
|
|
{
|
|
PyObject *old = var_character;
|
|
var_character = tmp_assign_source_12;
|
|
Py_INCREF( var_character );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_args_element_name_5;
|
|
if ( var_current_line == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "current_line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 344;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_4 = var_current_line;
|
|
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_append );
|
|
if ( tmp_called_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 344;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( var_character == 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", "character" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 344;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_5 = var_character;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 344;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_5 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 344;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
PyObject *tmp_called_name_6;
|
|
PyObject *tmp_source_name_5;
|
|
PyObject *tmp_mvar_value_5;
|
|
PyObject *tmp_args_element_name_6;
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_EMPTYSTRING );
|
|
|
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EMPTYSTRING );
|
|
}
|
|
|
|
if ( tmp_mvar_value_5 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EMPTYSTRING" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 345;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_5 = tmp_mvar_value_5;
|
|
tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_join );
|
|
if ( tmp_called_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 345;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( var_current_line == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_6 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "current_line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 345;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_6 = var_current_line;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 345;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_6 };
|
|
tmp_assign_source_13 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_6 );
|
|
if ( tmp_assign_source_13 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 345;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = var_this_line;
|
|
var_this_line = tmp_assign_source_13;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_14;
|
|
PyObject *tmp_called_name_7;
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_args_element_name_7;
|
|
PyObject *tmp_called_name_8;
|
|
PyObject *tmp_mvar_value_6;
|
|
PyObject *tmp_args_element_name_8;
|
|
PyObject *tmp_args_element_name_9;
|
|
if ( var_encoder_module == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoder_module" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 346;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_6 = var_encoder_module;
|
|
tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_header_length );
|
|
if ( tmp_called_name_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 346;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain__encode );
|
|
|
|
if (unlikely( tmp_mvar_value_6 == NULL ))
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__encode );
|
|
}
|
|
|
|
if ( tmp_mvar_value_6 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_7 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_encode" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 346;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_name_8 = tmp_mvar_value_6;
|
|
if ( var_this_line == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_7 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "this_line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 346;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_8 = var_this_line;
|
|
if ( var_charset == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_7 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "charset" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 346;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_9 = var_charset;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 346;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_8, tmp_args_element_name_9 };
|
|
tmp_args_element_name_7 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_8, call_args );
|
|
}
|
|
|
|
if ( tmp_args_element_name_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_7 );
|
|
|
|
exception_lineno = 346;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 346;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_7 };
|
|
tmp_assign_source_14 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_7 );
|
|
Py_DECREF( tmp_args_element_name_7 );
|
|
if ( tmp_assign_source_14 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 346;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = var_length;
|
|
var_length = tmp_assign_source_14;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( var_length );
|
|
tmp_compexpr_left_1 = var_length;
|
|
if ( var_maxlen == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "maxlen" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 347;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_compexpr_right_1 = var_maxlen;
|
|
tmp_res = RICH_COMPARE_BOOL_GT( 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 = 347;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_called_instance_2;
|
|
if ( var_current_line == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "current_line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 349;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_instance_2 = var_current_line;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 349;
|
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_pop );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 349;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
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_operand_name_1;
|
|
PyObject *tmp_operand_name_2;
|
|
if ( var_lines == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lines" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 351;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_operand_name_1 = var_lines;
|
|
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 = 351;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
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:;
|
|
if ( var_current_line == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "current_line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 351;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_operand_name_2 = var_current_line;
|
|
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 = 351;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
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:;
|
|
{
|
|
PyObject *tmp_called_instance_3;
|
|
if ( var_lines == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lines" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 352;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_instance_3 = var_lines;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 352;
|
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_none_tuple, 0 ) );
|
|
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 352;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
nuitka_bool tmp_condition_result_3;
|
|
int tmp_truth_name_1;
|
|
if ( var_lines == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lines" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 354;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( var_lines );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 354;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
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_1;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_1;
|
|
}
|
|
condexpr_true_1:;
|
|
tmp_assign_source_15 = const_str_space;
|
|
goto condexpr_end_1;
|
|
condexpr_false_1:;
|
|
tmp_assign_source_15 = const_str_empty;
|
|
condexpr_end_1:;
|
|
{
|
|
PyObject *old = var_separator;
|
|
var_separator = tmp_assign_source_15;
|
|
Py_INCREF( var_separator );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_16;
|
|
PyObject *tmp_called_name_9;
|
|
PyObject *tmp_source_name_7;
|
|
PyObject *tmp_mvar_value_7;
|
|
PyObject *tmp_args_element_name_10;
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_EMPTYSTRING );
|
|
|
|
if (unlikely( tmp_mvar_value_7 == NULL ))
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EMPTYSTRING );
|
|
}
|
|
|
|
if ( tmp_mvar_value_7 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EMPTYSTRING" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 355;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_7 = tmp_mvar_value_7;
|
|
tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_join );
|
|
if ( tmp_called_name_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 355;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( var_current_line == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_9 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "current_line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 355;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_10 = var_current_line;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 355;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_10 };
|
|
tmp_assign_source_16 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_9 );
|
|
if ( tmp_assign_source_16 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 355;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = var_joined_line;
|
|
var_joined_line = tmp_assign_source_16;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_17;
|
|
PyObject *tmp_called_name_10;
|
|
PyObject *tmp_mvar_value_8;
|
|
PyObject *tmp_args_element_name_11;
|
|
PyObject *tmp_args_element_name_12;
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain__encode );
|
|
|
|
if (unlikely( tmp_mvar_value_8 == NULL ))
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__encode );
|
|
}
|
|
|
|
if ( tmp_mvar_value_8 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_encode" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 356;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_name_10 = tmp_mvar_value_8;
|
|
CHECK_OBJECT( var_joined_line );
|
|
tmp_args_element_name_11 = var_joined_line;
|
|
if ( var_codec == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "codec" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 356;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_12 = var_codec;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 356;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_11, tmp_args_element_name_12 };
|
|
tmp_assign_source_17 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_10, call_args );
|
|
}
|
|
|
|
if ( tmp_assign_source_17 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 356;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = var_header_bytes;
|
|
var_header_bytes = tmp_assign_source_17;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_11;
|
|
PyObject *tmp_source_name_8;
|
|
PyObject *tmp_args_element_name_13;
|
|
PyObject *tmp_called_name_12;
|
|
PyObject *tmp_args_element_name_14;
|
|
if ( var_lines == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lines" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 357;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_8 = var_lines;
|
|
tmp_called_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_append );
|
|
if ( tmp_called_name_11 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 357;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( var_encoder == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_11 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoder" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 357;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_name_12 = var_encoder;
|
|
if ( var_header_bytes == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_11 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "header_bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 357;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_14 = var_header_bytes;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 357;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_14 };
|
|
tmp_args_element_name_13 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_12, call_args );
|
|
}
|
|
|
|
if ( tmp_args_element_name_13 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_11 );
|
|
|
|
exception_lineno = 357;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 357;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_13 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_11, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_11 );
|
|
Py_DECREF( tmp_args_element_name_13 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 357;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_18;
|
|
PyObject *tmp_list_element_1;
|
|
if ( var_character == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "character" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 358;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_list_element_1 = var_character;
|
|
tmp_assign_source_18 = PyList_New( 1 );
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_assign_source_18, 0, tmp_list_element_1 );
|
|
{
|
|
PyObject *old = var_current_line;
|
|
var_current_line = tmp_assign_source_18;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_19;
|
|
PyObject *tmp_left_name_3;
|
|
PyObject *tmp_called_name_13;
|
|
PyObject *tmp_mvar_value_9;
|
|
PyObject *tmp_args_element_name_15;
|
|
PyObject *tmp_right_name_3;
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_next );
|
|
|
|
if (unlikely( tmp_mvar_value_9 == NULL ))
|
|
{
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_next );
|
|
}
|
|
|
|
if ( tmp_mvar_value_9 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "next" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_name_13 = tmp_mvar_value_9;
|
|
if ( par_maxlengths == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "maxlengths" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_15 = par_maxlengths;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 359;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_15 };
|
|
tmp_left_name_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_13, call_args );
|
|
}
|
|
|
|
if ( tmp_left_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( var_extra == NULL )
|
|
{
|
|
Py_DECREF( tmp_left_name_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "extra" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_right_name_3 = var_extra;
|
|
tmp_assign_source_19 = BINARY_OPERATION_SUB( tmp_left_name_3, tmp_right_name_3 );
|
|
Py_DECREF( tmp_left_name_3 );
|
|
if ( tmp_assign_source_19 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = var_maxlen;
|
|
var_maxlen = tmp_assign_source_19;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 343;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_20;
|
|
PyObject *tmp_called_name_14;
|
|
PyObject *tmp_source_name_9;
|
|
PyObject *tmp_mvar_value_10;
|
|
PyObject *tmp_args_element_name_16;
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_EMPTYSTRING );
|
|
|
|
if (unlikely( tmp_mvar_value_10 == NULL ))
|
|
{
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EMPTYSTRING );
|
|
}
|
|
|
|
if ( tmp_mvar_value_10 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EMPTYSTRING" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 360;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_9 = tmp_mvar_value_10;
|
|
tmp_called_name_14 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_join );
|
|
if ( tmp_called_name_14 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 360;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_current_line == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_14 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "current_line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 360;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_16 = var_current_line;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 360;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_16 };
|
|
tmp_assign_source_20 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_14, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_14 );
|
|
if ( tmp_assign_source_20 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 360;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = var_joined_line;
|
|
var_joined_line = tmp_assign_source_20;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_21;
|
|
PyObject *tmp_called_name_15;
|
|
PyObject *tmp_mvar_value_11;
|
|
PyObject *tmp_args_element_name_17;
|
|
PyObject *tmp_args_element_name_18;
|
|
tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain__encode );
|
|
|
|
if (unlikely( tmp_mvar_value_11 == NULL ))
|
|
{
|
|
tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__encode );
|
|
}
|
|
|
|
if ( tmp_mvar_value_11 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_encode" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 361;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_15 = tmp_mvar_value_11;
|
|
CHECK_OBJECT( var_joined_line );
|
|
tmp_args_element_name_17 = var_joined_line;
|
|
if ( var_codec == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "codec" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 361;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_18 = var_codec;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 361;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_17, tmp_args_element_name_18 };
|
|
tmp_assign_source_21 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_15, call_args );
|
|
}
|
|
|
|
if ( tmp_assign_source_21 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 361;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = var_header_bytes;
|
|
var_header_bytes = tmp_assign_source_21;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_16;
|
|
PyObject *tmp_source_name_10;
|
|
PyObject *tmp_args_element_name_19;
|
|
PyObject *tmp_called_name_17;
|
|
PyObject *tmp_args_element_name_20;
|
|
if ( var_lines == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lines" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 362;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_10 = var_lines;
|
|
tmp_called_name_16 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_append );
|
|
if ( tmp_called_name_16 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 362;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_encoder == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_16 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoder" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 362;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_17 = var_encoder;
|
|
if ( var_header_bytes == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_16 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "header_bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 362;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_20 = var_header_bytes;
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 362;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_20 };
|
|
tmp_args_element_name_19 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_17, call_args );
|
|
}
|
|
|
|
if ( tmp_args_element_name_19 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_16 );
|
|
|
|
exception_lineno = 362;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_5c0e138e51ee95faac87301acb9b77b6->m_frame.f_lineno = 362;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_19 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_16, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_16 );
|
|
Py_DECREF( tmp_args_element_name_19 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 362;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
if ( var_lines == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lines" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 363;
|
|
type_description_1 = "ooooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = var_lines;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5c0e138e51ee95faac87301acb9b77b6 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5c0e138e51ee95faac87301acb9b77b6 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5c0e138e51ee95faac87301acb9b77b6 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_5c0e138e51ee95faac87301acb9b77b6, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_5c0e138e51ee95faac87301acb9b77b6->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_5c0e138e51ee95faac87301acb9b77b6, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_5c0e138e51ee95faac87301acb9b77b6,
|
|
type_description_1,
|
|
par_self,
|
|
par_string,
|
|
par_maxlengths,
|
|
var_codec,
|
|
var_header_bytes,
|
|
var_encoder_module,
|
|
var_encoder,
|
|
var_charset,
|
|
var_extra,
|
|
var_lines,
|
|
var_current_line,
|
|
var_maxlen,
|
|
var_character,
|
|
var_this_line,
|
|
var_length,
|
|
var_separator,
|
|
var_joined_line
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_5c0e138e51ee95faac87301acb9b77b6 == cache_frame_5c0e138e51ee95faac87301acb9b77b6 )
|
|
{
|
|
Py_DECREF( frame_5c0e138e51ee95faac87301acb9b77b6 );
|
|
}
|
|
cache_frame_5c0e138e51ee95faac87301acb9b77b6 = NULL;
|
|
|
|
assertFrameObject( frame_5c0e138e51ee95faac87301acb9b77b6 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_12_header_encode_lines );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_string );
|
|
par_string = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_maxlengths );
|
|
par_maxlengths = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_codec );
|
|
var_codec = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_header_bytes );
|
|
var_header_bytes = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_encoder_module );
|
|
var_encoder_module = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_encoder );
|
|
var_encoder = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_charset );
|
|
var_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_extra );
|
|
var_extra = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_lines );
|
|
var_lines = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_current_line );
|
|
var_current_line = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_maxlen );
|
|
var_maxlen = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_character );
|
|
var_character = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_this_line );
|
|
var_this_line = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_length );
|
|
var_length = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_separator );
|
|
var_separator = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_joined_line );
|
|
var_joined_line = 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_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_string );
|
|
par_string = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_maxlengths );
|
|
par_maxlengths = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_codec );
|
|
var_codec = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_header_bytes );
|
|
var_header_bytes = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_encoder_module );
|
|
var_encoder_module = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_encoder );
|
|
var_encoder = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_charset );
|
|
var_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_extra );
|
|
var_extra = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_lines );
|
|
var_lines = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_current_line );
|
|
var_current_line = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_maxlen );
|
|
var_maxlen = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_character );
|
|
var_character = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_this_line );
|
|
var_this_line = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_length );
|
|
var_length = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_separator );
|
|
var_separator = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_joined_line );
|
|
var_joined_line = 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( future$backports$email$charset$$$function_12_header_encode_lines );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$charset$$$function_13__get_encoder( 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_header_bytes = python_pars[ 1 ];
|
|
PyObject *var_len64 = NULL;
|
|
PyObject *var_lenqp = NULL;
|
|
struct Nuitka_FrameObject *frame_be8c7f2b58a5daa47b7cbbc79633080c;
|
|
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_be8c7f2b58a5daa47b7cbbc79633080c = 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_be8c7f2b58a5daa47b7cbbc79633080c, codeobj_be8c7f2b58a5daa47b7cbbc79633080c, module_future$backports$email$charset, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_be8c7f2b58a5daa47b7cbbc79633080c = cache_frame_be8c7f2b58a5daa47b7cbbc79633080c;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_be8c7f2b58a5daa47b7cbbc79633080c );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_be8c7f2b58a5daa47b7cbbc79633080c ) == 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;
|
|
PyObject *tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_header_encoding );
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 366;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "BASE64" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 366;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_1 = tmp_mvar_value_1;
|
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 366;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_mvar_value_2;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_email );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_email );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "email" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 367;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = tmp_mvar_value_2;
|
|
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_base64mime );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 367;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_mvar_value_3;
|
|
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 = 368;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_3 = par_self;
|
|
tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_header_encoding );
|
|
if ( tmp_compexpr_left_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 368;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_2 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "QP" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 368;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_2 = tmp_mvar_value_3;
|
|
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 = 368;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_mvar_value_4;
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_email );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_email );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "email" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 369;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_4 = tmp_mvar_value_4;
|
|
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_quoprimime );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 369;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_compexpr_left_3;
|
|
PyObject *tmp_compexpr_right_3;
|
|
PyObject *tmp_source_name_5;
|
|
PyObject *tmp_mvar_value_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 = 370;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_5 = par_self;
|
|
tmp_compexpr_left_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_header_encoding );
|
|
if ( tmp_compexpr_left_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 370;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_SHORTEST );
|
|
|
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SHORTEST );
|
|
}
|
|
|
|
if ( tmp_mvar_value_5 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_3 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "SHORTEST" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 370;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_3 = tmp_mvar_value_5;
|
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 );
|
|
Py_DECREF( tmp_compexpr_left_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 370;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_source_name_7;
|
|
PyObject *tmp_mvar_value_6;
|
|
PyObject *tmp_args_element_name_1;
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_email );
|
|
|
|
if (unlikely( tmp_mvar_value_6 == NULL ))
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_email );
|
|
}
|
|
|
|
if ( tmp_mvar_value_6 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "email" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 371;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_7 = tmp_mvar_value_6;
|
|
tmp_source_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_base64mime );
|
|
if ( tmp_source_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 371;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_header_length );
|
|
Py_DECREF( tmp_source_name_6 );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 371;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_header_bytes == 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", "header_bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 371;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_header_bytes;
|
|
frame_be8c7f2b58a5daa47b7cbbc79633080c->m_frame.f_lineno = 371;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 371;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_len64 == NULL );
|
|
var_len64 = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_8;
|
|
PyObject *tmp_source_name_9;
|
|
PyObject *tmp_mvar_value_7;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_email );
|
|
|
|
if (unlikely( tmp_mvar_value_7 == NULL ))
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_email );
|
|
}
|
|
|
|
if ( tmp_mvar_value_7 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "email" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 372;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_9 = tmp_mvar_value_7;
|
|
tmp_source_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_quoprimime );
|
|
if ( tmp_source_name_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 372;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_header_length );
|
|
Py_DECREF( tmp_source_name_8 );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 372;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_header_bytes == 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", "header_bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 372;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_header_bytes;
|
|
frame_be8c7f2b58a5daa47b7cbbc79633080c->m_frame.f_lineno = 372;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 372;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_lenqp == NULL );
|
|
var_lenqp = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_compexpr_left_4;
|
|
PyObject *tmp_compexpr_right_4;
|
|
if ( var_len64 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "len64" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 373;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_left_4 = var_len64;
|
|
CHECK_OBJECT( var_lenqp );
|
|
tmp_compexpr_right_4 = var_lenqp;
|
|
tmp_res = RICH_COMPARE_BOOL_LT( 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 = 373;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
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_source_name_10;
|
|
PyObject *tmp_mvar_value_8;
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_email );
|
|
|
|
if (unlikely( tmp_mvar_value_8 == NULL ))
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_email );
|
|
}
|
|
|
|
if ( tmp_mvar_value_8 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "email" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 374;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_10 = tmp_mvar_value_8;
|
|
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_base64mime );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 374;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
goto branch_end_4;
|
|
branch_no_4:;
|
|
{
|
|
PyObject *tmp_source_name_11;
|
|
PyObject *tmp_mvar_value_9;
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_email );
|
|
|
|
if (unlikely( tmp_mvar_value_9 == NULL ))
|
|
{
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_email );
|
|
}
|
|
|
|
if ( tmp_mvar_value_9 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "email" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 376;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_11 = tmp_mvar_value_9;
|
|
tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_quoprimime );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 376;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_end_4:;
|
|
}
|
|
goto branch_end_3;
|
|
branch_no_3:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_end_3:;
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_be8c7f2b58a5daa47b7cbbc79633080c );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_be8c7f2b58a5daa47b7cbbc79633080c );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_be8c7f2b58a5daa47b7cbbc79633080c );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_be8c7f2b58a5daa47b7cbbc79633080c, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_be8c7f2b58a5daa47b7cbbc79633080c->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_be8c7f2b58a5daa47b7cbbc79633080c, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_be8c7f2b58a5daa47b7cbbc79633080c,
|
|
type_description_1,
|
|
par_self,
|
|
par_header_bytes,
|
|
var_len64,
|
|
var_lenqp
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_be8c7f2b58a5daa47b7cbbc79633080c == cache_frame_be8c7f2b58a5daa47b7cbbc79633080c )
|
|
{
|
|
Py_DECREF( frame_be8c7f2b58a5daa47b7cbbc79633080c );
|
|
}
|
|
cache_frame_be8c7f2b58a5daa47b7cbbc79633080c = NULL;
|
|
|
|
assertFrameObject( frame_be8c7f2b58a5daa47b7cbbc79633080c );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_13__get_encoder );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_header_bytes );
|
|
par_header_bytes = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_len64 );
|
|
var_len64 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_lenqp );
|
|
var_lenqp = 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_header_bytes );
|
|
par_header_bytes = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_len64 );
|
|
var_len64 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_lenqp );
|
|
var_lenqp = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_13__get_encoder );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$charset$$$function_14_body_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_self = python_pars[ 0 ];
|
|
PyObject *par_string = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_29594cd1e5064824c7eadc98bb7d69f5;
|
|
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 *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_29594cd1e5064824c7eadc98bb7d69f5 = 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_29594cd1e5064824c7eadc98bb7d69f5, codeobj_29594cd1e5064824c7eadc98bb7d69f5, module_future$backports$email$charset, sizeof(void *)+sizeof(void *) );
|
|
frame_29594cd1e5064824c7eadc98bb7d69f5 = cache_frame_29594cd1e5064824c7eadc98bb7d69f5;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_29594cd1e5064824c7eadc98bb7d69f5 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_29594cd1e5064824c7eadc98bb7d69f5 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_operand_name_1;
|
|
CHECK_OBJECT( par_string );
|
|
tmp_operand_name_1 = par_string;
|
|
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 = 389;
|
|
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:;
|
|
{
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 390;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = par_string;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *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 = 391;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_body_encoding );
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 391;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "BASE64" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 391;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_1 = tmp_mvar_value_1;
|
|
tmp_condition_result_2 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_isinstance_inst_1;
|
|
PyObject *tmp_isinstance_cls_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 392;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_isinstance_inst_1 = par_string;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_str );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 392;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_isinstance_cls_1 = tmp_mvar_value_2;
|
|
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 392;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_source_name_3;
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
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_string;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_encode );
|
|
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_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 = 393;
|
|
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_output_charset );
|
|
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 = 393;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_29594cd1e5064824c7eadc98bb7d69f5->m_frame.f_lineno = 393;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
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 = 393;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_string;
|
|
par_string = tmp_assign_source_1;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_source_name_5;
|
|
PyObject *tmp_mvar_value_3;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_email );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_email );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "email" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 394;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_5 = tmp_mvar_value_3;
|
|
tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_base64mime );
|
|
if ( tmp_source_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 394;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_body_encode );
|
|
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 = 394;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_string == 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", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 394;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_string;
|
|
frame_29594cd1e5064824c7eadc98bb7d69f5->m_frame.f_lineno = 394;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 394;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
PyObject *tmp_source_name_6;
|
|
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 = 395;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_6 = par_self;
|
|
tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_body_encoding );
|
|
if ( tmp_compexpr_left_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 395;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_2 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "QP" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 395;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_2 = tmp_mvar_value_4;
|
|
tmp_condition_result_4 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_compexpr_left_2 );
|
|
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_4;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_4;
|
|
}
|
|
branch_yes_4:;
|
|
{
|
|
nuitka_bool tmp_condition_result_5;
|
|
PyObject *tmp_isinstance_inst_2;
|
|
PyObject *tmp_isinstance_cls_2;
|
|
PyObject *tmp_mvar_value_5;
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
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_isinstance_inst_2 = par_string;
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_str );
|
|
|
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str );
|
|
}
|
|
|
|
if ( tmp_mvar_value_5 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" );
|
|
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_isinstance_cls_2 = tmp_mvar_value_5;
|
|
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 402;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
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_2;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_7;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_source_name_8;
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
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_source_name_7 = par_string;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_encode );
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 403;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == 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", "self" );
|
|
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_source_name_8 = par_self;
|
|
tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_output_charset );
|
|
if ( tmp_args_element_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
|
|
exception_lineno = 403;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_29594cd1e5064824c7eadc98bb7d69f5->m_frame.f_lineno = 403;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_args_element_name_3 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 403;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_string;
|
|
par_string = tmp_assign_source_2;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_no_5:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_called_instance_1;
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 404;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_string;
|
|
frame_29594cd1e5064824c7eadc98bb7d69f5->m_frame.f_lineno = 404;
|
|
tmp_assign_source_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_decode, &PyTuple_GET_ITEM( const_tuple_str_plain_latin1_tuple, 0 ) );
|
|
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 404;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_string;
|
|
par_string = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_source_name_9;
|
|
PyObject *tmp_source_name_10;
|
|
PyObject *tmp_mvar_value_6;
|
|
PyObject *tmp_args_element_name_4;
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_email );
|
|
|
|
if (unlikely( tmp_mvar_value_6 == NULL ))
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_email );
|
|
}
|
|
|
|
if ( tmp_mvar_value_6 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "email" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 405;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_10 = tmp_mvar_value_6;
|
|
tmp_source_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_quoprimime );
|
|
if ( tmp_source_name_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 405;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_body_encode );
|
|
Py_DECREF( tmp_source_name_9 );
|
|
if ( tmp_called_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 405;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_string == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_4 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 405;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_4 = par_string;
|
|
frame_29594cd1e5064824c7eadc98bb7d69f5->m_frame.f_lineno = 405;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_4 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 405;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
goto branch_end_4;
|
|
branch_no_4:;
|
|
{
|
|
nuitka_bool tmp_condition_result_6;
|
|
PyObject *tmp_isinstance_inst_3;
|
|
PyObject *tmp_isinstance_cls_3;
|
|
PyObject *tmp_mvar_value_7;
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 407;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_isinstance_inst_3 = par_string;
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_str );
|
|
|
|
if (unlikely( tmp_mvar_value_7 == NULL ))
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str );
|
|
}
|
|
|
|
if ( tmp_mvar_value_7 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 407;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_isinstance_cls_3 = tmp_mvar_value_7;
|
|
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_3, tmp_isinstance_cls_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 407;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_6;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_6;
|
|
}
|
|
branch_yes_6:;
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_called_instance_2;
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_source_name_11;
|
|
PyObject *tmp_args_element_name_5;
|
|
PyObject *tmp_source_name_12;
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 408;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_11 = par_string;
|
|
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_encode );
|
|
if ( tmp_called_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 408;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == 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", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 408;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_12 = par_self;
|
|
tmp_args_element_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_output_charset );
|
|
if ( tmp_args_element_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_5 );
|
|
|
|
exception_lineno = 408;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_29594cd1e5064824c7eadc98bb7d69f5->m_frame.f_lineno = 408;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5 };
|
|
tmp_called_instance_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_5 );
|
|
Py_DECREF( tmp_args_element_name_5 );
|
|
if ( tmp_called_instance_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 408;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_29594cd1e5064824c7eadc98bb7d69f5->m_frame.f_lineno = 408;
|
|
tmp_assign_source_4 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_decode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) );
|
|
|
|
Py_DECREF( tmp_called_instance_2 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 408;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_string;
|
|
par_string = tmp_assign_source_4;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_no_6:;
|
|
}
|
|
{
|
|
if ( par_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 409;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = par_string;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_end_4:;
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_29594cd1e5064824c7eadc98bb7d69f5 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_29594cd1e5064824c7eadc98bb7d69f5 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_29594cd1e5064824c7eadc98bb7d69f5 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_29594cd1e5064824c7eadc98bb7d69f5, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_29594cd1e5064824c7eadc98bb7d69f5->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_29594cd1e5064824c7eadc98bb7d69f5, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_29594cd1e5064824c7eadc98bb7d69f5,
|
|
type_description_1,
|
|
par_self,
|
|
par_string
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_29594cd1e5064824c7eadc98bb7d69f5 == cache_frame_29594cd1e5064824c7eadc98bb7d69f5 )
|
|
{
|
|
Py_DECREF( frame_29594cd1e5064824c7eadc98bb7d69f5 );
|
|
}
|
|
cache_frame_29594cd1e5064824c7eadc98bb7d69f5 = NULL;
|
|
|
|
assertFrameObject( frame_29594cd1e5064824c7eadc98bb7d69f5 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_14_body_encode );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_string );
|
|
par_string = 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_string );
|
|
par_string = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset$$$function_14_body_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 *MAKE_FUNCTION_future$backports$email$charset$$$function_10_get_output_charset( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_10_get_output_charset,
|
|
const_str_plain_get_output_charset,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_d69bcd163f09c4f31b32f86856514209,
|
|
#endif
|
|
codeobj_8185a3429d998d57012d0e9c6c7553fc,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
const_str_digest_bab05edd7e8bae88bc446e2b3ec612d1,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_11_header_encode( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_11_header_encode,
|
|
const_str_plain_header_encode,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_a9671d58dc5d1a2ffbf3c7beabdf4f47,
|
|
#endif
|
|
codeobj_7e3aad2183d4bdb87a361eab00af6535,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
const_str_digest_313495d36ece046983f5860aabedd45c,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_12_header_encode_lines( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_12_header_encode_lines,
|
|
const_str_plain_header_encode_lines,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_3fb0f2d55b1454c93e22718c7ae51e4c,
|
|
#endif
|
|
codeobj_5c0e138e51ee95faac87301acb9b77b6,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
const_str_digest_9383a493ad036aca83ddca133e2a7edc,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_13__get_encoder( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_13__get_encoder,
|
|
const_str_plain__get_encoder,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_1671bf4e4f654ab8c7ba33504964c669,
|
|
#endif
|
|
codeobj_be8c7f2b58a5daa47b7cbbc79633080c,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_14_body_encode( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_14_body_encode,
|
|
const_str_plain_body_encode,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_28884ba7aee4f7b7562035f0608013c6,
|
|
#endif
|
|
codeobj_29594cd1e5064824c7eadc98bb7d69f5,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
const_str_digest_735c58e3c875aa2918e147a157d10f33,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_1_add_charset( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_1_add_charset,
|
|
const_str_plain_add_charset,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_4e835ee0c5571dd7d8380a3cc2f7ebf1,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
const_str_digest_7893419b7661835e465aa0bee0af5c89,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_2_add_alias( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_2_add_alias,
|
|
const_str_plain_add_alias,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_45fcdf7de7aba181b77d5dae7993237d,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
const_str_digest_2c73a1a9ccb9aaa45763845528ca38e2,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_3_add_codec( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_3_add_codec,
|
|
const_str_plain_add_codec,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_fff8af100b9516f8e26525928474aabe,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
const_str_digest_e5df5baa78bc03c8f31f7a10bac1f535,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_4__encode( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_4__encode,
|
|
const_str_plain__encode,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_8a520390934d519a7a38052f4c26b456,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_5___init__( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_5___init__,
|
|
const_str_plain___init__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_3bbc0287d0003df24b3b9bfd53ff274a,
|
|
#endif
|
|
codeobj_4bd9c3c30986bf9e7b312aa01835d8cb,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_6___str__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_6___str__,
|
|
const_str_plain___str__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_047fadfffaca6a62667882fbee0b4964,
|
|
#endif
|
|
codeobj_53d251867086cafd9454a6d9bd01eefd,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_7___eq__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_7___eq__,
|
|
const_str_plain___eq__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_2a76542895d755cfeccab89151470043,
|
|
#endif
|
|
codeobj_daecebdb08af63fc1740d4e9919dc6d8,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_8___ne__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_8___ne__,
|
|
const_str_plain___ne__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_06c3df7a128f394ed52bb13f34611514,
|
|
#endif
|
|
codeobj_8291592d9a60f0174a09f536aaf978ad,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$charset$$$function_9_get_body_encoding( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$charset$$$function_9_get_body_encoding,
|
|
const_str_plain_get_body_encoding,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_58cb6871db47327ba631a4c7ffc117ea,
|
|
#endif
|
|
codeobj_6343c646d5df66d462de3a80ee7220d5,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$charset,
|
|
const_str_digest_b19a1e864ac21f752cd7a57df4f79946,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
static struct PyModuleDef mdef_future$backports$email$charset =
|
|
{
|
|
PyModuleDef_HEAD_INIT,
|
|
"future.backports.email.charset", /* m_name */
|
|
NULL, /* m_doc */
|
|
-1, /* m_size */
|
|
NULL, /* m_methods */
|
|
NULL, /* m_reload */
|
|
NULL, /* m_traverse */
|
|
NULL, /* m_clear */
|
|
NULL, /* m_free */
|
|
};
|
|
#endif
|
|
|
|
extern PyObject *const_str_plain___package__;
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
extern PyObject *const_str_dot;
|
|
|
|
extern PyObject *const_str_plain___loader__;
|
|
extern PyObject *metapath_based_loader;
|
|
#endif
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
extern PyObject *const_str_plain___spec__;
|
|
extern PyObject *const_str_plain__initializing;
|
|
#endif
|
|
|
|
extern void _initCompiledCellType();
|
|
extern void _initCompiledGeneratorType();
|
|
extern void _initCompiledFunctionType();
|
|
extern void _initCompiledMethodType();
|
|
extern void _initCompiledFrameType();
|
|
#if PYTHON_VERSION >= 350
|
|
extern void _initCompiledCoroutineTypes();
|
|
#endif
|
|
#if PYTHON_VERSION >= 360
|
|
extern void _initCompiledAsyncgenTypes();
|
|
#endif
|
|
|
|
// The exported interface to CPython. On import of the module, this function
|
|
// gets called. It has to have an exact function name, in cases it's a shared
|
|
// library export. This is hidden behind the MOD_INIT_DECL.
|
|
|
|
MOD_INIT_DECL( future$backports$email$charset )
|
|
{
|
|
#if defined(_NUITKA_EXE) || PYTHON_VERSION >= 300
|
|
static bool _init_done = false;
|
|
|
|
// Modules might be imported repeatedly, which is to be ignored.
|
|
if ( _init_done )
|
|
{
|
|
return MOD_RETURN_VALUE( module_future$backports$email$charset );
|
|
}
|
|
else
|
|
{
|
|
_init_done = true;
|
|
}
|
|
#endif
|
|
|
|
#ifdef _NUITKA_MODULE
|
|
// In case of a stand alone extension module, need to call initialization
|
|
// the init here because that's the first and only time we are going to get
|
|
// called here.
|
|
|
|
// Initialize the constant values used.
|
|
_initBuiltinModule();
|
|
createGlobalConstants();
|
|
|
|
/* Initialize the compiled types of Nuitka. */
|
|
_initCompiledCellType();
|
|
_initCompiledGeneratorType();
|
|
_initCompiledFunctionType();
|
|
_initCompiledMethodType();
|
|
_initCompiledFrameType();
|
|
#if PYTHON_VERSION >= 350
|
|
_initCompiledCoroutineTypes();
|
|
#endif
|
|
#if PYTHON_VERSION >= 360
|
|
_initCompiledAsyncgenTypes();
|
|
#endif
|
|
|
|
#if PYTHON_VERSION < 300
|
|
_initSlotCompare();
|
|
#endif
|
|
#if PYTHON_VERSION >= 270
|
|
_initSlotIternext();
|
|
#endif
|
|
|
|
patchBuiltinModule();
|
|
patchTypeComparison();
|
|
|
|
// Enable meta path based loader if not already done.
|
|
#ifdef _NUITKA_TRACE
|
|
puts("future.backports.email.charset: Calling setupMetaPathBasedLoader().");
|
|
#endif
|
|
setupMetaPathBasedLoader();
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
patchInspectModule();
|
|
#endif
|
|
|
|
#endif
|
|
|
|
/* The constants only used by this module are created now. */
|
|
#ifdef _NUITKA_TRACE
|
|
puts("future.backports.email.charset: Calling createModuleConstants().");
|
|
#endif
|
|
createModuleConstants();
|
|
|
|
/* The code objects used by this module are created now. */
|
|
#ifdef _NUITKA_TRACE
|
|
puts("future.backports.email.charset: Calling createModuleCodeObjects().");
|
|
#endif
|
|
createModuleCodeObjects();
|
|
|
|
// puts( "in initfuture$backports$email$charset" );
|
|
|
|
// Create the module object first. There are no methods initially, all are
|
|
// added dynamically in actual code only. Also no "__doc__" is initially
|
|
// set at this time, as it could not contain NUL characters this way, they
|
|
// are instead set in early module code. No "self" for modules, we have no
|
|
// use for it.
|
|
#if PYTHON_VERSION < 300
|
|
module_future$backports$email$charset = Py_InitModule4(
|
|
"future.backports.email.charset", // Module Name
|
|
NULL, // No methods initially, all are added
|
|
// dynamically in actual module code only.
|
|
NULL, // No "__doc__" is initially set, as it could
|
|
// not contain NUL this way, added early in
|
|
// actual code.
|
|
NULL, // No self for modules, we don't use it.
|
|
PYTHON_API_VERSION
|
|
);
|
|
#else
|
|
|
|
module_future$backports$email$charset = PyModule_Create( &mdef_future$backports$email$charset );
|
|
#endif
|
|
|
|
moduledict_future$backports$email$charset = MODULE_DICT( module_future$backports$email$charset );
|
|
|
|
// Update "__package__" value to what it ought to be.
|
|
{
|
|
#if 0
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_future$backports$email$charset,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
module_name
|
|
);
|
|
|
|
#else
|
|
|
|
#if PYTHON_VERSION < 300
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
char const *module_name_cstr = PyString_AS_STRING( module_name );
|
|
|
|
char const *last_dot = strrchr( module_name_cstr, '.' );
|
|
|
|
if ( last_dot != NULL )
|
|
{
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_future$backports$email$charset,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
PyString_FromStringAndSize( module_name_cstr, last_dot - module_name_cstr )
|
|
);
|
|
}
|
|
#else
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
Py_ssize_t dot_index = PyUnicode_Find( module_name, const_str_dot, 0, PyUnicode_GetLength( module_name ), -1 );
|
|
|
|
if ( dot_index != -1 )
|
|
{
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_future$backports$email$charset,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
PyUnicode_Substring( module_name, 0, dot_index )
|
|
);
|
|
}
|
|
#endif
|
|
#endif
|
|
}
|
|
|
|
CHECK_OBJECT( module_future$backports$email$charset );
|
|
|
|
// 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_dbed2d8610eb28a4c8f2b2cb41b61864, module_future$backports$email$charset );
|
|
|
|
assert( r != -1 );
|
|
}
|
|
#endif
|
|
|
|
// For deep importing of a module we need to have "__builtins__", so we set
|
|
// it ourselves in the same way than CPython does. Note: This must be done
|
|
// before the frame object is allocated, or else it may fail.
|
|
|
|
if ( GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain___builtins__ ) == NULL )
|
|
{
|
|
PyObject *value = (PyObject *)builtin_module;
|
|
|
|
// Check if main module, not a dict then but the module itself.
|
|
#if !defined(_NUITKA_EXE) || !0
|
|
value = PyModule_GetDict( value );
|
|
#endif
|
|
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain___builtins__, value );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
|
|
#endif
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
#if 0
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain___spec__, Py_None );
|
|
#else
|
|
{
|
|
PyObject *bootstrap_module = PyImport_ImportModule("importlib._bootstrap");
|
|
CHECK_OBJECT( bootstrap_module );
|
|
PyObject *module_spec_class = PyObject_GetAttrString( bootstrap_module, "ModuleSpec" );
|
|
Py_DECREF( bootstrap_module );
|
|
|
|
PyObject *args[] = {
|
|
GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain___name__ ),
|
|
metapath_based_loader
|
|
};
|
|
|
|
PyObject *spec_value = CALL_FUNCTION_WITH_ARGS2(
|
|
module_spec_class,
|
|
args
|
|
);
|
|
|
|
SET_ATTRIBUTE( spec_value, const_str_plain__initializing, Py_True );
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (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 *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;
|
|
struct Nuitka_FrameObject *frame_b8b03d0b038980e3ff67f0ef094a65ad;
|
|
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_dictdel_dict;
|
|
PyObject *tmp_dictdel_key;
|
|
bool tmp_result;
|
|
PyObject *locals_future$backports$email$charset_167 = NULL;
|
|
PyObject *tmp_dictset_value;
|
|
struct Nuitka_FrameObject *frame_192b5fa87932fefc9459d999458ec9ff_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_192b5fa87932fefc9459d999458ec9ff_2 = 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_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;
|
|
|
|
// Module code.
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = Py_None;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = const_str_digest_6c6a1d2bf4ffd2cdc91acd03461095f8;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain___file__, tmp_assign_source_2 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
tmp_assign_source_3 = Py_None;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
|
|
}
|
|
// Frame without reuse.
|
|
frame_b8b03d0b038980e3ff67f0ef094a65ad = MAKE_MODULE_FRAME( codeobj_b8b03d0b038980e3ff67f0ef094a65ad, module_future$backports$email$charset );
|
|
|
|
// Push the new frame as the currently active one, and we should be exclusively
|
|
// owning it.
|
|
pushFrameStack( frame_b8b03d0b038980e3ff67f0ef094a65ad );
|
|
assert( Py_REFCNT( frame_b8b03d0b038980e3ff67f0ef094a65ad ) == 2 );
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_import_name_from_1;
|
|
frame_b8b03d0b038980e3ff67f0ef094a65ad->m_frame.f_lineno = 1;
|
|
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_unicode_literals );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_unicode_literals, tmp_assign_source_4 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_import_name_from_2;
|
|
frame_b8b03d0b038980e3ff67f0ef094a65ad->m_frame.f_lineno = 2;
|
|
tmp_import_name_from_2 = PyImport_ImportModule("__future__");
|
|
assert( !(tmp_import_name_from_2 == NULL) );
|
|
tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_division );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 2;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_division, tmp_assign_source_5 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_import_name_from_3;
|
|
frame_b8b03d0b038980e3ff67f0ef094a65ad->m_frame.f_lineno = 3;
|
|
tmp_import_name_from_3 = PyImport_ImportModule("__future__");
|
|
assert( !(tmp_import_name_from_3 == NULL) );
|
|
tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_absolute_import );
|
|
if ( tmp_assign_source_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 3;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_absolute_import, tmp_assign_source_6 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
PyObject *tmp_import_name_from_4;
|
|
PyObject *tmp_name_name_1;
|
|
PyObject *tmp_globals_name_1;
|
|
PyObject *tmp_locals_name_1;
|
|
PyObject *tmp_fromlist_name_1;
|
|
PyObject *tmp_level_name_1;
|
|
tmp_name_name_1 = const_str_digest_c3c96c8ed3ec2ec3a4d3f0dfaaa3ddf2;
|
|
tmp_globals_name_1 = (PyObject *)moduledict_future$backports$email$charset;
|
|
tmp_locals_name_1 = Py_None;
|
|
tmp_fromlist_name_1 = const_tuple_str_plain_str_tuple;
|
|
tmp_level_name_1 = const_int_0;
|
|
frame_b8b03d0b038980e3ff67f0ef094a65ad->m_frame.f_lineno = 4;
|
|
tmp_import_name_from_4 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
|
|
if ( tmp_import_name_from_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 4;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_str );
|
|
Py_DECREF( tmp_import_name_from_4 );
|
|
if ( tmp_assign_source_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 4;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_str, tmp_assign_source_7 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
PyObject *tmp_import_name_from_5;
|
|
PyObject *tmp_name_name_2;
|
|
PyObject *tmp_globals_name_2;
|
|
PyObject *tmp_locals_name_2;
|
|
PyObject *tmp_fromlist_name_2;
|
|
PyObject *tmp_level_name_2;
|
|
tmp_name_name_2 = const_str_digest_c3c96c8ed3ec2ec3a4d3f0dfaaa3ddf2;
|
|
tmp_globals_name_2 = (PyObject *)moduledict_future$backports$email$charset;
|
|
tmp_locals_name_2 = Py_None;
|
|
tmp_fromlist_name_2 = const_tuple_str_plain_next_tuple;
|
|
tmp_level_name_2 = const_int_0;
|
|
frame_b8b03d0b038980e3ff67f0ef094a65ad->m_frame.f_lineno = 5;
|
|
tmp_import_name_from_5 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 );
|
|
if ( tmp_import_name_from_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 5;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_next );
|
|
Py_DECREF( tmp_import_name_from_5 );
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 5;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_next, tmp_assign_source_8 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
tmp_assign_source_9 = LIST_COPY( const_list_908a71c311388d4440cd4234bfadfed3_list );
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain___all__, tmp_assign_source_9 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
PyObject *tmp_import_name_from_6;
|
|
PyObject *tmp_name_name_3;
|
|
PyObject *tmp_globals_name_3;
|
|
PyObject *tmp_locals_name_3;
|
|
PyObject *tmp_fromlist_name_3;
|
|
PyObject *tmp_level_name_3;
|
|
tmp_name_name_3 = const_str_plain_functools;
|
|
tmp_globals_name_3 = (PyObject *)moduledict_future$backports$email$charset;
|
|
tmp_locals_name_3 = Py_None;
|
|
tmp_fromlist_name_3 = const_tuple_str_plain_partial_tuple;
|
|
tmp_level_name_3 = const_int_0;
|
|
frame_b8b03d0b038980e3ff67f0ef094a65ad->m_frame.f_lineno = 18;
|
|
tmp_import_name_from_6 = 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_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_10 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_partial );
|
|
Py_DECREF( tmp_import_name_from_6 );
|
|
if ( tmp_assign_source_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 18;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_partial, tmp_assign_source_10 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_11;
|
|
PyObject *tmp_import_name_from_7;
|
|
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_741d67a63a1148262437f3f97bcea1cd;
|
|
tmp_globals_name_4 = (PyObject *)moduledict_future$backports$email$charset;
|
|
tmp_locals_name_4 = Py_None;
|
|
tmp_fromlist_name_4 = const_tuple_str_plain_email_tuple;
|
|
tmp_level_name_4 = const_int_0;
|
|
frame_b8b03d0b038980e3ff67f0ef094a65ad->m_frame.f_lineno = 20;
|
|
tmp_import_name_from_7 = 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_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 20;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_11 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_email );
|
|
Py_DECREF( tmp_import_name_from_7 );
|
|
if ( tmp_assign_source_11 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 20;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_email, tmp_assign_source_11 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
PyObject *tmp_import_name_from_8;
|
|
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_d19bf663764a0b15d5e8f7167c910e4e;
|
|
tmp_globals_name_5 = (PyObject *)moduledict_future$backports$email$charset;
|
|
tmp_locals_name_5 = Py_None;
|
|
tmp_fromlist_name_5 = const_tuple_str_plain_errors_tuple;
|
|
tmp_level_name_5 = const_int_0;
|
|
frame_b8b03d0b038980e3ff67f0ef094a65ad->m_frame.f_lineno = 21;
|
|
tmp_import_name_from_8 = 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_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 21;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_12 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_errors );
|
|
Py_DECREF( tmp_import_name_from_8 );
|
|
if ( tmp_assign_source_12 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 21;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_errors, tmp_assign_source_12 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
PyObject *tmp_import_name_from_9;
|
|
PyObject *tmp_name_name_6;
|
|
PyObject *tmp_globals_name_6;
|
|
PyObject *tmp_locals_name_6;
|
|
PyObject *tmp_fromlist_name_6;
|
|
PyObject *tmp_level_name_6;
|
|
tmp_name_name_6 = const_str_digest_d2e4011cbc7cf5a65e1cc479840bcff9;
|
|
tmp_globals_name_6 = (PyObject *)moduledict_future$backports$email$charset;
|
|
tmp_locals_name_6 = Py_None;
|
|
tmp_fromlist_name_6 = const_tuple_str_plain_encode_7or8bit_tuple;
|
|
tmp_level_name_6 = const_int_0;
|
|
frame_b8b03d0b038980e3ff67f0ef094a65ad->m_frame.f_lineno = 22;
|
|
tmp_import_name_from_9 = IMPORT_MODULE5( tmp_name_name_6, tmp_globals_name_6, tmp_locals_name_6, tmp_fromlist_name_6, tmp_level_name_6 );
|
|
if ( tmp_import_name_from_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 22;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_13 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain_encode_7or8bit );
|
|
Py_DECREF( tmp_import_name_from_9 );
|
|
if ( tmp_assign_source_13 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 22;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_encode_7or8bit, tmp_assign_source_13 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_14;
|
|
tmp_assign_source_14 = const_int_pos_1;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP, tmp_assign_source_14 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
tmp_assign_source_15 = const_int_pos_2;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64, tmp_assign_source_15 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_16;
|
|
tmp_assign_source_16 = const_int_pos_3;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_SHORTEST, tmp_assign_source_16 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_17;
|
|
tmp_assign_source_17 = const_int_pos_7;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_RFC2047_CHROME_LEN, tmp_assign_source_17 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_18;
|
|
tmp_assign_source_18 = const_str_digest_6968875ff9253166eec441872605df0f;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_DEFAULT_CHARSET, tmp_assign_source_18 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_19;
|
|
tmp_assign_source_19 = const_str_digest_0e0a66fa25a730966802deeb1b6be9bf;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_UNKNOWN8BIT, tmp_assign_source_19 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_20;
|
|
tmp_assign_source_20 = const_str_empty;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_EMPTYSTRING, tmp_assign_source_20 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_21;
|
|
PyObject *tmp_dict_key_1;
|
|
PyObject *tmp_dict_value_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_dict_key_2;
|
|
PyObject *tmp_dict_value_2;
|
|
PyObject *tmp_tuple_element_2;
|
|
PyObject *tmp_mvar_value_3;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_dict_key_3;
|
|
PyObject *tmp_dict_value_3;
|
|
PyObject *tmp_tuple_element_3;
|
|
PyObject *tmp_mvar_value_5;
|
|
PyObject *tmp_mvar_value_6;
|
|
PyObject *tmp_dict_key_4;
|
|
PyObject *tmp_dict_value_4;
|
|
PyObject *tmp_tuple_element_4;
|
|
PyObject *tmp_mvar_value_7;
|
|
PyObject *tmp_mvar_value_8;
|
|
PyObject *tmp_dict_key_5;
|
|
PyObject *tmp_dict_value_5;
|
|
PyObject *tmp_tuple_element_5;
|
|
PyObject *tmp_mvar_value_9;
|
|
PyObject *tmp_mvar_value_10;
|
|
PyObject *tmp_dict_key_6;
|
|
PyObject *tmp_dict_value_6;
|
|
PyObject *tmp_tuple_element_6;
|
|
PyObject *tmp_mvar_value_11;
|
|
PyObject *tmp_mvar_value_12;
|
|
PyObject *tmp_dict_key_7;
|
|
PyObject *tmp_dict_value_7;
|
|
PyObject *tmp_tuple_element_7;
|
|
PyObject *tmp_mvar_value_13;
|
|
PyObject *tmp_mvar_value_14;
|
|
PyObject *tmp_dict_key_8;
|
|
PyObject *tmp_dict_value_8;
|
|
PyObject *tmp_tuple_element_8;
|
|
PyObject *tmp_mvar_value_15;
|
|
PyObject *tmp_mvar_value_16;
|
|
PyObject *tmp_dict_key_9;
|
|
PyObject *tmp_dict_value_9;
|
|
PyObject *tmp_tuple_element_9;
|
|
PyObject *tmp_mvar_value_17;
|
|
PyObject *tmp_mvar_value_18;
|
|
PyObject *tmp_dict_key_10;
|
|
PyObject *tmp_dict_value_10;
|
|
PyObject *tmp_tuple_element_10;
|
|
PyObject *tmp_mvar_value_19;
|
|
PyObject *tmp_mvar_value_20;
|
|
PyObject *tmp_dict_key_11;
|
|
PyObject *tmp_dict_value_11;
|
|
PyObject *tmp_tuple_element_11;
|
|
PyObject *tmp_mvar_value_21;
|
|
PyObject *tmp_mvar_value_22;
|
|
PyObject *tmp_dict_key_12;
|
|
PyObject *tmp_dict_value_12;
|
|
PyObject *tmp_tuple_element_12;
|
|
PyObject *tmp_mvar_value_23;
|
|
PyObject *tmp_mvar_value_24;
|
|
PyObject *tmp_dict_key_13;
|
|
PyObject *tmp_dict_value_13;
|
|
PyObject *tmp_dict_key_14;
|
|
PyObject *tmp_dict_value_14;
|
|
PyObject *tmp_tuple_element_13;
|
|
PyObject *tmp_mvar_value_25;
|
|
PyObject *tmp_mvar_value_26;
|
|
PyObject *tmp_dict_key_15;
|
|
PyObject *tmp_dict_value_15;
|
|
PyObject *tmp_tuple_element_14;
|
|
PyObject *tmp_mvar_value_27;
|
|
PyObject *tmp_mvar_value_28;
|
|
PyObject *tmp_dict_key_16;
|
|
PyObject *tmp_dict_value_16;
|
|
PyObject *tmp_tuple_element_15;
|
|
PyObject *tmp_mvar_value_29;
|
|
PyObject *tmp_dict_key_17;
|
|
PyObject *tmp_dict_value_17;
|
|
PyObject *tmp_tuple_element_16;
|
|
PyObject *tmp_mvar_value_30;
|
|
PyObject *tmp_dict_key_18;
|
|
PyObject *tmp_dict_value_18;
|
|
PyObject *tmp_tuple_element_17;
|
|
PyObject *tmp_mvar_value_31;
|
|
PyObject *tmp_dict_key_19;
|
|
PyObject *tmp_dict_value_19;
|
|
PyObject *tmp_tuple_element_18;
|
|
PyObject *tmp_mvar_value_32;
|
|
PyObject *tmp_mvar_value_33;
|
|
PyObject *tmp_dict_key_20;
|
|
PyObject *tmp_dict_value_20;
|
|
PyObject *tmp_tuple_element_19;
|
|
PyObject *tmp_mvar_value_34;
|
|
PyObject *tmp_mvar_value_35;
|
|
tmp_dict_key_1 = const_str_digest_20861594150da1e43b5ee3f86b9deef6;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_1 );
|
|
tmp_tuple_element_1 = tmp_mvar_value_1;
|
|
tmp_dict_value_1 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_1, 0, tmp_tuple_element_1 );
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_2 );
|
|
tmp_tuple_element_1 = tmp_mvar_value_2;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_1, 1, tmp_tuple_element_1 );
|
|
tmp_tuple_element_1 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_1, 2, tmp_tuple_element_1 );
|
|
tmp_assign_source_21 = _PyDict_NewPresized( 20 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_1, tmp_dict_value_1 );
|
|
Py_DECREF( tmp_dict_value_1 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_2 = const_str_digest_5b492fde186bf9fa2dbf7913e4ddea2c;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_3 );
|
|
tmp_tuple_element_2 = tmp_mvar_value_3;
|
|
tmp_dict_value_2 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_2, 0, tmp_tuple_element_2 );
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_4 );
|
|
tmp_tuple_element_2 = tmp_mvar_value_4;
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_2, 1, tmp_tuple_element_2 );
|
|
tmp_tuple_element_2 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_2, 2, tmp_tuple_element_2 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_2, tmp_dict_value_2 );
|
|
Py_DECREF( tmp_dict_value_2 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_3 = const_str_digest_21cdc79d7d277ce60a65c7621f6b9d0c;
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_5 );
|
|
tmp_tuple_element_3 = tmp_mvar_value_5;
|
|
tmp_dict_value_3 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_3 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_3, 0, tmp_tuple_element_3 );
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_6 == NULL ))
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_6 );
|
|
tmp_tuple_element_3 = tmp_mvar_value_6;
|
|
Py_INCREF( tmp_tuple_element_3 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_3, 1, tmp_tuple_element_3 );
|
|
tmp_tuple_element_3 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_3 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_3, 2, tmp_tuple_element_3 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_3, tmp_dict_value_3 );
|
|
Py_DECREF( tmp_dict_value_3 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_4 = const_str_digest_326b8ec8e594664c22687d2269146df7;
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_7 == NULL ))
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_7 );
|
|
tmp_tuple_element_4 = tmp_mvar_value_7;
|
|
tmp_dict_value_4 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_4, 0, tmp_tuple_element_4 );
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_8 == NULL ))
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_8 );
|
|
tmp_tuple_element_4 = tmp_mvar_value_8;
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_4, 1, tmp_tuple_element_4 );
|
|
tmp_tuple_element_4 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_4, 2, tmp_tuple_element_4 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_4, tmp_dict_value_4 );
|
|
Py_DECREF( tmp_dict_value_4 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_5 = const_str_digest_308b528f6f3a13b66fca5729f635fa2d;
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_9 == NULL ))
|
|
{
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_9 );
|
|
tmp_tuple_element_5 = tmp_mvar_value_9;
|
|
tmp_dict_value_5 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_5 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_5, 0, tmp_tuple_element_5 );
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_10 == NULL ))
|
|
{
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_10 );
|
|
tmp_tuple_element_5 = tmp_mvar_value_10;
|
|
Py_INCREF( tmp_tuple_element_5 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_5, 1, tmp_tuple_element_5 );
|
|
tmp_tuple_element_5 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_5 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_5, 2, tmp_tuple_element_5 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_5, tmp_dict_value_5 );
|
|
Py_DECREF( tmp_dict_value_5 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_6 = const_str_digest_73b5849d046f5c698929aa2aa119cd97;
|
|
tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_11 == NULL ))
|
|
{
|
|
tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_11 );
|
|
tmp_tuple_element_6 = tmp_mvar_value_11;
|
|
tmp_dict_value_6 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_6 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_6, 0, tmp_tuple_element_6 );
|
|
tmp_mvar_value_12 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_12 == NULL ))
|
|
{
|
|
tmp_mvar_value_12 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_12 );
|
|
tmp_tuple_element_6 = tmp_mvar_value_12;
|
|
Py_INCREF( tmp_tuple_element_6 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_6, 1, tmp_tuple_element_6 );
|
|
tmp_tuple_element_6 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_6 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_6, 2, tmp_tuple_element_6 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_6, tmp_dict_value_6 );
|
|
Py_DECREF( tmp_dict_value_6 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_7 = const_str_digest_880529ee285393273b708ebc2cbdff96;
|
|
tmp_mvar_value_13 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_13 == NULL ))
|
|
{
|
|
tmp_mvar_value_13 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_13 );
|
|
tmp_tuple_element_7 = tmp_mvar_value_13;
|
|
tmp_dict_value_7 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_7 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_7, 0, tmp_tuple_element_7 );
|
|
tmp_mvar_value_14 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_14 == NULL ))
|
|
{
|
|
tmp_mvar_value_14 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_14 );
|
|
tmp_tuple_element_7 = tmp_mvar_value_14;
|
|
Py_INCREF( tmp_tuple_element_7 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_7, 1, tmp_tuple_element_7 );
|
|
tmp_tuple_element_7 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_7 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_7, 2, tmp_tuple_element_7 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_7, tmp_dict_value_7 );
|
|
Py_DECREF( tmp_dict_value_7 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_8 = const_str_digest_4add0a7a450a2179c066959cd2bafefe;
|
|
tmp_mvar_value_15 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_15 == NULL ))
|
|
{
|
|
tmp_mvar_value_15 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_15 );
|
|
tmp_tuple_element_8 = tmp_mvar_value_15;
|
|
tmp_dict_value_8 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_8 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_8, 0, tmp_tuple_element_8 );
|
|
tmp_mvar_value_16 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_16 == NULL ))
|
|
{
|
|
tmp_mvar_value_16 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_16 );
|
|
tmp_tuple_element_8 = tmp_mvar_value_16;
|
|
Py_INCREF( tmp_tuple_element_8 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_8, 1, tmp_tuple_element_8 );
|
|
tmp_tuple_element_8 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_8 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_8, 2, tmp_tuple_element_8 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_8, tmp_dict_value_8 );
|
|
Py_DECREF( tmp_dict_value_8 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_9 = const_str_digest_5b2471d7a0fba14bf6a8d6bdf0676287;
|
|
tmp_mvar_value_17 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_17 == NULL ))
|
|
{
|
|
tmp_mvar_value_17 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_17 );
|
|
tmp_tuple_element_9 = tmp_mvar_value_17;
|
|
tmp_dict_value_9 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_9 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_9, 0, tmp_tuple_element_9 );
|
|
tmp_mvar_value_18 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_18 == NULL ))
|
|
{
|
|
tmp_mvar_value_18 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_18 );
|
|
tmp_tuple_element_9 = tmp_mvar_value_18;
|
|
Py_INCREF( tmp_tuple_element_9 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_9, 1, tmp_tuple_element_9 );
|
|
tmp_tuple_element_9 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_9 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_9, 2, tmp_tuple_element_9 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_9, tmp_dict_value_9 );
|
|
Py_DECREF( tmp_dict_value_9 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_10 = const_str_digest_0bce12be770fe83e909736ab77e40b74;
|
|
tmp_mvar_value_19 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_19 == NULL ))
|
|
{
|
|
tmp_mvar_value_19 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_19 );
|
|
tmp_tuple_element_10 = tmp_mvar_value_19;
|
|
tmp_dict_value_10 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_10 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_10, 0, tmp_tuple_element_10 );
|
|
tmp_mvar_value_20 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_20 == NULL ))
|
|
{
|
|
tmp_mvar_value_20 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_20 );
|
|
tmp_tuple_element_10 = tmp_mvar_value_20;
|
|
Py_INCREF( tmp_tuple_element_10 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_10, 1, tmp_tuple_element_10 );
|
|
tmp_tuple_element_10 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_10 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_10, 2, tmp_tuple_element_10 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_10, tmp_dict_value_10 );
|
|
Py_DECREF( tmp_dict_value_10 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_11 = const_str_digest_29519ab8213fea2e78dbfee4381e95e6;
|
|
tmp_mvar_value_21 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_21 == NULL ))
|
|
{
|
|
tmp_mvar_value_21 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_21 );
|
|
tmp_tuple_element_11 = tmp_mvar_value_21;
|
|
tmp_dict_value_11 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_11 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_11, 0, tmp_tuple_element_11 );
|
|
tmp_mvar_value_22 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_22 == NULL ))
|
|
{
|
|
tmp_mvar_value_22 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_22 );
|
|
tmp_tuple_element_11 = tmp_mvar_value_22;
|
|
Py_INCREF( tmp_tuple_element_11 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_11, 1, tmp_tuple_element_11 );
|
|
tmp_tuple_element_11 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_11 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_11, 2, tmp_tuple_element_11 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_11, tmp_dict_value_11 );
|
|
Py_DECREF( tmp_dict_value_11 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_12 = const_str_plain_viscii;
|
|
tmp_mvar_value_23 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_23 == NULL ))
|
|
{
|
|
tmp_mvar_value_23 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_23 );
|
|
tmp_tuple_element_12 = tmp_mvar_value_23;
|
|
tmp_dict_value_12 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_12 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_12, 0, tmp_tuple_element_12 );
|
|
tmp_mvar_value_24 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_QP );
|
|
|
|
if (unlikely( tmp_mvar_value_24 == NULL ))
|
|
{
|
|
tmp_mvar_value_24 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_QP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_24 );
|
|
tmp_tuple_element_12 = tmp_mvar_value_24;
|
|
Py_INCREF( tmp_tuple_element_12 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_12, 1, tmp_tuple_element_12 );
|
|
tmp_tuple_element_12 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_12 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_12, 2, tmp_tuple_element_12 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_12, tmp_dict_value_12 );
|
|
Py_DECREF( tmp_dict_value_12 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_13 = const_str_digest_6968875ff9253166eec441872605df0f;
|
|
tmp_dict_value_13 = const_tuple_none_none_none_tuple;
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_13, tmp_dict_value_13 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_14 = const_str_plain_big5;
|
|
tmp_mvar_value_25 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_25 == NULL ))
|
|
{
|
|
tmp_mvar_value_25 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_25 );
|
|
tmp_tuple_element_13 = tmp_mvar_value_25;
|
|
tmp_dict_value_14 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_13 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_14, 0, tmp_tuple_element_13 );
|
|
tmp_mvar_value_26 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_26 == NULL ))
|
|
{
|
|
tmp_mvar_value_26 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_26 );
|
|
tmp_tuple_element_13 = tmp_mvar_value_26;
|
|
Py_INCREF( tmp_tuple_element_13 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_14, 1, tmp_tuple_element_13 );
|
|
tmp_tuple_element_13 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_13 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_14, 2, tmp_tuple_element_13 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_14, tmp_dict_value_14 );
|
|
Py_DECREF( tmp_dict_value_14 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_15 = const_str_plain_gb2312;
|
|
tmp_mvar_value_27 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_27 == NULL ))
|
|
{
|
|
tmp_mvar_value_27 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_27 );
|
|
tmp_tuple_element_14 = tmp_mvar_value_27;
|
|
tmp_dict_value_15 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_14 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_15, 0, tmp_tuple_element_14 );
|
|
tmp_mvar_value_28 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_28 == NULL ))
|
|
{
|
|
tmp_mvar_value_28 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_28 );
|
|
tmp_tuple_element_14 = tmp_mvar_value_28;
|
|
Py_INCREF( tmp_tuple_element_14 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_15, 1, tmp_tuple_element_14 );
|
|
tmp_tuple_element_14 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_14 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_15, 2, tmp_tuple_element_14 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_15, tmp_dict_value_15 );
|
|
Py_DECREF( tmp_dict_value_15 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_16 = const_str_digest_2fc2cfd85e9169d7a3a02f77487759f7;
|
|
tmp_mvar_value_29 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_29 == NULL ))
|
|
{
|
|
tmp_mvar_value_29 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_29 );
|
|
tmp_tuple_element_15 = tmp_mvar_value_29;
|
|
tmp_dict_value_16 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_15 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_16, 0, tmp_tuple_element_15 );
|
|
tmp_tuple_element_15 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_15 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_16, 1, tmp_tuple_element_15 );
|
|
tmp_tuple_element_15 = const_str_digest_d0448529256c69ba9291c30b72b8582d;
|
|
Py_INCREF( tmp_tuple_element_15 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_16, 2, tmp_tuple_element_15 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_16, tmp_dict_value_16 );
|
|
Py_DECREF( tmp_dict_value_16 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_17 = const_str_plain_shift_jis;
|
|
tmp_mvar_value_30 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_30 == NULL ))
|
|
{
|
|
tmp_mvar_value_30 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_30 );
|
|
tmp_tuple_element_16 = tmp_mvar_value_30;
|
|
tmp_dict_value_17 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_16 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_17, 0, tmp_tuple_element_16 );
|
|
tmp_tuple_element_16 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_16 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_17, 1, tmp_tuple_element_16 );
|
|
tmp_tuple_element_16 = const_str_digest_d0448529256c69ba9291c30b72b8582d;
|
|
Py_INCREF( tmp_tuple_element_16 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_17, 2, tmp_tuple_element_16 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_17, tmp_dict_value_17 );
|
|
Py_DECREF( tmp_dict_value_17 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_18 = const_str_digest_d0448529256c69ba9291c30b72b8582d;
|
|
tmp_mvar_value_31 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_31 == NULL ))
|
|
{
|
|
tmp_mvar_value_31 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_31 );
|
|
tmp_tuple_element_17 = tmp_mvar_value_31;
|
|
tmp_dict_value_18 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_17 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_18, 0, tmp_tuple_element_17 );
|
|
tmp_tuple_element_17 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_17 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_18, 1, tmp_tuple_element_17 );
|
|
tmp_tuple_element_17 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_17 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_18, 2, tmp_tuple_element_17 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_18, tmp_dict_value_18 );
|
|
Py_DECREF( tmp_dict_value_18 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_19 = const_str_digest_a91b7f7cb6c1e687d29ec04e093d10cd;
|
|
tmp_mvar_value_32 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_32 == NULL ))
|
|
{
|
|
tmp_mvar_value_32 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_32 );
|
|
tmp_tuple_element_18 = tmp_mvar_value_32;
|
|
tmp_dict_value_19 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_18 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_19, 0, tmp_tuple_element_18 );
|
|
tmp_mvar_value_33 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_33 == NULL ))
|
|
{
|
|
tmp_mvar_value_33 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_33 );
|
|
tmp_tuple_element_18 = tmp_mvar_value_33;
|
|
Py_INCREF( tmp_tuple_element_18 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_19, 1, tmp_tuple_element_18 );
|
|
tmp_tuple_element_18 = Py_None;
|
|
Py_INCREF( tmp_tuple_element_18 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_19, 2, tmp_tuple_element_18 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_19, tmp_dict_value_19 );
|
|
Py_DECREF( tmp_dict_value_19 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_20 = const_str_digest_c075052d723d6707083e869a0e3659bb;
|
|
tmp_mvar_value_34 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_SHORTEST );
|
|
|
|
if (unlikely( tmp_mvar_value_34 == NULL ))
|
|
{
|
|
tmp_mvar_value_34 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SHORTEST );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_34 );
|
|
tmp_tuple_element_19 = tmp_mvar_value_34;
|
|
tmp_dict_value_20 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_19 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_20, 0, tmp_tuple_element_19 );
|
|
tmp_mvar_value_35 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
|
|
if (unlikely( tmp_mvar_value_35 == NULL ))
|
|
{
|
|
tmp_mvar_value_35 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BASE64 );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_35 );
|
|
tmp_tuple_element_19 = tmp_mvar_value_35;
|
|
Py_INCREF( tmp_tuple_element_19 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_20, 1, tmp_tuple_element_19 );
|
|
tmp_tuple_element_19 = const_str_digest_c075052d723d6707083e869a0e3659bb;
|
|
Py_INCREF( tmp_tuple_element_19 );
|
|
PyTuple_SET_ITEM( tmp_dict_value_20, 2, tmp_tuple_element_19 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_21, tmp_dict_key_20, tmp_dict_value_20 );
|
|
Py_DECREF( tmp_dict_value_20 );
|
|
assert( !(tmp_res != 0) );
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_CHARSETS, tmp_assign_source_21 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_22;
|
|
tmp_assign_source_22 = PyDict_Copy( const_dict_b89ed32a5c1c5ab949ab76f3b70d44cb );
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_ALIASES, tmp_assign_source_22 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_23;
|
|
tmp_assign_source_23 = PyDict_Copy( const_dict_0540273436a7e7b635e83f4ff8ffb0ee );
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_CODEC_MAP, tmp_assign_source_23 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_24;
|
|
PyObject *tmp_defaults_1;
|
|
tmp_defaults_1 = const_tuple_none_none_none_tuple;
|
|
Py_INCREF( tmp_defaults_1 );
|
|
tmp_assign_source_24 = MAKE_FUNCTION_future$backports$email$charset$$$function_1_add_charset( tmp_defaults_1 );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_add_charset, tmp_assign_source_24 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_25;
|
|
tmp_assign_source_25 = MAKE_FUNCTION_future$backports$email$charset$$$function_2_add_alias( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_add_alias, tmp_assign_source_25 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_26;
|
|
tmp_assign_source_26 = MAKE_FUNCTION_future$backports$email$charset$$$function_3_add_codec( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_add_codec, tmp_assign_source_26 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_27;
|
|
tmp_assign_source_27 = MAKE_FUNCTION_future$backports$email$charset$$$function_4__encode( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain__encode, tmp_assign_source_27 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_28;
|
|
PyObject *tmp_dircall_arg1_1;
|
|
tmp_dircall_arg1_1 = const_tuple_type_object_tuple;
|
|
Py_INCREF( tmp_dircall_arg1_1 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
|
|
tmp_assign_source_28 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_28 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
assert( tmp_class_creation_1__bases == NULL );
|
|
tmp_class_creation_1__bases = tmp_assign_source_28;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_29;
|
|
tmp_assign_source_29 = PyDict_New();
|
|
assert( tmp_class_creation_1__class_decl_dict == NULL );
|
|
tmp_class_creation_1__class_decl_dict = tmp_assign_source_29;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_30;
|
|
PyObject *tmp_metaclass_name_1;
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_key_name_1;
|
|
PyObject *tmp_dict_name_1;
|
|
PyObject *tmp_dict_name_2;
|
|
PyObject *tmp_key_name_2;
|
|
nuitka_bool tmp_condition_result_2;
|
|
int tmp_truth_name_1;
|
|
PyObject *tmp_type_arg_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
PyObject *tmp_bases_name_1;
|
|
tmp_key_name_1 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_1, tmp_key_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_1;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_1;
|
|
}
|
|
condexpr_true_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
tmp_key_name_2 = const_str_plain_metaclass;
|
|
tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 );
|
|
if ( tmp_metaclass_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
goto condexpr_end_1;
|
|
condexpr_false_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 167;
|
|
|
|
goto try_except_handler_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 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 = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
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 = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
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_30 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
|
|
Py_DECREF( tmp_metaclass_name_1 );
|
|
if ( tmp_assign_source_30 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
assert( tmp_class_creation_1__metaclass == NULL );
|
|
tmp_class_creation_1__metaclass = tmp_assign_source_30;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_key_name_3;
|
|
PyObject *tmp_dict_name_3;
|
|
tmp_key_name_3 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
|
|
tmp_dictdel_key = const_str_plain_metaclass;
|
|
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_source_name_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_source_name_1 = tmp_class_creation_1__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_1, const_str_plain___prepare__ );
|
|
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
PyObject *tmp_assign_source_31;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_name_1;
|
|
PyObject *tmp_tuple_element_20;
|
|
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 = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_tuple_element_20 = const_str_plain_Charset;
|
|
tmp_args_name_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_20 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_20 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_20 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_20 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_20 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
|
|
frame_b8b03d0b038980e3ff67f0ef094a65ad->m_frame.f_lineno = 167;
|
|
tmp_assign_source_31 = 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_31 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_31;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_5;
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_source_name_3;
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_source_name_3 = tmp_class_creation_1__prepared;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_3, const_str_plain___getitem__ );
|
|
tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False;
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_raise_value_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_tuple_element_21;
|
|
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_21 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
|
|
if ( tmp_tuple_element_21 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_right_name_1 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_21 );
|
|
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_21 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_4 );
|
|
if ( tmp_tuple_element_21 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
|
|
exception_lineno = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_21 );
|
|
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 = 167;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_value = tmp_raise_value_1;
|
|
exception_lineno = 167;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
PyObject *tmp_assign_source_32;
|
|
tmp_assign_source_32 = PyDict_New();
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_32;
|
|
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_33;
|
|
{
|
|
PyObject *tmp_set_locals_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_set_locals_1 = tmp_class_creation_1__prepared;
|
|
locals_future$backports$email$charset_167 = tmp_set_locals_1;
|
|
Py_INCREF( tmp_set_locals_1 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_dbed2d8610eb28a4c8f2b2cb41b61864;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, 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 = 167;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_digest_6644d669e0e9f34a8195709ca3f92adb;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, 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 = 167;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_Charset;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, 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 = 167;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_192b5fa87932fefc9459d999458ec9ff_2, codeobj_192b5fa87932fefc9459d999458ec9ff, module_future$backports$email$charset, sizeof(void *) );
|
|
frame_192b5fa87932fefc9459d999458ec9ff_2 = cache_frame_192b5fa87932fefc9459d999458ec9ff_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_192b5fa87932fefc9459d999458ec9ff_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_192b5fa87932fefc9459d999458ec9ff_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_defaults_2;
|
|
PyObject *tmp_tuple_element_22;
|
|
PyObject *tmp_mvar_value_36;
|
|
tmp_tuple_element_22 = PyObject_GetItem( locals_future$backports$email$charset_167, const_str_plain_DEFAULT_CHARSET );
|
|
|
|
if ( tmp_tuple_element_22 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_36 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_DEFAULT_CHARSET );
|
|
|
|
if (unlikely( tmp_mvar_value_36 == NULL ))
|
|
{
|
|
tmp_mvar_value_36 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DEFAULT_CHARSET );
|
|
}
|
|
|
|
if ( tmp_mvar_value_36 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DEFAULT_CHARSET" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 211;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
tmp_tuple_element_22 = tmp_mvar_value_36;
|
|
Py_INCREF( tmp_tuple_element_22 );
|
|
}
|
|
}
|
|
|
|
tmp_defaults_2 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_defaults_2, 0, tmp_tuple_element_22 );
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$charset$$$function_5___init__( tmp_defaults_2 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, 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 = 211;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$charset$$$function_6___str__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, const_str_plain___str__, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 244;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = PyObject_GetItem( locals_future$backports$email$charset_167, const_str_plain___str__ );
|
|
|
|
if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "__str__" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 247;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 247;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, const_str_plain___repr__, 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 = 247;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$charset$$$function_7___eq__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, const_str_plain___eq__, 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 = 249;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$charset$$$function_8___ne__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, const_str_plain___ne__, 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_future$backports$email$charset$$$function_9_get_body_encoding( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, const_str_plain_get_body_encoding, 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 = 255;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$charset$$$function_10_get_output_charset( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, const_str_plain_get_output_charset, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 276;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$charset$$$function_11_header_encode( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, const_str_plain_header_encode, 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 = 284;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$charset$$$function_12_header_encode_lines( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, const_str_plain_header_encode_lines, 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 = 303;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$charset$$$function_13__get_encoder( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, const_str_plain__get_encoder, 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 = 365;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$charset$$$function_14_body_encode( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, const_str_plain_body_encode, 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_2;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_192b5fa87932fefc9459d999458ec9ff_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_192b5fa87932fefc9459d999458ec9ff_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_192b5fa87932fefc9459d999458ec9ff_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_192b5fa87932fefc9459d999458ec9ff_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_192b5fa87932fefc9459d999458ec9ff_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_192b5fa87932fefc9459d999458ec9ff_2,
|
|
type_description_2,
|
|
outline_0_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_192b5fa87932fefc9459d999458ec9ff_2 == cache_frame_192b5fa87932fefc9459d999458ec9ff_2 )
|
|
{
|
|
Py_DECREF( frame_192b5fa87932fefc9459d999458ec9ff_2 );
|
|
}
|
|
cache_frame_192b5fa87932fefc9459d999458ec9ff_2 = NULL;
|
|
|
|
assertFrameObject( frame_192b5fa87932fefc9459d999458ec9ff_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_3;
|
|
skip_nested_handling_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_6;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_compexpr_left_1 = tmp_class_creation_1__bases;
|
|
tmp_compexpr_right_1 = const_tuple_type_object_tuple;
|
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 167;
|
|
|
|
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:;
|
|
{
|
|
tmp_dictset_value = const_tuple_type_object_tuple;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$charset_167, 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 = 167;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
branch_no_4:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_34;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_args_name_2;
|
|
PyObject *tmp_tuple_element_23;
|
|
PyObject *tmp_kw_name_2;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_called_name_2 = tmp_class_creation_1__metaclass;
|
|
tmp_tuple_element_23 = const_str_plain_Charset;
|
|
tmp_args_name_2 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_23 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_23 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_23 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_23 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_23 );
|
|
tmp_tuple_element_23 = locals_future$backports$email$charset_167;
|
|
Py_INCREF( tmp_tuple_element_23 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_23 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
frame_b8b03d0b038980e3ff67f0ef094a65ad->m_frame.f_lineno = 167;
|
|
tmp_assign_source_34 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 );
|
|
Py_DECREF( tmp_args_name_2 );
|
|
if ( tmp_assign_source_34 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 167;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( outline_0_var___class__ == NULL );
|
|
outline_0_var___class__ = tmp_assign_source_34;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_0_var___class__ );
|
|
tmp_assign_source_33 = outline_0_var___class__;
|
|
Py_INCREF( tmp_assign_source_33 );
|
|
goto try_return_handler_3;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
Py_DECREF( locals_future$backports$email$charset_167 );
|
|
locals_future$backports$email$charset_167 = NULL;
|
|
}
|
|
{
|
|
goto try_return_handler_2;
|
|
}
|
|
// 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;
|
|
|
|
{
|
|
Py_DECREF( locals_future$backports$email$charset_167 );
|
|
locals_future$backports$email$charset_167 = 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:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
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_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;
|
|
|
|
{
|
|
// 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 outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$charset );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_1:;
|
|
exception_lineno = 167;
|
|
goto try_except_handler_1;
|
|
outline_result_1:;
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$charset, (Nuitka_StringObject *)const_str_plain_Charset, tmp_assign_source_33 );
|
|
}
|
|
goto try_end_1;
|
|
// 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( 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_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
|
|
// Restore frame exception if necessary.
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_b8b03d0b038980e3ff67f0ef094a65ad );
|
|
#endif
|
|
popFrameStack();
|
|
|
|
assertFrameObject( frame_b8b03d0b038980e3ff67f0ef094a65ad );
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_exception_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_b8b03d0b038980e3ff67f0ef094a65ad );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_b8b03d0b038980e3ff67f0ef094a65ad, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_b8b03d0b038980e3ff67f0ef094a65ad->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_b8b03d0b038980e3ff67f0ef094a65ad, exception_lineno );
|
|
}
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto module_exception_exit;
|
|
|
|
frame_no_exception_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;
|
|
|
|
}
|
|
|
|
return MOD_RETURN_VALUE( module_future$backports$email$charset );
|
|
module_exception_exit:
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
}
|