mirror of
https://github.com/house-of-vanity/fesmoo_perdoliq.git
synced 2025-08-21 16:17:15 +00:00
10742 lines
349 KiB
C
10742 lines
349 KiB
C
/* Generated code for Python source for module 'future.backports.email._encoded_words'
|
|
* 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$_encoded_words 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$_encoded_words;
|
|
PyDictObject *moduledict_future$backports$email$_encoded_words;
|
|
|
|
/* The module constants used, if any. */
|
|
static PyObject *const_str_plain__q_byte_subber;
|
|
static PyObject *const_tuple_bytes_digest_b264eef47b8aedfc9c9fbcfc930954e7_tuple;
|
|
extern PyObject *const_str_plain_metaclass;
|
|
static PyObject *const_tuple_str_plain_ascii_letters_str_plain_digits_tuple;
|
|
extern PyObject *const_str_plain_leftover;
|
|
static PyObject *const_str_plain_encode_q;
|
|
extern PyObject *const_str_plain_dict;
|
|
static PyObject *const_str_digest_e896e10207898c29e2d25598bfc2c182;
|
|
extern PyObject *const_str_plain___name__;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_key_tuple;
|
|
extern PyObject *const_tuple_str_plain___class___tuple;
|
|
extern PyObject *const_str_plain_string;
|
|
extern PyObject *const_str_angle_metaclass;
|
|
static PyObject *const_list_3b6e36911a4d3271a1984d871a756ec9_list;
|
|
extern PyObject *const_str_plain_i;
|
|
extern PyObject *const_tuple_str_plain_ascii_str_plain_surrogateescape_tuple;
|
|
extern PyObject *const_str_plain_chr;
|
|
static PyObject *const_str_digest_d58055185b8bb0cc04bb251cbb9e37b1;
|
|
extern PyObject *const_str_plain___file__;
|
|
static PyObject *const_bytes_chr_95;
|
|
extern PyObject *const_str_plain_group;
|
|
extern PyObject *const_str_plain_bytes;
|
|
static PyObject *const_bytes_digest_8330f1f5bd574b9e686fde6a56e541c9;
|
|
extern PyObject *const_tuple_str_chr_42_tuple;
|
|
extern PyObject *const_str_plain_encode;
|
|
extern PyObject *const_str_plain_CharsetError;
|
|
static PyObject *const_str_digest_c3f19e1a2640d49c2056809f3ed37c0d;
|
|
extern PyObject *const_str_plain_Error;
|
|
static PyObject *const_str_digest_a2c01dfdbe577adad07b1b2a16ddd7c5;
|
|
static PyObject *const_bytes_digest_b264eef47b8aedfc9c9fbcfc930954e7;
|
|
extern PyObject *const_str_plain_division;
|
|
static PyObject *const_str_plain__QByteMap;
|
|
static PyObject *const_str_plain_ew;
|
|
static PyObject *const_str_digest_2111e45273d2b5d9a407ddd5c1216bcd;
|
|
extern PyObject *const_str_chr_42;
|
|
extern PyObject *const_str_plain_m;
|
|
extern PyObject *const_str_plain_sub;
|
|
extern PyObject *const_str_plain_None;
|
|
extern PyObject *const_str_plain_charset;
|
|
extern PyObject *const_str_digest_d19bf663764a0b15d5e8f7167c910e4e;
|
|
extern PyObject *const_str_plain_q;
|
|
extern PyObject *const_int_pos_5;
|
|
extern PyObject *const_str_plain_join;
|
|
static PyObject *const_tuple_str_plain_chr_tuple;
|
|
extern PyObject *const_bytes_digest_a22d7943977b658edfdbd0091147a75b;
|
|
extern PyObject *const_str_chr_63;
|
|
extern PyObject *const_tuple_int_pos_1_tuple;
|
|
extern PyObject *const_int_pos_16;
|
|
extern PyObject *const_tuple_type_dict_tuple;
|
|
static PyObject *const_str_plain_qlen;
|
|
extern PyObject *const_str_plain_absolute_import;
|
|
extern PyObject *const_str_plain___doc__;
|
|
extern PyObject *const_str_plain_re;
|
|
extern PyObject *const_str_plain_lower;
|
|
extern PyObject *const_tuple_str_plain_errors_tuple;
|
|
extern PyObject *const_int_pos_32;
|
|
extern PyObject *const_str_plain_decode_b;
|
|
extern PyObject *const_str_plain___orig_bases__;
|
|
extern PyObject *const_str_plain___debug__;
|
|
extern PyObject *const_tuple_str_plain_ascii_tuple;
|
|
static PyObject *const_tuple_str_digest_f876609f344054afc40c1726b20b675e_tuple;
|
|
extern PyObject *const_str_plain_partition;
|
|
extern PyObject *const_str_plain_str;
|
|
extern PyObject *const_str_angle_genexpr;
|
|
extern PyObject *const_str_plain_cte;
|
|
extern PyObject *const_str_plain___qualname__;
|
|
static PyObject *const_str_plain_bstring;
|
|
static PyObject *const_str_plain__cte_encode_length;
|
|
static PyObject *const_tuple_str_plain_encoded_tuple;
|
|
extern PyObject *const_str_digest_b9c4baf879ebd882d40843df3a4dead7;
|
|
extern PyObject *const_str_plain_int;
|
|
static PyObject *const_str_plain_cte_string;
|
|
static PyObject *const_str_digest_6a8ae50864dd0fc235574f2d1d78f70e;
|
|
extern PyObject *const_str_plain_surrogateescape;
|
|
extern PyObject *const_str_plain_base64;
|
|
static PyObject *const_tuple_str_plain_bstring_tuple;
|
|
static PyObject *const_str_plain_encode_b;
|
|
static PyObject *const_str_plain__q_byte_map;
|
|
extern PyObject *const_str_plain_digits;
|
|
extern PyObject *const_tuple_empty;
|
|
extern PyObject *const_str_plain_ascii_letters;
|
|
extern PyObject *const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_x_tuple;
|
|
extern PyObject *const_str_plain_append;
|
|
extern PyObject *const_str_digest_c3c96c8ed3ec2ec3a4d3f0dfaaa3ddf2;
|
|
extern PyObject *const_str_plain_errors;
|
|
static PyObject *const_str_digest_dc73e6f0f21b968714776e4dbd624696;
|
|
extern PyObject *const_str_plain_compile;
|
|
static PyObject *const_tuple_fa05e2b9ecee35307c282d919b343ef8_tuple;
|
|
extern PyObject *const_str_plain_b;
|
|
static PyObject *const_bytes_digest_c6ca29cb86b8a9c07902a5acaf85d767;
|
|
extern PyObject *const_str_plain_split;
|
|
extern PyObject *const_str_plain_match;
|
|
extern PyObject *const_str_plain_InvalidBase64PaddingDefect;
|
|
extern PyObject *const_str_plain_decode;
|
|
extern PyObject *const_str_plain_False;
|
|
static PyObject *const_str_digest_3307bc98bd072f211f99b2f1404d269e;
|
|
extern PyObject *const_str_plain___getitem__;
|
|
static PyObject *const_str_digest_e9943dccea13d9aa818a6ea1dec6ebf1;
|
|
extern PyObject *const_str_plain___all__;
|
|
extern PyObject *const_str_digest_c075052d723d6707083e869a0e3659bb;
|
|
extern PyObject *const_tuple_str_chr_63_tuple;
|
|
static PyObject *const_str_digest_23acf01e9ae1e1770a55b49d8eb630dd;
|
|
static PyObject *const_str_plain_pad_err;
|
|
extern PyObject *const_str_plain_lang;
|
|
extern PyObject *const_str_plain_encoding;
|
|
static PyObject *const_str_plain__cte_decoders;
|
|
extern PyObject *const_int_0;
|
|
static PyObject *const_str_plain_len_q;
|
|
extern PyObject *const_tuple_str_plain_int_tuple;
|
|
extern PyObject *const_tuple_str_plain_m_tuple;
|
|
static PyObject *const_str_digest_363b19a9079e2bacd39f2be3886fbea4;
|
|
extern PyObject *const_tuple_str_plain_str_tuple;
|
|
static PyObject *const_str_plain_blen;
|
|
static PyObject *const_tuple_bytes_chr_95_bytes_chr_32_tuple;
|
|
static PyObject *const_tuple_9f71b86facbbda6906545f0a30bd34a3_tuple;
|
|
static PyObject *const_str_digest_00414801c305d817690ad8fb4149ef3e;
|
|
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
extern PyObject *const_str_plain_x;
|
|
extern PyObject *const_str_plain_groups_of_3;
|
|
extern PyObject *const_str_plain_UndecodableBytesDefect;
|
|
extern PyObject *const_int_pos_4;
|
|
extern PyObject *const_str_digest_cf11b30a9a874265d09a408d41180066;
|
|
extern PyObject *const_str_plain_safe;
|
|
static PyObject *const_str_plain_padded_encoded;
|
|
extern PyObject *const_str_plain_defects;
|
|
extern PyObject *const_str_angle_lambda;
|
|
extern PyObject *const_str_plain_type;
|
|
static PyObject *const_str_digest_f876609f344054afc40c1726b20b675e;
|
|
extern PyObject *const_str_plain___cached__;
|
|
static PyObject *const_str_plain_decode_q;
|
|
extern PyObject *const_str_plain___class__;
|
|
extern PyObject *const_str_plain_encoded;
|
|
static PyObject *const_str_digest_537db50a9bfde3d8a5de214ec5d6bc4f;
|
|
extern PyObject *const_str_plain__;
|
|
extern PyObject *const_bytes_chr_32;
|
|
extern PyObject *const_str_plain___module__;
|
|
extern PyObject *const_str_plain_functools;
|
|
static PyObject *const_tuple_int_0_int_pos_1_int_pos_2_int_pos_3_tuple;
|
|
extern PyObject *const_str_plain_unicode_literals;
|
|
extern PyObject *const_str_plain_binascii;
|
|
extern PyObject *const_tuple_str_plain_bytes_tuple;
|
|
extern PyObject *const_str_plain_partial;
|
|
extern PyObject *const_int_pos_1;
|
|
extern PyObject *const_str_plain_replace;
|
|
static PyObject *const_str_plain_len_b;
|
|
extern PyObject *const_str_plain_key;
|
|
extern PyObject *const_str_digest_0e0a66fa25a730966802deeb1b6be9bf;
|
|
extern PyObject *const_int_pos_3;
|
|
extern PyObject *const_str_plain___prepare__;
|
|
extern PyObject *const_str_plain_b64decode;
|
|
extern PyObject *const_bytes_chr_61;
|
|
extern PyObject *const_str_plain_self;
|
|
extern PyObject *const_str_plain_b64encode;
|
|
extern PyObject *const_str_plain___missing__;
|
|
static PyObject *const_tuple_str_plain_bstring_str_plain_groups_of_3_str_plain_leftover_tuple;
|
|
static PyObject *const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_none_str_empty_tuple;
|
|
extern PyObject *const_int_pos_2;
|
|
extern PyObject *const_str_plain_ascii;
|
|
extern PyObject *const_str_plain_format;
|
|
static PyObject *const_tuple_6a0e229ac81db91aefcb03afcbf1db9c_tuple;
|
|
extern PyObject *const_str_empty;
|
|
static PyObject *const_str_plain__cte_encoders;
|
|
extern PyObject *const_str_plain_InvalidBase64CharactersDefect;
|
|
static PyObject *module_filename_obj;
|
|
|
|
static bool constants_created = false;
|
|
|
|
static void createModuleConstants( void )
|
|
{
|
|
const_str_plain__q_byte_subber = UNSTREAM_STRING( &constant_bin[ 553807 ], 14, 1 );
|
|
const_tuple_bytes_digest_b264eef47b8aedfc9c9fbcfc930954e7_tuple = PyTuple_New( 1 );
|
|
const_bytes_digest_b264eef47b8aedfc9c9fbcfc930954e7 = UNSTREAM_BYTES( &constant_bin[ 553821 ], 17 );
|
|
PyTuple_SET_ITEM( const_tuple_bytes_digest_b264eef47b8aedfc9c9fbcfc930954e7_tuple, 0, const_bytes_digest_b264eef47b8aedfc9c9fbcfc930954e7 ); Py_INCREF( const_bytes_digest_b264eef47b8aedfc9c9fbcfc930954e7 );
|
|
const_tuple_str_plain_ascii_letters_str_plain_digits_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_ascii_letters_str_plain_digits_tuple, 0, const_str_plain_ascii_letters ); Py_INCREF( const_str_plain_ascii_letters );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_ascii_letters_str_plain_digits_tuple, 1, const_str_plain_digits ); Py_INCREF( const_str_plain_digits );
|
|
const_str_plain_encode_q = UNSTREAM_STRING( &constant_bin[ 553838 ], 8, 1 );
|
|
const_str_digest_e896e10207898c29e2d25598bfc2c182 = UNSTREAM_STRING( &constant_bin[ 553846 ], 73, 0 );
|
|
const_list_3b6e36911a4d3271a1984d871a756ec9_list = PyList_New( 8 );
|
|
const_str_plain_decode_q = UNSTREAM_STRING( &constant_bin[ 553919 ], 8, 1 );
|
|
PyList_SET_ITEM( const_list_3b6e36911a4d3271a1984d871a756ec9_list, 0, const_str_plain_decode_q ); Py_INCREF( const_str_plain_decode_q );
|
|
PyList_SET_ITEM( const_list_3b6e36911a4d3271a1984d871a756ec9_list, 1, const_str_plain_encode_q ); Py_INCREF( const_str_plain_encode_q );
|
|
PyList_SET_ITEM( const_list_3b6e36911a4d3271a1984d871a756ec9_list, 2, const_str_plain_decode_b ); Py_INCREF( const_str_plain_decode_b );
|
|
const_str_plain_encode_b = UNSTREAM_STRING( &constant_bin[ 476495 ], 8, 1 );
|
|
PyList_SET_ITEM( const_list_3b6e36911a4d3271a1984d871a756ec9_list, 3, const_str_plain_encode_b ); Py_INCREF( const_str_plain_encode_b );
|
|
const_str_plain_len_q = UNSTREAM_STRING( &constant_bin[ 553927 ], 5, 1 );
|
|
PyList_SET_ITEM( const_list_3b6e36911a4d3271a1984d871a756ec9_list, 4, const_str_plain_len_q ); Py_INCREF( const_str_plain_len_q );
|
|
const_str_plain_len_b = UNSTREAM_STRING( &constant_bin[ 8339 ], 5, 1 );
|
|
PyList_SET_ITEM( const_list_3b6e36911a4d3271a1984d871a756ec9_list, 5, const_str_plain_len_b ); Py_INCREF( const_str_plain_len_b );
|
|
PyList_SET_ITEM( const_list_3b6e36911a4d3271a1984d871a756ec9_list, 6, const_str_plain_decode ); Py_INCREF( const_str_plain_decode );
|
|
PyList_SET_ITEM( const_list_3b6e36911a4d3271a1984d871a756ec9_list, 7, const_str_plain_encode ); Py_INCREF( const_str_plain_encode );
|
|
const_str_digest_d58055185b8bb0cc04bb251cbb9e37b1 = UNSTREAM_STRING( &constant_bin[ 553932 ], 27, 0 );
|
|
const_bytes_chr_95 = UNSTREAM_BYTES( &constant_bin[ 4 ], 1 );
|
|
const_bytes_digest_8330f1f5bd574b9e686fde6a56e541c9 = UNSTREAM_BYTES( &constant_bin[ 553959 ], 22 );
|
|
const_str_digest_c3f19e1a2640d49c2056809f3ed37c0d = UNSTREAM_STRING( &constant_bin[ 553981 ], 166, 0 );
|
|
const_str_digest_a2c01dfdbe577adad07b1b2a16ddd7c5 = UNSTREAM_STRING( &constant_bin[ 554147 ], 46, 0 );
|
|
const_str_plain__QByteMap = UNSTREAM_STRING( &constant_bin[ 554193 ], 9, 1 );
|
|
const_str_plain_ew = UNSTREAM_STRING( &constant_bin[ 1257 ], 2, 1 );
|
|
const_str_digest_2111e45273d2b5d9a407ddd5c1216bcd = UNSTREAM_STRING( &constant_bin[ 554202 ], 60, 0 );
|
|
const_tuple_str_plain_chr_tuple = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_chr_tuple, 0, const_str_plain_chr ); Py_INCREF( const_str_plain_chr );
|
|
const_str_plain_qlen = UNSTREAM_STRING( &constant_bin[ 553926 ], 4, 1 );
|
|
const_tuple_str_digest_f876609f344054afc40c1726b20b675e_tuple = PyTuple_New( 1 );
|
|
const_str_digest_f876609f344054afc40c1726b20b675e = UNSTREAM_STRING( &constant_bin[ 554262 ], 22, 0 );
|
|
PyTuple_SET_ITEM( const_tuple_str_digest_f876609f344054afc40c1726b20b675e_tuple, 0, const_str_digest_f876609f344054afc40c1726b20b675e ); Py_INCREF( const_str_digest_f876609f344054afc40c1726b20b675e );
|
|
const_str_plain_bstring = UNSTREAM_STRING( &constant_bin[ 554284 ], 7, 1 );
|
|
const_str_plain__cte_encode_length = UNSTREAM_STRING( &constant_bin[ 554291 ], 18, 1 );
|
|
const_tuple_str_plain_encoded_tuple = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_encoded_tuple, 0, const_str_plain_encoded ); Py_INCREF( const_str_plain_encoded );
|
|
const_str_plain_cte_string = UNSTREAM_STRING( &constant_bin[ 554309 ], 10, 1 );
|
|
const_str_digest_6a8ae50864dd0fc235574f2d1d78f70e = UNSTREAM_STRING( &constant_bin[ 554319 ], 24, 0 );
|
|
const_tuple_str_plain_bstring_tuple = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_bstring_tuple, 0, const_str_plain_bstring ); Py_INCREF( const_str_plain_bstring );
|
|
const_str_plain__q_byte_map = UNSTREAM_STRING( &constant_bin[ 554343 ], 11, 1 );
|
|
const_str_digest_dc73e6f0f21b968714776e4dbd624696 = UNSTREAM_STRING( &constant_bin[ 554354 ], 783, 0 );
|
|
const_tuple_fa05e2b9ecee35307c282d919b343ef8_tuple = PyTuple_New( 9 );
|
|
PyTuple_SET_ITEM( const_tuple_fa05e2b9ecee35307c282d919b343ef8_tuple, 0, const_str_plain_ew ); Py_INCREF( const_str_plain_ew );
|
|
PyTuple_SET_ITEM( const_tuple_fa05e2b9ecee35307c282d919b343ef8_tuple, 1, const_str_plain__ ); Py_INCREF( const_str_plain__ );
|
|
PyTuple_SET_ITEM( const_tuple_fa05e2b9ecee35307c282d919b343ef8_tuple, 2, const_str_plain_charset ); Py_INCREF( const_str_plain_charset );
|
|
PyTuple_SET_ITEM( const_tuple_fa05e2b9ecee35307c282d919b343ef8_tuple, 3, const_str_plain_cte ); Py_INCREF( const_str_plain_cte );
|
|
PyTuple_SET_ITEM( const_tuple_fa05e2b9ecee35307c282d919b343ef8_tuple, 4, const_str_plain_cte_string ); Py_INCREF( const_str_plain_cte_string );
|
|
PyTuple_SET_ITEM( const_tuple_fa05e2b9ecee35307c282d919b343ef8_tuple, 5, const_str_plain_lang ); Py_INCREF( const_str_plain_lang );
|
|
PyTuple_SET_ITEM( const_tuple_fa05e2b9ecee35307c282d919b343ef8_tuple, 6, const_str_plain_bstring ); Py_INCREF( const_str_plain_bstring );
|
|
PyTuple_SET_ITEM( const_tuple_fa05e2b9ecee35307c282d919b343ef8_tuple, 7, const_str_plain_defects ); Py_INCREF( const_str_plain_defects );
|
|
PyTuple_SET_ITEM( const_tuple_fa05e2b9ecee35307c282d919b343ef8_tuple, 8, const_str_plain_string ); Py_INCREF( const_str_plain_string );
|
|
const_bytes_digest_c6ca29cb86b8a9c07902a5acaf85d767 = UNSTREAM_BYTES( &constant_bin[ 538601 ], 3 );
|
|
const_str_digest_3307bc98bd072f211f99b2f1404d269e = UNSTREAM_STRING( &constant_bin[ 555137 ], 7, 0 );
|
|
const_str_digest_e9943dccea13d9aa818a6ea1dec6ebf1 = UNSTREAM_STRING( &constant_bin[ 555144 ], 908, 0 );
|
|
const_str_digest_23acf01e9ae1e1770a55b49d8eb630dd = UNSTREAM_STRING( &constant_bin[ 556052 ], 21, 0 );
|
|
const_str_plain_pad_err = UNSTREAM_STRING( &constant_bin[ 556073 ], 7, 1 );
|
|
const_str_plain__cte_decoders = UNSTREAM_STRING( &constant_bin[ 556080 ], 13, 1 );
|
|
const_str_digest_363b19a9079e2bacd39f2be3886fbea4 = UNSTREAM_STRING( &constant_bin[ 556093 ], 58, 0 );
|
|
const_str_plain_blen = UNSTREAM_STRING( &constant_bin[ 556151 ], 4, 1 );
|
|
const_tuple_bytes_chr_95_bytes_chr_32_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_bytes_chr_95_bytes_chr_32_tuple, 0, const_bytes_chr_95 ); Py_INCREF( const_bytes_chr_95 );
|
|
PyTuple_SET_ITEM( const_tuple_bytes_chr_95_bytes_chr_32_tuple, 1, const_bytes_chr_32 ); Py_INCREF( const_bytes_chr_32 );
|
|
const_tuple_9f71b86facbbda6906545f0a30bd34a3_tuple = PyTuple_New( 8 );
|
|
PyTuple_SET_ITEM( const_tuple_9f71b86facbbda6906545f0a30bd34a3_tuple, 0, const_str_plain_string ); Py_INCREF( const_str_plain_string );
|
|
PyTuple_SET_ITEM( const_tuple_9f71b86facbbda6906545f0a30bd34a3_tuple, 1, const_str_plain_charset ); Py_INCREF( const_str_plain_charset );
|
|
PyTuple_SET_ITEM( const_tuple_9f71b86facbbda6906545f0a30bd34a3_tuple, 2, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding );
|
|
PyTuple_SET_ITEM( const_tuple_9f71b86facbbda6906545f0a30bd34a3_tuple, 3, const_str_plain_lang ); Py_INCREF( const_str_plain_lang );
|
|
PyTuple_SET_ITEM( const_tuple_9f71b86facbbda6906545f0a30bd34a3_tuple, 4, const_str_plain_bstring ); Py_INCREF( const_str_plain_bstring );
|
|
PyTuple_SET_ITEM( const_tuple_9f71b86facbbda6906545f0a30bd34a3_tuple, 5, const_str_plain_qlen ); Py_INCREF( const_str_plain_qlen );
|
|
PyTuple_SET_ITEM( const_tuple_9f71b86facbbda6906545f0a30bd34a3_tuple, 6, const_str_plain_blen ); Py_INCREF( const_str_plain_blen );
|
|
PyTuple_SET_ITEM( const_tuple_9f71b86facbbda6906545f0a30bd34a3_tuple, 7, const_str_plain_encoded ); Py_INCREF( const_str_plain_encoded );
|
|
const_str_digest_00414801c305d817690ad8fb4149ef3e = UNSTREAM_STRING( &constant_bin[ 556155 ], 25, 0 );
|
|
const_str_plain_padded_encoded = UNSTREAM_STRING( &constant_bin[ 556180 ], 14, 1 );
|
|
const_str_digest_537db50a9bfde3d8a5de214ec5d6bc4f = UNSTREAM_STRING( &constant_bin[ 556194 ], 18, 0 );
|
|
const_tuple_int_0_int_pos_1_int_pos_2_int_pos_3_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_int_0_int_pos_1_int_pos_2_int_pos_3_tuple, 0, const_int_0 ); Py_INCREF( const_int_0 );
|
|
PyTuple_SET_ITEM( const_tuple_int_0_int_pos_1_int_pos_2_int_pos_3_tuple, 1, const_int_pos_1 ); Py_INCREF( const_int_pos_1 );
|
|
PyTuple_SET_ITEM( const_tuple_int_0_int_pos_1_int_pos_2_int_pos_3_tuple, 2, const_int_pos_2 ); Py_INCREF( const_int_pos_2 );
|
|
PyTuple_SET_ITEM( const_tuple_int_0_int_pos_1_int_pos_2_int_pos_3_tuple, 3, const_int_pos_3 ); Py_INCREF( const_int_pos_3 );
|
|
const_tuple_str_plain_bstring_str_plain_groups_of_3_str_plain_leftover_tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_bstring_str_plain_groups_of_3_str_plain_leftover_tuple, 0, const_str_plain_bstring ); Py_INCREF( const_str_plain_bstring );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_bstring_str_plain_groups_of_3_str_plain_leftover_tuple, 1, const_str_plain_groups_of_3 ); Py_INCREF( const_str_plain_groups_of_3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_bstring_str_plain_groups_of_3_str_plain_leftover_tuple, 2, const_str_plain_leftover ); Py_INCREF( const_str_plain_leftover );
|
|
const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_none_str_empty_tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_none_str_empty_tuple, 0, const_str_digest_c075052d723d6707083e869a0e3659bb ); Py_INCREF( const_str_digest_c075052d723d6707083e869a0e3659bb );
|
|
PyTuple_SET_ITEM( const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_none_str_empty_tuple, 1, Py_None ); Py_INCREF( Py_None );
|
|
PyTuple_SET_ITEM( const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_none_str_empty_tuple, 2, const_str_empty ); Py_INCREF( const_str_empty );
|
|
const_tuple_6a0e229ac81db91aefcb03afcbf1db9c_tuple = PyTuple_New( 5 );
|
|
PyTuple_SET_ITEM( const_tuple_6a0e229ac81db91aefcb03afcbf1db9c_tuple, 0, const_str_plain_encoded ); Py_INCREF( const_str_plain_encoded );
|
|
PyTuple_SET_ITEM( const_tuple_6a0e229ac81db91aefcb03afcbf1db9c_tuple, 1, const_str_plain_defects ); Py_INCREF( const_str_plain_defects );
|
|
PyTuple_SET_ITEM( const_tuple_6a0e229ac81db91aefcb03afcbf1db9c_tuple, 2, const_str_plain_pad_err ); Py_INCREF( const_str_plain_pad_err );
|
|
PyTuple_SET_ITEM( const_tuple_6a0e229ac81db91aefcb03afcbf1db9c_tuple, 3, const_str_plain_padded_encoded ); Py_INCREF( const_str_plain_padded_encoded );
|
|
PyTuple_SET_ITEM( const_tuple_6a0e229ac81db91aefcb03afcbf1db9c_tuple, 4, const_str_plain_i ); Py_INCREF( const_str_plain_i );
|
|
const_str_plain__cte_encoders = UNSTREAM_STRING( &constant_bin[ 556212 ], 13, 1 );
|
|
|
|
constants_created = true;
|
|
}
|
|
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
void checkModuleConstants_future$backports$email$_encoded_words( void )
|
|
{
|
|
// The module may not have been used at all.
|
|
if (constants_created == false) return;
|
|
|
|
|
|
}
|
|
#endif
|
|
|
|
// The module code objects.
|
|
static PyCodeObject *codeobj_ec57a0dce8793c4f7d8a6e0f9e0e5b53;
|
|
static PyCodeObject *codeobj_88d257e22534cc94872a4f0f39be9942;
|
|
static PyCodeObject *codeobj_ffbb1c0c6aa0ea1dd628c321d1b977f9;
|
|
static PyCodeObject *codeobj_6282cde0ccc52e504578dec14f5a97bd;
|
|
static PyCodeObject *codeobj_ee5c90f3a84dd5efbba62a9d3ac29c62;
|
|
static PyCodeObject *codeobj_ebffb6bc810780d9d126fcd83ada1f7e;
|
|
static PyCodeObject *codeobj_5f4b58e1bdef876593b9cafb36ba2949;
|
|
static PyCodeObject *codeobj_96e7475334c06d38ff6541afd26be3f4;
|
|
static PyCodeObject *codeobj_4a2ef25661f28911bea0b8e4eba8ec14;
|
|
static PyCodeObject *codeobj_8a72fd33ae3fa1d70d2fadb4a54257a9;
|
|
static PyCodeObject *codeobj_cc13d9cf1086b834403f305c6f3f93fa;
|
|
static PyCodeObject *codeobj_d2750ca5389cd12a6e9873520e8751d9;
|
|
static PyCodeObject *codeobj_266798d38a0a970761dcd57a3babb26b;
|
|
static PyCodeObject *codeobj_a48515a2f0c37d64928a049fec4a88f1;
|
|
|
|
static void createModuleCodeObjects(void)
|
|
{
|
|
module_filename_obj = const_str_digest_e896e10207898c29e2d25598bfc2c182;
|
|
codeobj_ec57a0dce8793c4f7d8a6e0f9e0e5b53 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 97, const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_x_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_88d257e22534cc94872a4f0f39be9942 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 100, const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_x_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_ffbb1c0c6aa0ea1dd628c321d1b977f9 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_lambda, 72, const_tuple_str_plain_m_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_6282cde0ccc52e504578dec14f5a97bd = MAKE_CODEOBJ( module_filename_obj, const_str_digest_a2c01dfdbe577adad07b1b2a16ddd7c5, 1, const_tuple_empty, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_ee5c90f3a84dd5efbba62a9d3ac29c62 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__QByteMap, 80, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_ebffb6bc810780d9d126fcd83ada1f7e = MAKE_CODEOBJ( module_filename_obj, const_str_plain___missing__, 84, const_tuple_str_plain_self_str_plain_key_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_5f4b58e1bdef876593b9cafb36ba2949 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_decode, 150, const_tuple_fa05e2b9ecee35307c282d919b343ef8_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_96e7475334c06d38ff6541afd26be3f4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_decode_b, 107, const_tuple_6a0e229ac81db91aefcb03afcbf1db9c_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_4a2ef25661f28911bea0b8e4eba8ec14 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_decode_q, 74, const_tuple_str_plain_encoded_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_8a72fd33ae3fa1d70d2fadb4a54257a9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_encode, 202, const_tuple_9f71b86facbbda6906545f0a30bd34a3_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_cc13d9cf1086b834403f305c6f3f93fa = MAKE_CODEOBJ( module_filename_obj, const_str_plain_encode_b, 136, const_tuple_str_plain_bstring_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_d2750ca5389cd12a6e9873520e8751d9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_encode_q, 96, const_tuple_str_plain_bstring_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_266798d38a0a970761dcd57a3babb26b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_len_b, 139, const_tuple_str_plain_bstring_str_plain_groups_of_3_str_plain_leftover_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_a48515a2f0c37d64928a049fec4a88f1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_len_q, 99, const_tuple_str_plain_bstring_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
}
|
|
|
|
// The module function declarations.
|
|
static PyObject *future$backports$email$_encoded_words$$$function_4_encode_q$$$genexpr_1_genexpr_maker( void );
|
|
|
|
|
|
static PyObject *future$backports$email$_encoded_words$$$function_5_len_q$$$genexpr_1_genexpr_maker( void );
|
|
|
|
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_10_encode( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_1_lambda( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_2_decode_q( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_3___missing__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_4_encode_q( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_5_len_q( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_6_decode_b( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_7_encode_b( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_8_len_b( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_9_decode( );
|
|
|
|
|
|
// The module function definitions.
|
|
static PyObject *impl_future$backports$email$_encoded_words$$$function_1_lambda( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_m = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_ffbb1c0c6aa0ea1dd628c321d1b977f9;
|
|
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_ffbb1c0c6aa0ea1dd628c321d1b977f9 = 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_ffbb1c0c6aa0ea1dd628c321d1b977f9, codeobj_ffbb1c0c6aa0ea1dd628c321d1b977f9, module_future$backports$email$_encoded_words, sizeof(void *) );
|
|
frame_ffbb1c0c6aa0ea1dd628c321d1b977f9 = cache_frame_ffbb1c0c6aa0ea1dd628c321d1b977f9;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_ffbb1c0c6aa0ea1dd628c321d1b977f9 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_ffbb1c0c6aa0ea1dd628c321d1b977f9 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_list_element_1;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_args_element_name_3;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 72;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_int );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_int );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "int" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 72;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_2 = tmp_mvar_value_2;
|
|
CHECK_OBJECT( par_m );
|
|
tmp_called_instance_1 = par_m;
|
|
frame_ffbb1c0c6aa0ea1dd628c321d1b977f9->m_frame.f_lineno = 72;
|
|
tmp_args_element_name_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_group, &PyTuple_GET_ITEM( const_tuple_int_pos_1_tuple, 0 ) );
|
|
|
|
if ( tmp_args_element_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 72;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_args_element_name_3 = const_int_pos_16;
|
|
frame_ffbb1c0c6aa0ea1dd628c321d1b977f9->m_frame.f_lineno = 72;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 };
|
|
tmp_list_element_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_args_element_name_2 );
|
|
if ( tmp_list_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 72;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_args_element_name_1 = PyList_New( 1 );
|
|
PyList_SET_ITEM( tmp_args_element_name_1, 0, tmp_list_element_1 );
|
|
frame_ffbb1c0c6aa0ea1dd628c321d1b977f9->m_frame.f_lineno = 72;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 72;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ffbb1c0c6aa0ea1dd628c321d1b977f9 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ffbb1c0c6aa0ea1dd628c321d1b977f9 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ffbb1c0c6aa0ea1dd628c321d1b977f9 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_ffbb1c0c6aa0ea1dd628c321d1b977f9, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_ffbb1c0c6aa0ea1dd628c321d1b977f9->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_ffbb1c0c6aa0ea1dd628c321d1b977f9, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_ffbb1c0c6aa0ea1dd628c321d1b977f9,
|
|
type_description_1,
|
|
par_m
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_ffbb1c0c6aa0ea1dd628c321d1b977f9 == cache_frame_ffbb1c0c6aa0ea1dd628c321d1b977f9 )
|
|
{
|
|
Py_DECREF( frame_ffbb1c0c6aa0ea1dd628c321d1b977f9 );
|
|
}
|
|
cache_frame_ffbb1c0c6aa0ea1dd628c321d1b977f9 = NULL;
|
|
|
|
assertFrameObject( frame_ffbb1c0c6aa0ea1dd628c321d1b977f9 );
|
|
|
|
// 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$_encoded_words$$$function_1_lambda );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_m );
|
|
par_m = 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_m );
|
|
par_m = 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$_encoded_words$$$function_1_lambda );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$_encoded_words$$$function_2_decode_q( 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_encoded = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_4a2ef25661f28911bea0b8e4eba8ec14;
|
|
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_4a2ef25661f28911bea0b8e4eba8ec14 = 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_4a2ef25661f28911bea0b8e4eba8ec14, codeobj_4a2ef25661f28911bea0b8e4eba8ec14, module_future$backports$email$_encoded_words, sizeof(void *) );
|
|
frame_4a2ef25661f28911bea0b8e4eba8ec14 = cache_frame_4a2ef25661f28911bea0b8e4eba8ec14;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_4a2ef25661f28911bea0b8e4eba8ec14 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_4a2ef25661f28911bea0b8e4eba8ec14 ) == 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;
|
|
PyObject *tmp_called_instance_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 75;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_encoded );
|
|
tmp_called_instance_1 = par_encoded;
|
|
frame_4a2ef25661f28911bea0b8e4eba8ec14->m_frame.f_lineno = 75;
|
|
tmp_args_element_name_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_bytes_chr_95_bytes_chr_32_tuple, 0 ) );
|
|
|
|
if ( tmp_args_element_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 75;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_4a2ef25661f28911bea0b8e4eba8ec14->m_frame.f_lineno = 75;
|
|
{
|
|
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_args_element_name_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 75;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_encoded;
|
|
par_encoded = tmp_assign_source_1;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__q_byte_subber );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__q_byte_subber );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_q_byte_subber" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 76;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_2 = tmp_mvar_value_2;
|
|
CHECK_OBJECT( par_encoded );
|
|
tmp_args_element_name_2 = par_encoded;
|
|
frame_4a2ef25661f28911bea0b8e4eba8ec14->m_frame.f_lineno = 76;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 76;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 );
|
|
tmp_tuple_element_1 = PyList_New( 0 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_4a2ef25661f28911bea0b8e4eba8ec14 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_4a2ef25661f28911bea0b8e4eba8ec14 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_4a2ef25661f28911bea0b8e4eba8ec14 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_4a2ef25661f28911bea0b8e4eba8ec14, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_4a2ef25661f28911bea0b8e4eba8ec14->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_4a2ef25661f28911bea0b8e4eba8ec14, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_4a2ef25661f28911bea0b8e4eba8ec14,
|
|
type_description_1,
|
|
par_encoded
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_4a2ef25661f28911bea0b8e4eba8ec14 == cache_frame_4a2ef25661f28911bea0b8e4eba8ec14 )
|
|
{
|
|
Py_DECREF( frame_4a2ef25661f28911bea0b8e4eba8ec14 );
|
|
}
|
|
cache_frame_4a2ef25661f28911bea0b8e4eba8ec14 = NULL;
|
|
|
|
assertFrameObject( frame_4a2ef25661f28911bea0b8e4eba8ec14 );
|
|
|
|
// 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$_encoded_words$$$function_2_decode_q );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_encoded );
|
|
par_encoded = 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_encoded );
|
|
par_encoded = 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$_encoded_words$$$function_2_decode_q );
|
|
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$_encoded_words$$$function_3___missing__( 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_key = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_ebffb6bc810780d9d126fcd83ada1f7e;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
int tmp_res;
|
|
bool tmp_result;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_ebffb6bc810780d9d126fcd83ada1f7e = 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_ebffb6bc810780d9d126fcd83ada1f7e, codeobj_ebffb6bc810780d9d126fcd83ada1f7e, module_future$backports$email$_encoded_words, sizeof(void *)+sizeof(void *) );
|
|
frame_ebffb6bc810780d9d126fcd83ada1f7e = cache_frame_ebffb6bc810780d9d126fcd83ada1f7e;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_ebffb6bc810780d9d126fcd83ada1f7e );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_ebffb6bc810780d9d126fcd83ada1f7e ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_source_name_1;
|
|
CHECK_OBJECT( par_key );
|
|
tmp_compexpr_left_1 = par_key;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_safe );
|
|
if ( tmp_compexpr_right_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 85;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 );
|
|
Py_DECREF( tmp_compexpr_right_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 85;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_chr );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_chr );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "chr" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 86;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
if ( par_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 86;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_key;
|
|
frame_ebffb6bc810780d9d126fcd83ada1f7e->m_frame.f_lineno = 86;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_ass_subvalue_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 86;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == 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", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 86;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = par_self;
|
|
if ( par_key == 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", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 86;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscript_1 = par_key;
|
|
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 = 86;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
PyObject *tmp_ass_subvalue_2;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_ass_subscribed_2;
|
|
PyObject *tmp_ass_subscript_2;
|
|
tmp_source_name_2 = const_str_digest_3307bc98bd072f211f99b2f1404d269e;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_format );
|
|
assert( !(tmp_called_name_2 == NULL) );
|
|
if ( par_key == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 88;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_key;
|
|
frame_ebffb6bc810780d9d126fcd83ada1f7e->m_frame.f_lineno = 88;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_ass_subvalue_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_ass_subvalue_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 88;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 88;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_2 = par_self;
|
|
if ( par_key == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 88;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscript_2 = par_key;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2 );
|
|
Py_DECREF( tmp_ass_subvalue_2 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 88;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = par_self;
|
|
if ( par_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscript_name_1 = par_key;
|
|
tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ebffb6bc810780d9d126fcd83ada1f7e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ebffb6bc810780d9d126fcd83ada1f7e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ebffb6bc810780d9d126fcd83ada1f7e );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_ebffb6bc810780d9d126fcd83ada1f7e, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_ebffb6bc810780d9d126fcd83ada1f7e->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_ebffb6bc810780d9d126fcd83ada1f7e, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_ebffb6bc810780d9d126fcd83ada1f7e,
|
|
type_description_1,
|
|
par_self,
|
|
par_key
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_ebffb6bc810780d9d126fcd83ada1f7e == cache_frame_ebffb6bc810780d9d126fcd83ada1f7e )
|
|
{
|
|
Py_DECREF( frame_ebffb6bc810780d9d126fcd83ada1f7e );
|
|
}
|
|
cache_frame_ebffb6bc810780d9d126fcd83ada1f7e = NULL;
|
|
|
|
assertFrameObject( frame_ebffb6bc810780d9d126fcd83ada1f7e );
|
|
|
|
// 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$_encoded_words$$$function_3___missing__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_key );
|
|
par_key = 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_key );
|
|
par_key = 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$_encoded_words$$$function_3___missing__ );
|
|
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$_encoded_words$$$function_4_encode_q( 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_bstring = python_pars[ 0 ];
|
|
PyObject *tmp_genexpr_1__$0 = NULL;
|
|
struct Nuitka_FrameObject *frame_d2750ca5389cd12a6e9873520e8751d9;
|
|
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_d2750ca5389cd12a6e9873520e8751d9 = 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_d2750ca5389cd12a6e9873520e8751d9, codeobj_d2750ca5389cd12a6e9873520e8751d9, module_future$backports$email$_encoded_words, sizeof(void *) );
|
|
frame_d2750ca5389cd12a6e9873520e8751d9 = cache_frame_d2750ca5389cd12a6e9873520e8751d9;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_d2750ca5389cd12a6e9873520e8751d9 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_d2750ca5389cd12a6e9873520e8751d9 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (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 = 97;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
tmp_source_name_1 = const_str_empty;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_join );
|
|
assert( !(tmp_called_name_2 == NULL) );
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 97;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_3 = tmp_mvar_value_2;
|
|
CHECK_OBJECT( par_bstring );
|
|
tmp_args_element_name_3 = par_bstring;
|
|
frame_d2750ca5389cd12a6e9873520e8751d9->m_frame.f_lineno = 97;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 97;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 97;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_genexpr_1__$0 == NULL );
|
|
tmp_genexpr_1__$0 = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_args_element_name_2 = future$backports$email$_encoded_words$$$function_4_encode_q$$$genexpr_1_genexpr_maker();
|
|
|
|
((struct Nuitka_GeneratorObject *)tmp_args_element_name_2)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 );
|
|
|
|
|
|
goto try_return_handler_2;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words$$$function_4_encode_q );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 );
|
|
Py_DECREF( tmp_genexpr_1__$0 );
|
|
tmp_genexpr_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 );
|
|
Py_DECREF( tmp_genexpr_1__$0 );
|
|
tmp_genexpr_1__$0 = NULL;
|
|
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words$$$function_4_encode_q );
|
|
return NULL;
|
|
outline_result_1:;
|
|
frame_d2750ca5389cd12a6e9873520e8751d9->m_frame.f_lineno = 97;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_args_element_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_element_name_2 );
|
|
if ( tmp_args_element_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 97;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_d2750ca5389cd12a6e9873520e8751d9->m_frame.f_lineno = 97;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 97;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_d2750ca5389cd12a6e9873520e8751d9 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_d2750ca5389cd12a6e9873520e8751d9 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_d2750ca5389cd12a6e9873520e8751d9 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_d2750ca5389cd12a6e9873520e8751d9, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_d2750ca5389cd12a6e9873520e8751d9->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_d2750ca5389cd12a6e9873520e8751d9, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_d2750ca5389cd12a6e9873520e8751d9,
|
|
type_description_1,
|
|
par_bstring
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_d2750ca5389cd12a6e9873520e8751d9 == cache_frame_d2750ca5389cd12a6e9873520e8751d9 )
|
|
{
|
|
Py_DECREF( frame_d2750ca5389cd12a6e9873520e8751d9 );
|
|
}
|
|
cache_frame_d2750ca5389cd12a6e9873520e8751d9 = NULL;
|
|
|
|
assertFrameObject( frame_d2750ca5389cd12a6e9873520e8751d9 );
|
|
|
|
// 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$_encoded_words$$$function_4_encode_q );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_bstring );
|
|
par_bstring = 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_bstring );
|
|
par_bstring = 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$_encoded_words$$$function_4_encode_q );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct future$backports$email$_encoded_words$$$function_4_encode_q$$$genexpr_1_genexpr_locals {
|
|
PyObject *var_x;
|
|
PyObject *tmp_iter_value_0;
|
|
char const *type_description_1;
|
|
PyObject *exception_type;
|
|
PyObject *exception_value;
|
|
PyTracebackObject *exception_tb;
|
|
int exception_lineno;
|
|
char yield_tmps[1024];
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
int exception_keeper_lineno_2;
|
|
};
|
|
|
|
static PyObject *future$backports$email$_encoded_words$$$function_4_encode_q$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator );
|
|
assert( Nuitka_Generator_Check( (PyObject *)generator ) );
|
|
|
|
// Heap access if used.
|
|
struct future$backports$email$_encoded_words$$$function_4_encode_q$$$genexpr_1_genexpr_locals *generator_heap = (struct future$backports$email$_encoded_words$$$function_4_encode_q$$$genexpr_1_genexpr_locals *)generator->m_heap_storage;
|
|
|
|
// Dispatch to yield based on return label index:
|
|
switch(generator->m_yield_return_index) {
|
|
case 1: goto yield_return_1;
|
|
}
|
|
|
|
// Local variable initialization
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
static struct Nuitka_FrameObject *cache_m_frame = NULL;
|
|
generator_heap->var_x = NULL;
|
|
generator_heap->tmp_iter_value_0 = NULL;
|
|
generator_heap->type_description_1 = NULL;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_ec57a0dce8793c4f7d8a6e0f9e0e5b53, module_future$backports$email$_encoded_words, sizeof(void *)+sizeof(void *) );
|
|
generator->m_frame = cache_m_frame;
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
Py_INCREF( generator->m_frame );
|
|
assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
generator->m_frame->m_frame.f_gen = (PyObject *)generator;
|
|
#endif
|
|
|
|
Py_CLEAR( generator->m_frame->m_frame.f_back );
|
|
|
|
generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame;
|
|
Py_INCREF( generator->m_frame->m_frame.f_back );
|
|
|
|
PyThreadState_GET()->frame = &generator->m_frame->m_frame;
|
|
Py_INCREF( generator->m_frame );
|
|
|
|
Nuitka_Frame_MarkAsExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
// Accept currently existing exception as the one to publish again when we
|
|
// yield or yield from.
|
|
{
|
|
PyThreadState *thread_state = PyThreadState_GET();
|
|
|
|
#if PYTHON_VERSION < 370
|
|
generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL;
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_type );
|
|
generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_value );
|
|
generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback );
|
|
#else
|
|
generator->m_exc_state.exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL;
|
|
Py_XINCREF( generator->m_exc_state.exc_type );
|
|
generator->m_exc_state.exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_value );
|
|
generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_traceback );
|
|
#endif
|
|
}
|
|
|
|
#endif
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_1;
|
|
CHECK_OBJECT( PyCell_GET( generator->m_closure[0] ) );
|
|
tmp_next_source_1 = PyCell_GET( generator->m_closure[0] );
|
|
tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
generator_heap->type_description_1 = "No";
|
|
generator_heap->exception_lineno = 97;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = generator_heap->tmp_iter_value_0;
|
|
generator_heap->tmp_iter_value_0 = tmp_assign_source_1;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
CHECK_OBJECT( generator_heap->tmp_iter_value_0 );
|
|
tmp_assign_source_2 = generator_heap->tmp_iter_value_0;
|
|
{
|
|
PyObject *old = generator_heap->var_x;
|
|
generator_heap->var_x = tmp_assign_source_2;
|
|
Py_INCREF( generator_heap->var_x );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_expression_name_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__q_byte_map );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__q_byte_map );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_NameError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_q_byte_map" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 97;
|
|
generator_heap->type_description_1 = "No";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( generator_heap->var_x );
|
|
tmp_subscript_name_1 = generator_heap->var_x;
|
|
tmp_expression_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_expression_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 97;
|
|
generator_heap->type_description_1 = "No";
|
|
goto try_except_handler_2;
|
|
}
|
|
Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_subscribed_name_1, sizeof(PyObject *), &tmp_mvar_value_1, sizeof(PyObject *), &tmp_subscript_name_1, sizeof(PyObject *), NULL );
|
|
generator->m_yield_return_index = 1;
|
|
return tmp_expression_name_1;
|
|
yield_return_1:
|
|
Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_subscribed_name_1, sizeof(PyObject *), &tmp_mvar_value_1, sizeof(PyObject *), &tmp_subscript_name_1, sizeof(PyObject *), NULL );
|
|
if ( yield_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 97;
|
|
generator_heap->type_description_1 = "No";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_unused = yield_return_value;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 97;
|
|
generator_heap->type_description_1 = "No";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
|
|
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
|
|
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
|
|
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( generator_heap->tmp_iter_value_0 );
|
|
generator_heap->tmp_iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
|
|
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
|
|
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
|
|
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
|
|
Nuitka_Frame_MarkAsNotExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 370
|
|
Py_CLEAR( generator->m_exc_state.exc_type );
|
|
Py_CLEAR( generator->m_exc_state.exc_value );
|
|
Py_CLEAR( generator->m_exc_state.exc_traceback );
|
|
#elif PYTHON_VERSION >= 300
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
|
|
#endif
|
|
|
|
// Allow re-use of the frame again.
|
|
Py_DECREF( generator->m_frame );
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
// If it's not an exit exception, consider and create a traceback for it.
|
|
if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) )
|
|
{
|
|
if ( generator_heap->exception_tb == NULL )
|
|
{
|
|
generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno );
|
|
}
|
|
else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame )
|
|
{
|
|
generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno );
|
|
}
|
|
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)generator->m_frame,
|
|
generator_heap->type_description_1,
|
|
NULL,
|
|
generator_heap->var_x
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( generator->m_frame == cache_m_frame )
|
|
{
|
|
Py_DECREF( generator->m_frame );
|
|
}
|
|
cache_m_frame = NULL;
|
|
|
|
assertFrameObject( generator->m_frame );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 370
|
|
Py_CLEAR( generator->m_exc_state.exc_type );
|
|
Py_CLEAR( generator->m_exc_state.exc_value );
|
|
Py_CLEAR( generator->m_exc_state.exc_traceback );
|
|
#elif PYTHON_VERSION >= 300
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
|
|
#endif
|
|
|
|
Py_DECREF( generator->m_frame );
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
generator_heap->exception_keeper_type_2 = generator_heap->exception_type;
|
|
generator_heap->exception_keeper_value_2 = generator_heap->exception_value;
|
|
generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb;
|
|
generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( generator_heap->var_x );
|
|
generator_heap->var_x = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
|
|
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
|
|
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
|
|
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->tmp_iter_value_0 );
|
|
generator_heap->tmp_iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_x );
|
|
generator_heap->var_x = NULL;
|
|
|
|
}
|
|
|
|
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( generator_heap->exception_type );
|
|
RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
static PyObject *future$backports$email$_encoded_words$$$function_4_encode_q$$$genexpr_1_genexpr_maker( void )
|
|
{
|
|
return Nuitka_Generator_New(
|
|
future$backports$email$_encoded_words$$$function_4_encode_q$$$genexpr_1_genexpr_context,
|
|
module_future$backports$email$_encoded_words,
|
|
const_str_angle_genexpr,
|
|
#if PYTHON_VERSION >= 350
|
|
const_str_digest_d58055185b8bb0cc04bb251cbb9e37b1,
|
|
#endif
|
|
codeobj_ec57a0dce8793c4f7d8a6e0f9e0e5b53,
|
|
1,
|
|
sizeof(struct future$backports$email$_encoded_words$$$function_4_encode_q$$$genexpr_1_genexpr_locals)
|
|
);
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$_encoded_words$$$function_5_len_q( 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_bstring = python_pars[ 0 ];
|
|
PyObject *tmp_genexpr_1__$0 = NULL;
|
|
struct Nuitka_FrameObject *frame_a48515a2f0c37d64928a049fec4a88f1;
|
|
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_a48515a2f0c37d64928a049fec4a88f1 = 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_a48515a2f0c37d64928a049fec4a88f1, codeobj_a48515a2f0c37d64928a049fec4a88f1, module_future$backports$email$_encoded_words, sizeof(void *) );
|
|
frame_a48515a2f0c37d64928a049fec4a88f1 = cache_frame_a48515a2f0c37d64928a049fec4a88f1;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_a48515a2f0c37d64928a049fec4a88f1 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_a48515a2f0c37d64928a049fec4a88f1 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_sum_sequence_1;
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 100;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_bstring );
|
|
tmp_args_element_name_1 = par_bstring;
|
|
frame_a48515a2f0c37d64928a049fec4a88f1->m_frame.f_lineno = 100;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 100;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 100;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_genexpr_1__$0 == NULL );
|
|
tmp_genexpr_1__$0 = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_sum_sequence_1 = future$backports$email$_encoded_words$$$function_5_len_q$$$genexpr_1_genexpr_maker();
|
|
|
|
((struct Nuitka_GeneratorObject *)tmp_sum_sequence_1)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 );
|
|
|
|
|
|
goto try_return_handler_2;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words$$$function_5_len_q );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 );
|
|
Py_DECREF( tmp_genexpr_1__$0 );
|
|
tmp_genexpr_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 );
|
|
Py_DECREF( tmp_genexpr_1__$0 );
|
|
tmp_genexpr_1__$0 = NULL;
|
|
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words$$$function_5_len_q );
|
|
return NULL;
|
|
outline_result_1:;
|
|
tmp_return_value = BUILTIN_SUM1( tmp_sum_sequence_1 );
|
|
Py_DECREF( tmp_sum_sequence_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 100;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_a48515a2f0c37d64928a049fec4a88f1 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_a48515a2f0c37d64928a049fec4a88f1 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_a48515a2f0c37d64928a049fec4a88f1 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_a48515a2f0c37d64928a049fec4a88f1, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_a48515a2f0c37d64928a049fec4a88f1->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_a48515a2f0c37d64928a049fec4a88f1, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_a48515a2f0c37d64928a049fec4a88f1,
|
|
type_description_1,
|
|
par_bstring
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_a48515a2f0c37d64928a049fec4a88f1 == cache_frame_a48515a2f0c37d64928a049fec4a88f1 )
|
|
{
|
|
Py_DECREF( frame_a48515a2f0c37d64928a049fec4a88f1 );
|
|
}
|
|
cache_frame_a48515a2f0c37d64928a049fec4a88f1 = NULL;
|
|
|
|
assertFrameObject( frame_a48515a2f0c37d64928a049fec4a88f1 );
|
|
|
|
// 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$_encoded_words$$$function_5_len_q );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_bstring );
|
|
par_bstring = 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_bstring );
|
|
par_bstring = 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$_encoded_words$$$function_5_len_q );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct future$backports$email$_encoded_words$$$function_5_len_q$$$genexpr_1_genexpr_locals {
|
|
PyObject *var_x;
|
|
PyObject *tmp_iter_value_0;
|
|
char const *type_description_1;
|
|
PyObject *exception_type;
|
|
PyObject *exception_value;
|
|
PyTracebackObject *exception_tb;
|
|
int exception_lineno;
|
|
char yield_tmps[1024];
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
int exception_keeper_lineno_2;
|
|
};
|
|
|
|
static PyObject *future$backports$email$_encoded_words$$$function_5_len_q$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator );
|
|
assert( Nuitka_Generator_Check( (PyObject *)generator ) );
|
|
|
|
// Heap access if used.
|
|
struct future$backports$email$_encoded_words$$$function_5_len_q$$$genexpr_1_genexpr_locals *generator_heap = (struct future$backports$email$_encoded_words$$$function_5_len_q$$$genexpr_1_genexpr_locals *)generator->m_heap_storage;
|
|
|
|
// Dispatch to yield based on return label index:
|
|
switch(generator->m_yield_return_index) {
|
|
case 1: goto yield_return_1;
|
|
}
|
|
|
|
// Local variable initialization
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
static struct Nuitka_FrameObject *cache_m_frame = NULL;
|
|
generator_heap->var_x = NULL;
|
|
generator_heap->tmp_iter_value_0 = NULL;
|
|
generator_heap->type_description_1 = NULL;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_88d257e22534cc94872a4f0f39be9942, module_future$backports$email$_encoded_words, sizeof(void *)+sizeof(void *) );
|
|
generator->m_frame = cache_m_frame;
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
Py_INCREF( generator->m_frame );
|
|
assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
generator->m_frame->m_frame.f_gen = (PyObject *)generator;
|
|
#endif
|
|
|
|
Py_CLEAR( generator->m_frame->m_frame.f_back );
|
|
|
|
generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame;
|
|
Py_INCREF( generator->m_frame->m_frame.f_back );
|
|
|
|
PyThreadState_GET()->frame = &generator->m_frame->m_frame;
|
|
Py_INCREF( generator->m_frame );
|
|
|
|
Nuitka_Frame_MarkAsExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
// Accept currently existing exception as the one to publish again when we
|
|
// yield or yield from.
|
|
{
|
|
PyThreadState *thread_state = PyThreadState_GET();
|
|
|
|
#if PYTHON_VERSION < 370
|
|
generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL;
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_type );
|
|
generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_value );
|
|
generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback );
|
|
#else
|
|
generator->m_exc_state.exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL;
|
|
Py_XINCREF( generator->m_exc_state.exc_type );
|
|
generator->m_exc_state.exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_value );
|
|
generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_traceback );
|
|
#endif
|
|
}
|
|
|
|
#endif
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_1;
|
|
CHECK_OBJECT( PyCell_GET( generator->m_closure[0] ) );
|
|
tmp_next_source_1 = PyCell_GET( generator->m_closure[0] );
|
|
tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
generator_heap->type_description_1 = "No";
|
|
generator_heap->exception_lineno = 100;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = generator_heap->tmp_iter_value_0;
|
|
generator_heap->tmp_iter_value_0 = tmp_assign_source_1;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
CHECK_OBJECT( generator_heap->tmp_iter_value_0 );
|
|
tmp_assign_source_2 = generator_heap->tmp_iter_value_0;
|
|
{
|
|
PyObject *old = generator_heap->var_x;
|
|
generator_heap->var_x = tmp_assign_source_2;
|
|
Py_INCREF( generator_heap->var_x );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_expression_name_1;
|
|
PyObject *tmp_len_arg_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__q_byte_map );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__q_byte_map );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_NameError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_q_byte_map" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 100;
|
|
generator_heap->type_description_1 = "No";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( generator_heap->var_x );
|
|
tmp_subscript_name_1 = generator_heap->var_x;
|
|
tmp_len_arg_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_len_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 100;
|
|
generator_heap->type_description_1 = "No";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_expression_name_1 = BUILTIN_LEN( tmp_len_arg_1 );
|
|
Py_DECREF( tmp_len_arg_1 );
|
|
if ( tmp_expression_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 100;
|
|
generator_heap->type_description_1 = "No";
|
|
goto try_except_handler_2;
|
|
}
|
|
Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_len_arg_1, sizeof(PyObject *), &tmp_subscribed_name_1, sizeof(PyObject *), &tmp_mvar_value_1, sizeof(PyObject *), &tmp_subscript_name_1, sizeof(PyObject *), NULL );
|
|
generator->m_yield_return_index = 1;
|
|
return tmp_expression_name_1;
|
|
yield_return_1:
|
|
Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_len_arg_1, sizeof(PyObject *), &tmp_subscribed_name_1, sizeof(PyObject *), &tmp_mvar_value_1, sizeof(PyObject *), &tmp_subscript_name_1, sizeof(PyObject *), NULL );
|
|
if ( yield_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 100;
|
|
generator_heap->type_description_1 = "No";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_unused = yield_return_value;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 100;
|
|
generator_heap->type_description_1 = "No";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
|
|
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
|
|
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
|
|
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( generator_heap->tmp_iter_value_0 );
|
|
generator_heap->tmp_iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
|
|
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
|
|
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
|
|
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
|
|
Nuitka_Frame_MarkAsNotExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 370
|
|
Py_CLEAR( generator->m_exc_state.exc_type );
|
|
Py_CLEAR( generator->m_exc_state.exc_value );
|
|
Py_CLEAR( generator->m_exc_state.exc_traceback );
|
|
#elif PYTHON_VERSION >= 300
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
|
|
#endif
|
|
|
|
// Allow re-use of the frame again.
|
|
Py_DECREF( generator->m_frame );
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
// If it's not an exit exception, consider and create a traceback for it.
|
|
if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) )
|
|
{
|
|
if ( generator_heap->exception_tb == NULL )
|
|
{
|
|
generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno );
|
|
}
|
|
else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame )
|
|
{
|
|
generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno );
|
|
}
|
|
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)generator->m_frame,
|
|
generator_heap->type_description_1,
|
|
NULL,
|
|
generator_heap->var_x
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( generator->m_frame == cache_m_frame )
|
|
{
|
|
Py_DECREF( generator->m_frame );
|
|
}
|
|
cache_m_frame = NULL;
|
|
|
|
assertFrameObject( generator->m_frame );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 370
|
|
Py_CLEAR( generator->m_exc_state.exc_type );
|
|
Py_CLEAR( generator->m_exc_state.exc_value );
|
|
Py_CLEAR( generator->m_exc_state.exc_traceback );
|
|
#elif PYTHON_VERSION >= 300
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_type );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_value );
|
|
Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback );
|
|
#endif
|
|
|
|
Py_DECREF( generator->m_frame );
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
generator_heap->exception_keeper_type_2 = generator_heap->exception_type;
|
|
generator_heap->exception_keeper_value_2 = generator_heap->exception_value;
|
|
generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb;
|
|
generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno;
|
|
generator_heap->exception_type = NULL;
|
|
generator_heap->exception_value = NULL;
|
|
generator_heap->exception_tb = NULL;
|
|
generator_heap->exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( generator_heap->var_x );
|
|
generator_heap->var_x = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
|
|
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
|
|
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
|
|
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->tmp_iter_value_0 );
|
|
generator_heap->tmp_iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_x );
|
|
generator_heap->var_x = NULL;
|
|
|
|
}
|
|
|
|
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( generator_heap->exception_type );
|
|
RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
static PyObject *future$backports$email$_encoded_words$$$function_5_len_q$$$genexpr_1_genexpr_maker( void )
|
|
{
|
|
return Nuitka_Generator_New(
|
|
future$backports$email$_encoded_words$$$function_5_len_q$$$genexpr_1_genexpr_context,
|
|
module_future$backports$email$_encoded_words,
|
|
const_str_angle_genexpr,
|
|
#if PYTHON_VERSION >= 350
|
|
const_str_digest_6a8ae50864dd0fc235574f2d1d78f70e,
|
|
#endif
|
|
codeobj_88d257e22534cc94872a4f0f39be9942,
|
|
1,
|
|
sizeof(struct future$backports$email$_encoded_words$$$function_5_len_q$$$genexpr_1_genexpr_locals)
|
|
);
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$_encoded_words$$$function_6_decode_b( 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_encoded = python_pars[ 0 ];
|
|
PyObject *var_defects = NULL;
|
|
PyObject *var_pad_err = NULL;
|
|
PyObject *var_padded_encoded = NULL;
|
|
PyObject *var_i = NULL;
|
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
|
struct Nuitka_FrameObject *frame_96e7475334c06d38ff6541afd26be3f4;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
int tmp_res;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *exception_preserved_type_2;
|
|
PyObject *exception_preserved_value_2;
|
|
PyTracebackObject *exception_preserved_tb_2;
|
|
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_preserved_type_1;
|
|
PyObject *exception_preserved_value_1;
|
|
PyTracebackObject *exception_preserved_tb_1;
|
|
bool tmp_result;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
PyObject *exception_keeper_type_5;
|
|
PyObject *exception_keeper_value_5;
|
|
PyTracebackObject *exception_keeper_tb_5;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
|
|
static struct Nuitka_FrameObject *cache_frame_96e7475334c06d38ff6541afd26be3f4 = NULL;
|
|
PyObject *exception_keeper_type_6;
|
|
PyObject *exception_keeper_value_6;
|
|
PyTracebackObject *exception_keeper_tb_6;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
|
|
|
|
// Actual function code.
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = PyList_New( 0 );
|
|
assert( var_defects == NULL );
|
|
var_defects = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_96e7475334c06d38ff6541afd26be3f4, codeobj_96e7475334c06d38ff6541afd26be3f4, module_future$backports$email$_encoded_words, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_96e7475334c06d38ff6541afd26be3f4 = cache_frame_96e7475334c06d38ff6541afd26be3f4;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_96e7475334c06d38ff6541afd26be3f4 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_96e7475334c06d38ff6541afd26be3f4 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_len_arg_1;
|
|
PyObject *tmp_right_name_1;
|
|
CHECK_OBJECT( par_encoded );
|
|
tmp_len_arg_1 = par_encoded;
|
|
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 = 109;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_right_name_1 = const_int_pos_4;
|
|
tmp_assign_source_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 109;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_pad_err == NULL );
|
|
var_pad_err = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
int tmp_truth_name_1;
|
|
CHECK_OBJECT( var_pad_err );
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( var_pad_err );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
if ( var_defects == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "defects" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = var_defects;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_append );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_errors );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_errors );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "errors" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = tmp_mvar_value_1;
|
|
frame_96e7475334c06d38ff6541afd26be3f4->m_frame.f_lineno = 111;
|
|
tmp_args_element_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_InvalidBase64PaddingDefect );
|
|
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 = 111;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_96e7475334c06d38ff6541afd26be3f4->m_frame.f_lineno = 111;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_right_name_2;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
PyObject *tmp_start_name_1;
|
|
PyObject *tmp_stop_name_1;
|
|
PyObject *tmp_left_name_3;
|
|
PyObject *tmp_right_name_3;
|
|
PyObject *tmp_step_name_1;
|
|
if ( par_encoded == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_left_name_2 = par_encoded;
|
|
tmp_subscribed_name_1 = const_bytes_digest_c6ca29cb86b8a9c07902a5acaf85d767;
|
|
tmp_start_name_1 = Py_None;
|
|
tmp_left_name_3 = const_int_pos_4;
|
|
if ( var_pad_err == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pad_err" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_right_name_3 = var_pad_err;
|
|
tmp_stop_name_1 = BINARY_OPERATION_SUB( tmp_left_name_3, tmp_right_name_3 );
|
|
if ( tmp_stop_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_step_name_1 = Py_None;
|
|
tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 );
|
|
Py_DECREF( tmp_stop_name_1 );
|
|
assert( !(tmp_subscript_name_1 == NULL) );
|
|
tmp_right_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
Py_DECREF( tmp_subscript_name_1 );
|
|
if ( tmp_right_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_3 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_padded_encoded == NULL );
|
|
var_padded_encoded = tmp_assign_source_3;
|
|
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
if ( par_encoded == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 114;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assign_source_4 = par_encoded;
|
|
assert( var_padded_encoded == NULL );
|
|
Py_INCREF( tmp_assign_source_4 );
|
|
var_padded_encoded = tmp_assign_source_4;
|
|
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_re );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "re" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_2 = tmp_mvar_value_2;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_match );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_args_element_name_2 = const_bytes_digest_8330f1f5bd574b9e686fde6a56e541c9;
|
|
if ( var_padded_encoded == 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", "padded_encoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_3 = var_padded_encoded;
|
|
frame_96e7475334c06d38ff6541afd26be3f4->m_frame.f_lineno = 117;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 };
|
|
tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_operand_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
|
|
Py_DECREF( tmp_operand_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
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_instance_2;
|
|
PyObject *tmp_mvar_value_3;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_binascii );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_binascii );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "binascii" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 118;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_instance_2 = tmp_mvar_value_3;
|
|
frame_96e7475334c06d38ff6541afd26be3f4->m_frame.f_lineno = 118;
|
|
tmp_raise_type_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_Error, &PyTuple_GET_ITEM( const_tuple_str_digest_f876609f344054afc40c1726b20b675e_tuple, 0 ) );
|
|
|
|
if ( tmp_raise_type_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 118;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
exception_type = tmp_raise_type_1;
|
|
exception_lineno = 118;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
branch_no_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_args_element_name_4;
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_base64 );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_base64 );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "base64" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 119;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_3 = tmp_mvar_value_4;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_b64decode );
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( var_padded_encoded == 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", "padded_encoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 119;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_4 = var_padded_encoded;
|
|
frame_96e7475334c06d38ff6541afd26be3f4->m_frame.f_lineno = 119;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4 };
|
|
tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_3 );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_return_value = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 );
|
|
if ( var_defects == NULL )
|
|
{
|
|
Py_DECREF( tmp_return_value );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "defects" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 119;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_tuple_element_1 = var_defects;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 );
|
|
goto frame_return_exit_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words$$$function_6_decode_b );
|
|
return NULL;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Preserve existing published exception.
|
|
exception_preserved_type_2 = EXC_TYPE(PyThreadState_GET());
|
|
Py_XINCREF( exception_preserved_type_2 );
|
|
exception_preserved_value_2 = EXC_VALUE(PyThreadState_GET());
|
|
Py_XINCREF( exception_preserved_value_2 );
|
|
exception_preserved_tb_2 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
|
|
Py_XINCREF( exception_preserved_tb_2 );
|
|
|
|
}
|
|
{
|
|
if ( exception_keeper_tb_1 == NULL )
|
|
{
|
|
exception_keeper_tb_1 = MAKE_TRACEBACK( frame_96e7475334c06d38ff6541afd26be3f4, exception_keeper_lineno_1 );
|
|
}
|
|
else if ( exception_keeper_lineno_1 != 0 )
|
|
{
|
|
exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_96e7475334c06d38ff6541afd26be3f4, exception_keeper_lineno_1 );
|
|
}
|
|
|
|
NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
|
PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 );
|
|
PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_mvar_value_5;
|
|
tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET());
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_binascii );
|
|
|
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_binascii );
|
|
}
|
|
|
|
if ( tmp_mvar_value_5 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "binascii" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 120;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_source_name_4 = tmp_mvar_value_5;
|
|
tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_Error );
|
|
if ( tmp_compexpr_right_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_right_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_list_element_1;
|
|
PyObject *tmp_called_instance_3;
|
|
PyObject *tmp_mvar_value_6;
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_errors );
|
|
|
|
if (unlikely( tmp_mvar_value_6 == NULL ))
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_errors );
|
|
}
|
|
|
|
if ( tmp_mvar_value_6 == 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 = 122;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_called_instance_3 = tmp_mvar_value_6;
|
|
frame_96e7475334c06d38ff6541afd26be3f4->m_frame.f_lineno = 122;
|
|
tmp_list_element_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_InvalidBase64CharactersDefect );
|
|
if ( tmp_list_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 122;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
tmp_assign_source_5 = PyList_New( 1 );
|
|
PyList_SET_ITEM( tmp_assign_source_5, 0, tmp_list_element_1 );
|
|
{
|
|
PyObject *old = var_defects;
|
|
var_defects = tmp_assign_source_5;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_iter_arg_1;
|
|
tmp_iter_arg_1 = const_tuple_int_0_int_pos_1_int_pos_2_int_pos_3_tuple;
|
|
tmp_assign_source_6 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
assert( !(tmp_assign_source_6 == NULL) );
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_6;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_7;
|
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_7 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_7 == 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 = "ooooo";
|
|
exception_lineno = 126;
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_7;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
|
tmp_assign_source_8 = tmp_for_loop_1__iter_value;
|
|
{
|
|
PyObject *old = var_i;
|
|
var_i = tmp_assign_source_8;
|
|
Py_INCREF( var_i );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_tuple_element_2;
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_source_name_5;
|
|
PyObject *tmp_mvar_value_7;
|
|
PyObject *tmp_args_element_name_5;
|
|
PyObject *tmp_left_name_4;
|
|
PyObject *tmp_right_name_4;
|
|
PyObject *tmp_left_name_5;
|
|
PyObject *tmp_right_name_5;
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (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 )
|
|
{
|
|
|
|
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 = 128;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_source_name_5 = tmp_mvar_value_7;
|
|
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_b64decode );
|
|
if ( tmp_called_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
if ( par_encoded == 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", "encoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_left_name_4 = par_encoded;
|
|
tmp_left_name_5 = const_bytes_chr_61;
|
|
if ( var_i == 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", "i" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_right_name_5 = var_i;
|
|
tmp_right_name_4 = BINARY_OPERATION_MUL( tmp_left_name_5, tmp_right_name_5 );
|
|
if ( tmp_right_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_4 );
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_args_element_name_5 = BINARY_OPERATION_ADD( tmp_left_name_4, tmp_right_name_4 );
|
|
Py_DECREF( tmp_right_name_4 );
|
|
if ( tmp_args_element_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_4 );
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
frame_96e7475334c06d38ff6541afd26be3f4->m_frame.f_lineno = 128;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5 };
|
|
tmp_tuple_element_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_4 );
|
|
Py_DECREF( tmp_args_element_name_5 );
|
|
if ( tmp_tuple_element_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_return_value = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_2 );
|
|
if ( var_defects == NULL )
|
|
{
|
|
Py_DECREF( tmp_return_value );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "defects" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_tuple_element_2 = var_defects;
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_2 );
|
|
goto try_return_handler_4;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words$$$function_6_decode_b );
|
|
return NULL;
|
|
// Exception handler code:
|
|
try_except_handler_5:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// 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_2 == NULL )
|
|
{
|
|
exception_keeper_tb_2 = MAKE_TRACEBACK( frame_96e7475334c06d38ff6541afd26be3f4, exception_keeper_lineno_2 );
|
|
}
|
|
else if ( exception_keeper_lineno_2 != 0 )
|
|
{
|
|
exception_keeper_tb_2 = ADD_TRACEBACK( exception_keeper_tb_2, frame_96e7475334c06d38ff6541afd26be3f4, exception_keeper_lineno_2 );
|
|
}
|
|
|
|
NORMALIZE_EXCEPTION( &exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2 );
|
|
PyException_SetTraceback( exception_keeper_value_2, (PyObject *)exception_keeper_tb_2 );
|
|
PUBLISH_EXCEPTION( &exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
PyObject *tmp_tuple_element_3;
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_mvar_value_8;
|
|
tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET());
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_binascii );
|
|
|
|
if (unlikely( tmp_mvar_value_8 == NULL ))
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_binascii );
|
|
}
|
|
|
|
if ( tmp_mvar_value_8 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "binascii" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 129;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
|
|
tmp_source_name_6 = tmp_mvar_value_8;
|
|
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_Error );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 129;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_compexpr_right_2 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_compexpr_right_2, 0, tmp_tuple_element_3 );
|
|
tmp_tuple_element_3 = PyExc_TypeError;
|
|
Py_INCREF( tmp_tuple_element_3 );
|
|
PyTuple_SET_ITEM( tmp_compexpr_right_2, 1, tmp_tuple_element_3 );
|
|
tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_2, tmp_compexpr_right_2 );
|
|
Py_DECREF( tmp_compexpr_right_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 129;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
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:;
|
|
{
|
|
nuitka_bool tmp_condition_result_5;
|
|
PyObject *tmp_compexpr_left_3;
|
|
PyObject *tmp_compexpr_right_3;
|
|
if ( var_i == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "i" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 130;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
|
|
tmp_compexpr_left_3 = var_i;
|
|
tmp_compexpr_right_3 = const_int_0;
|
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 130;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
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_called_name_5;
|
|
PyObject *tmp_source_name_7;
|
|
PyObject *tmp_args_element_name_6;
|
|
PyObject *tmp_called_instance_4;
|
|
PyObject *tmp_mvar_value_9;
|
|
if ( var_defects == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "defects" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 131;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
|
|
tmp_source_name_7 = var_defects;
|
|
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_append );
|
|
if ( tmp_called_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 131;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_errors );
|
|
|
|
if (unlikely( tmp_mvar_value_9 == NULL ))
|
|
{
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_errors );
|
|
}
|
|
|
|
if ( tmp_mvar_value_9 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_5 );
|
|
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 = 131;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
|
|
tmp_called_instance_4 = tmp_mvar_value_9;
|
|
frame_96e7475334c06d38ff6541afd26be3f4->m_frame.f_lineno = 131;
|
|
tmp_args_element_name_6 = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_InvalidBase64PaddingDefect );
|
|
if ( tmp_args_element_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_5 );
|
|
|
|
exception_lineno = 131;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
frame_96e7475334c06d38ff6541afd26be3f4->m_frame.f_lineno = 131;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_6 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_5 );
|
|
Py_DECREF( tmp_args_element_name_6 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 131;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
branch_no_5:;
|
|
}
|
|
goto branch_end_4;
|
|
branch_no_4:;
|
|
{
|
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
if (unlikely( tmp_result == false ))
|
|
{
|
|
exception_lineno = 127;
|
|
}
|
|
|
|
if (exception_tb && exception_tb->tb_frame == &frame_96e7475334c06d38ff6541afd26be3f4->m_frame) frame_96e7475334c06d38ff6541afd26be3f4->m_frame.f_lineno = exception_tb->tb_lineno;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
branch_end_4:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_6:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
|
}
|
|
goto try_end_2;
|
|
// exception handler codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words$$$function_6_decode_b );
|
|
return NULL;
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 126;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_3;
|
|
// Return handler code:
|
|
try_return_handler_4:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__iter_value );
|
|
Py_DECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
goto try_return_handler_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_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_4;
|
|
exception_value = exception_keeper_value_4;
|
|
exception_tb = exception_keeper_tb_4;
|
|
exception_lineno = exception_keeper_lineno_4;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_raise_type_2;
|
|
PyObject *tmp_make_exception_arg_1;
|
|
tmp_make_exception_arg_1 = const_str_digest_00414801c305d817690ad8fb4149ef3e;
|
|
frame_96e7475334c06d38ff6541afd26be3f4->m_frame.f_lineno = 134;
|
|
{
|
|
PyObject *call_args[] = { tmp_make_exception_arg_1 };
|
|
tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_AssertionError, call_args );
|
|
}
|
|
|
|
assert( !(tmp_raise_type_2 == NULL) );
|
|
exception_type = tmp_raise_type_2;
|
|
exception_lineno = 134;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
goto branch_end_3;
|
|
branch_no_3:;
|
|
{
|
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
if (unlikely( tmp_result == false ))
|
|
{
|
|
exception_lineno = 115;
|
|
}
|
|
|
|
if (exception_tb && exception_tb->tb_frame == &frame_96e7475334c06d38ff6541afd26be3f4->m_frame) frame_96e7475334c06d38ff6541afd26be3f4->m_frame.f_lineno = exception_tb->tb_lineno;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
branch_end_3:;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words$$$function_6_decode_b );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 );
|
|
}
|
|
{
|
|
goto frame_return_exit_1;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_5 = exception_type;
|
|
exception_keeper_value_5 = exception_value;
|
|
exception_keeper_tb_5 = exception_tb;
|
|
exception_keeper_lineno_5 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 );
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_5;
|
|
exception_value = exception_keeper_value_5;
|
|
exception_tb = exception_keeper_tb_5;
|
|
exception_lineno = exception_keeper_lineno_5;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_96e7475334c06d38ff6541afd26be3f4 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_96e7475334c06d38ff6541afd26be3f4 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_96e7475334c06d38ff6541afd26be3f4 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_96e7475334c06d38ff6541afd26be3f4, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_96e7475334c06d38ff6541afd26be3f4->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_96e7475334c06d38ff6541afd26be3f4, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_96e7475334c06d38ff6541afd26be3f4,
|
|
type_description_1,
|
|
par_encoded,
|
|
var_defects,
|
|
var_pad_err,
|
|
var_padded_encoded,
|
|
var_i
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_96e7475334c06d38ff6541afd26be3f4 == cache_frame_96e7475334c06d38ff6541afd26be3f4 )
|
|
{
|
|
Py_DECREF( frame_96e7475334c06d38ff6541afd26be3f4 );
|
|
}
|
|
cache_frame_96e7475334c06d38ff6541afd26be3f4 = NULL;
|
|
|
|
assertFrameObject( frame_96e7475334c06d38ff6541afd26be3f4 );
|
|
|
|
// 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$_encoded_words$$$function_6_decode_b );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_encoded );
|
|
par_encoded = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_defects );
|
|
var_defects = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_pad_err );
|
|
var_pad_err = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_padded_encoded );
|
|
var_padded_encoded = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_i );
|
|
var_i = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_6 = exception_type;
|
|
exception_keeper_value_6 = exception_value;
|
|
exception_keeper_tb_6 = exception_tb;
|
|
exception_keeper_lineno_6 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_encoded );
|
|
par_encoded = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_defects );
|
|
var_defects = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_pad_err );
|
|
var_pad_err = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_padded_encoded );
|
|
var_padded_encoded = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_i );
|
|
var_i = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_6;
|
|
exception_value = exception_keeper_value_6;
|
|
exception_tb = exception_keeper_tb_6;
|
|
exception_lineno = exception_keeper_lineno_6;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words$$$function_6_decode_b );
|
|
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$_encoded_words$$$function_7_encode_b( 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_bstring = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_cc13d9cf1086b834403f305c6f3f93fa;
|
|
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_cc13d9cf1086b834403f305c6f3f93fa = 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_cc13d9cf1086b834403f305c6f3f93fa, codeobj_cc13d9cf1086b834403f305c6f3f93fa, module_future$backports$email$_encoded_words, sizeof(void *) );
|
|
frame_cc13d9cf1086b834403f305c6f3f93fa = cache_frame_cc13d9cf1086b834403f305c6f3f93fa;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_cc13d9cf1086b834403f305c6f3f93fa );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_cc13d9cf1086b834403f305c6f3f93fa ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (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 )
|
|
{
|
|
|
|
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 = 137;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = tmp_mvar_value_1;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_b64encode );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 137;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_bstring == 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", "bstring" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 137;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_bstring;
|
|
frame_cc13d9cf1086b834403f305c6f3f93fa->m_frame.f_lineno = 137;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_called_instance_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 137;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_cc13d9cf1086b834403f305c6f3f93fa->m_frame.f_lineno = 137;
|
|
tmp_return_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_decode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) );
|
|
|
|
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 = 137;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_cc13d9cf1086b834403f305c6f3f93fa );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_cc13d9cf1086b834403f305c6f3f93fa );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_cc13d9cf1086b834403f305c6f3f93fa );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_cc13d9cf1086b834403f305c6f3f93fa, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_cc13d9cf1086b834403f305c6f3f93fa->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_cc13d9cf1086b834403f305c6f3f93fa, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_cc13d9cf1086b834403f305c6f3f93fa,
|
|
type_description_1,
|
|
par_bstring
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_cc13d9cf1086b834403f305c6f3f93fa == cache_frame_cc13d9cf1086b834403f305c6f3f93fa )
|
|
{
|
|
Py_DECREF( frame_cc13d9cf1086b834403f305c6f3f93fa );
|
|
}
|
|
cache_frame_cc13d9cf1086b834403f305c6f3f93fa = NULL;
|
|
|
|
assertFrameObject( frame_cc13d9cf1086b834403f305c6f3f93fa );
|
|
|
|
// 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$_encoded_words$$$function_7_encode_b );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_bstring );
|
|
par_bstring = 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_bstring );
|
|
par_bstring = 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$_encoded_words$$$function_7_encode_b );
|
|
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$_encoded_words$$$function_8_len_b( 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_bstring = python_pars[ 0 ];
|
|
PyObject *var_groups_of_3 = NULL;
|
|
PyObject *var_leftover = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
|
|
struct Nuitka_FrameObject *frame_266798d38a0a970761dcd57a3babb26b;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_iterator_attempt;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_266798d38a0a970761dcd57a3babb26b = NULL;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_266798d38a0a970761dcd57a3babb26b, codeobj_266798d38a0a970761dcd57a3babb26b, module_future$backports$email$_encoded_words, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_266798d38a0a970761dcd57a3babb26b = cache_frame_266798d38a0a970761dcd57a3babb26b;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_266798d38a0a970761dcd57a3babb26b );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_266798d38a0a970761dcd57a3babb26b ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_len_arg_1;
|
|
PyObject *tmp_right_name_1;
|
|
CHECK_OBJECT( par_bstring );
|
|
tmp_len_arg_1 = par_bstring;
|
|
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 = 140;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_right_name_1 = const_int_pos_3;
|
|
tmp_iter_arg_1 = BUILTIN_DIVMOD( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 140;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 140;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_tuple_unpack_1__source_iter == NULL );
|
|
tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_unpack_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooo";
|
|
exception_lineno = 140;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_1 == NULL );
|
|
tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_unpack_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooo";
|
|
exception_lineno = 140;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_2 == NULL );
|
|
tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_iterator_name_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
|
|
// Check if iterator has left-over elements.
|
|
CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
|
|
|
|
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
|
|
|
|
if (likely( tmp_iterator_attempt == NULL ))
|
|
{
|
|
PyObject *error = GET_ERROR_OCCURRED();
|
|
|
|
if ( error != NULL )
|
|
{
|
|
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
|
|
{
|
|
CLEAR_ERROR_OCCURRED();
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "ooo";
|
|
exception_lineno = 140;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Py_DECREF( tmp_iterator_attempt );
|
|
|
|
// TODO: Could avoid PyErr_Format.
|
|
#if PYTHON_VERSION < 300
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
|
|
#else
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
|
|
#endif
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "ooo";
|
|
exception_lineno = 140;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
|
|
tmp_assign_source_4 = tmp_tuple_unpack_1__element_1;
|
|
assert( var_groups_of_3 == NULL );
|
|
Py_INCREF( tmp_assign_source_4 );
|
|
var_groups_of_3 = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
|
|
tmp_assign_source_5 = tmp_tuple_unpack_1__element_2;
|
|
assert( var_leftover == NULL );
|
|
Py_INCREF( tmp_assign_source_5 );
|
|
var_leftover = tmp_assign_source_5;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_left_name_3;
|
|
PyObject *tmp_right_name_2;
|
|
PyObject *tmp_right_name_3;
|
|
nuitka_bool tmp_condition_result_1;
|
|
int tmp_truth_name_1;
|
|
if ( var_groups_of_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "groups_of_3" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 142;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_left_name_3 = var_groups_of_3;
|
|
tmp_right_name_2 = const_int_pos_4;
|
|
tmp_left_name_2 = BINARY_OPERATION_MUL( tmp_left_name_3, tmp_right_name_2 );
|
|
if ( tmp_left_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 142;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_leftover == 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", "leftover" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 142;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( var_leftover );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_left_name_2 );
|
|
|
|
exception_lineno = 142;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_1;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_1;
|
|
}
|
|
condexpr_true_1:;
|
|
tmp_right_name_3 = const_int_pos_4;
|
|
goto condexpr_end_1;
|
|
condexpr_false_1:;
|
|
tmp_right_name_3 = const_int_0;
|
|
condexpr_end_1:;
|
|
tmp_return_value = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_3 );
|
|
Py_DECREF( tmp_left_name_2 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 142;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_266798d38a0a970761dcd57a3babb26b );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_266798d38a0a970761dcd57a3babb26b );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_266798d38a0a970761dcd57a3babb26b );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_266798d38a0a970761dcd57a3babb26b, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_266798d38a0a970761dcd57a3babb26b->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_266798d38a0a970761dcd57a3babb26b, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_266798d38a0a970761dcd57a3babb26b,
|
|
type_description_1,
|
|
par_bstring,
|
|
var_groups_of_3,
|
|
var_leftover
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_266798d38a0a970761dcd57a3babb26b == cache_frame_266798d38a0a970761dcd57a3babb26b )
|
|
{
|
|
Py_DECREF( frame_266798d38a0a970761dcd57a3babb26b );
|
|
}
|
|
cache_frame_266798d38a0a970761dcd57a3babb26b = NULL;
|
|
|
|
assertFrameObject( frame_266798d38a0a970761dcd57a3babb26b );
|
|
|
|
// 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$_encoded_words$$$function_8_len_b );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_bstring );
|
|
par_bstring = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_groups_of_3 );
|
|
var_groups_of_3 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_leftover );
|
|
var_leftover = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_bstring );
|
|
par_bstring = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_groups_of_3 );
|
|
var_groups_of_3 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_leftover );
|
|
var_leftover = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words$$$function_8_len_b );
|
|
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$_encoded_words$$$function_9_decode( 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_ew = python_pars[ 0 ];
|
|
PyObject *var__ = NULL;
|
|
PyObject *var_charset = NULL;
|
|
PyObject *var_cte = NULL;
|
|
PyObject *var_cte_string = NULL;
|
|
PyObject *var_lang = NULL;
|
|
PyObject *var_bstring = NULL;
|
|
PyObject *var_defects = NULL;
|
|
PyObject *var_string = 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__element_4 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_5 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
|
|
PyObject *tmp_tuple_unpack_2__element_1 = NULL;
|
|
PyObject *tmp_tuple_unpack_2__element_2 = NULL;
|
|
PyObject *tmp_tuple_unpack_2__element_3 = NULL;
|
|
PyObject *tmp_tuple_unpack_2__source_iter = NULL;
|
|
PyObject *tmp_tuple_unpack_3__element_1 = NULL;
|
|
PyObject *tmp_tuple_unpack_3__element_2 = NULL;
|
|
PyObject *tmp_tuple_unpack_3__source_iter = NULL;
|
|
struct Nuitka_FrameObject *frame_5f4b58e1bdef876593b9cafb36ba2949;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_iterator_attempt;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
PyObject *exception_keeper_type_5;
|
|
PyObject *exception_keeper_value_5;
|
|
PyTracebackObject *exception_keeper_tb_5;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
|
|
PyObject *exception_keeper_type_6;
|
|
PyObject *exception_keeper_value_6;
|
|
PyTracebackObject *exception_keeper_tb_6;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
|
|
PyObject *exception_keeper_type_7;
|
|
PyObject *exception_keeper_value_7;
|
|
PyTracebackObject *exception_keeper_tb_7;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
|
|
PyObject *exception_preserved_type_1;
|
|
PyObject *exception_preserved_value_1;
|
|
PyTracebackObject *exception_preserved_tb_1;
|
|
int tmp_res;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
bool tmp_result;
|
|
PyObject *exception_keeper_type_8;
|
|
PyObject *exception_keeper_value_8;
|
|
PyTracebackObject *exception_keeper_tb_8;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_5f4b58e1bdef876593b9cafb36ba2949 = NULL;
|
|
PyObject *exception_keeper_type_9;
|
|
PyObject *exception_keeper_value_9;
|
|
PyTracebackObject *exception_keeper_tb_9;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_5f4b58e1bdef876593b9cafb36ba2949, codeobj_5f4b58e1bdef876593b9cafb36ba2949, module_future$backports$email$_encoded_words, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949 = cache_frame_5f4b58e1bdef876593b9cafb36ba2949;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_5f4b58e1bdef876593b9cafb36ba2949 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_5f4b58e1bdef876593b9cafb36ba2949 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_instance_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$_encoded_words, (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 = 171;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_ew );
|
|
tmp_args_element_name_1 = par_ew;
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 171;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_called_instance_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 171;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 171;
|
|
tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_63_tuple, 0 ) );
|
|
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 171;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 171;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_tuple_unpack_1__source_iter == NULL );
|
|
tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_unpack_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 5 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooooooo";
|
|
exception_lineno = 171;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_1 == NULL );
|
|
tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_unpack_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 5 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooooooo";
|
|
exception_lineno = 171;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_2 == NULL );
|
|
tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_unpack_3;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_3, 2, 5 );
|
|
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 = "ooooooooo";
|
|
exception_lineno = 171;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_3 == NULL );
|
|
tmp_tuple_unpack_1__element_3 = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_unpack_4;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_4 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_5 = UNPACK_NEXT( tmp_unpack_4, 3, 5 );
|
|
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 = "ooooooooo";
|
|
exception_lineno = 171;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_4 == NULL );
|
|
tmp_tuple_unpack_1__element_4 = tmp_assign_source_5;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_unpack_5;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_5 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_6 = UNPACK_NEXT( tmp_unpack_5, 4, 5 );
|
|
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 = "ooooooooo";
|
|
exception_lineno = 171;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_5 == NULL );
|
|
tmp_tuple_unpack_1__element_5 = 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 = "ooooooooo";
|
|
exception_lineno = 171;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Py_DECREF( tmp_iterator_attempt );
|
|
|
|
// TODO: Could avoid PyErr_Format.
|
|
#if PYTHON_VERSION < 300
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
|
|
#else
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 5)" );
|
|
#endif
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "ooooooooo";
|
|
exception_lineno = 171;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_3 );
|
|
tmp_tuple_unpack_1__element_3 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_4 );
|
|
tmp_tuple_unpack_1__element_4 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_5 );
|
|
tmp_tuple_unpack_1__element_5 = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
|
|
tmp_assign_source_7 = tmp_tuple_unpack_1__element_1;
|
|
assert( var__ == NULL );
|
|
Py_INCREF( tmp_assign_source_7 );
|
|
var__ = 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_charset == NULL );
|
|
Py_INCREF( tmp_assign_source_8 );
|
|
var_charset = 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_cte == NULL );
|
|
Py_INCREF( tmp_assign_source_9 );
|
|
var_cte = tmp_assign_source_9;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_3 );
|
|
tmp_tuple_unpack_1__element_3 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_4 );
|
|
tmp_assign_source_10 = tmp_tuple_unpack_1__element_4;
|
|
assert( var_cte_string == NULL );
|
|
Py_INCREF( tmp_assign_source_10 );
|
|
var_cte_string = tmp_assign_source_10;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_4 );
|
|
tmp_tuple_unpack_1__element_4 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_11;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_5 );
|
|
tmp_assign_source_11 = tmp_tuple_unpack_1__element_5;
|
|
{
|
|
PyObject *old = var__;
|
|
var__ = tmp_assign_source_11;
|
|
Py_INCREF( var__ );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_5 );
|
|
tmp_tuple_unpack_1__element_5 = NULL;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
PyObject *tmp_iter_arg_2;
|
|
PyObject *tmp_called_instance_2;
|
|
if ( var_charset == NULL )
|
|
{
|
|
|
|
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 = 172;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_called_instance_2 = var_charset;
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 172;
|
|
tmp_iter_arg_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_partition, &PyTuple_GET_ITEM( const_tuple_str_chr_42_tuple, 0 ) );
|
|
|
|
if ( tmp_iter_arg_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 172;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_assign_source_12 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 );
|
|
Py_DECREF( tmp_iter_arg_2 );
|
|
if ( tmp_assign_source_12 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 172;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
assert( tmp_tuple_unpack_2__source_iter == NULL );
|
|
tmp_tuple_unpack_2__source_iter = tmp_assign_source_12;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
PyObject *tmp_unpack_6;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
|
|
tmp_unpack_6 = tmp_tuple_unpack_2__source_iter;
|
|
tmp_assign_source_13 = UNPACK_NEXT( tmp_unpack_6, 0, 3 );
|
|
if ( tmp_assign_source_13 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooooooo";
|
|
exception_lineno = 172;
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_tuple_unpack_2__element_1 == NULL );
|
|
tmp_tuple_unpack_2__element_1 = tmp_assign_source_13;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_14;
|
|
PyObject *tmp_unpack_7;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
|
|
tmp_unpack_7 = tmp_tuple_unpack_2__source_iter;
|
|
tmp_assign_source_14 = UNPACK_NEXT( tmp_unpack_7, 1, 3 );
|
|
if ( tmp_assign_source_14 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooooooo";
|
|
exception_lineno = 172;
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_tuple_unpack_2__element_2 == NULL );
|
|
tmp_tuple_unpack_2__element_2 = tmp_assign_source_14;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
PyObject *tmp_unpack_8;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
|
|
tmp_unpack_8 = tmp_tuple_unpack_2__source_iter;
|
|
tmp_assign_source_15 = UNPACK_NEXT( tmp_unpack_8, 2, 3 );
|
|
if ( tmp_assign_source_15 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooooooo";
|
|
exception_lineno = 172;
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_tuple_unpack_2__element_3 == NULL );
|
|
tmp_tuple_unpack_2__element_3 = tmp_assign_source_15;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_iterator_name_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
|
|
tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter;
|
|
// Check if iterator has left-over elements.
|
|
CHECK_OBJECT( tmp_iterator_name_2 ); assert( HAS_ITERNEXT( tmp_iterator_name_2 ) );
|
|
|
|
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 );
|
|
|
|
if (likely( tmp_iterator_attempt == NULL ))
|
|
{
|
|
PyObject *error = GET_ERROR_OCCURRED();
|
|
|
|
if ( error != NULL )
|
|
{
|
|
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
|
|
{
|
|
CLEAR_ERROR_OCCURRED();
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "ooooooooo";
|
|
exception_lineno = 172;
|
|
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 = "ooooooooo";
|
|
exception_lineno = 172;
|
|
goto try_except_handler_5;
|
|
}
|
|
}
|
|
goto try_end_3;
|
|
// Exception handler code:
|
|
try_except_handler_5:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_2__source_iter );
|
|
tmp_tuple_unpack_2__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
goto try_end_4;
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
exception_keeper_type_4 = exception_type;
|
|
exception_keeper_value_4 = exception_value;
|
|
exception_keeper_tb_4 = exception_tb;
|
|
exception_keeper_lineno_4 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_1 );
|
|
tmp_tuple_unpack_2__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_2 );
|
|
tmp_tuple_unpack_2__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_3 );
|
|
tmp_tuple_unpack_2__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_4:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_2__source_iter );
|
|
tmp_tuple_unpack_2__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_16;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__element_1 );
|
|
tmp_assign_source_16 = tmp_tuple_unpack_2__element_1;
|
|
{
|
|
PyObject *old = var_charset;
|
|
var_charset = tmp_assign_source_16;
|
|
Py_INCREF( var_charset );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_1 );
|
|
tmp_tuple_unpack_2__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_17;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__element_2 );
|
|
tmp_assign_source_17 = tmp_tuple_unpack_2__element_2;
|
|
{
|
|
PyObject *old = var__;
|
|
var__ = tmp_assign_source_17;
|
|
Py_INCREF( var__ );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_2 );
|
|
tmp_tuple_unpack_2__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_18;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__element_3 );
|
|
tmp_assign_source_18 = tmp_tuple_unpack_2__element_3;
|
|
assert( var_lang == NULL );
|
|
Py_INCREF( tmp_assign_source_18 );
|
|
var_lang = tmp_assign_source_18;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_3 );
|
|
tmp_tuple_unpack_2__element_3 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_19;
|
|
PyObject *tmp_called_instance_3;
|
|
if ( var_cte == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cte" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 173;
|
|
type_description_1 = "ooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_3 = var_cte;
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 173;
|
|
tmp_assign_source_19 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_lower );
|
|
if ( tmp_assign_source_19 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 173;
|
|
type_description_1 = "ooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = var_cte;
|
|
var_cte = tmp_assign_source_19;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_20;
|
|
PyObject *tmp_called_instance_4;
|
|
if ( var_cte_string == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cte_string" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 175;
|
|
type_description_1 = "ooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_4 = var_cte_string;
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 175;
|
|
tmp_assign_source_20 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_4, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_str_plain_surrogateescape_tuple, 0 ) );
|
|
|
|
if ( tmp_assign_source_20 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 175;
|
|
type_description_1 = "ooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_bstring == NULL );
|
|
var_bstring = tmp_assign_source_20;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_21;
|
|
PyObject *tmp_iter_arg_3;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_subscript_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__cte_decoders );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__cte_decoders );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_cte_decoders" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 176;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = tmp_mvar_value_2;
|
|
if ( var_cte == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cte" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 176;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
|
|
tmp_subscript_name_1 = var_cte;
|
|
tmp_called_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 176;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
if ( var_bstring == 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", "bstring" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 176;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
|
|
tmp_args_element_name_2 = var_bstring;
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 176;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_iter_arg_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_iter_arg_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 176;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_assign_source_21 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_3 );
|
|
Py_DECREF( tmp_iter_arg_3 );
|
|
if ( tmp_assign_source_21 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 176;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
assert( tmp_tuple_unpack_3__source_iter == NULL );
|
|
tmp_tuple_unpack_3__source_iter = tmp_assign_source_21;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_22;
|
|
PyObject *tmp_unpack_9;
|
|
CHECK_OBJECT( tmp_tuple_unpack_3__source_iter );
|
|
tmp_unpack_9 = tmp_tuple_unpack_3__source_iter;
|
|
tmp_assign_source_22 = UNPACK_NEXT( tmp_unpack_9, 0, 2 );
|
|
if ( tmp_assign_source_22 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooooooo";
|
|
exception_lineno = 176;
|
|
goto try_except_handler_7;
|
|
}
|
|
assert( tmp_tuple_unpack_3__element_1 == NULL );
|
|
tmp_tuple_unpack_3__element_1 = tmp_assign_source_22;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_23;
|
|
PyObject *tmp_unpack_10;
|
|
CHECK_OBJECT( tmp_tuple_unpack_3__source_iter );
|
|
tmp_unpack_10 = tmp_tuple_unpack_3__source_iter;
|
|
tmp_assign_source_23 = UNPACK_NEXT( tmp_unpack_10, 1, 2 );
|
|
if ( tmp_assign_source_23 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooooooo";
|
|
exception_lineno = 176;
|
|
goto try_except_handler_7;
|
|
}
|
|
assert( tmp_tuple_unpack_3__element_2 == NULL );
|
|
tmp_tuple_unpack_3__element_2 = tmp_assign_source_23;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_iterator_name_3;
|
|
CHECK_OBJECT( tmp_tuple_unpack_3__source_iter );
|
|
tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter;
|
|
// Check if iterator has left-over elements.
|
|
CHECK_OBJECT( tmp_iterator_name_3 ); assert( HAS_ITERNEXT( tmp_iterator_name_3 ) );
|
|
|
|
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_3 )->tp_iternext)( tmp_iterator_name_3 );
|
|
|
|
if (likely( tmp_iterator_attempt == NULL ))
|
|
{
|
|
PyObject *error = GET_ERROR_OCCURRED();
|
|
|
|
if ( error != NULL )
|
|
{
|
|
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
|
|
{
|
|
CLEAR_ERROR_OCCURRED();
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "ooooooooo";
|
|
exception_lineno = 176;
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Py_DECREF( tmp_iterator_attempt );
|
|
|
|
// TODO: Could avoid PyErr_Format.
|
|
#if PYTHON_VERSION < 300
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
|
|
#else
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
|
|
#endif
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "ooooooooo";
|
|
exception_lineno = 176;
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
goto try_end_5;
|
|
// Exception handler code:
|
|
try_except_handler_7:;
|
|
exception_keeper_type_5 = exception_type;
|
|
exception_keeper_value_5 = exception_value;
|
|
exception_keeper_tb_5 = exception_tb;
|
|
exception_keeper_lineno_5 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_3__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_3__source_iter );
|
|
tmp_tuple_unpack_3__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_5;
|
|
exception_value = exception_keeper_value_5;
|
|
exception_tb = exception_keeper_tb_5;
|
|
exception_lineno = exception_keeper_lineno_5;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
// End of try:
|
|
try_end_5:;
|
|
}
|
|
goto try_end_6;
|
|
// Exception handler code:
|
|
try_except_handler_6:;
|
|
exception_keeper_type_6 = exception_type;
|
|
exception_keeper_value_6 = exception_value;
|
|
exception_keeper_tb_6 = exception_tb;
|
|
exception_keeper_lineno_6 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_3__element_1 );
|
|
tmp_tuple_unpack_3__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_3__element_2 );
|
|
tmp_tuple_unpack_3__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_6;
|
|
exception_value = exception_keeper_value_6;
|
|
exception_tb = exception_keeper_tb_6;
|
|
exception_lineno = exception_keeper_lineno_6;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_6:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_3__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_3__source_iter );
|
|
tmp_tuple_unpack_3__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_24;
|
|
CHECK_OBJECT( tmp_tuple_unpack_3__element_1 );
|
|
tmp_assign_source_24 = tmp_tuple_unpack_3__element_1;
|
|
{
|
|
PyObject *old = var_bstring;
|
|
var_bstring = tmp_assign_source_24;
|
|
Py_INCREF( var_bstring );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_3__element_1 );
|
|
tmp_tuple_unpack_3__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_25;
|
|
CHECK_OBJECT( tmp_tuple_unpack_3__element_2 );
|
|
tmp_assign_source_25 = tmp_tuple_unpack_3__element_2;
|
|
assert( var_defects == NULL );
|
|
Py_INCREF( tmp_assign_source_25 );
|
|
var_defects = tmp_assign_source_25;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_3__element_2 );
|
|
tmp_tuple_unpack_3__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_26;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_3;
|
|
if ( var_bstring == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bstring" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 179;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_8;
|
|
}
|
|
|
|
tmp_source_name_1 = var_bstring;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_decode );
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 179;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_8;
|
|
}
|
|
if ( var_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", "charset" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 179;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_8;
|
|
}
|
|
|
|
tmp_args_element_name_3 = var_charset;
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 179;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_assign_source_26 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_3 );
|
|
if ( tmp_assign_source_26 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 179;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_8;
|
|
}
|
|
assert( var_string == NULL );
|
|
var_string = tmp_assign_source_26;
|
|
|
|
}
|
|
goto try_end_7;
|
|
// Exception handler code:
|
|
try_except_handler_8:;
|
|
exception_keeper_type_7 = exception_type;
|
|
exception_keeper_value_7 = exception_value;
|
|
exception_keeper_tb_7 = exception_tb;
|
|
exception_keeper_lineno_7 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Preserve existing published exception.
|
|
exception_preserved_type_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_7 == NULL )
|
|
{
|
|
exception_keeper_tb_7 = MAKE_TRACEBACK( frame_5f4b58e1bdef876593b9cafb36ba2949, exception_keeper_lineno_7 );
|
|
}
|
|
else if ( exception_keeper_lineno_7 != 0 )
|
|
{
|
|
exception_keeper_tb_7 = ADD_TRACEBACK( exception_keeper_tb_7, frame_5f4b58e1bdef876593b9cafb36ba2949, exception_keeper_lineno_7 );
|
|
}
|
|
|
|
NORMALIZE_EXCEPTION( &exception_keeper_type_7, &exception_keeper_value_7, &exception_keeper_tb_7 );
|
|
PyException_SetTraceback( exception_keeper_value_7, (PyObject *)exception_keeper_tb_7 );
|
|
PUBLISH_EXCEPTION( &exception_keeper_type_7, &exception_keeper_value_7, &exception_keeper_tb_7 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
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 = 180;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_mvar_value_3;
|
|
PyObject *tmp_args_element_name_5;
|
|
PyObject *tmp_called_name_6;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_args_element_name_6;
|
|
if ( var_defects == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "defects" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 181;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
|
|
tmp_source_name_2 = var_defects;
|
|
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_append );
|
|
if ( tmp_called_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 181;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (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 )
|
|
{
|
|
Py_DECREF( tmp_called_name_4 );
|
|
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 = 181;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
|
|
tmp_source_name_3 = tmp_mvar_value_3;
|
|
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_UndecodableBytesDefect );
|
|
if ( tmp_called_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_4 );
|
|
|
|
exception_lineno = 181;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
tmp_source_name_4 = const_str_digest_363b19a9079e2bacd39f2be3886fbea4;
|
|
tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_format );
|
|
assert( !(tmp_called_name_6 == NULL) );
|
|
if ( var_charset == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_4 );
|
|
Py_DECREF( tmp_called_name_5 );
|
|
Py_DECREF( tmp_called_name_6 );
|
|
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 = 182;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
|
|
tmp_args_element_name_6 = var_charset;
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 181;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_6 };
|
|
tmp_args_element_name_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_6 );
|
|
if ( tmp_args_element_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_4 );
|
|
Py_DECREF( tmp_called_name_5 );
|
|
|
|
exception_lineno = 181;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 181;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5 };
|
|
tmp_args_element_name_4 = 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_args_element_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_4 );
|
|
|
|
exception_lineno = 181;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 181;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_4 );
|
|
Py_DECREF( tmp_args_element_name_4 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 181;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_27;
|
|
PyObject *tmp_called_name_7;
|
|
PyObject *tmp_source_name_5;
|
|
PyObject *tmp_args_element_name_7;
|
|
PyObject *tmp_args_element_name_8;
|
|
if ( var_bstring == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bstring" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 183;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
|
|
tmp_source_name_5 = var_bstring;
|
|
tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_decode );
|
|
if ( tmp_called_name_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 183;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
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 = 183;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
|
|
tmp_args_element_name_7 = var_charset;
|
|
tmp_args_element_name_8 = const_str_plain_surrogateescape;
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 183;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_7, tmp_args_element_name_8 };
|
|
tmp_assign_source_27 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_7, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_7 );
|
|
if ( tmp_assign_source_27 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 183;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
assert( var_string == NULL );
|
|
var_string = tmp_assign_source_27;
|
|
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET());
|
|
tmp_compexpr_right_2 = PyExc_LookupError;
|
|
tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_2, tmp_compexpr_right_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 184;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
PyObject *tmp_assign_source_28;
|
|
PyObject *tmp_called_instance_5;
|
|
if ( var_bstring == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bstring" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 185;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
|
|
tmp_called_instance_5 = var_bstring;
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 185;
|
|
tmp_assign_source_28 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_5, const_str_plain_decode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_str_plain_surrogateescape_tuple, 0 ) );
|
|
|
|
if ( tmp_assign_source_28 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 185;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
assert( var_string == NULL );
|
|
var_string = tmp_assign_source_28;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_compexpr_left_3;
|
|
PyObject *tmp_compexpr_right_3;
|
|
PyObject *tmp_called_instance_6;
|
|
if ( var_charset == NULL )
|
|
{
|
|
|
|
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 = 186;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
|
|
tmp_called_instance_6 = var_charset;
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 186;
|
|
tmp_compexpr_left_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_6, const_str_plain_lower );
|
|
if ( tmp_compexpr_left_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 186;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
tmp_compexpr_right_3 = const_str_digest_0e0a66fa25a730966802deeb1b6be9bf;
|
|
tmp_res = RICH_COMPARE_BOOL_NE( 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 = 186;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
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_called_name_8;
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_args_element_name_9;
|
|
PyObject *tmp_called_name_9;
|
|
PyObject *tmp_source_name_7;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_args_element_name_10;
|
|
PyObject *tmp_called_name_10;
|
|
PyObject *tmp_source_name_8;
|
|
PyObject *tmp_args_element_name_11;
|
|
if ( var_defects == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "defects" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 187;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
|
|
tmp_source_name_6 = var_defects;
|
|
tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_append );
|
|
if ( tmp_called_name_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 187;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_errors );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_errors );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_8 );
|
|
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 = 187;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
|
|
tmp_source_name_7 = tmp_mvar_value_4;
|
|
tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_CharsetError );
|
|
if ( tmp_called_name_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_8 );
|
|
|
|
exception_lineno = 187;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
tmp_source_name_8 = const_str_digest_2111e45273d2b5d9a407ddd5c1216bcd;
|
|
tmp_called_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_format );
|
|
assert( !(tmp_called_name_10 == NULL) );
|
|
if ( var_charset == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_8 );
|
|
Py_DECREF( tmp_called_name_9 );
|
|
Py_DECREF( tmp_called_name_10 );
|
|
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 = 188;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
|
|
tmp_args_element_name_11 = var_charset;
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 187;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_11 };
|
|
tmp_args_element_name_10 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_10 );
|
|
if ( tmp_args_element_name_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_8 );
|
|
Py_DECREF( tmp_called_name_9 );
|
|
|
|
exception_lineno = 187;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 187;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_10 };
|
|
tmp_args_element_name_9 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_9 );
|
|
Py_DECREF( tmp_args_element_name_10 );
|
|
if ( tmp_args_element_name_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_8 );
|
|
|
|
exception_lineno = 187;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = 187;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_9 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_8 );
|
|
Py_DECREF( tmp_args_element_name_9 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 187;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
if (unlikely( tmp_result == false ))
|
|
{
|
|
exception_lineno = 178;
|
|
}
|
|
|
|
if (exception_tb && exception_tb->tb_frame == &frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame) frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame.f_lineno = exception_tb->tb_lineno;
|
|
type_description_1 = "ooooooooo";
|
|
goto try_except_handler_9;
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
goto try_end_8;
|
|
// Exception handler code:
|
|
try_except_handler_9:;
|
|
exception_keeper_type_8 = exception_type;
|
|
exception_keeper_value_8 = exception_value;
|
|
exception_keeper_tb_8 = exception_tb;
|
|
exception_keeper_lineno_8 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_8;
|
|
exception_value = exception_keeper_value_8;
|
|
exception_tb = exception_keeper_tb_8;
|
|
exception_lineno = exception_keeper_lineno_8;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_8:;
|
|
}
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
|
}
|
|
goto try_end_7;
|
|
// exception handler codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words$$$function_9_decode );
|
|
return NULL;
|
|
// End of try:
|
|
try_end_7:;
|
|
}
|
|
{
|
|
PyObject *tmp_tuple_element_1;
|
|
if ( var_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 = 189;
|
|
type_description_1 = "ooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = var_string;
|
|
tmp_return_value = PyTuple_New( 4 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 );
|
|
if ( var_charset == NULL )
|
|
{
|
|
Py_DECREF( tmp_return_value );
|
|
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 = 189;
|
|
type_description_1 = "ooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = var_charset;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 );
|
|
if ( var_lang == NULL )
|
|
{
|
|
Py_DECREF( tmp_return_value );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lang" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 189;
|
|
type_description_1 = "ooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = var_lang;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 2, tmp_tuple_element_1 );
|
|
if ( var_defects == NULL )
|
|
{
|
|
Py_DECREF( tmp_return_value );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "defects" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 189;
|
|
type_description_1 = "ooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = var_defects;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 3, tmp_tuple_element_1 );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5f4b58e1bdef876593b9cafb36ba2949 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5f4b58e1bdef876593b9cafb36ba2949 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5f4b58e1bdef876593b9cafb36ba2949 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_5f4b58e1bdef876593b9cafb36ba2949, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_5f4b58e1bdef876593b9cafb36ba2949->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_5f4b58e1bdef876593b9cafb36ba2949, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_5f4b58e1bdef876593b9cafb36ba2949,
|
|
type_description_1,
|
|
par_ew,
|
|
var__,
|
|
var_charset,
|
|
var_cte,
|
|
var_cte_string,
|
|
var_lang,
|
|
var_bstring,
|
|
var_defects,
|
|
var_string
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_5f4b58e1bdef876593b9cafb36ba2949 == cache_frame_5f4b58e1bdef876593b9cafb36ba2949 )
|
|
{
|
|
Py_DECREF( frame_5f4b58e1bdef876593b9cafb36ba2949 );
|
|
}
|
|
cache_frame_5f4b58e1bdef876593b9cafb36ba2949 = NULL;
|
|
|
|
assertFrameObject( frame_5f4b58e1bdef876593b9cafb36ba2949 );
|
|
|
|
// 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$_encoded_words$$$function_9_decode );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_ew );
|
|
par_ew = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var__ );
|
|
var__ = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_charset );
|
|
var_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_cte );
|
|
var_cte = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_cte_string );
|
|
var_cte_string = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_lang );
|
|
var_lang = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_bstring );
|
|
var_bstring = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_defects );
|
|
var_defects = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_string );
|
|
var_string = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_9 = exception_type;
|
|
exception_keeper_value_9 = exception_value;
|
|
exception_keeper_tb_9 = exception_tb;
|
|
exception_keeper_lineno_9 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_ew );
|
|
par_ew = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var__ );
|
|
var__ = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_charset );
|
|
var_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_cte );
|
|
var_cte = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_cte_string );
|
|
var_cte_string = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_lang );
|
|
var_lang = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_bstring );
|
|
var_bstring = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_defects );
|
|
var_defects = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_string );
|
|
var_string = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_9;
|
|
exception_value = exception_keeper_value_9;
|
|
exception_tb = exception_keeper_tb_9;
|
|
exception_lineno = exception_keeper_lineno_9;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words$$$function_9_decode );
|
|
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$_encoded_words$$$function_10_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_charset = python_pars[ 1 ];
|
|
PyObject *par_encoding = python_pars[ 2 ];
|
|
PyObject *par_lang = python_pars[ 3 ];
|
|
PyObject *var_bstring = NULL;
|
|
PyObject *var_qlen = NULL;
|
|
PyObject *var_blen = NULL;
|
|
PyObject *var_encoded = NULL;
|
|
struct Nuitka_FrameObject *frame_8a72fd33ae3fa1d70d2fadb4a54257a9;
|
|
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_8a72fd33ae3fa1d70d2fadb4a54257a9 = 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_8a72fd33ae3fa1d70d2fadb4a54257a9, codeobj_8a72fd33ae3fa1d70d2fadb4a54257a9, module_future$backports$email$_encoded_words, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_8a72fd33ae3fa1d70d2fadb4a54257a9 = cache_frame_8a72fd33ae3fa1d70d2fadb4a54257a9;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_8a72fd33ae3fa1d70d2fadb4a54257a9 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_8a72fd33ae3fa1d70d2fadb4a54257a9 ) == 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$_encoded_words, (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 = 219;
|
|
type_description_1 = "oooooooo";
|
|
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_8a72fd33ae3fa1d70d2fadb4a54257a9->m_frame.f_lineno = 219;
|
|
{
|
|
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 = 219;
|
|
type_description_1 = "oooooooo";
|
|
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;
|
|
if ( par_charset == NULL )
|
|
{
|
|
|
|
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 = 220;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_left_1 = par_charset;
|
|
tmp_compexpr_right_1 = const_str_digest_0e0a66fa25a730966802deeb1b6be9bf;
|
|
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 = 220;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_called_instance_1;
|
|
if ( par_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 = 221;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_string;
|
|
frame_8a72fd33ae3fa1d70d2fadb4a54257a9->m_frame.f_lineno = 221;
|
|
tmp_assign_source_2 = 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_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 221;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_bstring == NULL );
|
|
var_bstring = tmp_assign_source_2;
|
|
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
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 = 223;
|
|
type_description_1 = "oooooooo";
|
|
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 = 223;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_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", "charset" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 223;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_charset;
|
|
frame_8a72fd33ae3fa1d70d2fadb4a54257a9->m_frame.f_lineno = 223;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
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 = 223;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_bstring == NULL );
|
|
var_bstring = tmp_assign_source_3;
|
|
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
if ( par_encoding == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoding" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 224;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_left_2 = par_encoding;
|
|
tmp_compexpr_right_2 = Py_None;
|
|
tmp_condition_result_2 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_subscript_name_1;
|
|
PyObject *tmp_args_element_name_3;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__cte_encode_length );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__cte_encode_length );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_cte_encode_length" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 225;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = tmp_mvar_value_2;
|
|
tmp_subscript_name_1 = const_str_plain_q;
|
|
tmp_called_name_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 225;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_bstring == 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", "bstring" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 225;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_3 = var_bstring;
|
|
frame_8a72fd33ae3fa1d70d2fadb4a54257a9->m_frame.f_lineno = 225;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_3 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 225;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_qlen == NULL );
|
|
var_qlen = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_mvar_value_3;
|
|
PyObject *tmp_subscript_name_2;
|
|
PyObject *tmp_args_element_name_4;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__cte_encode_length );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__cte_encode_length );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_cte_encode_length" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 226;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_2 = tmp_mvar_value_3;
|
|
tmp_subscript_name_2 = const_str_plain_b;
|
|
tmp_called_name_4 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 );
|
|
if ( tmp_called_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 226;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_bstring == 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", "bstring" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 226;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_4 = var_bstring;
|
|
frame_8a72fd33ae3fa1d70d2fadb4a54257a9->m_frame.f_lineno = 226;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4 };
|
|
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_4 );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 226;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_blen == NULL );
|
|
var_blen = tmp_assign_source_5;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_compexpr_left_3;
|
|
PyObject *tmp_compexpr_right_3;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
if ( var_qlen == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "qlen" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 228;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_left_name_1 = var_qlen;
|
|
CHECK_OBJECT( var_blen );
|
|
tmp_right_name_1 = var_blen;
|
|
tmp_compexpr_left_3 = BINARY_OPERATION_SUB( tmp_left_name_1, tmp_right_name_1 );
|
|
if ( tmp_compexpr_left_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 228;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_compexpr_right_3 = const_int_pos_5;
|
|
tmp_res = RICH_COMPARE_BOOL_LT( 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 = 228;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_1;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_1;
|
|
}
|
|
condexpr_true_1:;
|
|
tmp_assign_source_6 = const_str_plain_q;
|
|
goto condexpr_end_1;
|
|
condexpr_false_1:;
|
|
tmp_assign_source_6 = const_str_plain_b;
|
|
condexpr_end_1:;
|
|
{
|
|
PyObject *old = par_encoding;
|
|
par_encoding = tmp_assign_source_6;
|
|
Py_INCREF( par_encoding );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_no_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_subscribed_name_3;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_subscript_name_3;
|
|
PyObject *tmp_args_element_name_5;
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__cte_encoders );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__cte_encoders );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_cte_encoders" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 229;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_3 = tmp_mvar_value_4;
|
|
if ( par_encoding == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoding" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 229;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscript_name_3 = par_encoding;
|
|
tmp_called_name_5 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 );
|
|
if ( tmp_called_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 229;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_bstring == 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", "bstring" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 229;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_5 = var_bstring;
|
|
frame_8a72fd33ae3fa1d70d2fadb4a54257a9->m_frame.f_lineno = 229;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5 };
|
|
tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_5 );
|
|
if ( tmp_assign_source_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 229;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_encoded == NULL );
|
|
var_encoded = tmp_assign_source_7;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
int tmp_truth_name_1;
|
|
if ( par_lang == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lang" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 230;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( par_lang );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 230;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_4 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_right_name_2;
|
|
tmp_left_name_2 = const_str_chr_42;
|
|
if ( par_lang == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lang" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 231;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_right_name_2 = par_lang;
|
|
tmp_assign_source_8 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 );
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 231;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_lang;
|
|
par_lang = tmp_assign_source_8;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_6;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_6;
|
|
PyObject *tmp_args_element_name_7;
|
|
PyObject *tmp_args_element_name_8;
|
|
PyObject *tmp_args_element_name_9;
|
|
tmp_source_name_2 = const_str_digest_537db50a9bfde3d8a5de214ec5d6bc4f;
|
|
tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_format );
|
|
assert( !(tmp_called_name_6 == NULL) );
|
|
if ( par_charset == 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", "charset" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 232;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_6 = par_charset;
|
|
if ( par_lang == 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", "lang" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 232;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_7 = par_lang;
|
|
if ( par_encoding == 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", "encoding" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 232;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_8 = par_encoding;
|
|
if ( var_encoded == 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", "encoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 232;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_9 = var_encoded;
|
|
frame_8a72fd33ae3fa1d70d2fadb4a54257a9->m_frame.f_lineno = 232;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS4( tmp_called_name_6, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_6 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 232;
|
|
type_description_1 = "oooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8a72fd33ae3fa1d70d2fadb4a54257a9 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8a72fd33ae3fa1d70d2fadb4a54257a9 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8a72fd33ae3fa1d70d2fadb4a54257a9 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_8a72fd33ae3fa1d70d2fadb4a54257a9, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_8a72fd33ae3fa1d70d2fadb4a54257a9->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_8a72fd33ae3fa1d70d2fadb4a54257a9, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_8a72fd33ae3fa1d70d2fadb4a54257a9,
|
|
type_description_1,
|
|
par_string,
|
|
par_charset,
|
|
par_encoding,
|
|
par_lang,
|
|
var_bstring,
|
|
var_qlen,
|
|
var_blen,
|
|
var_encoded
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_8a72fd33ae3fa1d70d2fadb4a54257a9 == cache_frame_8a72fd33ae3fa1d70d2fadb4a54257a9 )
|
|
{
|
|
Py_DECREF( frame_8a72fd33ae3fa1d70d2fadb4a54257a9 );
|
|
}
|
|
cache_frame_8a72fd33ae3fa1d70d2fadb4a54257a9 = NULL;
|
|
|
|
assertFrameObject( frame_8a72fd33ae3fa1d70d2fadb4a54257a9 );
|
|
|
|
// 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$_encoded_words$$$function_10_encode );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_string );
|
|
par_string = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_charset );
|
|
par_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_encoding );
|
|
par_encoding = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_lang );
|
|
par_lang = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_bstring );
|
|
var_bstring = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_qlen );
|
|
var_qlen = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_blen );
|
|
var_blen = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_encoded );
|
|
var_encoded = 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_charset );
|
|
par_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_encoding );
|
|
par_encoding = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_lang );
|
|
par_lang = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_bstring );
|
|
var_bstring = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_qlen );
|
|
var_qlen = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_blen );
|
|
var_blen = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_encoded );
|
|
var_encoded = 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$_encoded_words$$$function_10_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$_encoded_words$$$function_10_encode( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_encoded_words$$$function_10_encode,
|
|
const_str_plain_encode,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_8a72fd33ae3fa1d70d2fadb4a54257a9,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_encoded_words,
|
|
const_str_digest_dc73e6f0f21b968714776e4dbd624696,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_1_lambda( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_encoded_words$$$function_1_lambda,
|
|
const_str_angle_lambda,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_ffbb1c0c6aa0ea1dd628c321d1b977f9,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_encoded_words,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_2_decode_q( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_encoded_words$$$function_2_decode_q,
|
|
const_str_plain_decode_q,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_4a2ef25661f28911bea0b8e4eba8ec14,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_encoded_words,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_3___missing__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_encoded_words$$$function_3___missing__,
|
|
const_str_plain___missing__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_23acf01e9ae1e1770a55b49d8eb630dd,
|
|
#endif
|
|
codeobj_ebffb6bc810780d9d126fcd83ada1f7e,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_encoded_words,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_4_encode_q( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_encoded_words$$$function_4_encode_q,
|
|
const_str_plain_encode_q,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_d2750ca5389cd12a6e9873520e8751d9,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_encoded_words,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_5_len_q( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_encoded_words$$$function_5_len_q,
|
|
const_str_plain_len_q,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_a48515a2f0c37d64928a049fec4a88f1,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_encoded_words,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_6_decode_b( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_encoded_words$$$function_6_decode_b,
|
|
const_str_plain_decode_b,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_96e7475334c06d38ff6541afd26be3f4,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_encoded_words,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_7_encode_b( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_encoded_words$$$function_7_encode_b,
|
|
const_str_plain_encode_b,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_cc13d9cf1086b834403f305c6f3f93fa,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_encoded_words,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_8_len_b( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_encoded_words$$$function_8_len_b,
|
|
const_str_plain_len_b,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_266798d38a0a970761dcd57a3babb26b,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_encoded_words,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_9_decode( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_encoded_words$$$function_9_decode,
|
|
const_str_plain_decode,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_5f4b58e1bdef876593b9cafb36ba2949,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_encoded_words,
|
|
const_str_digest_e9943dccea13d9aa818a6ea1dec6ebf1,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
static struct PyModuleDef mdef_future$backports$email$_encoded_words =
|
|
{
|
|
PyModuleDef_HEAD_INIT,
|
|
"future.backports.email._encoded_words", /* 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$_encoded_words )
|
|
{
|
|
#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$_encoded_words );
|
|
}
|
|
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._encoded_words: 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._encoded_words: Calling createModuleConstants().");
|
|
#endif
|
|
createModuleConstants();
|
|
|
|
/* The code objects used by this module are created now. */
|
|
#ifdef _NUITKA_TRACE
|
|
puts("future.backports.email._encoded_words: Calling createModuleCodeObjects().");
|
|
#endif
|
|
createModuleCodeObjects();
|
|
|
|
// puts( "in initfuture$backports$email$_encoded_words" );
|
|
|
|
// 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$_encoded_words = Py_InitModule4(
|
|
"future.backports.email._encoded_words", // 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$_encoded_words = PyModule_Create( &mdef_future$backports$email$_encoded_words );
|
|
#endif
|
|
|
|
moduledict_future$backports$email$_encoded_words = MODULE_DICT( module_future$backports$email$_encoded_words );
|
|
|
|
// Update "__package__" value to what it ought to be.
|
|
{
|
|
#if 0
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_future$backports$email$_encoded_words,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
module_name
|
|
);
|
|
|
|
#else
|
|
|
|
#if PYTHON_VERSION < 300
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (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$_encoded_words,
|
|
(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$_encoded_words, (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$_encoded_words,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
PyUnicode_Substring( module_name, 0, dot_index )
|
|
);
|
|
}
|
|
#endif
|
|
#endif
|
|
}
|
|
|
|
CHECK_OBJECT( module_future$backports$email$_encoded_words );
|
|
|
|
// 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_cf11b30a9a874265d09a408d41180066, module_future$backports$email$_encoded_words );
|
|
|
|
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$_encoded_words, (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$_encoded_words, (Nuitka_StringObject *)const_str_plain___builtins__, value );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
|
|
#endif
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
#if 0
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$_encoded_words, (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$_encoded_words, (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$_encoded_words, (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;
|
|
PyObject *tmp_import_from_1__module = NULL;
|
|
struct Nuitka_FrameObject *frame_6282cde0ccc52e504578dec14f5a97bd;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
int tmp_res;
|
|
PyObject *tmp_dictdel_dict;
|
|
PyObject *tmp_dictdel_key;
|
|
bool tmp_result;
|
|
PyObject *locals_future$backports$email$_encoded_words_80 = NULL;
|
|
PyObject *tmp_dictset_value;
|
|
struct Nuitka_FrameObject *frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2 = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
|
|
// Module code.
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = const_str_digest_c3f19e1a2640d49c2056809f3ed37c0d;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = const_str_digest_e896e10207898c29e2d25598bfc2c182;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$_encoded_words, (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$_encoded_words, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
|
|
}
|
|
// Frame without reuse.
|
|
frame_6282cde0ccc52e504578dec14f5a97bd = MAKE_MODULE_FRAME( codeobj_6282cde0ccc52e504578dec14f5a97bd, module_future$backports$email$_encoded_words );
|
|
|
|
// Push the new frame as the currently active one, and we should be exclusively
|
|
// owning it.
|
|
pushFrameStack( frame_6282cde0ccc52e504578dec14f5a97bd );
|
|
assert( Py_REFCNT( frame_6282cde0ccc52e504578dec14f5a97bd ) == 2 );
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_import_name_from_1;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 7;
|
|
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 = 7;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_unicode_literals, tmp_assign_source_4 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_import_name_from_2;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 8;
|
|
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 = 8;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_division, tmp_assign_source_5 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_import_name_from_3;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 9;
|
|
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 = 9;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (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$_encoded_words;
|
|
tmp_locals_name_1 = Py_None;
|
|
tmp_fromlist_name_1 = const_tuple_str_plain_bytes_tuple;
|
|
tmp_level_name_1 = const_int_0;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 10;
|
|
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 = 10;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_bytes );
|
|
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 = 10;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_bytes, 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$_encoded_words;
|
|
tmp_locals_name_2 = Py_None;
|
|
tmp_fromlist_name_2 = const_tuple_str_plain_chr_tuple;
|
|
tmp_level_name_2 = const_int_0;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 11;
|
|
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 = 11;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_chr );
|
|
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 = 11;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_chr, tmp_assign_source_8 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
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_digest_c3c96c8ed3ec2ec3a4d3f0dfaaa3ddf2;
|
|
tmp_globals_name_3 = (PyObject *)moduledict_future$backports$email$_encoded_words;
|
|
tmp_locals_name_3 = Py_None;
|
|
tmp_fromlist_name_3 = const_tuple_str_plain_int_tuple;
|
|
tmp_level_name_3 = const_int_0;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 12;
|
|
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 = 12;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_9 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_int );
|
|
Py_DECREF( tmp_import_name_from_6 );
|
|
if ( tmp_assign_source_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 12;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_int, tmp_assign_source_9 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
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_c3c96c8ed3ec2ec3a4d3f0dfaaa3ddf2;
|
|
tmp_globals_name_4 = (PyObject *)moduledict_future$backports$email$_encoded_words;
|
|
tmp_locals_name_4 = Py_None;
|
|
tmp_fromlist_name_4 = const_tuple_str_plain_str_tuple;
|
|
tmp_level_name_4 = const_int_0;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 13;
|
|
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 = 13;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_10 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_str );
|
|
Py_DECREF( tmp_import_name_from_7 );
|
|
if ( tmp_assign_source_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_str, tmp_assign_source_10 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_11;
|
|
PyObject *tmp_name_name_5;
|
|
PyObject *tmp_globals_name_5;
|
|
PyObject *tmp_locals_name_5;
|
|
PyObject *tmp_fromlist_name_5;
|
|
PyObject *tmp_level_name_5;
|
|
tmp_name_name_5 = const_str_plain_re;
|
|
tmp_globals_name_5 = (PyObject *)moduledict_future$backports$email$_encoded_words;
|
|
tmp_locals_name_5 = Py_None;
|
|
tmp_fromlist_name_5 = Py_None;
|
|
tmp_level_name_5 = const_int_0;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 49;
|
|
tmp_assign_source_11 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_5 );
|
|
if ( tmp_assign_source_11 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 49;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_re, tmp_assign_source_11 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
PyObject *tmp_name_name_6;
|
|
PyObject *tmp_globals_name_6;
|
|
PyObject *tmp_locals_name_6;
|
|
PyObject *tmp_fromlist_name_6;
|
|
PyObject *tmp_level_name_6;
|
|
tmp_name_name_6 = const_str_plain_base64;
|
|
tmp_globals_name_6 = (PyObject *)moduledict_future$backports$email$_encoded_words;
|
|
tmp_locals_name_6 = Py_None;
|
|
tmp_fromlist_name_6 = Py_None;
|
|
tmp_level_name_6 = const_int_0;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 50;
|
|
tmp_assign_source_12 = IMPORT_MODULE5( tmp_name_name_6, tmp_globals_name_6, tmp_locals_name_6, tmp_fromlist_name_6, tmp_level_name_6 );
|
|
if ( tmp_assign_source_12 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 50;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_base64, tmp_assign_source_12 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
PyObject *tmp_name_name_7;
|
|
PyObject *tmp_globals_name_7;
|
|
PyObject *tmp_locals_name_7;
|
|
PyObject *tmp_fromlist_name_7;
|
|
PyObject *tmp_level_name_7;
|
|
tmp_name_name_7 = const_str_plain_binascii;
|
|
tmp_globals_name_7 = (PyObject *)moduledict_future$backports$email$_encoded_words;
|
|
tmp_locals_name_7 = Py_None;
|
|
tmp_fromlist_name_7 = Py_None;
|
|
tmp_level_name_7 = const_int_0;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 51;
|
|
tmp_assign_source_13 = IMPORT_MODULE5( tmp_name_name_7, tmp_globals_name_7, tmp_locals_name_7, tmp_fromlist_name_7, tmp_level_name_7 );
|
|
if ( tmp_assign_source_13 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 51;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_binascii, tmp_assign_source_13 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_14;
|
|
PyObject *tmp_name_name_8;
|
|
PyObject *tmp_globals_name_8;
|
|
PyObject *tmp_locals_name_8;
|
|
PyObject *tmp_fromlist_name_8;
|
|
PyObject *tmp_level_name_8;
|
|
tmp_name_name_8 = const_str_plain_functools;
|
|
tmp_globals_name_8 = (PyObject *)moduledict_future$backports$email$_encoded_words;
|
|
tmp_locals_name_8 = Py_None;
|
|
tmp_fromlist_name_8 = Py_None;
|
|
tmp_level_name_8 = const_int_0;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 52;
|
|
tmp_assign_source_14 = IMPORT_MODULE5( tmp_name_name_8, tmp_globals_name_8, tmp_locals_name_8, tmp_fromlist_name_8, tmp_level_name_8 );
|
|
if ( tmp_assign_source_14 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 52;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_functools, tmp_assign_source_14 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
PyObject *tmp_name_name_9;
|
|
PyObject *tmp_globals_name_9;
|
|
PyObject *tmp_locals_name_9;
|
|
PyObject *tmp_fromlist_name_9;
|
|
PyObject *tmp_level_name_9;
|
|
tmp_name_name_9 = const_str_plain_string;
|
|
tmp_globals_name_9 = (PyObject *)moduledict_future$backports$email$_encoded_words;
|
|
tmp_locals_name_9 = Py_None;
|
|
tmp_fromlist_name_9 = const_tuple_str_plain_ascii_letters_str_plain_digits_tuple;
|
|
tmp_level_name_9 = const_int_0;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 53;
|
|
tmp_assign_source_15 = IMPORT_MODULE5( tmp_name_name_9, tmp_globals_name_9, tmp_locals_name_9, tmp_fromlist_name_9, tmp_level_name_9 );
|
|
if ( tmp_assign_source_15 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 53;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_import_from_1__module == NULL );
|
|
tmp_import_from_1__module = tmp_assign_source_15;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_16;
|
|
PyObject *tmp_import_name_from_8;
|
|
CHECK_OBJECT( tmp_import_from_1__module );
|
|
tmp_import_name_from_8 = tmp_import_from_1__module;
|
|
tmp_assign_source_16 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_ascii_letters );
|
|
if ( tmp_assign_source_16 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 53;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_ascii_letters, tmp_assign_source_16 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_17;
|
|
PyObject *tmp_import_name_from_9;
|
|
CHECK_OBJECT( tmp_import_from_1__module );
|
|
tmp_import_name_from_9 = tmp_import_from_1__module;
|
|
tmp_assign_source_17 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain_digits );
|
|
if ( tmp_assign_source_17 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 53;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_digits, tmp_assign_source_17 );
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
|
|
Py_DECREF( tmp_import_from_1__module );
|
|
tmp_import_from_1__module = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
|
|
Py_DECREF( tmp_import_from_1__module );
|
|
tmp_import_from_1__module = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_18;
|
|
PyObject *tmp_import_name_from_10;
|
|
PyObject *tmp_name_name_10;
|
|
PyObject *tmp_globals_name_10;
|
|
PyObject *tmp_locals_name_10;
|
|
PyObject *tmp_fromlist_name_10;
|
|
PyObject *tmp_level_name_10;
|
|
tmp_name_name_10 = const_str_digest_d19bf663764a0b15d5e8f7167c910e4e;
|
|
tmp_globals_name_10 = (PyObject *)moduledict_future$backports$email$_encoded_words;
|
|
tmp_locals_name_10 = Py_None;
|
|
tmp_fromlist_name_10 = const_tuple_str_plain_errors_tuple;
|
|
tmp_level_name_10 = const_int_0;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 54;
|
|
tmp_import_name_from_10 = IMPORT_MODULE5( tmp_name_name_10, tmp_globals_name_10, tmp_locals_name_10, tmp_fromlist_name_10, tmp_level_name_10 );
|
|
if ( tmp_import_name_from_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 54;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_18 = IMPORT_NAME( tmp_import_name_from_10, const_str_plain_errors );
|
|
Py_DECREF( tmp_import_name_from_10 );
|
|
if ( tmp_assign_source_18 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 54;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_errors, tmp_assign_source_18 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_19;
|
|
tmp_assign_source_19 = LIST_COPY( const_list_3b6e36911a4d3271a1984d871a756ec9_list );
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain___all__, tmp_assign_source_19 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_20;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_functools );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_functools );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "functools" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 71;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = tmp_mvar_value_1;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_partial );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 71;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_re );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "re" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 71;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = tmp_mvar_value_2;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 71;
|
|
tmp_source_name_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_compile, &PyTuple_GET_ITEM( const_tuple_bytes_digest_b264eef47b8aedfc9c9fbcfc930954e7_tuple, 0 ) );
|
|
|
|
if ( tmp_source_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
|
|
exception_lineno = 71;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_sub );
|
|
Py_DECREF( tmp_source_name_2 );
|
|
if ( tmp_args_element_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
|
|
exception_lineno = 71;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_args_element_name_2 = MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_1_lambda( );
|
|
|
|
|
|
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 71;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_assign_source_20 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
Py_DECREF( tmp_args_element_name_2 );
|
|
if ( tmp_assign_source_20 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 71;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__q_byte_subber, tmp_assign_source_20 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_21;
|
|
tmp_assign_source_21 = MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_2_decode_q( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_decode_q, tmp_assign_source_21 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_22;
|
|
PyObject *tmp_dircall_arg1_1;
|
|
tmp_dircall_arg1_1 = const_tuple_type_dict_tuple;
|
|
Py_INCREF( tmp_dircall_arg1_1 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
|
|
tmp_assign_source_22 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_22 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_class_creation_1__bases == NULL );
|
|
tmp_class_creation_1__bases = tmp_assign_source_22;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_23;
|
|
tmp_assign_source_23 = PyDict_New();
|
|
assert( tmp_class_creation_1__class_decl_dict == NULL );
|
|
tmp_class_creation_1__class_decl_dict = tmp_assign_source_23;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_24;
|
|
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 = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_1;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_1;
|
|
}
|
|
condexpr_true_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
tmp_key_name_2 = const_str_plain_metaclass;
|
|
tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 );
|
|
if ( tmp_metaclass_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
goto condexpr_end_1;
|
|
condexpr_false_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_2;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_2;
|
|
}
|
|
condexpr_true_2:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_subscribed_name_1 = tmp_class_creation_1__bases;
|
|
tmp_subscript_name_1 = const_int_0;
|
|
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
|
if ( tmp_type_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 );
|
|
Py_DECREF( tmp_type_arg_1 );
|
|
if ( tmp_metaclass_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
goto condexpr_end_2;
|
|
condexpr_false_2:;
|
|
tmp_metaclass_name_1 = (PyObject *)&PyType_Type;
|
|
Py_INCREF( tmp_metaclass_name_1 );
|
|
condexpr_end_2:;
|
|
condexpr_end_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_bases_name_1 = tmp_class_creation_1__bases;
|
|
tmp_assign_source_24 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
|
|
Py_DECREF( tmp_metaclass_name_1 );
|
|
if ( tmp_assign_source_24 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_class_creation_1__metaclass == NULL );
|
|
tmp_class_creation_1__metaclass = tmp_assign_source_24;
|
|
|
|
}
|
|
{
|
|
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 = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
|
|
tmp_dictdel_key = const_str_plain_metaclass;
|
|
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_source_name_3;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_source_name_3 = tmp_class_creation_1__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_3, 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_25;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_args_name_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_kw_name_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_source_name_4 = tmp_class_creation_1__metaclass;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___prepare__ );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_tuple_element_1 = const_str_plain__QByteMap;
|
|
tmp_args_name_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_1 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 80;
|
|
tmp_assign_source_25 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_1, tmp_kw_name_1 );
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
if ( tmp_assign_source_25 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_25;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_5;
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_source_name_5;
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_source_name_5 = tmp_class_creation_1__prepared;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_5, 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 = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_raise_value_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_tuple_element_2;
|
|
PyObject *tmp_getattr_target_1;
|
|
PyObject *tmp_getattr_attr_1;
|
|
PyObject *tmp_getattr_default_1;
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_type_arg_2;
|
|
tmp_raise_type_1 = PyExc_TypeError;
|
|
tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
|
|
tmp_getattr_attr_1 = const_str_plain___name__;
|
|
tmp_getattr_default_1 = const_str_angle_metaclass;
|
|
tmp_tuple_element_2 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
|
|
if ( tmp_tuple_element_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_right_name_1 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_2 );
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_type_arg_2 = tmp_class_creation_1__prepared;
|
|
tmp_source_name_6 = BUILTIN_TYPE1( tmp_type_arg_2 );
|
|
assert( !(tmp_source_name_6 == NULL) );
|
|
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_6 );
|
|
if ( tmp_tuple_element_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_2 );
|
|
tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_raise_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_value = tmp_raise_value_1;
|
|
exception_lineno = 80;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
PyObject *tmp_assign_source_26;
|
|
tmp_assign_source_26 = PyDict_New();
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_26;
|
|
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_27;
|
|
{
|
|
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$_encoded_words_80 = tmp_set_locals_1;
|
|
Py_INCREF( tmp_set_locals_1 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_cf11b30a9a874265d09a408d41180066;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_encoded_words_80, 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 = 80;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain__QByteMap;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_encoded_words_80, 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 = 80;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2, codeobj_ee5c90f3a84dd5efbba62a9d3ac29c62, module_future$backports$email$_encoded_words, sizeof(void *) );
|
|
frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2 = cache_frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_mvar_value_3;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_left_name_3;
|
|
PyObject *tmp_right_name_2;
|
|
PyObject *tmp_called_instance_2;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_right_name_3;
|
|
PyObject *tmp_called_instance_3;
|
|
PyObject *tmp_mvar_value_5;
|
|
tmp_called_name_3 = PyObject_GetItem( locals_future$backports$email$_encoded_words_80, const_str_plain_bytes );
|
|
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
tmp_called_name_3 = tmp_mvar_value_3;
|
|
Py_INCREF( tmp_called_name_3 );
|
|
}
|
|
}
|
|
|
|
tmp_left_name_3 = const_bytes_digest_a22d7943977b658edfdbd0091147a75b;
|
|
tmp_called_instance_2 = PyObject_GetItem( locals_future$backports$email$_encoded_words_80, const_str_plain_ascii_letters );
|
|
|
|
if ( tmp_called_instance_2 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_ascii_letters );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ascii_letters );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_3 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ascii_letters" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
tmp_called_instance_2 = tmp_mvar_value_4;
|
|
Py_INCREF( tmp_called_instance_2 );
|
|
}
|
|
}
|
|
|
|
frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2->m_frame.f_lineno = 82;
|
|
tmp_right_name_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) );
|
|
|
|
Py_DECREF( tmp_called_instance_2 );
|
|
if ( tmp_right_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
|
|
exception_lineno = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_left_name_2 = BINARY_OPERATION_ADD( tmp_left_name_3, tmp_right_name_2 );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
if ( tmp_left_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
|
|
exception_lineno = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_called_instance_3 = PyObject_GetItem( locals_future$backports$email$_encoded_words_80, const_str_plain_digits );
|
|
|
|
if ( tmp_called_instance_3 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_digits );
|
|
|
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_digits );
|
|
}
|
|
|
|
if ( tmp_mvar_value_5 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_left_name_2 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "digits" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
tmp_called_instance_3 = tmp_mvar_value_5;
|
|
Py_INCREF( tmp_called_instance_3 );
|
|
}
|
|
}
|
|
|
|
frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2->m_frame.f_lineno = 82;
|
|
tmp_right_name_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) );
|
|
|
|
Py_DECREF( tmp_called_instance_3 );
|
|
if ( tmp_right_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_left_name_2 );
|
|
|
|
exception_lineno = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_args_element_name_3 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_3 );
|
|
Py_DECREF( tmp_left_name_2 );
|
|
Py_DECREF( tmp_right_name_3 );
|
|
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 = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2->m_frame.f_lineno = 82;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_dictset_value = 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_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_encoded_words_80, const_str_plain_safe, 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 = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_3___missing__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_encoded_words_80, const_str_plain___missing__, 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 = 84;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ee5c90f3a84dd5efbba62a9d3ac29c62_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_ee5c90f3a84dd5efbba62a9d3ac29c62_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2,
|
|
type_description_2,
|
|
outline_0_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2 == cache_frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2 )
|
|
{
|
|
Py_DECREF( frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2 );
|
|
}
|
|
cache_frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2 = NULL;
|
|
|
|
assertFrameObject( frame_ee5c90f3a84dd5efbba62a9d3ac29c62_2 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto nested_frame_exit_1;
|
|
|
|
frame_no_exception_1:;
|
|
goto skip_nested_handling_1;
|
|
nested_frame_exit_1:;
|
|
|
|
goto try_except_handler_4;
|
|
skip_nested_handling_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_6;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_compexpr_left_1 = tmp_class_creation_1__bases;
|
|
tmp_compexpr_right_1 = const_tuple_type_dict_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 = 80;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_4;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_4;
|
|
}
|
|
branch_yes_4:;
|
|
{
|
|
tmp_dictset_value = const_tuple_type_dict_tuple;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_encoded_words_80, 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 = 80;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
branch_no_4:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_28;
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_args_name_2;
|
|
PyObject *tmp_tuple_element_3;
|
|
PyObject *tmp_kw_name_2;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_called_name_4 = tmp_class_creation_1__metaclass;
|
|
tmp_tuple_element_3 = const_str_plain__QByteMap;
|
|
tmp_args_name_2 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_3 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_3 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_3 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_3 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_3 );
|
|
tmp_tuple_element_3 = locals_future$backports$email$_encoded_words_80;
|
|
Py_INCREF( tmp_tuple_element_3 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_3 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 80;
|
|
tmp_assign_source_28 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_2, tmp_kw_name_2 );
|
|
Py_DECREF( tmp_args_name_2 );
|
|
if ( tmp_assign_source_28 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
assert( outline_0_var___class__ == NULL );
|
|
outline_0_var___class__ = tmp_assign_source_28;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_0_var___class__ );
|
|
tmp_assign_source_27 = outline_0_var___class__;
|
|
Py_INCREF( tmp_assign_source_27 );
|
|
goto try_return_handler_4;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_4:;
|
|
{
|
|
Py_DECREF( locals_future$backports$email$_encoded_words_80 );
|
|
locals_future$backports$email$_encoded_words_80 = NULL;
|
|
}
|
|
{
|
|
goto try_return_handler_3;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_DECREF( locals_future$backports$email$_encoded_words_80 );
|
|
locals_future$backports$email$_encoded_words_80 = NULL;
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
// End of try:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)outline_0_var___class__ );
|
|
Py_DECREF( outline_0_var___class__ );
|
|
outline_0_var___class__ = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_1;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_encoded_words );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_1:;
|
|
exception_lineno = 80;
|
|
goto try_except_handler_2;
|
|
outline_result_1:;
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__QByteMap, tmp_assign_source_27 );
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_4 = exception_type;
|
|
exception_keeper_value_4 = exception_value;
|
|
exception_keeper_tb_4 = exception_tb;
|
|
exception_keeper_lineno_4 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_class_creation_1__bases );
|
|
tmp_class_creation_1__bases = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_1__class_decl_dict );
|
|
tmp_class_creation_1__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_1__metaclass );
|
|
tmp_class_creation_1__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_1__prepared );
|
|
tmp_class_creation_1__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_4;
|
|
exception_value = exception_keeper_value_4;
|
|
exception_tb = exception_keeper_tb_4;
|
|
exception_lineno = exception_keeper_lineno_4;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases );
|
|
Py_DECREF( tmp_class_creation_1__bases );
|
|
tmp_class_creation_1__bases = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__class_decl_dict );
|
|
Py_DECREF( tmp_class_creation_1__class_decl_dict );
|
|
tmp_class_creation_1__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__metaclass );
|
|
Py_DECREF( tmp_class_creation_1__metaclass );
|
|
tmp_class_creation_1__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared );
|
|
Py_DECREF( tmp_class_creation_1__prepared );
|
|
tmp_class_creation_1__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_29;
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_mvar_value_6;
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__QByteMap );
|
|
|
|
if (unlikely( tmp_mvar_value_6 == NULL ))
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__QByteMap );
|
|
}
|
|
|
|
if ( tmp_mvar_value_6 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_QByteMap" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 91;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_5 = tmp_mvar_value_6;
|
|
frame_6282cde0ccc52e504578dec14f5a97bd->m_frame.f_lineno = 91;
|
|
tmp_assign_source_29 = CALL_FUNCTION_NO_ARGS( tmp_called_name_5 );
|
|
if ( tmp_assign_source_29 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 91;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__q_byte_map, tmp_assign_source_29 );
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_mvar_value_7;
|
|
PyObject *tmp_ass_subscript_1;
|
|
int tmp_ass_subscript_res_1;
|
|
tmp_ass_subvalue_1 = const_str_plain__;
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__q_byte_map );
|
|
|
|
if (unlikely( tmp_mvar_value_7 == NULL ))
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__q_byte_map );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_7 );
|
|
tmp_ass_subscribed_1 = tmp_mvar_value_7;
|
|
tmp_ass_subscript_1 = const_int_pos_32;
|
|
tmp_ass_subscript_res_1 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_1, tmp_ass_subscript_1, 32, tmp_ass_subvalue_1 );
|
|
if ( tmp_ass_subscript_res_1 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 94;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_30;
|
|
tmp_assign_source_30 = MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_4_encode_q( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_encode_q, tmp_assign_source_30 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_31;
|
|
tmp_assign_source_31 = MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_5_len_q( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_len_q, tmp_assign_source_31 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_32;
|
|
tmp_assign_source_32 = MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_6_decode_b( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_decode_b, tmp_assign_source_32 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_33;
|
|
tmp_assign_source_33 = MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_7_encode_b( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_encode_b, tmp_assign_source_33 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_34;
|
|
tmp_assign_source_34 = MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_8_len_b( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_len_b, tmp_assign_source_34 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_35;
|
|
PyObject *tmp_dict_key_1;
|
|
PyObject *tmp_dict_value_1;
|
|
PyObject *tmp_mvar_value_8;
|
|
PyObject *tmp_dict_key_2;
|
|
PyObject *tmp_dict_value_2;
|
|
PyObject *tmp_mvar_value_9;
|
|
tmp_dict_key_1 = const_str_plain_q;
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_decode_q );
|
|
|
|
if (unlikely( tmp_mvar_value_8 == NULL ))
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_decode_q );
|
|
}
|
|
|
|
if ( tmp_mvar_value_8 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "decode_q" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 146;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dict_value_1 = tmp_mvar_value_8;
|
|
tmp_assign_source_35 = _PyDict_NewPresized( 2 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_35, tmp_dict_key_1, tmp_dict_value_1 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_2 = const_str_plain_b;
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_decode_b );
|
|
|
|
if (unlikely( tmp_mvar_value_9 == NULL ))
|
|
{
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_decode_b );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_9 );
|
|
tmp_dict_value_2 = tmp_mvar_value_9;
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_35, tmp_dict_key_2, tmp_dict_value_2 );
|
|
assert( !(tmp_res != 0) );
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__cte_decoders, tmp_assign_source_35 );
|
|
}
|
|
|
|
// Restore frame exception if necessary.
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6282cde0ccc52e504578dec14f5a97bd );
|
|
#endif
|
|
popFrameStack();
|
|
|
|
assertFrameObject( frame_6282cde0ccc52e504578dec14f5a97bd );
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_exception_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6282cde0ccc52e504578dec14f5a97bd );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_6282cde0ccc52e504578dec14f5a97bd, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_6282cde0ccc52e504578dec14f5a97bd->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_6282cde0ccc52e504578dec14f5a97bd, exception_lineno );
|
|
}
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto module_exception_exit;
|
|
|
|
frame_no_exception_2:;
|
|
{
|
|
PyObject *tmp_assign_source_36;
|
|
tmp_assign_source_36 = MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_9_decode( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_decode, tmp_assign_source_36 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_37;
|
|
PyObject *tmp_dict_key_3;
|
|
PyObject *tmp_dict_value_3;
|
|
PyObject *tmp_mvar_value_10;
|
|
PyObject *tmp_dict_key_4;
|
|
PyObject *tmp_dict_value_4;
|
|
PyObject *tmp_mvar_value_11;
|
|
tmp_dict_key_3 = const_str_plain_q;
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_encode_q );
|
|
|
|
if (unlikely( tmp_mvar_value_10 == NULL ))
|
|
{
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_encode_q );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_10 );
|
|
tmp_dict_value_3 = tmp_mvar_value_10;
|
|
tmp_assign_source_37 = _PyDict_NewPresized( 2 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_37, tmp_dict_key_3, tmp_dict_value_3 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_4 = const_str_plain_b;
|
|
tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_encode_b );
|
|
|
|
if (unlikely( tmp_mvar_value_11 == NULL ))
|
|
{
|
|
tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_encode_b );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_11 );
|
|
tmp_dict_value_4 = tmp_mvar_value_11;
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_37, tmp_dict_key_4, tmp_dict_value_4 );
|
|
assert( !(tmp_res != 0) );
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__cte_encoders, tmp_assign_source_37 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_38;
|
|
PyObject *tmp_dict_key_5;
|
|
PyObject *tmp_dict_value_5;
|
|
PyObject *tmp_mvar_value_12;
|
|
PyObject *tmp_dict_key_6;
|
|
PyObject *tmp_dict_value_6;
|
|
PyObject *tmp_mvar_value_13;
|
|
tmp_dict_key_5 = const_str_plain_q;
|
|
tmp_mvar_value_12 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_len_q );
|
|
|
|
if (unlikely( tmp_mvar_value_12 == NULL ))
|
|
{
|
|
tmp_mvar_value_12 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_len_q );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_12 );
|
|
tmp_dict_value_5 = tmp_mvar_value_12;
|
|
tmp_assign_source_38 = _PyDict_NewPresized( 2 );
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_38, tmp_dict_key_5, tmp_dict_value_5 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_6 = const_str_plain_b;
|
|
tmp_mvar_value_13 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_len_b );
|
|
|
|
if (unlikely( tmp_mvar_value_13 == NULL ))
|
|
{
|
|
tmp_mvar_value_13 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_len_b );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_13 );
|
|
tmp_dict_value_6 = tmp_mvar_value_13;
|
|
tmp_res = PyDict_SetItem( tmp_assign_source_38, tmp_dict_key_6, tmp_dict_value_6 );
|
|
assert( !(tmp_res != 0) );
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain__cte_encode_length, tmp_assign_source_38 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_39;
|
|
PyObject *tmp_defaults_1;
|
|
tmp_defaults_1 = const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_none_str_empty_tuple;
|
|
Py_INCREF( tmp_defaults_1 );
|
|
tmp_assign_source_39 = MAKE_FUNCTION_future$backports$email$_encoded_words$$$function_10_encode( tmp_defaults_1 );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_encoded_words, (Nuitka_StringObject *)const_str_plain_encode, tmp_assign_source_39 );
|
|
}
|
|
|
|
return MOD_RETURN_VALUE( module_future$backports$email$_encoded_words );
|
|
module_exception_exit:
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
}
|