mirror of
https://github.com/house-of-vanity/fesmoo_perdoliq.git
synced 2025-08-21 16:17:15 +00:00
14803 lines
469 KiB
C
14803 lines
469 KiB
C
/* Generated code for Python source for module 'future.backports.email.quoprimime'
|
|
* 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$quoprimime 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$quoprimime;
|
|
PyDictObject *moduledict_future$backports$email$quoprimime;
|
|
|
|
/* The module constants used, if any. */
|
|
extern PyObject *const_str_plain_metaclass;
|
|
static PyObject *const_str_plain_write_soft_break;
|
|
extern PyObject *const_tuple_str_digest_20861594150da1e43b5ee3f86b9deef6_tuple;
|
|
extern PyObject *const_str_plain_dict;
|
|
extern PyObject *const_str_plain___name__;
|
|
extern PyObject *const_tuple_str_plain___class___tuple;
|
|
extern PyObject *const_str_plain_string;
|
|
extern PyObject *const_str_angle_metaclass;
|
|
extern PyObject *const_tuple_str_plain_c_tuple;
|
|
extern PyObject *const_str_plain_i;
|
|
extern PyObject *const_str_plain_chr;
|
|
extern PyObject *const_str_plain___file__;
|
|
extern PyObject *const_str_plain_group;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_c_str_plain_is_last_char_tuple;
|
|
extern PyObject *const_str_plain_args;
|
|
extern PyObject *const_str_plain_bytes;
|
|
static PyObject *const_str_digest_20fe6e0cd7ea24cf785533bb6d93a2b9;
|
|
extern PyObject *const_str_plain_lstrip;
|
|
extern PyObject *const_str_plain_encode;
|
|
static PyObject *const_str_digest_323603b2946868e6658f977b19642ab5;
|
|
extern PyObject *const_str_plain_division;
|
|
static PyObject *const_str_digest_a43dec1fa9e1ff5b310f9906b26353e0;
|
|
static PyObject *const_tuple_c74bcda3d5d771af846449947fa7735d_tuple;
|
|
extern PyObject *const_int_neg_1;
|
|
extern PyObject *const_tuple_str_plain_s_tuple;
|
|
extern PyObject *const_str_digest_64adfa6a4e86e727753e6356f8f39ba2;
|
|
static PyObject *const_tuple_c88b076ebaeac4eb9f432490b80c074a_tuple;
|
|
extern PyObject *const_str_plain_sub;
|
|
extern PyObject *const_str_plain_None;
|
|
extern PyObject *const_str_chr_61;
|
|
extern PyObject *const_str_plain_charset;
|
|
extern PyObject *const_str_plain_octet;
|
|
extern PyObject *const_str_plain_splitlines;
|
|
static PyObject *const_str_digest_2eb3ca410683bc40f03ff27ab49398eb;
|
|
extern PyObject *const_str_plain_maxlen;
|
|
static PyObject *const_tuple_str_plain_ascii_letters_str_plain_digits_str_plain_hexdigits_tuple;
|
|
static PyObject *const_tuple_82455c797e9391abd142c464089fe604_tuple;
|
|
static PyObject *const_str_digest_2f1364282688adb88f50bb2d65513f87;
|
|
extern PyObject *const_str_plain_join;
|
|
extern PyObject *const_str_plain_body;
|
|
static PyObject *const_str_plain_last_char_index;
|
|
extern PyObject *const_str_plain_super;
|
|
static PyObject *const_str_digest_6a7643291f60c427b90a03402fe63050;
|
|
extern PyObject *const_bytes_digest_a22d7943977b658edfdbd0091147a75b;
|
|
extern PyObject *const_int_pos_16;
|
|
static PyObject *const_tuple_int_pos_256_tuple;
|
|
extern PyObject *const_str_plain___doc__;
|
|
extern PyObject *const_str_plain_re;
|
|
extern PyObject *const_str_plain_absolute_import;
|
|
static PyObject *const_str_plain__QUOPRI_HEADER_MAP;
|
|
extern PyObject *const_int_pos_32;
|
|
extern PyObject *const_str_plain___debug__;
|
|
static PyObject *const_str_plain_body_check;
|
|
extern PyObject *const_str_plain___orig_bases__;
|
|
extern PyObject *const_str_digest_20861594150da1e43b5ee3f86b9deef6;
|
|
extern PyObject *const_str_plain_L;
|
|
static PyObject *const_str_digest_e0b31a325ceba5ff922200190962b441;
|
|
static PyObject *const_str_digest_28d5d6caf3ade3551806e6162dce2560;
|
|
extern PyObject *const_int_pos_76;
|
|
extern PyObject *const_str_plain_quote;
|
|
static PyObject *const_bytes_digest_0d96405ba2c2f75a779903651952d188;
|
|
static PyObject *const_str_digest_d53116ecfe81ceec5c32bcda914791a4;
|
|
extern PyObject *const_tuple_str_plain_ascii_tuple;
|
|
extern PyObject *const_str_plain_s;
|
|
static PyObject *const_str_digest_cb05d835640807b0ec1269e55217fe8b;
|
|
extern PyObject *const_str_angle_genexpr;
|
|
extern PyObject *const_str_plain_str;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_s_str_plain_extra_room_tuple;
|
|
extern PyObject *const_str_plain___qualname__;
|
|
extern PyObject *const_str_plain__max_append;
|
|
static PyObject *const_str_digest_a1b10c38d35696032be5b0331c94b6da;
|
|
static PyObject *const_str_plain_is_last_char;
|
|
extern PyObject *const_str_plain_n;
|
|
static PyObject *const_str_digest_f088e528e9426eea0eb148c0b1db0158;
|
|
extern PyObject *const_str_digest_b9c4baf879ebd882d40843df3a4dead7;
|
|
extern PyObject *const_str_plain_int;
|
|
extern PyObject *const_str_plain_bytearray;
|
|
extern PyObject *const_tuple_str_plain_self_tuple;
|
|
extern PyObject *const_str_plain_eol;
|
|
static PyObject *const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_octet_tuple;
|
|
static PyObject *const_str_digest_f59055219e2af9e8d5d2dd579827ac07;
|
|
extern PyObject *const_str_plain_line;
|
|
extern PyObject *const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_c_tuple;
|
|
static PyObject *const_str_digest_dff831e10401f1caaccb2c69014e415e;
|
|
extern PyObject *const_str_plain_digits;
|
|
extern PyObject *const_str_plain_header_encode;
|
|
extern PyObject *const_tuple_empty;
|
|
extern PyObject *const_str_plain_header_bytes;
|
|
extern PyObject *const_str_plain_enumerate;
|
|
extern PyObject *const_str_space;
|
|
extern PyObject *const_str_plain_ascii_letters;
|
|
static PyObject *const_str_digest_29f4ad0ee2975163dc869bb6acbba596;
|
|
extern PyObject *const_str_plain_append;
|
|
extern PyObject *const_str_plain_header_decode;
|
|
static PyObject *const_str_plain_last_has_eol;
|
|
static PyObject *const_str_plain_line_no;
|
|
static PyObject *const_str_plain__unquote_match;
|
|
extern PyObject *const_str_digest_c3c96c8ed3ec2ec3a4d3f0dfaaa3ddf2;
|
|
static PyObject *const_str_digest_177bd22a119193cee93c9031c6ed6e79;
|
|
extern PyObject *const_str_plain_maxlinelen;
|
|
static PyObject *const_str_plain_encoded_body;
|
|
static PyObject *const_str_digest_a2037b1c58e45014a01e0b0ce439913d;
|
|
extern PyObject *const_str_plain_endswith;
|
|
static PyObject *const_str_digest_a4729b7fbb91395998681b1a8bbcfddc;
|
|
extern PyObject *const_str_plain_match;
|
|
extern PyObject *const_tuple_int_0_tuple;
|
|
static PyObject *const_str_digest_5671e4456925bbf527b65fa910c264a4;
|
|
extern PyObject *const_str_plain_decode;
|
|
extern PyObject *const_str_plain_False;
|
|
extern PyObject *const_str_plain_hexdigits;
|
|
extern PyObject *const_tuple_str_empty_tuple;
|
|
extern PyObject *const_str_plain___getitem__;
|
|
extern PyObject *const_str_plain___all__;
|
|
static PyObject *const_str_plain_room;
|
|
extern PyObject *const_int_0;
|
|
extern PyObject *const_str_plain_getvalue;
|
|
static PyObject *const_str_plain__body_accumulator;
|
|
static PyObject *const_str_digest_116e37073b6cba03ab138337241d5f37;
|
|
static PyObject *const_str_plain_write_char;
|
|
static PyObject *const_str_digest_430b5d9ad8c83bbf85cba59f2a6bd66b;
|
|
extern PyObject *const_str_plain_extra;
|
|
static PyObject *const_tuple_bytes_digest_0d96405ba2c2f75a779903651952d188_tuple;
|
|
static PyObject *const_list_dfa99e37b93e3293e29a26a09273d1c4_list;
|
|
extern PyObject *const_str_plain_newline;
|
|
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
static PyObject *const_str_digest_9f4a7b2558989dce15f051ff28e4cd78;
|
|
extern PyObject *const_str_plain_c;
|
|
static PyObject *const_tuple_22c83f835f9af782b3ab0c30be0d77c2_tuple;
|
|
extern PyObject *const_tuple_str_chr_61_tuple;
|
|
static PyObject *const_str_plain__QUOPRI_BODY_MAP;
|
|
static PyObject *const_tuple_str_plain_L_str_plain_s_str_plain_maxlen_str_plain_extra_tuple;
|
|
extern PyObject *const_int_pos_4;
|
|
extern PyObject *const_str_plain_EMPTYSTRING;
|
|
static PyObject *const_str_digest_ee095db4840013cf73bb5e08d8b6f644;
|
|
static PyObject *const_dict_5eeb183dbd12cc3193c6730af258b551;
|
|
static PyObject *const_tuple_str_plain___str_space_tuple;
|
|
extern PyObject *const_str_plain_type;
|
|
static PyObject *const_str_plain_header_check;
|
|
static PyObject *const_str_digest_36c0aa3b991b9e291e1ef711dd005176;
|
|
extern PyObject *const_str_plain_unquote;
|
|
extern PyObject *const_str_plain_ASCII;
|
|
extern PyObject *const_str_plain_header_length;
|
|
extern PyObject *const_str_plain___cached__;
|
|
extern PyObject *const_str_plain___class__;
|
|
extern PyObject *const_str_plain_encoded;
|
|
extern PyObject *const_str_plain__;
|
|
extern PyObject *const_str_plain_CRLF;
|
|
static PyObject *const_str_digest_661dbe79fffec5aed822bd3047f2fa0d;
|
|
extern PyObject *const_str_plain___module__;
|
|
extern PyObject *const_str_plain_decoded;
|
|
static PyObject *const_str_plain_write_str;
|
|
extern PyObject *const_str_plain_io;
|
|
extern PyObject *const_str_plain_unicode_literals;
|
|
static PyObject *const_str_plain_write_wrapped;
|
|
extern PyObject *const_str_plain_StringIO;
|
|
static PyObject *const_tuple_str_plain_octet_tuple;
|
|
static PyObject *const_str_digest_7b9303efe12b5677ec066748e14c7b15;
|
|
extern PyObject *const_str_plain_kw;
|
|
extern PyObject *const_str_plain_range;
|
|
extern PyObject *const_slice_none_int_neg_1_none;
|
|
extern PyObject *const_int_pos_1;
|
|
extern PyObject *const_str_plain_replace;
|
|
static PyObject *const_str_plain_last_line_no;
|
|
static PyObject *const_str_plain_extra_room;
|
|
extern PyObject *const_int_pos_256;
|
|
static PyObject *const_tuple_7341305a4d2d90ce7408077c6837a7f9_tuple;
|
|
extern PyObject *const_str_plain_copy;
|
|
static PyObject *const_tuple_str_plain_match_str_plain_s_tuple;
|
|
extern PyObject *const_str_digest_7ca129d2d421fe965ad48cbb290b579b;
|
|
extern PyObject *const_str_newline;
|
|
extern PyObject *const_str_plain___init__;
|
|
extern PyObject *const_int_pos_3;
|
|
extern PyObject *const_str_plain___prepare__;
|
|
extern PyObject *const_str_plain_self;
|
|
extern PyObject *const_str_plain_lines;
|
|
extern PyObject *const_str_plain_rstrip;
|
|
extern PyObject *const_str_plain_decodestring;
|
|
extern PyObject *const_slice_int_pos_1_int_pos_3_none;
|
|
extern PyObject *const_str_plain_write;
|
|
static PyObject *const_str_plain_body_length;
|
|
extern PyObject *const_str_plain_body_encode;
|
|
extern PyObject *const_str_plain_NL;
|
|
static PyObject *const_tuple_str_plain_bytearray_tuple;
|
|
extern PyObject *const_int_pos_2;
|
|
extern PyObject *const_str_digest_ac02ab0238280e341b2aff0eed15b128;
|
|
extern PyObject *const_str_plain_ascii;
|
|
static PyObject *const_str_digest_6e77bb6529671ec7655241cbf74b530a;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_s_tuple;
|
|
static PyObject *const_str_digest_7db391ecc19d907b8bcd538283da2fbf;
|
|
extern PyObject *const_str_empty;
|
|
extern PyObject *const_str_plain_body_decode;
|
|
static PyObject *const_str_digest_fb66c388b9a87faeedeaf09373f7bd19;
|
|
static PyObject *module_filename_obj;
|
|
|
|
static bool constants_created = false;
|
|
|
|
static void createModuleConstants( void )
|
|
{
|
|
const_str_plain_write_soft_break = UNSTREAM_STRING( &constant_bin[ 612809 ], 16, 1 );
|
|
const_tuple_str_plain_self_str_plain_c_str_plain_is_last_char_tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_c_str_plain_is_last_char_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_c_str_plain_is_last_char_tuple, 1, const_str_plain_c ); Py_INCREF( const_str_plain_c );
|
|
const_str_plain_is_last_char = UNSTREAM_STRING( &constant_bin[ 612825 ], 12, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_c_str_plain_is_last_char_tuple, 2, const_str_plain_is_last_char ); Py_INCREF( const_str_plain_is_last_char );
|
|
const_str_digest_20fe6e0cd7ea24cf785533bb6d93a2b9 = UNSTREAM_STRING( &constant_bin[ 612837 ], 25, 0 );
|
|
const_str_digest_323603b2946868e6658f977b19642ab5 = UNSTREAM_STRING( &constant_bin[ 612862 ], 26, 0 );
|
|
const_str_digest_a43dec1fa9e1ff5b310f9906b26353e0 = UNSTREAM_STRING( &constant_bin[ 612888 ], 28, 0 );
|
|
const_tuple_c74bcda3d5d771af846449947fa7735d_tuple = PyTuple_New( 12 );
|
|
PyTuple_SET_ITEM( const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 0, const_str_plain_body ); Py_INCREF( const_str_plain_body );
|
|
PyTuple_SET_ITEM( const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 1, const_str_plain_maxlinelen ); Py_INCREF( const_str_plain_maxlinelen );
|
|
PyTuple_SET_ITEM( const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 2, const_str_plain_eol ); Py_INCREF( const_str_plain_eol );
|
|
const_str_plain_last_has_eol = UNSTREAM_STRING( &constant_bin[ 612916 ], 12, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 3, const_str_plain_last_has_eol ); Py_INCREF( const_str_plain_last_has_eol );
|
|
const_str_plain_encoded_body = UNSTREAM_STRING( &constant_bin[ 612928 ], 12, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 4, const_str_plain_encoded_body ); Py_INCREF( const_str_plain_encoded_body );
|
|
PyTuple_SET_ITEM( const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 5, const_str_plain_lines ); Py_INCREF( const_str_plain_lines );
|
|
const_str_plain_last_line_no = UNSTREAM_STRING( &constant_bin[ 612940 ], 12, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 6, const_str_plain_last_line_no ); Py_INCREF( const_str_plain_last_line_no );
|
|
const_str_plain_line_no = UNSTREAM_STRING( &constant_bin[ 612945 ], 7, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 7, const_str_plain_line_no ); Py_INCREF( const_str_plain_line_no );
|
|
PyTuple_SET_ITEM( const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 8, const_str_plain_line ); Py_INCREF( const_str_plain_line );
|
|
const_str_plain_last_char_index = UNSTREAM_STRING( &constant_bin[ 612952 ], 15, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 9, const_str_plain_last_char_index ); Py_INCREF( const_str_plain_last_char_index );
|
|
PyTuple_SET_ITEM( const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 10, const_str_plain_i ); Py_INCREF( const_str_plain_i );
|
|
PyTuple_SET_ITEM( const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 11, const_str_plain_c ); Py_INCREF( const_str_plain_c );
|
|
const_tuple_c88b076ebaeac4eb9f432490b80c074a_tuple = PyTuple_New( 7 );
|
|
PyTuple_SET_ITEM( const_tuple_c88b076ebaeac4eb9f432490b80c074a_tuple, 0, const_str_plain_encoded ); Py_INCREF( const_str_plain_encoded );
|
|
PyTuple_SET_ITEM( const_tuple_c88b076ebaeac4eb9f432490b80c074a_tuple, 1, const_str_plain_eol ); Py_INCREF( const_str_plain_eol );
|
|
PyTuple_SET_ITEM( const_tuple_c88b076ebaeac4eb9f432490b80c074a_tuple, 2, const_str_plain_decoded ); Py_INCREF( const_str_plain_decoded );
|
|
PyTuple_SET_ITEM( const_tuple_c88b076ebaeac4eb9f432490b80c074a_tuple, 3, const_str_plain_line ); Py_INCREF( const_str_plain_line );
|
|
PyTuple_SET_ITEM( const_tuple_c88b076ebaeac4eb9f432490b80c074a_tuple, 4, const_str_plain_i ); Py_INCREF( const_str_plain_i );
|
|
PyTuple_SET_ITEM( const_tuple_c88b076ebaeac4eb9f432490b80c074a_tuple, 5, const_str_plain_n ); Py_INCREF( const_str_plain_n );
|
|
PyTuple_SET_ITEM( const_tuple_c88b076ebaeac4eb9f432490b80c074a_tuple, 6, const_str_plain_c ); Py_INCREF( const_str_plain_c );
|
|
const_str_digest_2eb3ca410683bc40f03ff27ab49398eb = UNSTREAM_STRING( &constant_bin[ 612967 ], 31, 0 );
|
|
const_tuple_str_plain_ascii_letters_str_plain_digits_str_plain_hexdigits_tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_ascii_letters_str_plain_digits_str_plain_hexdigits_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_str_plain_hexdigits_tuple, 1, const_str_plain_digits ); Py_INCREF( const_str_plain_digits );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_ascii_letters_str_plain_digits_str_plain_hexdigits_tuple, 2, const_str_plain_hexdigits ); Py_INCREF( const_str_plain_hexdigits );
|
|
const_tuple_82455c797e9391abd142c464089fe604_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_82455c797e9391abd142c464089fe604_tuple, 0, const_str_plain_header_bytes ); Py_INCREF( const_str_plain_header_bytes );
|
|
PyTuple_SET_ITEM( const_tuple_82455c797e9391abd142c464089fe604_tuple, 1, const_str_plain_charset ); Py_INCREF( const_str_plain_charset );
|
|
PyTuple_SET_ITEM( const_tuple_82455c797e9391abd142c464089fe604_tuple, 2, const_str_plain_encoded ); Py_INCREF( const_str_plain_encoded );
|
|
PyTuple_SET_ITEM( const_tuple_82455c797e9391abd142c464089fe604_tuple, 3, const_str_plain_octet ); Py_INCREF( const_str_plain_octet );
|
|
const_str_digest_2f1364282688adb88f50bb2d65513f87 = UNSTREAM_STRING( &constant_bin[ 612998 ], 741, 0 );
|
|
const_str_digest_6a7643291f60c427b90a03402fe63050 = UNSTREAM_STRING( &constant_bin[ 613739 ], 46, 0 );
|
|
const_tuple_int_pos_256_tuple = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( const_tuple_int_pos_256_tuple, 0, const_int_pos_256 ); Py_INCREF( const_int_pos_256 );
|
|
const_str_plain__QUOPRI_HEADER_MAP = UNSTREAM_STRING( &constant_bin[ 613785 ], 18, 1 );
|
|
const_str_plain_body_check = UNSTREAM_STRING( &constant_bin[ 613803 ], 10, 1 );
|
|
const_str_digest_e0b31a325ceba5ff922200190962b441 = UNSTREAM_STRING( &constant_bin[ 613813 ], 31, 0 );
|
|
const_str_digest_28d5d6caf3ade3551806e6162dce2560 = UNSTREAM_STRING( &constant_bin[ 613844 ], 437, 0 );
|
|
const_bytes_digest_0d96405ba2c2f75a779903651952d188 = UNSTREAM_BYTES( &constant_bin[ 614281 ], 95 );
|
|
const_str_digest_d53116ecfe81ceec5c32bcda914791a4 = UNSTREAM_STRING( &constant_bin[ 614376 ], 273, 0 );
|
|
const_str_digest_cb05d835640807b0ec1269e55217fe8b = UNSTREAM_STRING( &constant_bin[ 614649 ], 5, 0 );
|
|
const_tuple_str_plain_self_str_plain_s_str_plain_extra_room_tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_s_str_plain_extra_room_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_s_str_plain_extra_room_tuple, 1, const_str_plain_s ); Py_INCREF( const_str_plain_s );
|
|
const_str_plain_extra_room = UNSTREAM_STRING( &constant_bin[ 614654 ], 10, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_s_str_plain_extra_room_tuple, 2, const_str_plain_extra_room ); Py_INCREF( const_str_plain_extra_room );
|
|
const_str_digest_a1b10c38d35696032be5b0331c94b6da = UNSTREAM_STRING( &constant_bin[ 614664 ], 60, 0 );
|
|
const_str_digest_f088e528e9426eea0eb148c0b1db0158 = UNSTREAM_STRING( &constant_bin[ 614724 ], 62, 0 );
|
|
const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_octet_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_octet_tuple, 0, const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); Py_INCREF( const_str_digest_b9c4baf879ebd882d40843df3a4dead7 );
|
|
PyTuple_SET_ITEM( const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_octet_tuple, 1, const_str_plain_octet ); Py_INCREF( const_str_plain_octet );
|
|
const_str_digest_f59055219e2af9e8d5d2dd579827ac07 = UNSTREAM_STRING( &constant_bin[ 614786 ], 1094, 0 );
|
|
const_str_digest_dff831e10401f1caaccb2c69014e415e = UNSTREAM_STRING( &constant_bin[ 615880 ], 11, 0 );
|
|
const_str_digest_29f4ad0ee2975163dc869bb6acbba596 = UNSTREAM_STRING( &constant_bin[ 615891 ], 67, 0 );
|
|
const_str_plain__unquote_match = UNSTREAM_STRING( &constant_bin[ 615958 ], 14, 1 );
|
|
const_str_digest_177bd22a119193cee93c9031c6ed6e79 = UNSTREAM_STRING( &constant_bin[ 615972 ], 30, 0 );
|
|
const_str_digest_a2037b1c58e45014a01e0b0ce439913d = UNSTREAM_STRING( &constant_bin[ 616002 ], 42, 0 );
|
|
const_str_digest_a4729b7fbb91395998681b1a8bbcfddc = UNSTREAM_STRING( &constant_bin[ 616044 ], 37, 0 );
|
|
const_str_digest_5671e4456925bbf527b65fa910c264a4 = UNSTREAM_STRING( &constant_bin[ 616081 ], 95, 0 );
|
|
const_str_plain_room = UNSTREAM_STRING( &constant_bin[ 613615 ], 4, 1 );
|
|
const_str_plain__body_accumulator = UNSTREAM_STRING( &constant_bin[ 612837 ], 17, 1 );
|
|
const_str_digest_116e37073b6cba03ab138337241d5f37 = UNSTREAM_STRING( &constant_bin[ 616176 ], 15, 0 );
|
|
const_str_plain_write_char = UNSTREAM_STRING( &constant_bin[ 612906 ], 10, 1 );
|
|
const_str_digest_430b5d9ad8c83bbf85cba59f2a6bd66b = UNSTREAM_STRING( &constant_bin[ 616191 ], 34, 0 );
|
|
const_tuple_bytes_digest_0d96405ba2c2f75a779903651952d188_tuple = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( const_tuple_bytes_digest_0d96405ba2c2f75a779903651952d188_tuple, 0, const_bytes_digest_0d96405ba2c2f75a779903651952d188 ); Py_INCREF( const_bytes_digest_0d96405ba2c2f75a779903651952d188 );
|
|
const_list_dfa99e37b93e3293e29a26a09273d1c4_list = PyList_New( 10 );
|
|
PyList_SET_ITEM( const_list_dfa99e37b93e3293e29a26a09273d1c4_list, 0, const_str_plain_body_decode ); Py_INCREF( const_str_plain_body_decode );
|
|
PyList_SET_ITEM( const_list_dfa99e37b93e3293e29a26a09273d1c4_list, 1, const_str_plain_body_encode ); Py_INCREF( const_str_plain_body_encode );
|
|
const_str_plain_body_length = UNSTREAM_STRING( &constant_bin[ 615972 ], 11, 1 );
|
|
PyList_SET_ITEM( const_list_dfa99e37b93e3293e29a26a09273d1c4_list, 2, const_str_plain_body_length ); Py_INCREF( const_str_plain_body_length );
|
|
PyList_SET_ITEM( const_list_dfa99e37b93e3293e29a26a09273d1c4_list, 3, const_str_plain_decode ); Py_INCREF( const_str_plain_decode );
|
|
PyList_SET_ITEM( const_list_dfa99e37b93e3293e29a26a09273d1c4_list, 4, const_str_plain_decodestring ); Py_INCREF( const_str_plain_decodestring );
|
|
PyList_SET_ITEM( const_list_dfa99e37b93e3293e29a26a09273d1c4_list, 5, const_str_plain_header_decode ); Py_INCREF( const_str_plain_header_decode );
|
|
PyList_SET_ITEM( const_list_dfa99e37b93e3293e29a26a09273d1c4_list, 6, const_str_plain_header_encode ); Py_INCREF( const_str_plain_header_encode );
|
|
PyList_SET_ITEM( const_list_dfa99e37b93e3293e29a26a09273d1c4_list, 7, const_str_plain_header_length ); Py_INCREF( const_str_plain_header_length );
|
|
PyList_SET_ITEM( const_list_dfa99e37b93e3293e29a26a09273d1c4_list, 8, const_str_plain_quote ); Py_INCREF( const_str_plain_quote );
|
|
PyList_SET_ITEM( const_list_dfa99e37b93e3293e29a26a09273d1c4_list, 9, const_str_plain_unquote ); Py_INCREF( const_str_plain_unquote );
|
|
const_str_digest_9f4a7b2558989dce15f051ff28e4cd78 = UNSTREAM_STRING( &constant_bin[ 616225 ], 32, 0 );
|
|
const_tuple_22c83f835f9af782b3ab0c30be0d77c2_tuple = PyTuple_New( 6 );
|
|
PyTuple_SET_ITEM( const_tuple_22c83f835f9af782b3ab0c30be0d77c2_tuple, 0, const_str_plain_bytes ); Py_INCREF( const_str_plain_bytes );
|
|
PyTuple_SET_ITEM( const_tuple_22c83f835f9af782b3ab0c30be0d77c2_tuple, 1, const_str_plain_chr ); Py_INCREF( const_str_plain_chr );
|
|
PyTuple_SET_ITEM( const_tuple_22c83f835f9af782b3ab0c30be0d77c2_tuple, 2, const_str_plain_dict ); Py_INCREF( const_str_plain_dict );
|
|
PyTuple_SET_ITEM( const_tuple_22c83f835f9af782b3ab0c30be0d77c2_tuple, 3, const_str_plain_int ); Py_INCREF( const_str_plain_int );
|
|
PyTuple_SET_ITEM( const_tuple_22c83f835f9af782b3ab0c30be0d77c2_tuple, 4, const_str_plain_range ); Py_INCREF( const_str_plain_range );
|
|
PyTuple_SET_ITEM( const_tuple_22c83f835f9af782b3ab0c30be0d77c2_tuple, 5, const_str_plain_super ); Py_INCREF( const_str_plain_super );
|
|
const_str_plain__QUOPRI_BODY_MAP = UNSTREAM_STRING( &constant_bin[ 616257 ], 16, 1 );
|
|
const_tuple_str_plain_L_str_plain_s_str_plain_maxlen_str_plain_extra_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_L_str_plain_s_str_plain_maxlen_str_plain_extra_tuple, 0, const_str_plain_L ); Py_INCREF( const_str_plain_L );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_L_str_plain_s_str_plain_maxlen_str_plain_extra_tuple, 1, const_str_plain_s ); Py_INCREF( const_str_plain_s );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_L_str_plain_s_str_plain_maxlen_str_plain_extra_tuple, 2, const_str_plain_maxlen ); Py_INCREF( const_str_plain_maxlen );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_L_str_plain_s_str_plain_maxlen_str_plain_extra_tuple, 3, const_str_plain_extra ); Py_INCREF( const_str_plain_extra );
|
|
const_str_digest_ee095db4840013cf73bb5e08d8b6f644 = UNSTREAM_STRING( &constant_bin[ 616273 ], 27, 0 );
|
|
const_dict_5eeb183dbd12cc3193c6730af258b551 = _PyDict_NewPresized( 1 );
|
|
PyDict_SetItem( const_dict_5eeb183dbd12cc3193c6730af258b551, const_str_plain_extra_room, const_int_pos_1 );
|
|
assert( PyDict_Size( const_dict_5eeb183dbd12cc3193c6730af258b551 ) == 1 );
|
|
const_tuple_str_plain___str_space_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain___str_space_tuple, 0, const_str_plain__ ); Py_INCREF( const_str_plain__ );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain___str_space_tuple, 1, const_str_space ); Py_INCREF( const_str_space );
|
|
const_str_plain_header_check = UNSTREAM_STRING( &constant_bin[ 616300 ], 12, 1 );
|
|
const_str_digest_36c0aa3b991b9e291e1ef711dd005176 = UNSTREAM_STRING( &constant_bin[ 616312 ], 314, 0 );
|
|
const_str_digest_661dbe79fffec5aed822bd3047f2fa0d = UNSTREAM_STRING( &constant_bin[ 616626 ], 69, 0 );
|
|
const_str_plain_write_str = UNSTREAM_STRING( &constant_bin[ 616291 ], 9, 1 );
|
|
const_str_plain_write_wrapped = UNSTREAM_STRING( &constant_bin[ 613831 ], 13, 1 );
|
|
const_tuple_str_plain_octet_tuple = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_octet_tuple, 0, const_str_plain_octet ); Py_INCREF( const_str_plain_octet );
|
|
const_str_digest_7b9303efe12b5677ec066748e14c7b15 = UNSTREAM_STRING( &constant_bin[ 616695 ], 42, 0 );
|
|
const_tuple_7341305a4d2d90ce7408077c6837a7f9_tuple = PyTuple_New( 6 );
|
|
PyTuple_SET_ITEM( const_tuple_7341305a4d2d90ce7408077c6837a7f9_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_7341305a4d2d90ce7408077c6837a7f9_tuple, 1, const_str_plain_maxlinelen ); Py_INCREF( const_str_plain_maxlinelen );
|
|
PyTuple_SET_ITEM( const_tuple_7341305a4d2d90ce7408077c6837a7f9_tuple, 2, const_str_plain_eol ); Py_INCREF( const_str_plain_eol );
|
|
PyTuple_SET_ITEM( const_tuple_7341305a4d2d90ce7408077c6837a7f9_tuple, 3, const_str_plain_args ); Py_INCREF( const_str_plain_args );
|
|
PyTuple_SET_ITEM( const_tuple_7341305a4d2d90ce7408077c6837a7f9_tuple, 4, const_str_plain_kw ); Py_INCREF( const_str_plain_kw );
|
|
PyTuple_SET_ITEM( const_tuple_7341305a4d2d90ce7408077c6837a7f9_tuple, 5, const_str_plain___class__ ); Py_INCREF( const_str_plain___class__ );
|
|
const_tuple_str_plain_match_str_plain_s_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_match_str_plain_s_tuple, 0, const_str_plain_match ); Py_INCREF( const_str_plain_match );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_match_str_plain_s_tuple, 1, const_str_plain_s ); Py_INCREF( const_str_plain_s );
|
|
const_tuple_str_plain_bytearray_tuple = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_bytearray_tuple, 0, const_str_plain_bytearray ); Py_INCREF( const_str_plain_bytearray );
|
|
const_str_digest_6e77bb6529671ec7655241cbf74b530a = UNSTREAM_STRING( &constant_bin[ 616737 ], 68, 0 );
|
|
const_str_digest_7db391ecc19d907b8bcd538283da2fbf = UNSTREAM_STRING( &constant_bin[ 616805 ], 222, 0 );
|
|
const_str_digest_fb66c388b9a87faeedeaf09373f7bd19 = UNSTREAM_STRING( &constant_bin[ 617027 ], 29, 0 );
|
|
|
|
constants_created = true;
|
|
}
|
|
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
void checkModuleConstants_future$backports$email$quoprimime( void )
|
|
{
|
|
// The module may not have been used at all.
|
|
if (constants_created == false) return;
|
|
|
|
|
|
}
|
|
#endif
|
|
|
|
// The module code objects.
|
|
static PyCodeObject *codeobj_dd32ddce8f258a8ccda55ae7810568f3;
|
|
static PyCodeObject *codeobj_416c48ef05bb54343da44652c6980c77;
|
|
static PyCodeObject *codeobj_f255c689dc38afa20d601c4cb55a9da9;
|
|
static PyCodeObject *codeobj_6c8f4dfb3747861a481c114fb16af3e3;
|
|
static PyCodeObject *codeobj_c2fedcc21238ee40a0f65f6b232379ef;
|
|
static PyCodeObject *codeobj_2b85c9740835b95d42c2151a5b4259d5;
|
|
static PyCodeObject *codeobj_88120c6dc562cc66a5f62b042baa6aaf;
|
|
static PyCodeObject *codeobj_a808929841429aa9adc9b07146a58aa3;
|
|
static PyCodeObject *codeobj_d5a4c4dc4f047e3f02cecbde13797c2e;
|
|
static PyCodeObject *codeobj_1053d8d9faf55a87c4220ad0edafa60f;
|
|
static PyCodeObject *codeobj_37afb809332ca49c588d199e80d38935;
|
|
static PyCodeObject *codeobj_c0e2fb24435bff7f5f09cc0de8026687;
|
|
static PyCodeObject *codeobj_88cd41f5c51cf96b08dfeb7e21f6bb32;
|
|
static PyCodeObject *codeobj_27bd6f379e5672254eac2e0a5258494e;
|
|
static PyCodeObject *codeobj_ac5f81e3ff1f10dabe920586919cfe4f;
|
|
static PyCodeObject *codeobj_05d577e718c2984eb2b3e4c3c70af8c0;
|
|
static PyCodeObject *codeobj_84afe349ac591ae5169e2bec369377f4;
|
|
static PyCodeObject *codeobj_7af14b7799bf6c0932abcc6dce94132c;
|
|
static PyCodeObject *codeobj_15443091d26328c3eacabf9f0ccf7c68;
|
|
static PyCodeObject *codeobj_9da55219f47ef6a1ca3e7e445b2c3ed9;
|
|
static PyCodeObject *codeobj_e6ae1334a3fe375d4e16aa5669cef778;
|
|
static PyCodeObject *codeobj_4cb7d376a1f806c6533ffaee0aa05191;
|
|
static PyCodeObject *codeobj_10220d86d715830588b8ed67402f3a2e;
|
|
|
|
static void createModuleCodeObjects(void)
|
|
{
|
|
module_filename_obj = const_str_digest_661dbe79fffec5aed822bd3047f2fa0d;
|
|
codeobj_dd32ddce8f258a8ccda55ae7810568f3 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 60, const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_c_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_416c48ef05bb54343da44652c6980c77 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 98, const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_octet_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_f255c689dc38afa20d601c4cb55a9da9 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 108, const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_octet_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_6c8f4dfb3747861a481c114fb16af3e3 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_7b9303efe12b5677ec066748e14c7b15, 1, const_tuple_empty, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_c2fedcc21238ee40a0f65f6b232379ef = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 157, const_tuple_7341305a4d2d90ce7408077c6837a7f9_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_2b85c9740835b95d42c2151a5b4259d5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__body_accumulator, 155, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_88120c6dc562cc66a5f62b042baa6aaf = MAKE_CODEOBJ( module_filename_obj, const_str_plain__max_append, 111, const_tuple_str_plain_L_str_plain_s_str_plain_maxlen_str_plain_extra_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_a808929841429aa9adc9b07146a58aa3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__unquote_match, 311, const_tuple_str_plain_match_str_plain_s_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_d5a4c4dc4f047e3f02cecbde13797c2e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_body_check, 83, const_tuple_str_plain_octet_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_1053d8d9faf55a87c4220ad0edafa60f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_body_encode, 209, const_tuple_c74bcda3d5d771af846449947fa7735d_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_37afb809332ca49c588d199e80d38935 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_body_length, 101, const_tuple_str_plain_bytearray_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_c0e2fb24435bff7f5f09cc0de8026687 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_decode, 258, const_tuple_c88b076ebaeac4eb9f432490b80c074a_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_88cd41f5c51cf96b08dfeb7e21f6bb32 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_check, 78, const_tuple_str_plain_octet_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_27bd6f379e5672254eac2e0a5258494e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_decode, 318, const_tuple_str_plain_s_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_ac5f81e3ff1f10dabe920586919cfe4f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_encode, 132, const_tuple_82455c797e9391abd142c464089fe604_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_05d577e718c2984eb2b3e4c3c70af8c0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_length, 88, const_tuple_str_plain_bytearray_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_84afe349ac591ae5169e2bec369377f4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_newline, 167, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_7af14b7799bf6c0932abcc6dce94132c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_quote, 127, const_tuple_str_plain_c_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_15443091d26328c3eacabf9f0ccf7c68 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_unquote, 122, const_tuple_str_plain_s_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_9da55219f47ef6a1ca3e7e445b2c3ed9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_write_char, 183, const_tuple_str_plain_self_str_plain_c_str_plain_is_last_char_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_e6ae1334a3fe375d4e16aa5669cef778 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_write_soft_break, 172, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_4cb7d376a1f806c6533ffaee0aa05191 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_write_str, 162, const_tuple_str_plain_self_str_plain_s_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_10220d86d715830588b8ed67402f3a2e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_write_wrapped, 177, const_tuple_str_plain_self_str_plain_s_str_plain_extra_room_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
}
|
|
|
|
// The module function declarations.
|
|
static PyObject *future$backports$email$quoprimime$$$genexpr_1_genexpr_maker( void );
|
|
|
|
|
|
static PyObject *future$backports$email$quoprimime$$$function_3_header_length$$$genexpr_1_genexpr_maker( void );
|
|
|
|
|
|
static PyObject *future$backports$email$quoprimime$$$function_4_body_length$$$genexpr_1_genexpr_maker( void );
|
|
|
|
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars );
|
|
|
|
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( PyObject **python_pars );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_10_write_str( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_11_newline( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_12_write_soft_break( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_13_write_wrapped( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_14_write_char( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_15_body_encode( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_16_decode( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_17__unquote_match( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_18_header_decode( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_1_header_check( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_2_body_check( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_3_header_length( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_4_body_length( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_5__max_append( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_6_unquote( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_7_quote( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_8_header_encode( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_9___init__( );
|
|
|
|
|
|
// The module function definitions.
|
|
|
|
struct future$backports$email$quoprimime$$$genexpr_1_genexpr_locals {
|
|
PyObject *var_c;
|
|
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$quoprimime$$$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$quoprimime$$$genexpr_1_genexpr_locals *generator_heap = (struct future$backports$email$quoprimime$$$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_c = 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_dd32ddce8f258a8ccda55ae7810568f3, module_future$backports$email$quoprimime, 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 = 60;
|
|
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_c;
|
|
generator_heap->var_c = tmp_assign_source_2;
|
|
Py_INCREF( generator_heap->var_c );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_expression_name_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
CHECK_OBJECT( generator_heap->var_c );
|
|
tmp_tuple_element_1 = generator_heap->var_c;
|
|
tmp_expression_name_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_expression_name_1, 0, tmp_tuple_element_1 );
|
|
tmp_left_name_1 = const_str_digest_cb05d835640807b0ec1269e55217fe8b;
|
|
CHECK_OBJECT( generator_heap->var_c );
|
|
tmp_right_name_1 = generator_heap->var_c;
|
|
tmp_tuple_element_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
Py_DECREF( tmp_expression_name_1 );
|
|
|
|
generator_heap->exception_lineno = 60;
|
|
generator_heap->type_description_1 = "No";
|
|
goto try_except_handler_2;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_expression_name_1, 1, tmp_tuple_element_1 );
|
|
Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), &tmp_left_name_1, sizeof(PyObject *), &tmp_right_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_tuple_element_1, sizeof(PyObject *), &tmp_left_name_1, sizeof(PyObject *), &tmp_right_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 = 60;
|
|
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 = 60;
|
|
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_c
|
|
);
|
|
|
|
|
|
// 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_c );
|
|
generator_heap->var_c = 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_c );
|
|
generator_heap->var_c = 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$quoprimime$$$genexpr_1_genexpr_maker( void )
|
|
{
|
|
return Nuitka_Generator_New(
|
|
future$backports$email$quoprimime$$$genexpr_1_genexpr_context,
|
|
module_future$backports$email$quoprimime,
|
|
const_str_angle_genexpr,
|
|
#if PYTHON_VERSION >= 350
|
|
NULL,
|
|
#endif
|
|
codeobj_dd32ddce8f258a8ccda55ae7810568f3,
|
|
1,
|
|
sizeof(struct future$backports$email$quoprimime$$$genexpr_1_genexpr_locals)
|
|
);
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$quoprimime$$$function_1_header_check( 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_octet = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_88cd41f5c51cf96b08dfeb7e21f6bb32;
|
|
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_88cd41f5c51cf96b08dfeb7e21f6bb32 = 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_88cd41f5c51cf96b08dfeb7e21f6bb32, codeobj_88cd41f5c51cf96b08dfeb7e21f6bb32, module_future$backports$email$quoprimime, sizeof(void *) );
|
|
frame_88cd41f5c51cf96b08dfeb7e21f6bb32 = cache_frame_88cd41f5c51cf96b08dfeb7e21f6bb32;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_88cd41f5c51cf96b08dfeb7e21f6bb32 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_88cd41f5c51cf96b08dfeb7e21f6bb32 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_subscript_name_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (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 = 80;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_octet );
|
|
tmp_args_element_name_1 = par_octet;
|
|
frame_88cd41f5c51cf96b08dfeb7e21f6bb32->m_frame.f_lineno = 80;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_compexpr_left_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_MAP );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_MAP );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_QUOPRI_HEADER_MAP" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 80;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = tmp_mvar_value_2;
|
|
if ( par_octet == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "octet" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 80;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscript_name_1 = par_octet;
|
|
tmp_compexpr_right_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_compexpr_right_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
|
|
exception_lineno = 80;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = RICH_COMPARE_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
Py_DECREF( tmp_compexpr_right_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_88cd41f5c51cf96b08dfeb7e21f6bb32 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_88cd41f5c51cf96b08dfeb7e21f6bb32 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_88cd41f5c51cf96b08dfeb7e21f6bb32 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_88cd41f5c51cf96b08dfeb7e21f6bb32, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_88cd41f5c51cf96b08dfeb7e21f6bb32->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_88cd41f5c51cf96b08dfeb7e21f6bb32, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_88cd41f5c51cf96b08dfeb7e21f6bb32,
|
|
type_description_1,
|
|
par_octet
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_88cd41f5c51cf96b08dfeb7e21f6bb32 == cache_frame_88cd41f5c51cf96b08dfeb7e21f6bb32 )
|
|
{
|
|
Py_DECREF( frame_88cd41f5c51cf96b08dfeb7e21f6bb32 );
|
|
}
|
|
cache_frame_88cd41f5c51cf96b08dfeb7e21f6bb32 = NULL;
|
|
|
|
assertFrameObject( frame_88cd41f5c51cf96b08dfeb7e21f6bb32 );
|
|
|
|
// 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$quoprimime$$$function_1_header_check );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_octet );
|
|
par_octet = 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_octet );
|
|
par_octet = 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$quoprimime$$$function_1_header_check );
|
|
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$quoprimime$$$function_2_body_check( 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_octet = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_d5a4c4dc4f047e3f02cecbde13797c2e;
|
|
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_d5a4c4dc4f047e3f02cecbde13797c2e = 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_d5a4c4dc4f047e3f02cecbde13797c2e, codeobj_d5a4c4dc4f047e3f02cecbde13797c2e, module_future$backports$email$quoprimime, sizeof(void *) );
|
|
frame_d5a4c4dc4f047e3f02cecbde13797c2e = cache_frame_d5a4c4dc4f047e3f02cecbde13797c2e;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_d5a4c4dc4f047e3f02cecbde13797c2e );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_d5a4c4dc4f047e3f02cecbde13797c2e ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_subscript_name_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (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 = 85;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_octet );
|
|
tmp_args_element_name_1 = par_octet;
|
|
frame_d5a4c4dc4f047e3f02cecbde13797c2e->m_frame.f_lineno = 85;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_compexpr_left_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 85;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__QUOPRI_BODY_MAP );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__QUOPRI_BODY_MAP );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_QUOPRI_BODY_MAP" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 85;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = tmp_mvar_value_2;
|
|
if ( par_octet == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "octet" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 85;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscript_name_1 = par_octet;
|
|
tmp_compexpr_right_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_compexpr_right_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
|
|
exception_lineno = 85;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = RICH_COMPARE_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
Py_DECREF( tmp_compexpr_right_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 85;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_d5a4c4dc4f047e3f02cecbde13797c2e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_d5a4c4dc4f047e3f02cecbde13797c2e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_d5a4c4dc4f047e3f02cecbde13797c2e );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_d5a4c4dc4f047e3f02cecbde13797c2e, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_d5a4c4dc4f047e3f02cecbde13797c2e->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_d5a4c4dc4f047e3f02cecbde13797c2e, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_d5a4c4dc4f047e3f02cecbde13797c2e,
|
|
type_description_1,
|
|
par_octet
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_d5a4c4dc4f047e3f02cecbde13797c2e == cache_frame_d5a4c4dc4f047e3f02cecbde13797c2e )
|
|
{
|
|
Py_DECREF( frame_d5a4c4dc4f047e3f02cecbde13797c2e );
|
|
}
|
|
cache_frame_d5a4c4dc4f047e3f02cecbde13797c2e = NULL;
|
|
|
|
assertFrameObject( frame_d5a4c4dc4f047e3f02cecbde13797c2e );
|
|
|
|
// 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$quoprimime$$$function_2_body_check );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_octet );
|
|
par_octet = 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_octet );
|
|
par_octet = 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$quoprimime$$$function_2_body_check );
|
|
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$quoprimime$$$function_3_header_length( 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_bytearray = python_pars[ 0 ];
|
|
PyObject *tmp_genexpr_1__$0 = NULL;
|
|
struct Nuitka_FrameObject *frame_05d577e718c2984eb2b3e4c3c70af8c0;
|
|
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_05d577e718c2984eb2b3e4c3c70af8c0 = 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_05d577e718c2984eb2b3e4c3c70af8c0, codeobj_05d577e718c2984eb2b3e4c3c70af8c0, module_future$backports$email$quoprimime, sizeof(void *) );
|
|
frame_05d577e718c2984eb2b3e4c3c70af8c0 = cache_frame_05d577e718c2984eb2b3e4c3c70af8c0;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_05d577e718c2984eb2b3e4c3c70af8c0 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_05d577e718c2984eb2b3e4c3c70af8c0 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_sum_sequence_1;
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
CHECK_OBJECT( par_bytearray );
|
|
tmp_iter_arg_1 = par_bytearray;
|
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 98;
|
|
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$quoprimime$$$function_3_header_length$$$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$quoprimime$$$function_3_header_length );
|
|
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$quoprimime$$$function_3_header_length );
|
|
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 = 98;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_05d577e718c2984eb2b3e4c3c70af8c0 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_05d577e718c2984eb2b3e4c3c70af8c0 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_05d577e718c2984eb2b3e4c3c70af8c0 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_05d577e718c2984eb2b3e4c3c70af8c0, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_05d577e718c2984eb2b3e4c3c70af8c0->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_05d577e718c2984eb2b3e4c3c70af8c0, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_05d577e718c2984eb2b3e4c3c70af8c0,
|
|
type_description_1,
|
|
par_bytearray
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_05d577e718c2984eb2b3e4c3c70af8c0 == cache_frame_05d577e718c2984eb2b3e4c3c70af8c0 )
|
|
{
|
|
Py_DECREF( frame_05d577e718c2984eb2b3e4c3c70af8c0 );
|
|
}
|
|
cache_frame_05d577e718c2984eb2b3e4c3c70af8c0 = NULL;
|
|
|
|
assertFrameObject( frame_05d577e718c2984eb2b3e4c3c70af8c0 );
|
|
|
|
// 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$quoprimime$$$function_3_header_length );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_bytearray );
|
|
par_bytearray = 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_bytearray );
|
|
par_bytearray = 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$quoprimime$$$function_3_header_length );
|
|
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$quoprimime$$$function_3_header_length$$$genexpr_1_genexpr_locals {
|
|
PyObject *var_octet;
|
|
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$quoprimime$$$function_3_header_length$$$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$quoprimime$$$function_3_header_length$$$genexpr_1_genexpr_locals *generator_heap = (struct future$backports$email$quoprimime$$$function_3_header_length$$$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_octet = 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_416c48ef05bb54343da44652c6980c77, module_future$backports$email$quoprimime, 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 = 98;
|
|
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_octet;
|
|
generator_heap->var_octet = tmp_assign_source_2;
|
|
Py_INCREF( generator_heap->var_octet );
|
|
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$quoprimime, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_MAP );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_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", "_QUOPRI_HEADER_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 = 98;
|
|
generator_heap->type_description_1 = "No";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( generator_heap->var_octet );
|
|
tmp_subscript_name_1 = generator_heap->var_octet;
|
|
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 = 98;
|
|
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 = 98;
|
|
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 = 98;
|
|
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 = 98;
|
|
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_octet
|
|
);
|
|
|
|
|
|
// 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_octet );
|
|
generator_heap->var_octet = 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_octet );
|
|
generator_heap->var_octet = 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$quoprimime$$$function_3_header_length$$$genexpr_1_genexpr_maker( void )
|
|
{
|
|
return Nuitka_Generator_New(
|
|
future$backports$email$quoprimime$$$function_3_header_length$$$genexpr_1_genexpr_context,
|
|
module_future$backports$email$quoprimime,
|
|
const_str_angle_genexpr,
|
|
#if PYTHON_VERSION >= 350
|
|
const_str_digest_9f4a7b2558989dce15f051ff28e4cd78,
|
|
#endif
|
|
codeobj_416c48ef05bb54343da44652c6980c77,
|
|
1,
|
|
sizeof(struct future$backports$email$quoprimime$$$function_3_header_length$$$genexpr_1_genexpr_locals)
|
|
);
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$quoprimime$$$function_4_body_length( 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_bytearray = python_pars[ 0 ];
|
|
PyObject *tmp_genexpr_1__$0 = NULL;
|
|
struct Nuitka_FrameObject *frame_37afb809332ca49c588d199e80d38935;
|
|
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_37afb809332ca49c588d199e80d38935 = 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_37afb809332ca49c588d199e80d38935, codeobj_37afb809332ca49c588d199e80d38935, module_future$backports$email$quoprimime, sizeof(void *) );
|
|
frame_37afb809332ca49c588d199e80d38935 = cache_frame_37afb809332ca49c588d199e80d38935;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_37afb809332ca49c588d199e80d38935 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_37afb809332ca49c588d199e80d38935 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_sum_sequence_1;
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
CHECK_OBJECT( par_bytearray );
|
|
tmp_iter_arg_1 = par_bytearray;
|
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 108;
|
|
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$quoprimime$$$function_4_body_length$$$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$quoprimime$$$function_4_body_length );
|
|
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$quoprimime$$$function_4_body_length );
|
|
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 = 108;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_37afb809332ca49c588d199e80d38935 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_37afb809332ca49c588d199e80d38935 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_37afb809332ca49c588d199e80d38935 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_37afb809332ca49c588d199e80d38935, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_37afb809332ca49c588d199e80d38935->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_37afb809332ca49c588d199e80d38935, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_37afb809332ca49c588d199e80d38935,
|
|
type_description_1,
|
|
par_bytearray
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_37afb809332ca49c588d199e80d38935 == cache_frame_37afb809332ca49c588d199e80d38935 )
|
|
{
|
|
Py_DECREF( frame_37afb809332ca49c588d199e80d38935 );
|
|
}
|
|
cache_frame_37afb809332ca49c588d199e80d38935 = NULL;
|
|
|
|
assertFrameObject( frame_37afb809332ca49c588d199e80d38935 );
|
|
|
|
// 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$quoprimime$$$function_4_body_length );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_bytearray );
|
|
par_bytearray = 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_bytearray );
|
|
par_bytearray = 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$quoprimime$$$function_4_body_length );
|
|
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$quoprimime$$$function_4_body_length$$$genexpr_1_genexpr_locals {
|
|
PyObject *var_octet;
|
|
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$quoprimime$$$function_4_body_length$$$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$quoprimime$$$function_4_body_length$$$genexpr_1_genexpr_locals *generator_heap = (struct future$backports$email$quoprimime$$$function_4_body_length$$$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_octet = 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_f255c689dc38afa20d601c4cb55a9da9, module_future$backports$email$quoprimime, 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 = 108;
|
|
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_octet;
|
|
generator_heap->var_octet = tmp_assign_source_2;
|
|
Py_INCREF( generator_heap->var_octet );
|
|
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$quoprimime, (Nuitka_StringObject *)const_str_plain__QUOPRI_BODY_MAP );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__QUOPRI_BODY_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", "_QUOPRI_BODY_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 = 108;
|
|
generator_heap->type_description_1 = "No";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( generator_heap->var_octet );
|
|
tmp_subscript_name_1 = generator_heap->var_octet;
|
|
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 = 108;
|
|
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 = 108;
|
|
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 = 108;
|
|
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 = 108;
|
|
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_octet
|
|
);
|
|
|
|
|
|
// 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_octet );
|
|
generator_heap->var_octet = 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_octet );
|
|
generator_heap->var_octet = 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$quoprimime$$$function_4_body_length$$$genexpr_1_genexpr_maker( void )
|
|
{
|
|
return Nuitka_Generator_New(
|
|
future$backports$email$quoprimime$$$function_4_body_length$$$genexpr_1_genexpr_context,
|
|
module_future$backports$email$quoprimime,
|
|
const_str_angle_genexpr,
|
|
#if PYTHON_VERSION >= 350
|
|
const_str_digest_177bd22a119193cee93c9031c6ed6e79,
|
|
#endif
|
|
codeobj_f255c689dc38afa20d601c4cb55a9da9,
|
|
1,
|
|
sizeof(struct future$backports$email$quoprimime$$$function_4_body_length$$$genexpr_1_genexpr_locals)
|
|
);
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$quoprimime$$$function_5__max_append( 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_L = python_pars[ 0 ];
|
|
PyObject *par_s = python_pars[ 1 ];
|
|
PyObject *par_maxlen = python_pars[ 2 ];
|
|
PyObject *par_extra = python_pars[ 3 ];
|
|
PyObject *tmp_inplace_assign_subscr_1__target = NULL;
|
|
struct Nuitka_FrameObject *frame_88120c6dc562cc66a5f62b042baa6aaf;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
static struct Nuitka_FrameObject *cache_frame_88120c6dc562cc66a5f62b042baa6aaf = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_88120c6dc562cc66a5f62b042baa6aaf, codeobj_88120c6dc562cc66a5f62b042baa6aaf, module_future$backports$email$quoprimime, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_88120c6dc562cc66a5f62b042baa6aaf = cache_frame_88120c6dc562cc66a5f62b042baa6aaf;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_88120c6dc562cc66a5f62b042baa6aaf );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_88120c6dc562cc66a5f62b042baa6aaf ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_isinstance_inst_1;
|
|
PyObject *tmp_isinstance_cls_1;
|
|
CHECK_OBJECT( par_s );
|
|
tmp_isinstance_inst_1 = par_s;
|
|
tmp_isinstance_cls_1 = (PyObject *)&PyUnicode_Type;
|
|
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False;
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_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$quoprimime, (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 = 113;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
if ( par_s == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 113;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_s;
|
|
frame_88120c6dc562cc66a5f62b042baa6aaf->m_frame.f_lineno = 113;
|
|
{
|
|
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 = 113;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_s;
|
|
par_s = tmp_assign_source_1;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_operand_name_2;
|
|
if ( par_L == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "L" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 114;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_operand_name_2 = par_L;
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 114;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_called_instance_1;
|
|
if ( par_L == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "L" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 115;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = par_L;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_append );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 115;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_s == 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", "s" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 115;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_s;
|
|
frame_88120c6dc562cc66a5f62b042baa6aaf->m_frame.f_lineno = 115;
|
|
tmp_args_element_name_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_lstrip );
|
|
if ( tmp_args_element_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_2 );
|
|
|
|
exception_lineno = 115;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_88120c6dc562cc66a5f62b042baa6aaf->m_frame.f_lineno = 115;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_unused = 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_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 115;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_len_arg_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_len_arg_2;
|
|
if ( par_L == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "L" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 116;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = par_L;
|
|
tmp_subscript_name_1 = const_int_neg_1;
|
|
tmp_len_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, -1 );
|
|
if ( tmp_len_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 116;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_left_name_1 = BUILTIN_LEN( tmp_len_arg_1 );
|
|
Py_DECREF( tmp_len_arg_1 );
|
|
if ( tmp_left_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 116;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_s == NULL )
|
|
{
|
|
Py_DECREF( tmp_left_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 116;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_len_arg_2 = par_s;
|
|
tmp_right_name_1 = BUILTIN_LEN( tmp_len_arg_2 );
|
|
if ( tmp_right_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
|
|
exception_lineno = 116;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_compexpr_left_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 116;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_maxlen == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "maxlen" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 116;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_1 = par_maxlen;
|
|
tmp_res = RICH_COMPARE_BOOL_LE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 116;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
if ( par_L == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "L" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assign_source_2 = par_L;
|
|
assert( tmp_inplace_assign_subscr_1__target == NULL );
|
|
Py_INCREF( tmp_assign_source_2 );
|
|
tmp_inplace_assign_subscr_1__target = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
PyObject *tmp_right_name_2;
|
|
PyObject *tmp_left_name_3;
|
|
PyObject *tmp_right_name_3;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
int tmp_ass_subscript_res_1;
|
|
CHECK_OBJECT( tmp_inplace_assign_subscr_1__target );
|
|
tmp_subscribed_name_2 = tmp_inplace_assign_subscr_1__target;
|
|
tmp_subscript_name_2 = const_int_neg_1;
|
|
tmp_left_name_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, -1 );
|
|
if ( tmp_left_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( par_extra == NULL )
|
|
{
|
|
Py_DECREF( tmp_left_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "extra" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_3 = par_extra;
|
|
if ( par_s == 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", "s" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_right_name_3 = par_s;
|
|
tmp_right_name_2 = BINARY_OPERATION_ADD( tmp_left_name_3, tmp_right_name_3 );
|
|
if ( tmp_right_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_left_name_2 );
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_ass_subvalue_1 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_2, tmp_right_name_2 );
|
|
Py_DECREF( tmp_left_name_2 );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
if ( tmp_ass_subvalue_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
CHECK_OBJECT( tmp_inplace_assign_subscr_1__target );
|
|
tmp_ass_subscribed_1 = tmp_inplace_assign_subscr_1__target;
|
|
tmp_ass_subscript_1 = const_int_neg_1;
|
|
tmp_ass_subscript_res_1 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_1, tmp_ass_subscript_1, -1, tmp_ass_subvalue_1 );
|
|
Py_DECREF( 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 = 117;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_subscr_1__target );
|
|
Py_DECREF( tmp_inplace_assign_subscr_1__target );
|
|
tmp_inplace_assign_subscr_1__target = 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_inplace_assign_subscr_1__target );
|
|
Py_DECREF( tmp_inplace_assign_subscr_1__target );
|
|
tmp_inplace_assign_subscr_1__target = NULL;
|
|
|
|
}
|
|
goto branch_end_3;
|
|
branch_no_3:;
|
|
{
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_called_instance_2;
|
|
if ( par_L == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "L" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 119;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_L;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_append );
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_s == 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", "s" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 119;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = par_s;
|
|
frame_88120c6dc562cc66a5f62b042baa6aaf->m_frame.f_lineno = 119;
|
|
tmp_args_element_name_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_lstrip );
|
|
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 = 119;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_88120c6dc562cc66a5f62b042baa6aaf->m_frame.f_lineno = 119;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_unused = 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_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
branch_end_3:;
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_88120c6dc562cc66a5f62b042baa6aaf );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_88120c6dc562cc66a5f62b042baa6aaf );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_88120c6dc562cc66a5f62b042baa6aaf, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_88120c6dc562cc66a5f62b042baa6aaf->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_88120c6dc562cc66a5f62b042baa6aaf, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_88120c6dc562cc66a5f62b042baa6aaf,
|
|
type_description_1,
|
|
par_L,
|
|
par_s,
|
|
par_maxlen,
|
|
par_extra
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_88120c6dc562cc66a5f62b042baa6aaf == cache_frame_88120c6dc562cc66a5f62b042baa6aaf )
|
|
{
|
|
Py_DECREF( frame_88120c6dc562cc66a5f62b042baa6aaf );
|
|
}
|
|
cache_frame_88120c6dc562cc66a5f62b042baa6aaf = NULL;
|
|
|
|
assertFrameObject( frame_88120c6dc562cc66a5f62b042baa6aaf );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_5__max_append );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_L );
|
|
par_L = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_s );
|
|
par_s = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_maxlen );
|
|
par_maxlen = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_extra );
|
|
par_extra = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_L );
|
|
par_L = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_s );
|
|
par_s = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_maxlen );
|
|
par_maxlen = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_extra );
|
|
par_extra = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_5__max_append );
|
|
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$quoprimime$$$function_6_unquote( 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_s = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_15443091d26328c3eacabf9f0ccf7c68;
|
|
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_15443091d26328c3eacabf9f0ccf7c68 = 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_15443091d26328c3eacabf9f0ccf7c68, codeobj_15443091d26328c3eacabf9f0ccf7c68, module_future$backports$email$quoprimime, sizeof(void *) );
|
|
frame_15443091d26328c3eacabf9f0ccf7c68 = cache_frame_15443091d26328c3eacabf9f0ccf7c68;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_15443091d26328c3eacabf9f0ccf7c68 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_15443091d26328c3eacabf9f0ccf7c68 ) == 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_mvar_value_2;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
PyObject *tmp_args_element_name_3;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (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 = 124;
|
|
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$quoprimime, (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 = 124;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_2 = tmp_mvar_value_2;
|
|
CHECK_OBJECT( par_s );
|
|
tmp_subscribed_name_1 = par_s;
|
|
tmp_subscript_name_1 = const_slice_int_pos_1_int_pos_3_none;
|
|
tmp_args_element_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_args_element_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 124;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_args_element_name_3 = const_int_pos_16;
|
|
frame_15443091d26328c3eacabf9f0ccf7c68->m_frame.f_lineno = 124;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 };
|
|
tmp_args_element_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
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 = 124;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_15443091d26328c3eacabf9f0ccf7c68->m_frame.f_lineno = 124;
|
|
{
|
|
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 = 124;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_15443091d26328c3eacabf9f0ccf7c68 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_15443091d26328c3eacabf9f0ccf7c68 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_15443091d26328c3eacabf9f0ccf7c68 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_15443091d26328c3eacabf9f0ccf7c68, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_15443091d26328c3eacabf9f0ccf7c68->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_15443091d26328c3eacabf9f0ccf7c68, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_15443091d26328c3eacabf9f0ccf7c68,
|
|
type_description_1,
|
|
par_s
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_15443091d26328c3eacabf9f0ccf7c68 == cache_frame_15443091d26328c3eacabf9f0ccf7c68 )
|
|
{
|
|
Py_DECREF( frame_15443091d26328c3eacabf9f0ccf7c68 );
|
|
}
|
|
cache_frame_15443091d26328c3eacabf9f0ccf7c68 = NULL;
|
|
|
|
assertFrameObject( frame_15443091d26328c3eacabf9f0ccf7c68 );
|
|
|
|
// 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$quoprimime$$$function_6_unquote );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_s );
|
|
par_s = 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_s );
|
|
par_s = 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$quoprimime$$$function_6_unquote );
|
|
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$quoprimime$$$function_7_quote( 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_c = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_7af14b7799bf6c0932abcc6dce94132c;
|
|
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_7af14b7799bf6c0932abcc6dce94132c = 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_7af14b7799bf6c0932abcc6dce94132c, codeobj_7af14b7799bf6c0932abcc6dce94132c, module_future$backports$email$quoprimime, sizeof(void *) );
|
|
frame_7af14b7799bf6c0932abcc6dce94132c = cache_frame_7af14b7799bf6c0932abcc6dce94132c;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_7af14b7799bf6c0932abcc6dce94132c );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_7af14b7799bf6c0932abcc6dce94132c ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_ord_arg_1;
|
|
tmp_left_name_1 = const_str_digest_cb05d835640807b0ec1269e55217fe8b;
|
|
CHECK_OBJECT( par_c );
|
|
tmp_ord_arg_1 = par_c;
|
|
tmp_right_name_1 = BUILTIN_ORD( tmp_ord_arg_1 );
|
|
if ( tmp_right_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7af14b7799bf6c0932abcc6dce94132c );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7af14b7799bf6c0932abcc6dce94132c );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7af14b7799bf6c0932abcc6dce94132c );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_7af14b7799bf6c0932abcc6dce94132c, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_7af14b7799bf6c0932abcc6dce94132c->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_7af14b7799bf6c0932abcc6dce94132c, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_7af14b7799bf6c0932abcc6dce94132c,
|
|
type_description_1,
|
|
par_c
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_7af14b7799bf6c0932abcc6dce94132c == cache_frame_7af14b7799bf6c0932abcc6dce94132c )
|
|
{
|
|
Py_DECREF( frame_7af14b7799bf6c0932abcc6dce94132c );
|
|
}
|
|
cache_frame_7af14b7799bf6c0932abcc6dce94132c = NULL;
|
|
|
|
assertFrameObject( frame_7af14b7799bf6c0932abcc6dce94132c );
|
|
|
|
// 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$quoprimime$$$function_7_quote );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_c );
|
|
par_c = 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_c );
|
|
par_c = 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$quoprimime$$$function_7_quote );
|
|
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$quoprimime$$$function_8_header_encode( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_header_bytes = python_pars[ 0 ];
|
|
PyObject *par_charset = python_pars[ 1 ];
|
|
PyObject *var_encoded = NULL;
|
|
PyObject *var_octet = NULL;
|
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
|
struct Nuitka_FrameObject *frame_ac5f81e3ff1f10dabe920586919cfe4f;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_return_value = NULL;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
static struct Nuitka_FrameObject *cache_frame_ac5f81e3ff1f10dabe920586919cfe4f = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_ac5f81e3ff1f10dabe920586919cfe4f, codeobj_ac5f81e3ff1f10dabe920586919cfe4f, module_future$backports$email$quoprimime, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_ac5f81e3ff1f10dabe920586919cfe4f = cache_frame_ac5f81e3ff1f10dabe920586919cfe4f;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_ac5f81e3ff1f10dabe920586919cfe4f );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_ac5f81e3ff1f10dabe920586919cfe4f ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_operand_name_1;
|
|
CHECK_OBJECT( par_header_bytes );
|
|
tmp_operand_name_1 = par_header_bytes;
|
|
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 = 144;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
tmp_return_value = const_str_empty;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = PyList_New( 0 );
|
|
assert( var_encoded == NULL );
|
|
var_encoded = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_iter_arg_1;
|
|
if ( par_header_bytes == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "header_bytes" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 148;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_iter_arg_1 = par_header_bytes;
|
|
tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 148;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_3;
|
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooo";
|
|
exception_lineno = 148;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
|
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
|
|
{
|
|
PyObject *old = var_octet;
|
|
var_octet = tmp_assign_source_4;
|
|
Py_INCREF( var_octet );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
if ( var_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 = 149;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_1 = var_encoded;
|
|
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 = 149;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_MAP );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_MAP );
|
|
}
|
|
|
|
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", "_QUOPRI_HEADER_MAP" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 149;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = tmp_mvar_value_1;
|
|
if ( var_octet == 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", "octet" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 149;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscript_name_1 = var_octet;
|
|
tmp_args_element_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_args_element_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
|
|
exception_lineno = 149;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
frame_ac5f81e3ff1f10dabe920586919cfe4f->m_frame.f_lineno = 149;
|
|
{
|
|
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 = 149;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 148;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_left_name_1 = const_str_digest_dff831e10401f1caaccb2c69014e415e;
|
|
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 = 152;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = par_charset;
|
|
tmp_right_name_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 );
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_EMPTYSTRING );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EMPTYSTRING );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
Py_DECREF( tmp_right_name_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EMPTYSTRING" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 152;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = tmp_mvar_value_2;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_join );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
|
|
exception_lineno = 152;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_encoded == NULL )
|
|
{
|
|
Py_DECREF( tmp_right_name_1 );
|
|
Py_DECREF( tmp_called_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 152;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = var_encoded;
|
|
frame_ac5f81e3ff1f10dabe920586919cfe4f->m_frame.f_lineno = 152;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
|
|
exception_lineno = 152;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_1 );
|
|
tmp_return_value = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 152;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ac5f81e3ff1f10dabe920586919cfe4f );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ac5f81e3ff1f10dabe920586919cfe4f );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ac5f81e3ff1f10dabe920586919cfe4f );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_ac5f81e3ff1f10dabe920586919cfe4f, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_ac5f81e3ff1f10dabe920586919cfe4f->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_ac5f81e3ff1f10dabe920586919cfe4f, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_ac5f81e3ff1f10dabe920586919cfe4f,
|
|
type_description_1,
|
|
par_header_bytes,
|
|
par_charset,
|
|
var_encoded,
|
|
var_octet
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_ac5f81e3ff1f10dabe920586919cfe4f == cache_frame_ac5f81e3ff1f10dabe920586919cfe4f )
|
|
{
|
|
Py_DECREF( frame_ac5f81e3ff1f10dabe920586919cfe4f );
|
|
}
|
|
cache_frame_ac5f81e3ff1f10dabe920586919cfe4f = NULL;
|
|
|
|
assertFrameObject( frame_ac5f81e3ff1f10dabe920586919cfe4f );
|
|
|
|
// 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$quoprimime$$$function_8_header_encode );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_header_bytes );
|
|
par_header_bytes = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_charset );
|
|
par_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_encoded );
|
|
var_encoded = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_octet );
|
|
var_octet = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_header_bytes );
|
|
par_header_bytes = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_charset );
|
|
par_charset = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_encoded );
|
|
var_encoded = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_octet );
|
|
var_octet = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_8_header_encode );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$quoprimime$$$function_9___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *par_maxlinelen = python_pars[ 1 ];
|
|
PyObject *par_eol = python_pars[ 2 ];
|
|
PyObject *par_args = python_pars[ 3 ];
|
|
PyObject *par_kw = python_pars[ 4 ];
|
|
PyObject *tmp_assign_unpack_1__assign_source = NULL;
|
|
struct Nuitka_FrameObject *frame_c2fedcc21238ee40a0f65f6b232379ef;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
bool tmp_result;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
static struct Nuitka_FrameObject *cache_frame_c2fedcc21238ee40a0f65f6b232379ef = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_c2fedcc21238ee40a0f65f6b232379ef, codeobj_c2fedcc21238ee40a0f65f6b232379ef, module_future$backports$email$quoprimime, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_c2fedcc21238ee40a0f65f6b232379ef = cache_frame_c2fedcc21238ee40a0f65f6b232379ef;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_c2fedcc21238ee40a0f65f6b232379ef );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_c2fedcc21238ee40a0f65f6b232379ef ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_dircall_arg1_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_dircall_arg2_1;
|
|
PyObject *tmp_dircall_arg3_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_super );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_super );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "super" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 158;
|
|
type_description_1 = "oooooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
frame_c2fedcc21238ee40a0f65f6b232379ef->m_frame.f_lineno = 158;
|
|
tmp_source_name_1 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 );
|
|
if ( tmp_source_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 158;
|
|
type_description_1 = "oooooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___init__ );
|
|
Py_DECREF( tmp_source_name_1 );
|
|
if ( tmp_dircall_arg1_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 158;
|
|
type_description_1 = "oooooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_args == NULL )
|
|
{
|
|
Py_DECREF( tmp_dircall_arg1_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 158;
|
|
type_description_1 = "oooooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dircall_arg2_1 = par_args;
|
|
if ( par_kw == NULL )
|
|
{
|
|
Py_DECREF( tmp_dircall_arg1_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kw" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 158;
|
|
type_description_1 = "oooooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dircall_arg3_1 = par_kw;
|
|
Py_INCREF( tmp_dircall_arg2_1 );
|
|
Py_INCREF( tmp_dircall_arg3_1 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
|
|
tmp_unused = impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( dir_call_args );
|
|
}
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 158;
|
|
type_description_1 = "oooooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_1;
|
|
PyObject *tmp_assattr_target_1;
|
|
if ( par_eol == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "eol" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 159;
|
|
type_description_1 = "oooooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_1 = par_eol;
|
|
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 = 159;
|
|
type_description_1 = "oooooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_1 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_eol, tmp_assattr_name_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 159;
|
|
type_description_1 = "oooooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
if ( par_maxlinelen == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "maxlinelen" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 160;
|
|
type_description_1 = "oooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_assign_source_1 = par_maxlinelen;
|
|
assert( tmp_assign_unpack_1__assign_source == NULL );
|
|
Py_INCREF( tmp_assign_source_1 );
|
|
tmp_assign_unpack_1__assign_source = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_2;
|
|
PyObject *tmp_assattr_target_2;
|
|
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
|
|
tmp_assattr_name_2 = tmp_assign_unpack_1__assign_source;
|
|
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 = 160;
|
|
type_description_1 = "oooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_assattr_target_2 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_maxlinelen, tmp_assattr_name_2 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 160;
|
|
type_description_1 = "oooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_3;
|
|
PyObject *tmp_assattr_target_3;
|
|
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
|
|
tmp_assattr_name_3 = tmp_assign_unpack_1__assign_source;
|
|
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 = 160;
|
|
type_description_1 = "oooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_assattr_target_3 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_room, tmp_assattr_name_3 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 160;
|
|
type_description_1 = "oooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_assign_unpack_1__assign_source );
|
|
tmp_assign_unpack_1__assign_source = 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:;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c2fedcc21238ee40a0f65f6b232379ef );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c2fedcc21238ee40a0f65f6b232379ef );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_c2fedcc21238ee40a0f65f6b232379ef, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_c2fedcc21238ee40a0f65f6b232379ef->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_c2fedcc21238ee40a0f65f6b232379ef, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_c2fedcc21238ee40a0f65f6b232379ef,
|
|
type_description_1,
|
|
par_self,
|
|
par_maxlinelen,
|
|
par_eol,
|
|
par_args,
|
|
par_kw,
|
|
NULL
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_c2fedcc21238ee40a0f65f6b232379ef == cache_frame_c2fedcc21238ee40a0f65f6b232379ef )
|
|
{
|
|
Py_DECREF( frame_c2fedcc21238ee40a0f65f6b232379ef );
|
|
}
|
|
cache_frame_c2fedcc21238ee40a0f65f6b232379ef = NULL;
|
|
|
|
assertFrameObject( frame_c2fedcc21238ee40a0f65f6b232379ef );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_assign_unpack_1__assign_source );
|
|
Py_DECREF( tmp_assign_unpack_1__assign_source );
|
|
tmp_assign_unpack_1__assign_source = NULL;
|
|
|
|
}
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_9___init__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_maxlinelen );
|
|
par_maxlinelen = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_eol );
|
|
par_eol = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_args );
|
|
par_args = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kw );
|
|
par_kw = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_maxlinelen );
|
|
par_maxlinelen = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_eol );
|
|
par_eol = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_args );
|
|
par_args = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kw );
|
|
par_kw = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_9___init__ );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$quoprimime$$$function_10_write_str( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *par_s = python_pars[ 1 ];
|
|
PyObject *tmp_inplace_assign_attr_1__end = NULL;
|
|
PyObject *tmp_inplace_assign_attr_1__start = NULL;
|
|
struct Nuitka_FrameObject *frame_4cb7d376a1f806c6533ffaee0aa05191;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
bool tmp_result;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
static struct Nuitka_FrameObject *cache_frame_4cb7d376a1f806c6533ffaee0aa05191 = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_4cb7d376a1f806c6533ffaee0aa05191, codeobj_4cb7d376a1f806c6533ffaee0aa05191, module_future$backports$email$quoprimime, sizeof(void *)+sizeof(void *) );
|
|
frame_4cb7d376a1f806c6533ffaee0aa05191 = cache_frame_4cb7d376a1f806c6533ffaee0aa05191;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_4cb7d376a1f806c6533ffaee0aa05191 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_4cb7d376a1f806c6533ffaee0aa05191 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_write );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_s == 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", "s" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 164;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_s;
|
|
frame_4cb7d376a1f806c6533ffaee0aa05191->m_frame.f_lineno = 164;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_source_name_2;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 165;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_room );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 165;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_inplace_assign_attr_1__start == NULL );
|
|
tmp_inplace_assign_attr_1__start = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_len_arg_1;
|
|
CHECK_OBJECT( tmp_inplace_assign_attr_1__start );
|
|
tmp_left_name_1 = tmp_inplace_assign_attr_1__start;
|
|
if ( par_s == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 165;
|
|
type_description_1 = "oo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_len_arg_1 = par_s;
|
|
tmp_right_name_1 = BUILTIN_LEN( tmp_len_arg_1 );
|
|
if ( tmp_right_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 165;
|
|
type_description_1 = "oo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_assign_source_2 = BINARY_OPERATION( PyNumber_InPlaceSubtract, tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 165;
|
|
type_description_1 = "oo";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_inplace_assign_attr_1__end == NULL );
|
|
tmp_inplace_assign_attr_1__end = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assattr_name_1;
|
|
PyObject *tmp_assattr_target_1;
|
|
CHECK_OBJECT( tmp_inplace_assign_attr_1__end );
|
|
tmp_assattr_name_1 = tmp_inplace_assign_attr_1__end;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 165;
|
|
type_description_1 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_assattr_target_1 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_room, tmp_assattr_name_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 165;
|
|
type_description_1 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__end );
|
|
Py_DECREF( tmp_inplace_assign_attr_1__end );
|
|
tmp_inplace_assign_attr_1__end = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start );
|
|
Py_DECREF( tmp_inplace_assign_attr_1__start );
|
|
tmp_inplace_assign_attr_1__start = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_4cb7d376a1f806c6533ffaee0aa05191 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_4cb7d376a1f806c6533ffaee0aa05191 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_4cb7d376a1f806c6533ffaee0aa05191, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_4cb7d376a1f806c6533ffaee0aa05191->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_4cb7d376a1f806c6533ffaee0aa05191, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_4cb7d376a1f806c6533ffaee0aa05191,
|
|
type_description_1,
|
|
par_self,
|
|
par_s
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_4cb7d376a1f806c6533ffaee0aa05191 == cache_frame_4cb7d376a1f806c6533ffaee0aa05191 )
|
|
{
|
|
Py_DECREF( frame_4cb7d376a1f806c6533ffaee0aa05191 );
|
|
}
|
|
cache_frame_4cb7d376a1f806c6533ffaee0aa05191 = NULL;
|
|
|
|
assertFrameObject( frame_4cb7d376a1f806c6533ffaee0aa05191 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__end );
|
|
Py_DECREF( tmp_inplace_assign_attr_1__end );
|
|
tmp_inplace_assign_attr_1__end = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start );
|
|
Py_DECREF( tmp_inplace_assign_attr_1__start );
|
|
tmp_inplace_assign_attr_1__start = NULL;
|
|
|
|
}
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_10_write_str );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_s );
|
|
par_s = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_s );
|
|
par_s = 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$quoprimime$$$function_10_write_str );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$quoprimime$$$function_11_newline( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_84afe349ac591ae5169e2bec369377f4;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
bool tmp_result;
|
|
static struct Nuitka_FrameObject *cache_frame_84afe349ac591ae5169e2bec369377f4 = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_84afe349ac591ae5169e2bec369377f4, codeobj_84afe349ac591ae5169e2bec369377f4, module_future$backports$email$quoprimime, sizeof(void *) );
|
|
frame_84afe349ac591ae5169e2bec369377f4 = cache_frame_84afe349ac591ae5169e2bec369377f4;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_84afe349ac591ae5169e2bec369377f4 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_84afe349ac591ae5169e2bec369377f4 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_write_str );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 169;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 169;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_eol );
|
|
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 = 169;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_84afe349ac591ae5169e2bec369377f4->m_frame.f_lineno = 169;
|
|
{
|
|
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 = 169;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_1;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_assattr_target_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 = 170;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_3 = par_self;
|
|
tmp_assattr_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_maxlinelen );
|
|
if ( tmp_assattr_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 170;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 170;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_1 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_room, tmp_assattr_name_1 );
|
|
Py_DECREF( tmp_assattr_name_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 170;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_84afe349ac591ae5169e2bec369377f4 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_84afe349ac591ae5169e2bec369377f4 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_84afe349ac591ae5169e2bec369377f4, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_84afe349ac591ae5169e2bec369377f4->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_84afe349ac591ae5169e2bec369377f4, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_84afe349ac591ae5169e2bec369377f4,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_84afe349ac591ae5169e2bec369377f4 == cache_frame_84afe349ac591ae5169e2bec369377f4 )
|
|
{
|
|
Py_DECREF( frame_84afe349ac591ae5169e2bec369377f4 );
|
|
}
|
|
cache_frame_84afe349ac591ae5169e2bec369377f4 = NULL;
|
|
|
|
assertFrameObject( frame_84afe349ac591ae5169e2bec369377f4 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_11_newline );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_11_newline );
|
|
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$quoprimime$$$function_12_write_soft_break( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_e6ae1334a3fe375d4e16aa5669cef778;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
static struct Nuitka_FrameObject *cache_frame_e6ae1334a3fe375d4e16aa5669cef778 = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_e6ae1334a3fe375d4e16aa5669cef778, codeobj_e6ae1334a3fe375d4e16aa5669cef778, module_future$backports$email$quoprimime, sizeof(void *) );
|
|
frame_e6ae1334a3fe375d4e16aa5669cef778 = cache_frame_e6ae1334a3fe375d4e16aa5669cef778;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_e6ae1334a3fe375d4e16aa5669cef778 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_e6ae1334a3fe375d4e16aa5669cef778 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_instance_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_called_instance_1 = par_self;
|
|
frame_e6ae1334a3fe375d4e16aa5669cef778->m_frame.f_lineno = 174;
|
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_write_str, &PyTuple_GET_ITEM( const_tuple_str_chr_61_tuple, 0 ) );
|
|
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 174;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_2;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 175;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = par_self;
|
|
frame_e6ae1334a3fe375d4e16aa5669cef778->m_frame.f_lineno = 175;
|
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_newline );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 175;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_e6ae1334a3fe375d4e16aa5669cef778 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_e6ae1334a3fe375d4e16aa5669cef778 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_e6ae1334a3fe375d4e16aa5669cef778, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_e6ae1334a3fe375d4e16aa5669cef778->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_e6ae1334a3fe375d4e16aa5669cef778, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_e6ae1334a3fe375d4e16aa5669cef778,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_e6ae1334a3fe375d4e16aa5669cef778 == cache_frame_e6ae1334a3fe375d4e16aa5669cef778 )
|
|
{
|
|
Py_DECREF( frame_e6ae1334a3fe375d4e16aa5669cef778 );
|
|
}
|
|
cache_frame_e6ae1334a3fe375d4e16aa5669cef778 = NULL;
|
|
|
|
assertFrameObject( frame_e6ae1334a3fe375d4e16aa5669cef778 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_12_write_soft_break );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_12_write_soft_break );
|
|
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$quoprimime$$$function_13_write_wrapped( 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_s = python_pars[ 1 ];
|
|
PyObject *par_extra_room = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_10220d86d715830588b8ed67402f3a2e;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
int tmp_res;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
static struct Nuitka_FrameObject *cache_frame_10220d86d715830588b8ed67402f3a2e = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_10220d86d715830588b8ed67402f3a2e, codeobj_10220d86d715830588b8ed67402f3a2e, module_future$backports$email$quoprimime, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_10220d86d715830588b8ed67402f3a2e = cache_frame_10220d86d715830588b8ed67402f3a2e;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_10220d86d715830588b8ed67402f3a2e );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_10220d86d715830588b8ed67402f3a2e ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_len_arg_1;
|
|
PyObject *tmp_right_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_room );
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 179;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_s == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 179;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_len_arg_1 = par_s;
|
|
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 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
|
|
exception_lineno = 179;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_extra_room == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "extra_room" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 179;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_right_name_1 = par_extra_room;
|
|
tmp_compexpr_right_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
if ( tmp_compexpr_right_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
|
|
exception_lineno = 179;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
Py_DECREF( tmp_compexpr_right_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 179;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_called_instance_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 180;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_self;
|
|
frame_10220d86d715830588b8ed67402f3a2e->m_frame.f_lineno = 180;
|
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_write_soft_break );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 180;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 181;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_write_str );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 181;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_s == 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", "s" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 181;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_s;
|
|
frame_10220d86d715830588b8ed67402f3a2e->m_frame.f_lineno = 181;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 181;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_10220d86d715830588b8ed67402f3a2e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_10220d86d715830588b8ed67402f3a2e );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_10220d86d715830588b8ed67402f3a2e, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_10220d86d715830588b8ed67402f3a2e->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_10220d86d715830588b8ed67402f3a2e, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_10220d86d715830588b8ed67402f3a2e,
|
|
type_description_1,
|
|
par_self,
|
|
par_s,
|
|
par_extra_room
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_10220d86d715830588b8ed67402f3a2e == cache_frame_10220d86d715830588b8ed67402f3a2e )
|
|
{
|
|
Py_DECREF( frame_10220d86d715830588b8ed67402f3a2e );
|
|
}
|
|
cache_frame_10220d86d715830588b8ed67402f3a2e = NULL;
|
|
|
|
assertFrameObject( frame_10220d86d715830588b8ed67402f3a2e );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_13_write_wrapped );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_s );
|
|
par_s = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_extra_room );
|
|
par_extra_room = 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_s );
|
|
par_s = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_extra_room );
|
|
par_extra_room = 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$quoprimime$$$function_13_write_wrapped );
|
|
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$quoprimime$$$function_14_write_char( 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_c = python_pars[ 1 ];
|
|
PyObject *par_is_last_char = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_9da55219f47ef6a1ca3e7e445b2c3ed9;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
static struct Nuitka_FrameObject *cache_frame_9da55219f47ef6a1ca3e7e445b2c3ed9 = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_9da55219f47ef6a1ca3e7e445b2c3ed9, codeobj_9da55219f47ef6a1ca3e7e445b2c3ed9, module_future$backports$email$quoprimime, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_9da55219f47ef6a1ca3e7e445b2c3ed9 = cache_frame_9da55219f47ef6a1ca3e7e445b2c3ed9;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_9da55219f47ef6a1ca3e7e445b2c3ed9 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_9da55219f47ef6a1ca3e7e445b2c3ed9 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_operand_name_1;
|
|
CHECK_OBJECT( par_is_last_char );
|
|
tmp_operand_name_1 = par_is_last_char;
|
|
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 = 184;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_name_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_kw_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 = 188;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_write_wrapped );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 188;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_c == 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", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 188;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = par_c;
|
|
tmp_args_name_1 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
|
|
tmp_kw_name_1 = PyDict_Copy( const_dict_5eeb183dbd12cc3193c6730af258b551 );
|
|
frame_9da55219f47ef6a1ca3e7e445b2c3ed9->m_frame.f_lineno = 188;
|
|
tmp_unused = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
Py_DECREF( tmp_kw_name_1 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 188;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
if ( par_c == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 189;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_left_1 = par_c;
|
|
tmp_compexpr_right_1 = const_str_digest_ac02ab0238280e341b2aff0eed15b128;
|
|
tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 189;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 193;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_write_wrapped );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 193;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_c == 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", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 193;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_c;
|
|
frame_9da55219f47ef6a1ca3e7e445b2c3ed9->m_frame.f_lineno = 193;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 193;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
PyObject *tmp_source_name_3;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 194;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_3 = par_self;
|
|
tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_room );
|
|
if ( tmp_compexpr_left_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 194;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_compexpr_right_2 = const_int_pos_3;
|
|
tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_2, tmp_compexpr_right_2 );
|
|
Py_DECREF( tmp_compexpr_left_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 194;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_3;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 197;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_4 = par_self;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_write );
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 197;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_quote );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_quote );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_3 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "quote" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 197;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_4 = tmp_mvar_value_1;
|
|
if ( par_c == 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", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 197;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_3 = par_c;
|
|
frame_9da55219f47ef6a1ca3e7e445b2c3ed9->m_frame.f_lineno = 197;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_args_element_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
if ( tmp_args_element_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
|
|
exception_lineno = 197;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_9da55219f47ef6a1ca3e7e445b2c3ed9->m_frame.f_lineno = 197;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_args_element_name_2 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 197;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
goto branch_end_3;
|
|
branch_no_3:;
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_compexpr_left_3;
|
|
PyObject *tmp_compexpr_right_3;
|
|
PyObject *tmp_source_name_5;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 198;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_5 = par_self;
|
|
tmp_compexpr_left_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_room );
|
|
if ( tmp_compexpr_left_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 198;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_compexpr_right_3 = const_int_pos_2;
|
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 );
|
|
Py_DECREF( tmp_compexpr_left_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 198;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_4;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_4;
|
|
}
|
|
branch_yes_4:;
|
|
{
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_args_element_name_4;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 200;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_6 = par_self;
|
|
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_write );
|
|
if ( tmp_called_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 200;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_c == 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", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 200;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_4 = par_c;
|
|
frame_9da55219f47ef6a1ca3e7e445b2c3ed9->m_frame.f_lineno = 200;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_5 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 200;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 201;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_self;
|
|
frame_9da55219f47ef6a1ca3e7e445b2c3ed9->m_frame.f_lineno = 201;
|
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_write_soft_break );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 201;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
goto branch_end_4;
|
|
branch_no_4:;
|
|
{
|
|
PyObject *tmp_called_instance_2;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 205;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = par_self;
|
|
frame_9da55219f47ef6a1ca3e7e445b2c3ed9->m_frame.f_lineno = 205;
|
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_write_soft_break );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 205;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_6;
|
|
PyObject *tmp_source_name_7;
|
|
PyObject *tmp_args_element_name_5;
|
|
PyObject *tmp_called_name_7;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_6;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 206;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_7 = par_self;
|
|
tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_write );
|
|
if ( tmp_called_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 206;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_quote );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_quote );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_6 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "quote" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 206;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_7 = tmp_mvar_value_2;
|
|
if ( par_c == 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", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 206;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_6 = par_c;
|
|
frame_9da55219f47ef6a1ca3e7e445b2c3ed9->m_frame.f_lineno = 206;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_6 };
|
|
tmp_args_element_name_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args );
|
|
}
|
|
|
|
if ( tmp_args_element_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_6 );
|
|
|
|
exception_lineno = 206;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_9da55219f47ef6a1ca3e7e445b2c3ed9->m_frame.f_lineno = 206;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_6 );
|
|
Py_DECREF( tmp_args_element_name_5 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 206;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
branch_end_4:;
|
|
}
|
|
branch_end_3:;
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_9da55219f47ef6a1ca3e7e445b2c3ed9 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_9da55219f47ef6a1ca3e7e445b2c3ed9 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_9da55219f47ef6a1ca3e7e445b2c3ed9, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_9da55219f47ef6a1ca3e7e445b2c3ed9->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_9da55219f47ef6a1ca3e7e445b2c3ed9, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_9da55219f47ef6a1ca3e7e445b2c3ed9,
|
|
type_description_1,
|
|
par_self,
|
|
par_c,
|
|
par_is_last_char
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_9da55219f47ef6a1ca3e7e445b2c3ed9 == cache_frame_9da55219f47ef6a1ca3e7e445b2c3ed9 )
|
|
{
|
|
Py_DECREF( frame_9da55219f47ef6a1ca3e7e445b2c3ed9 );
|
|
}
|
|
cache_frame_9da55219f47ef6a1ca3e7e445b2c3ed9 = NULL;
|
|
|
|
assertFrameObject( frame_9da55219f47ef6a1ca3e7e445b2c3ed9 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_1:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_14_write_char );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_c );
|
|
par_c = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_is_last_char );
|
|
par_is_last_char = 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_c );
|
|
par_c = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_is_last_char );
|
|
par_is_last_char = 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$quoprimime$$$function_14_write_char );
|
|
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$quoprimime$$$function_15_body_encode( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_body = python_pars[ 0 ];
|
|
PyObject *par_maxlinelen = python_pars[ 1 ];
|
|
PyObject *par_eol = python_pars[ 2 ];
|
|
PyObject *var_last_has_eol = NULL;
|
|
PyObject *var_encoded_body = NULL;
|
|
PyObject *var_lines = NULL;
|
|
PyObject *var_last_line_no = NULL;
|
|
PyObject *var_line_no = NULL;
|
|
PyObject *var_line = NULL;
|
|
PyObject *var_last_char_index = NULL;
|
|
PyObject *var_i = NULL;
|
|
PyObject *var_c = NULL;
|
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
|
PyObject *tmp_for_loop_2__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_2__iter_value = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
|
|
PyObject *tmp_tuple_unpack_2__element_1 = NULL;
|
|
PyObject *tmp_tuple_unpack_2__element_2 = NULL;
|
|
PyObject *tmp_tuple_unpack_2__source_iter = NULL;
|
|
struct Nuitka_FrameObject *frame_1053d8d9faf55a87c4220ad0edafa60f;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_return_value = NULL;
|
|
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;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
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;
|
|
static struct Nuitka_FrameObject *cache_frame_1053d8d9faf55a87c4220ad0edafa60f = NULL;
|
|
PyObject *exception_keeper_type_7;
|
|
PyObject *exception_keeper_value_7;
|
|
PyTracebackObject *exception_keeper_tb_7;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_1053d8d9faf55a87c4220ad0edafa60f, codeobj_1053d8d9faf55a87c4220ad0edafa60f, module_future$backports$email$quoprimime, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_1053d8d9faf55a87c4220ad0edafa60f = cache_frame_1053d8d9faf55a87c4220ad0edafa60f;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_1053d8d9faf55a87c4220ad0edafa60f );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_1053d8d9faf55a87c4220ad0edafa60f ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( par_maxlinelen );
|
|
tmp_compexpr_left_1 = par_maxlinelen;
|
|
tmp_compexpr_right_1 = const_int_pos_4;
|
|
tmp_res = RICH_COMPARE_BOOL_LT( 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 = 228;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_make_exception_arg_1;
|
|
tmp_make_exception_arg_1 = const_str_digest_fb66c388b9a87faeedeaf09373f7bd19;
|
|
frame_1053d8d9faf55a87c4220ad0edafa60f->m_frame.f_lineno = 229;
|
|
{
|
|
PyObject *call_args[] = { tmp_make_exception_arg_1 };
|
|
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args );
|
|
}
|
|
|
|
assert( !(tmp_raise_type_1 == NULL) );
|
|
exception_type = tmp_raise_type_1;
|
|
exception_lineno = 229;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_operand_name_1;
|
|
if ( par_body == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "body" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 230;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_operand_name_1 = par_body;
|
|
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 = 230;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
if ( par_body == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "body" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 231;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = par_body;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
if ( par_body == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "body" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 234;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = par_body;
|
|
tmp_subscript_name_1 = const_int_neg_1;
|
|
tmp_compexpr_left_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, -1 );
|
|
if ( tmp_compexpr_left_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 234;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_compexpr_right_2 = const_str_digest_7ca129d2d421fe965ad48cbb290b579b;
|
|
tmp_res = PySequence_Contains( tmp_compexpr_right_2, tmp_compexpr_left_2 );
|
|
Py_DECREF( tmp_compexpr_left_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 234;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_1 = ( tmp_res == 1 ) ? Py_True : Py_False;
|
|
assert( var_last_has_eol == NULL );
|
|
Py_INCREF( tmp_assign_source_1 );
|
|
var_last_has_eol = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__body_accumulator );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__body_accumulator );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_body_accumulator" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 237;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
if ( par_maxlinelen == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "maxlinelen" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 237;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_maxlinelen;
|
|
if ( par_eol == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "eol" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 237;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_eol;
|
|
frame_1053d8d9faf55a87c4220ad0edafa60f->m_frame.f_lineno = 237;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 237;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_encoded_body == NULL );
|
|
var_encoded_body = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_called_instance_1;
|
|
if ( par_body == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "body" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 239;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_body;
|
|
frame_1053d8d9faf55a87c4220ad0edafa60f->m_frame.f_lineno = 239;
|
|
tmp_assign_source_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_splitlines );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 239;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_lines == NULL );
|
|
var_lines = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_len_arg_1;
|
|
PyObject *tmp_right_name_1;
|
|
CHECK_OBJECT( var_lines );
|
|
tmp_len_arg_1 = var_lines;
|
|
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 = 240;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_right_name_1 = const_int_pos_1;
|
|
tmp_assign_source_4 = BINARY_OPERATION_SUB( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 240;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_last_line_no == NULL );
|
|
var_last_line_no = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
tmp_called_name_2 = (PyObject *)&PyEnum_Type;
|
|
if ( var_lines == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lines" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_3 = var_lines;
|
|
frame_1053d8d9faf55a87c4220ad0edafa60f->m_frame.f_lineno = 241;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_5 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_5;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_6;
|
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_6 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_6 == 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 = "oooooooooooo";
|
|
exception_lineno = 241;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_6;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
PyObject *tmp_iter_arg_2;
|
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
|
tmp_iter_arg_2 = tmp_for_loop_1__iter_value;
|
|
tmp_assign_source_7 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 );
|
|
if ( tmp_assign_source_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__source_iter;
|
|
tmp_tuple_unpack_1__source_iter = tmp_assign_source_7;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
PyObject *tmp_unpack_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_8 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "oooooooooooo";
|
|
exception_lineno = 241;
|
|
goto try_except_handler_4;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__element_1;
|
|
tmp_tuple_unpack_1__element_1 = tmp_assign_source_8;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
PyObject *tmp_unpack_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_9 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
|
|
if ( tmp_assign_source_9 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "oooooooooooo";
|
|
exception_lineno = 241;
|
|
goto try_except_handler_4;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__element_2;
|
|
tmp_tuple_unpack_1__element_2 = tmp_assign_source_9;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_iterator_name_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
|
|
// Check if iterator has left-over elements.
|
|
CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
|
|
|
|
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
|
|
|
|
if (likely( tmp_iterator_attempt == NULL ))
|
|
{
|
|
PyObject *error = GET_ERROR_OCCURRED();
|
|
|
|
if ( error != NULL )
|
|
{
|
|
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
|
|
{
|
|
CLEAR_ERROR_OCCURRED();
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "oooooooooooo";
|
|
exception_lineno = 241;
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Py_DECREF( tmp_iterator_attempt );
|
|
|
|
// TODO: Could avoid PyErr_Format.
|
|
#if PYTHON_VERSION < 300
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
|
|
#else
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
|
|
#endif
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "oooooooooooo";
|
|
exception_lineno = 241;
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
|
|
tmp_assign_source_10 = tmp_tuple_unpack_1__element_1;
|
|
{
|
|
PyObject *old = var_line_no;
|
|
var_line_no = tmp_assign_source_10;
|
|
Py_INCREF( var_line_no );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_11;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
|
|
tmp_assign_source_11 = tmp_tuple_unpack_1__element_2;
|
|
{
|
|
PyObject *old = var_line;
|
|
var_line = tmp_assign_source_11;
|
|
Py_INCREF( var_line );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_len_arg_2;
|
|
PyObject *tmp_right_name_2;
|
|
if ( var_line == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 242;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_len_arg_2 = var_line;
|
|
tmp_left_name_2 = BUILTIN_LEN( tmp_len_arg_2 );
|
|
if ( tmp_left_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 242;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_right_name_2 = const_int_pos_1;
|
|
tmp_assign_source_12 = BINARY_OPERATION_SUB( tmp_left_name_2, tmp_right_name_2 );
|
|
Py_DECREF( tmp_left_name_2 );
|
|
if ( tmp_assign_source_12 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 242;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = var_last_char_index;
|
|
var_last_char_index = tmp_assign_source_12;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
PyObject *tmp_iter_arg_3;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_args_element_name_4;
|
|
tmp_called_name_3 = (PyObject *)&PyEnum_Type;
|
|
if ( var_line == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 243;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_4 = var_line;
|
|
frame_1053d8d9faf55a87c4220ad0edafa60f->m_frame.f_lineno = 243;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4 };
|
|
tmp_iter_arg_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
if ( tmp_iter_arg_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 243;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_assign_source_13 = MAKE_ITERATOR( tmp_iter_arg_3 );
|
|
Py_DECREF( tmp_iter_arg_3 );
|
|
if ( tmp_assign_source_13 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 243;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = tmp_for_loop_2__for_iterator;
|
|
tmp_for_loop_2__for_iterator = tmp_assign_source_13;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_2:;
|
|
{
|
|
PyObject *tmp_next_source_2;
|
|
PyObject *tmp_assign_source_14;
|
|
CHECK_OBJECT( tmp_for_loop_2__for_iterator );
|
|
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
|
|
tmp_assign_source_14 = ITERATOR_NEXT( tmp_next_source_2 );
|
|
if ( tmp_assign_source_14 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_2;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooooooooooo";
|
|
exception_lineno = 243;
|
|
goto try_except_handler_5;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_2__iter_value;
|
|
tmp_for_loop_2__iter_value = tmp_assign_source_14;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
PyObject *tmp_iter_arg_4;
|
|
CHECK_OBJECT( tmp_for_loop_2__iter_value );
|
|
tmp_iter_arg_4 = tmp_for_loop_2__iter_value;
|
|
tmp_assign_source_15 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_4 );
|
|
if ( tmp_assign_source_15 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 243;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_2__source_iter;
|
|
tmp_tuple_unpack_2__source_iter = tmp_assign_source_15;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_16;
|
|
PyObject *tmp_unpack_3;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
|
|
tmp_unpack_3 = tmp_tuple_unpack_2__source_iter;
|
|
tmp_assign_source_16 = UNPACK_NEXT( tmp_unpack_3, 0, 2 );
|
|
if ( tmp_assign_source_16 == 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 = "oooooooooooo";
|
|
exception_lineno = 243;
|
|
goto try_except_handler_7;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_2__element_1;
|
|
tmp_tuple_unpack_2__element_1 = tmp_assign_source_16;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_17;
|
|
PyObject *tmp_unpack_4;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
|
|
tmp_unpack_4 = tmp_tuple_unpack_2__source_iter;
|
|
tmp_assign_source_17 = UNPACK_NEXT( tmp_unpack_4, 1, 2 );
|
|
if ( tmp_assign_source_17 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "oooooooooooo";
|
|
exception_lineno = 243;
|
|
goto try_except_handler_7;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_2__element_2;
|
|
tmp_tuple_unpack_2__element_2 = tmp_assign_source_17;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
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 = "oooooooooooo";
|
|
exception_lineno = 243;
|
|
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 = "oooooooooooo";
|
|
exception_lineno = 243;
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
goto try_end_3;
|
|
// Exception handler code:
|
|
try_except_handler_7:;
|
|
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_6;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
goto try_end_4;
|
|
// Exception handler code:
|
|
try_except_handler_6:;
|
|
exception_keeper_type_4 = exception_type;
|
|
exception_keeper_value_4 = exception_value;
|
|
exception_keeper_tb_4 = exception_tb;
|
|
exception_keeper_lineno_4 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_1 );
|
|
tmp_tuple_unpack_2__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_2 );
|
|
tmp_tuple_unpack_2__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_4;
|
|
exception_value = exception_keeper_value_4;
|
|
exception_tb = exception_keeper_tb_4;
|
|
exception_lineno = exception_keeper_lineno_4;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
// 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_18;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__element_1 );
|
|
tmp_assign_source_18 = tmp_tuple_unpack_2__element_1;
|
|
{
|
|
PyObject *old = var_i;
|
|
var_i = tmp_assign_source_18;
|
|
Py_INCREF( var_i );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_1 );
|
|
tmp_tuple_unpack_2__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_19;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__element_2 );
|
|
tmp_assign_source_19 = tmp_tuple_unpack_2__element_2;
|
|
{
|
|
PyObject *old = var_c;
|
|
var_c = tmp_assign_source_19;
|
|
Py_INCREF( var_c );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_2 );
|
|
tmp_tuple_unpack_2__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_call_result_1;
|
|
PyObject *tmp_args_element_name_5;
|
|
PyObject *tmp_ord_arg_1;
|
|
int tmp_truth_name_1;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_body_check );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_body_check );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "body_check" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 244;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_called_name_4 = tmp_mvar_value_2;
|
|
if ( var_c == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 244;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_ord_arg_1 = var_c;
|
|
tmp_args_element_name_5 = BUILTIN_ORD( tmp_ord_arg_1 );
|
|
if ( tmp_args_element_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 244;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
frame_1053d8d9faf55a87c4220ad0edafa60f->m_frame.f_lineno = 244;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5 };
|
|
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_args_element_name_5 );
|
|
if ( tmp_call_result_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 244;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_call_result_1 );
|
|
|
|
exception_lineno = 244;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_condition_result_3 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_call_result_1 );
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_assign_source_20;
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_mvar_value_3;
|
|
PyObject *tmp_args_element_name_6;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_quote );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_quote );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "quote" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 245;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_called_name_5 = tmp_mvar_value_3;
|
|
if ( var_c == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 245;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_args_element_name_6 = var_c;
|
|
frame_1053d8d9faf55a87c4220ad0edafa60f->m_frame.f_lineno = 245;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_6 };
|
|
tmp_assign_source_20 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
|
|
}
|
|
|
|
if ( tmp_assign_source_20 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 245;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
{
|
|
PyObject *old = var_c;
|
|
var_c = tmp_assign_source_20;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_6;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_7;
|
|
PyObject *tmp_args_element_name_8;
|
|
PyObject *tmp_compexpr_left_3;
|
|
PyObject *tmp_compexpr_right_3;
|
|
if ( var_encoded_body == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoded_body" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 246;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_source_name_1 = var_encoded_body;
|
|
tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_write_char );
|
|
if ( tmp_called_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 246;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
if ( var_c == 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", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 246;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_args_element_name_7 = var_c;
|
|
if ( var_i == 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", "i" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 246;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_compexpr_left_3 = var_i;
|
|
if ( var_last_char_index == 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", "last_char_index" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 246;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_compexpr_right_3 = var_last_char_index;
|
|
tmp_args_element_name_8 = RICH_COMPARE_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 );
|
|
if ( tmp_args_element_name_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_6 );
|
|
|
|
exception_lineno = 246;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
frame_1053d8d9faf55a87c4220ad0edafa60f->m_frame.f_lineno = 246;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_7, tmp_args_element_name_8 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_6, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_6 );
|
|
Py_DECREF( tmp_args_element_name_8 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 246;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 243;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
goto loop_start_2;
|
|
loop_end_2:;
|
|
}
|
|
goto try_end_5;
|
|
// Exception handler code:
|
|
try_except_handler_5:;
|
|
exception_keeper_type_5 = exception_type;
|
|
exception_keeper_value_5 = exception_value;
|
|
exception_keeper_tb_5 = exception_tb;
|
|
exception_keeper_lineno_5 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_for_loop_2__iter_value );
|
|
tmp_for_loop_2__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator );
|
|
Py_DECREF( tmp_for_loop_2__for_iterator );
|
|
tmp_for_loop_2__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_5;
|
|
exception_value = exception_keeper_value_5;
|
|
exception_tb = exception_keeper_tb_5;
|
|
exception_lineno = exception_keeper_lineno_5;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
// End of try:
|
|
try_end_5:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_2__iter_value );
|
|
tmp_for_loop_2__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator );
|
|
Py_DECREF( tmp_for_loop_2__for_iterator );
|
|
tmp_for_loop_2__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
int tmp_or_left_truth_1;
|
|
nuitka_bool tmp_or_left_value_1;
|
|
nuitka_bool tmp_or_right_value_1;
|
|
PyObject *tmp_compexpr_left_4;
|
|
PyObject *tmp_compexpr_right_4;
|
|
int tmp_truth_name_2;
|
|
if ( var_line_no == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "line_no" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 249;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_compexpr_left_4 = var_line_no;
|
|
if ( var_last_line_no == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last_line_no" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 249;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_compexpr_right_4 = var_last_line_no;
|
|
tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_4, tmp_compexpr_right_4 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 249;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_or_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
|
|
if ( tmp_or_left_truth_1 == 1 )
|
|
{
|
|
goto or_left_1;
|
|
}
|
|
else
|
|
{
|
|
goto or_right_1;
|
|
}
|
|
or_right_1:;
|
|
if ( var_last_has_eol == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last_has_eol" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 249;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_truth_name_2 = CHECK_IF_TRUE( var_last_has_eol );
|
|
if ( tmp_truth_name_2 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 249;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_or_right_value_1 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
tmp_condition_result_4 = tmp_or_right_value_1;
|
|
goto or_end_1;
|
|
or_left_1:;
|
|
tmp_condition_result_4 = tmp_or_left_value_1;
|
|
or_end_1:;
|
|
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_4;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_4;
|
|
}
|
|
branch_yes_4:;
|
|
{
|
|
PyObject *tmp_called_instance_2;
|
|
if ( var_encoded_body == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoded_body" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 250;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_instance_2 = var_encoded_body;
|
|
frame_1053d8d9faf55a87c4220ad0edafa60f->m_frame.f_lineno = 250;
|
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_newline );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 250;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
branch_no_4:;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 241;
|
|
type_description_1 = "oooooooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_6;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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_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_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:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_3;
|
|
if ( var_encoded_body == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "encoded_body" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 252;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_3 = var_encoded_body;
|
|
frame_1053d8d9faf55a87c4220ad0edafa60f->m_frame.f_lineno = 252;
|
|
tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_getvalue );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 252;
|
|
type_description_1 = "oooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1053d8d9faf55a87c4220ad0edafa60f );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1053d8d9faf55a87c4220ad0edafa60f );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1053d8d9faf55a87c4220ad0edafa60f );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_1053d8d9faf55a87c4220ad0edafa60f, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_1053d8d9faf55a87c4220ad0edafa60f->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_1053d8d9faf55a87c4220ad0edafa60f, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_1053d8d9faf55a87c4220ad0edafa60f,
|
|
type_description_1,
|
|
par_body,
|
|
par_maxlinelen,
|
|
par_eol,
|
|
var_last_has_eol,
|
|
var_encoded_body,
|
|
var_lines,
|
|
var_last_line_no,
|
|
var_line_no,
|
|
var_line,
|
|
var_last_char_index,
|
|
var_i,
|
|
var_c
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_1053d8d9faf55a87c4220ad0edafa60f == cache_frame_1053d8d9faf55a87c4220ad0edafa60f )
|
|
{
|
|
Py_DECREF( frame_1053d8d9faf55a87c4220ad0edafa60f );
|
|
}
|
|
cache_frame_1053d8d9faf55a87c4220ad0edafa60f = NULL;
|
|
|
|
assertFrameObject( frame_1053d8d9faf55a87c4220ad0edafa60f );
|
|
|
|
// 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$quoprimime$$$function_15_body_encode );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_body );
|
|
par_body = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_maxlinelen );
|
|
par_maxlinelen = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_eol );
|
|
par_eol = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_last_has_eol );
|
|
var_last_has_eol = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_encoded_body );
|
|
var_encoded_body = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_lines );
|
|
var_lines = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_last_line_no );
|
|
var_last_line_no = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_line_no );
|
|
var_line_no = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_line );
|
|
var_line = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_last_char_index );
|
|
var_last_char_index = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_i );
|
|
var_i = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_c );
|
|
var_c = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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;
|
|
|
|
{
|
|
Py_XDECREF( par_body );
|
|
par_body = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_maxlinelen );
|
|
par_maxlinelen = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_eol );
|
|
par_eol = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_last_has_eol );
|
|
var_last_has_eol = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_encoded_body );
|
|
var_encoded_body = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_lines );
|
|
var_lines = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_last_line_no );
|
|
var_last_line_no = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_line_no );
|
|
var_line_no = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_line );
|
|
var_line = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_last_char_index );
|
|
var_last_char_index = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_i );
|
|
var_i = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_c );
|
|
var_c = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_7;
|
|
exception_value = exception_keeper_value_7;
|
|
exception_tb = exception_keeper_tb_7;
|
|
exception_lineno = exception_keeper_lineno_7;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_15_body_encode );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$quoprimime$$$function_16_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_encoded = python_pars[ 0 ];
|
|
PyObject *par_eol = python_pars[ 1 ];
|
|
PyObject *var_decoded = NULL;
|
|
PyObject *var_line = NULL;
|
|
PyObject *var_i = NULL;
|
|
PyObject *var_n = NULL;
|
|
PyObject *var_c = NULL;
|
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
|
struct Nuitka_FrameObject *frame_c0e2fb24435bff7f5f09cc0de8026687;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_return_value = NULL;
|
|
bool tmp_result;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
static struct Nuitka_FrameObject *cache_frame_c0e2fb24435bff7f5f09cc0de8026687 = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_c0e2fb24435bff7f5f09cc0de8026687, codeobj_c0e2fb24435bff7f5f09cc0de8026687, module_future$backports$email$quoprimime, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_c0e2fb24435bff7f5f09cc0de8026687 = cache_frame_c0e2fb24435bff7f5f09cc0de8026687;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_c0e2fb24435bff7f5f09cc0de8026687 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_c0e2fb24435bff7f5f09cc0de8026687 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_operand_name_1;
|
|
CHECK_OBJECT( par_encoded );
|
|
tmp_operand_name_1 = par_encoded;
|
|
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 = 263;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
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 = 264;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = par_encoded;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = const_str_empty;
|
|
assert( var_decoded == NULL );
|
|
Py_INCREF( tmp_assign_source_1 );
|
|
var_decoded = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_instance_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 = 270;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_encoded;
|
|
frame_c0e2fb24435bff7f5f09cc0de8026687->m_frame.f_lineno = 270;
|
|
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_splitlines );
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 270;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 270;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_3;
|
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooooooo";
|
|
exception_lineno = 270;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
|
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
|
|
{
|
|
PyObject *old = var_line;
|
|
var_line = tmp_assign_source_4;
|
|
Py_INCREF( var_line );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_called_instance_2;
|
|
CHECK_OBJECT( var_line );
|
|
tmp_called_instance_2 = var_line;
|
|
frame_c0e2fb24435bff7f5f09cc0de8026687->m_frame.f_lineno = 271;
|
|
tmp_assign_source_5 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_rstrip );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 271;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = var_line;
|
|
var_line = tmp_assign_source_5;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_operand_name_2;
|
|
CHECK_OBJECT( var_line );
|
|
tmp_operand_name_2 = var_line;
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 272;
|
|
type_description_1 = "ooooooo";
|
|
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_assign_source_6;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
if ( var_decoded == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "decoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 273;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_1 = var_decoded;
|
|
if ( par_eol == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "eol" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 273;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_right_name_1 = par_eol;
|
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_1, tmp_right_name_1 );
|
|
tmp_assign_source_6 = tmp_left_name_1;
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 273;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
var_decoded = tmp_assign_source_6;
|
|
|
|
}
|
|
{
|
|
goto loop_start_1;
|
|
}
|
|
branch_no_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
tmp_assign_source_7 = const_int_0;
|
|
{
|
|
PyObject *old = var_i;
|
|
var_i = tmp_assign_source_7;
|
|
Py_INCREF( var_i );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
PyObject *tmp_len_arg_1;
|
|
if ( var_line == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 277;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_len_arg_1 = var_line;
|
|
tmp_assign_source_8 = BUILTIN_LEN( tmp_len_arg_1 );
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 277;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = var_n;
|
|
var_n = tmp_assign_source_8;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
loop_start_2:;
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_operand_name_3;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
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 = 278;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_compexpr_left_1 = var_i;
|
|
CHECK_OBJECT( var_n );
|
|
tmp_compexpr_right_1 = var_n;
|
|
tmp_operand_name_3 = RICH_COMPARE_LT( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
if ( tmp_operand_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 278;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 );
|
|
Py_DECREF( tmp_operand_name_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 278;
|
|
type_description_1 = "ooooooo";
|
|
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_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
goto loop_end_2;
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
if ( var_line == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 279;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = var_line;
|
|
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 = 279;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscript_name_1 = var_i;
|
|
tmp_assign_source_9 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_assign_source_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 279;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = var_c;
|
|
var_c = tmp_assign_source_9;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
CHECK_OBJECT( var_c );
|
|
tmp_compexpr_left_2 = var_c;
|
|
tmp_compexpr_right_2 = const_str_chr_61;
|
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 280;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_4;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_4;
|
|
}
|
|
branch_yes_4:;
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_right_name_2;
|
|
if ( var_decoded == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "decoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 281;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_2 = var_decoded;
|
|
if ( var_c == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 281;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_right_name_2 = var_c;
|
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_2, tmp_right_name_2 );
|
|
tmp_assign_source_10 = tmp_left_name_2;
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 281;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
var_decoded = tmp_assign_source_10;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_11;
|
|
PyObject *tmp_left_name_3;
|
|
PyObject *tmp_right_name_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 = 282;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_3 = var_i;
|
|
tmp_right_name_3 = const_int_pos_1;
|
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_3, tmp_right_name_3 );
|
|
tmp_assign_source_11 = tmp_left_name_3;
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 282;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
var_i = tmp_assign_source_11;
|
|
|
|
}
|
|
goto branch_end_4;
|
|
branch_no_4:;
|
|
{
|
|
nuitka_bool tmp_condition_result_5;
|
|
PyObject *tmp_compexpr_left_3;
|
|
PyObject *tmp_compexpr_right_3;
|
|
PyObject *tmp_left_name_4;
|
|
PyObject *tmp_right_name_4;
|
|
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 = 285;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_4 = var_i;
|
|
tmp_right_name_4 = const_int_pos_1;
|
|
tmp_compexpr_left_3 = BINARY_OPERATION_ADD( tmp_left_name_4, tmp_right_name_4 );
|
|
if ( tmp_compexpr_left_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 285;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( var_n == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "n" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 285;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_compexpr_right_3 = var_n;
|
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 );
|
|
Py_DECREF( tmp_compexpr_left_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 285;
|
|
type_description_1 = "ooooooo";
|
|
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_5;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_5;
|
|
}
|
|
branch_yes_5:;
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
PyObject *tmp_left_name_5;
|
|
PyObject *tmp_right_name_5;
|
|
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 = 286;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_5 = var_i;
|
|
tmp_right_name_5 = const_int_pos_1;
|
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_5, tmp_right_name_5 );
|
|
tmp_assign_source_12 = tmp_left_name_5;
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 286;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
var_i = tmp_assign_source_12;
|
|
|
|
}
|
|
{
|
|
goto loop_start_2;
|
|
}
|
|
goto branch_end_5;
|
|
branch_no_5:;
|
|
{
|
|
nuitka_bool tmp_condition_result_6;
|
|
int tmp_and_left_truth_1;
|
|
nuitka_bool tmp_and_left_value_1;
|
|
nuitka_bool tmp_and_right_value_1;
|
|
PyObject *tmp_compexpr_left_4;
|
|
PyObject *tmp_compexpr_right_4;
|
|
PyObject *tmp_left_name_6;
|
|
PyObject *tmp_right_name_6;
|
|
int tmp_and_left_truth_2;
|
|
nuitka_bool tmp_and_left_value_2;
|
|
nuitka_bool tmp_and_right_value_2;
|
|
PyObject *tmp_compexpr_left_5;
|
|
PyObject *tmp_compexpr_right_5;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
PyObject *tmp_left_name_7;
|
|
PyObject *tmp_right_name_7;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_compexpr_left_6;
|
|
PyObject *tmp_compexpr_right_6;
|
|
PyObject *tmp_subscribed_name_3;
|
|
PyObject *tmp_subscript_name_3;
|
|
PyObject *tmp_left_name_8;
|
|
PyObject *tmp_right_name_8;
|
|
PyObject *tmp_mvar_value_2;
|
|
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 = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_6 = var_i;
|
|
tmp_right_name_6 = const_int_pos_2;
|
|
tmp_compexpr_left_4 = BINARY_OPERATION_ADD( tmp_left_name_6, tmp_right_name_6 );
|
|
if ( tmp_compexpr_left_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( var_n == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_4 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "n" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_compexpr_right_4 = var_n;
|
|
tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_4, tmp_compexpr_right_4 );
|
|
Py_DECREF( tmp_compexpr_left_4 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
|
|
if ( tmp_and_left_truth_1 == 1 )
|
|
{
|
|
goto and_right_1;
|
|
}
|
|
else
|
|
{
|
|
goto and_left_1;
|
|
}
|
|
and_right_1:;
|
|
if ( var_line == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscribed_name_2 = var_line;
|
|
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 = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_7 = var_i;
|
|
tmp_right_name_7 = const_int_pos_1;
|
|
tmp_subscript_name_2 = BINARY_OPERATION_ADD( tmp_left_name_7, tmp_right_name_7 );
|
|
if ( tmp_subscript_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_compexpr_left_5 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 );
|
|
Py_DECREF( tmp_subscript_name_2 );
|
|
if ( tmp_compexpr_left_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_hexdigits );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_hexdigits );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_5 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "hexdigits" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_compexpr_right_5 = tmp_mvar_value_1;
|
|
tmp_res = PySequence_Contains( tmp_compexpr_right_5, tmp_compexpr_left_5 );
|
|
Py_DECREF( tmp_compexpr_left_5 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_and_left_value_2 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
|
|
if ( tmp_and_left_truth_2 == 1 )
|
|
{
|
|
goto and_right_2;
|
|
}
|
|
else
|
|
{
|
|
goto and_left_2;
|
|
}
|
|
and_right_2:;
|
|
if ( var_line == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscribed_name_3 = var_line;
|
|
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 = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_8 = var_i;
|
|
tmp_right_name_8 = const_int_pos_2;
|
|
tmp_subscript_name_3 = BINARY_OPERATION_ADD( tmp_left_name_8, tmp_right_name_8 );
|
|
if ( tmp_subscript_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_compexpr_left_6 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 );
|
|
Py_DECREF( tmp_subscript_name_3 );
|
|
if ( tmp_compexpr_left_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_hexdigits );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_hexdigits );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_6 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "hexdigits" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_compexpr_right_6 = tmp_mvar_value_2;
|
|
tmp_res = PySequence_Contains( tmp_compexpr_right_6, tmp_compexpr_left_6 );
|
|
Py_DECREF( tmp_compexpr_left_6 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 289;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_and_right_value_2 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
tmp_and_right_value_1 = tmp_and_right_value_2;
|
|
goto and_end_2;
|
|
and_left_2:;
|
|
tmp_and_right_value_1 = tmp_and_left_value_2;
|
|
and_end_2:;
|
|
tmp_condition_result_6 = tmp_and_right_value_1;
|
|
goto and_end_1;
|
|
and_left_1:;
|
|
tmp_condition_result_6 = tmp_and_left_value_1;
|
|
and_end_1:;
|
|
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_6;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_6;
|
|
}
|
|
branch_yes_6:;
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
PyObject *tmp_left_name_9;
|
|
PyObject *tmp_right_name_9;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_3;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_subscribed_name_4;
|
|
PyObject *tmp_subscript_name_4;
|
|
PyObject *tmp_start_name_1;
|
|
PyObject *tmp_stop_name_1;
|
|
PyObject *tmp_left_name_10;
|
|
PyObject *tmp_right_name_10;
|
|
PyObject *tmp_step_name_1;
|
|
if ( var_decoded == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "decoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 290;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_9 = var_decoded;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_unquote );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_unquote );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "unquote" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 290;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_3;
|
|
if ( var_line == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "line" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 290;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_subscribed_name_4 = var_line;
|
|
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 = 290;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_start_name_1 = var_i;
|
|
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 = 290;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_10 = var_i;
|
|
tmp_right_name_10 = const_int_pos_3;
|
|
tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_10, tmp_right_name_10 );
|
|
if ( tmp_stop_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 290;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_step_name_1 = Py_None;
|
|
tmp_subscript_name_4 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 );
|
|
Py_DECREF( tmp_stop_name_1 );
|
|
assert( !(tmp_subscript_name_4 == NULL) );
|
|
tmp_args_element_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_4, tmp_subscript_name_4 );
|
|
Py_DECREF( tmp_subscript_name_4 );
|
|
if ( tmp_args_element_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 290;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
frame_c0e2fb24435bff7f5f09cc0de8026687->m_frame.f_lineno = 290;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_right_name_9 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_right_name_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 290;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_9, tmp_right_name_9 );
|
|
tmp_assign_source_13 = tmp_left_name_9;
|
|
Py_DECREF( tmp_right_name_9 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 290;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
var_decoded = tmp_assign_source_13;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_14;
|
|
PyObject *tmp_left_name_11;
|
|
PyObject *tmp_right_name_11;
|
|
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 = 291;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_11 = var_i;
|
|
tmp_right_name_11 = const_int_pos_3;
|
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_11, tmp_right_name_11 );
|
|
tmp_assign_source_14 = tmp_left_name_11;
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 291;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
var_i = tmp_assign_source_14;
|
|
|
|
}
|
|
goto branch_end_6;
|
|
branch_no_6:;
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
PyObject *tmp_left_name_12;
|
|
PyObject *tmp_right_name_12;
|
|
if ( var_decoded == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "decoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 294;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_12 = var_decoded;
|
|
if ( var_c == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 294;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_right_name_12 = var_c;
|
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_12, tmp_right_name_12 );
|
|
tmp_assign_source_15 = tmp_left_name_12;
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 294;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
var_decoded = tmp_assign_source_15;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_16;
|
|
PyObject *tmp_left_name_13;
|
|
PyObject *tmp_right_name_13;
|
|
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 = 295;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_13 = var_i;
|
|
tmp_right_name_13 = const_int_pos_1;
|
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_13, tmp_right_name_13 );
|
|
tmp_assign_source_16 = tmp_left_name_13;
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 295;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
var_i = tmp_assign_source_16;
|
|
|
|
}
|
|
branch_end_6:;
|
|
}
|
|
branch_end_5:;
|
|
}
|
|
branch_end_4:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_7;
|
|
PyObject *tmp_compexpr_left_7;
|
|
PyObject *tmp_compexpr_right_7;
|
|
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 = 297;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_compexpr_left_7 = var_i;
|
|
if ( var_n == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "n" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 297;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_compexpr_right_7 = var_n;
|
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_7, tmp_compexpr_right_7 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 297;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_7;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_7;
|
|
}
|
|
branch_yes_7:;
|
|
{
|
|
PyObject *tmp_assign_source_17;
|
|
PyObject *tmp_left_name_14;
|
|
PyObject *tmp_right_name_14;
|
|
if ( var_decoded == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "decoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 298;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_left_name_14 = var_decoded;
|
|
if ( par_eol == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "eol" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 298;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_right_name_14 = par_eol;
|
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_14, tmp_right_name_14 );
|
|
tmp_assign_source_17 = tmp_left_name_14;
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 298;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
var_decoded = tmp_assign_source_17;
|
|
|
|
}
|
|
branch_no_7:;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 278;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_2;
|
|
loop_end_2:;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 270;
|
|
type_description_1 = "ooooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_8;
|
|
int tmp_and_left_truth_3;
|
|
nuitka_bool tmp_and_left_value_3;
|
|
nuitka_bool tmp_and_right_value_3;
|
|
PyObject *tmp_compexpr_left_8;
|
|
PyObject *tmp_compexpr_right_8;
|
|
PyObject *tmp_subscribed_name_5;
|
|
PyObject *tmp_subscript_name_5;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_call_result_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
int tmp_truth_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 = 300;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_5 = par_encoded;
|
|
tmp_subscript_name_5 = const_int_neg_1;
|
|
tmp_compexpr_left_8 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_5, tmp_subscript_name_5, -1 );
|
|
if ( tmp_compexpr_left_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 300;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_compexpr_right_8 = const_str_digest_7ca129d2d421fe965ad48cbb290b579b;
|
|
tmp_res = PySequence_Contains( tmp_compexpr_right_8, tmp_compexpr_left_8 );
|
|
Py_DECREF( tmp_compexpr_left_8 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 300;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_and_left_value_3 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
|
|
if ( tmp_and_left_truth_3 == 1 )
|
|
{
|
|
goto and_right_3;
|
|
}
|
|
else
|
|
{
|
|
goto and_left_3;
|
|
}
|
|
and_right_3:;
|
|
if ( var_decoded == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "decoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 300;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = var_decoded;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_endswith );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 300;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_eol == 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", "eol" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 300;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_eol;
|
|
frame_c0e2fb24435bff7f5f09cc0de8026687->m_frame.f_lineno = 300;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_call_result_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 300;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_call_result_1 );
|
|
|
|
exception_lineno = 300;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_and_right_value_3 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_call_result_1 );
|
|
tmp_condition_result_8 = tmp_and_right_value_3;
|
|
goto and_end_3;
|
|
and_left_3:;
|
|
tmp_condition_result_8 = tmp_and_left_value_3;
|
|
and_end_3:;
|
|
if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_8;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_8;
|
|
}
|
|
branch_yes_8:;
|
|
{
|
|
PyObject *tmp_assign_source_18;
|
|
PyObject *tmp_subscribed_name_6;
|
|
PyObject *tmp_subscript_name_6;
|
|
if ( var_decoded == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "decoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 301;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_6 = var_decoded;
|
|
tmp_subscript_name_6 = const_slice_none_int_neg_1_none;
|
|
tmp_assign_source_18 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_6, tmp_subscript_name_6 );
|
|
if ( tmp_assign_source_18 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 301;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = var_decoded;
|
|
var_decoded = tmp_assign_source_18;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_no_8:;
|
|
}
|
|
{
|
|
if ( var_decoded == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "decoded" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 302;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = var_decoded;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c0e2fb24435bff7f5f09cc0de8026687 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c0e2fb24435bff7f5f09cc0de8026687 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c0e2fb24435bff7f5f09cc0de8026687 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_c0e2fb24435bff7f5f09cc0de8026687, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_c0e2fb24435bff7f5f09cc0de8026687->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_c0e2fb24435bff7f5f09cc0de8026687, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_c0e2fb24435bff7f5f09cc0de8026687,
|
|
type_description_1,
|
|
par_encoded,
|
|
par_eol,
|
|
var_decoded,
|
|
var_line,
|
|
var_i,
|
|
var_n,
|
|
var_c
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_c0e2fb24435bff7f5f09cc0de8026687 == cache_frame_c0e2fb24435bff7f5f09cc0de8026687 )
|
|
{
|
|
Py_DECREF( frame_c0e2fb24435bff7f5f09cc0de8026687 );
|
|
}
|
|
cache_frame_c0e2fb24435bff7f5f09cc0de8026687 = NULL;
|
|
|
|
assertFrameObject( frame_c0e2fb24435bff7f5f09cc0de8026687 );
|
|
|
|
// 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$quoprimime$$$function_16_decode );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_encoded );
|
|
par_encoded = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_eol );
|
|
par_eol = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_decoded );
|
|
var_decoded = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_line );
|
|
var_line = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_i );
|
|
var_i = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_n );
|
|
var_n = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_c );
|
|
var_c = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_encoded );
|
|
par_encoded = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_eol );
|
|
par_eol = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_decoded );
|
|
var_decoded = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_line );
|
|
var_line = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_i );
|
|
var_i = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_n );
|
|
var_n = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_c );
|
|
var_c = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime$$$function_16_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$quoprimime$$$function_17__unquote_match( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_match = python_pars[ 0 ];
|
|
PyObject *var_s = NULL;
|
|
struct Nuitka_FrameObject *frame_a808929841429aa9adc9b07146a58aa3;
|
|
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_a808929841429aa9adc9b07146a58aa3 = 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_a808929841429aa9adc9b07146a58aa3, codeobj_a808929841429aa9adc9b07146a58aa3, module_future$backports$email$quoprimime, sizeof(void *)+sizeof(void *) );
|
|
frame_a808929841429aa9adc9b07146a58aa3 = cache_frame_a808929841429aa9adc9b07146a58aa3;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_a808929841429aa9adc9b07146a58aa3 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_a808929841429aa9adc9b07146a58aa3 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_instance_1;
|
|
CHECK_OBJECT( par_match );
|
|
tmp_called_instance_1 = par_match;
|
|
frame_a808929841429aa9adc9b07146a58aa3->m_frame.f_lineno = 313;
|
|
tmp_assign_source_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_group, &PyTuple_GET_ITEM( const_tuple_int_0_tuple, 0 ) );
|
|
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 313;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_s == NULL );
|
|
var_s = 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$quoprimime, (Nuitka_StringObject *)const_str_plain_unquote );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_unquote );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "unquote" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 314;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( var_s );
|
|
tmp_args_element_name_1 = var_s;
|
|
frame_a808929841429aa9adc9b07146a58aa3->m_frame.f_lineno = 314;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 314;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_a808929841429aa9adc9b07146a58aa3 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_a808929841429aa9adc9b07146a58aa3 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_a808929841429aa9adc9b07146a58aa3 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_a808929841429aa9adc9b07146a58aa3, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_a808929841429aa9adc9b07146a58aa3->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_a808929841429aa9adc9b07146a58aa3, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_a808929841429aa9adc9b07146a58aa3,
|
|
type_description_1,
|
|
par_match,
|
|
var_s
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_a808929841429aa9adc9b07146a58aa3 == cache_frame_a808929841429aa9adc9b07146a58aa3 )
|
|
{
|
|
Py_DECREF( frame_a808929841429aa9adc9b07146a58aa3 );
|
|
}
|
|
cache_frame_a808929841429aa9adc9b07146a58aa3 = NULL;
|
|
|
|
assertFrameObject( frame_a808929841429aa9adc9b07146a58aa3 );
|
|
|
|
// 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$quoprimime$$$function_17__unquote_match );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_match );
|
|
par_match = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_s );
|
|
var_s = 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_match );
|
|
par_match = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_s );
|
|
var_s = 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$quoprimime$$$function_17__unquote_match );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$quoprimime$$$function_18_header_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_s = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_27bd6f379e5672254eac2e0a5258494e;
|
|
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_27bd6f379e5672254eac2e0a5258494e = 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_27bd6f379e5672254eac2e0a5258494e, codeobj_27bd6f379e5672254eac2e0a5258494e, module_future$backports$email$quoprimime, sizeof(void *) );
|
|
frame_27bd6f379e5672254eac2e0a5258494e = cache_frame_27bd6f379e5672254eac2e0a5258494e;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_27bd6f379e5672254eac2e0a5258494e );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_27bd6f379e5672254eac2e0a5258494e ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_instance_1;
|
|
CHECK_OBJECT( par_s );
|
|
tmp_called_instance_1 = par_s;
|
|
frame_27bd6f379e5672254eac2e0a5258494e->m_frame.f_lineno = 325;
|
|
tmp_assign_source_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_plain___str_space_tuple, 0 ) );
|
|
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 325;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_s;
|
|
par_s = tmp_assign_source_1;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_mvar_value_3;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_re );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == 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 = 326;
|
|
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_sub );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 326;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_args_element_name_1 = const_str_digest_116e37073b6cba03ab138337241d5f37;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__unquote_match );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__unquote_match );
|
|
}
|
|
|
|
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", "_unquote_match" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 326;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = tmp_mvar_value_2;
|
|
if ( par_s == 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", "s" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 326;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_3 = par_s;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_re );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == 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 = 326;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = tmp_mvar_value_3;
|
|
tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_ASCII );
|
|
if ( tmp_args_element_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
|
|
exception_lineno = 326;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_27bd6f379e5672254eac2e0a5258494e->m_frame.f_lineno = 326;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS4( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_element_name_4 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 326;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_27bd6f379e5672254eac2e0a5258494e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_27bd6f379e5672254eac2e0a5258494e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_27bd6f379e5672254eac2e0a5258494e );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_27bd6f379e5672254eac2e0a5258494e, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_27bd6f379e5672254eac2e0a5258494e->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_27bd6f379e5672254eac2e0a5258494e, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_27bd6f379e5672254eac2e0a5258494e,
|
|
type_description_1,
|
|
par_s
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_27bd6f379e5672254eac2e0a5258494e == cache_frame_27bd6f379e5672254eac2e0a5258494e )
|
|
{
|
|
Py_DECREF( frame_27bd6f379e5672254eac2e0a5258494e );
|
|
}
|
|
cache_frame_27bd6f379e5672254eac2e0a5258494e = NULL;
|
|
|
|
assertFrameObject( frame_27bd6f379e5672254eac2e0a5258494e );
|
|
|
|
// 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$quoprimime$$$function_18_header_decode );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_s );
|
|
par_s = 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_s );
|
|
par_s = 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$quoprimime$$$function_18_header_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 *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_10_write_str( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_10_write_str,
|
|
const_str_plain_write_str,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_ee095db4840013cf73bb5e08d8b6f644,
|
|
#endif
|
|
codeobj_4cb7d376a1f806c6533ffaee0aa05191,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_a4729b7fbb91395998681b1a8bbcfddc,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_11_newline( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_11_newline,
|
|
const_str_plain_newline,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_20fe6e0cd7ea24cf785533bb6d93a2b9,
|
|
#endif
|
|
codeobj_84afe349ac591ae5169e2bec369377f4,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_2eb3ca410683bc40f03ff27ab49398eb,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_12_write_soft_break( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_12_write_soft_break,
|
|
const_str_plain_write_soft_break,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_430b5d9ad8c83bbf85cba59f2a6bd66b,
|
|
#endif
|
|
codeobj_e6ae1334a3fe375d4e16aa5669cef778,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_a2037b1c58e45014a01e0b0ce439913d,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_13_write_wrapped( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_13_write_wrapped,
|
|
const_str_plain_write_wrapped,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_e0b31a325ceba5ff922200190962b441,
|
|
#endif
|
|
codeobj_10220d86d715830588b8ed67402f3a2e,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_6a7643291f60c427b90a03402fe63050,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_14_write_char( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_14_write_char,
|
|
const_str_plain_write_char,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_a43dec1fa9e1ff5b310f9906b26353e0,
|
|
#endif
|
|
codeobj_9da55219f47ef6a1ca3e7e445b2c3ed9,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_15_body_encode( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_15_body_encode,
|
|
const_str_plain_body_encode,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_1053d8d9faf55a87c4220ad0edafa60f,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_2f1364282688adb88f50bb2d65513f87,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_16_decode( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_16_decode,
|
|
const_str_plain_decode,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_c0e2fb24435bff7f5f09cc0de8026687,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_5671e4456925bbf527b65fa910c264a4,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_17__unquote_match( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_17__unquote_match,
|
|
const_str_plain__unquote_match,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_a808929841429aa9adc9b07146a58aa3,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_29f4ad0ee2975163dc869bb6acbba596,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_18_header_decode( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_18_header_decode,
|
|
const_str_plain_header_decode,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_27bd6f379e5672254eac2e0a5258494e,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_d53116ecfe81ceec5c32bcda914791a4,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_1_header_check( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_1_header_check,
|
|
const_str_plain_header_check,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_88cd41f5c51cf96b08dfeb7e21f6bb32,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_f088e528e9426eea0eb148c0b1db0158,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_2_body_check( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_2_body_check,
|
|
const_str_plain_body_check,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_d5a4c4dc4f047e3f02cecbde13797c2e,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_a1b10c38d35696032be5b0331c94b6da,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_3_header_length( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_3_header_length,
|
|
const_str_plain_header_length,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_05d577e718c2984eb2b3e4c3c70af8c0,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_36c0aa3b991b9e291e1ef711dd005176,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_4_body_length( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_4_body_length,
|
|
const_str_plain_body_length,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_37afb809332ca49c588d199e80d38935,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_7db391ecc19d907b8bcd538283da2fbf,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_5__max_append( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_5__max_append,
|
|
const_str_plain__max_append,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_88120c6dc562cc66a5f62b042baa6aaf,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_6_unquote( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_6_unquote,
|
|
const_str_plain_unquote,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_15443091d26328c3eacabf9f0ccf7c68,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_6e77bb6529671ec7655241cbf74b530a,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_7_quote( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_7_quote,
|
|
const_str_plain_quote,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_7af14b7799bf6c0932abcc6dce94132c,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_8_header_encode( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_8_header_encode,
|
|
const_str_plain_header_encode,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_ac5f81e3ff1f10dabe920586919cfe4f,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
const_str_digest_28d5d6caf3ade3551806e6162dce2560,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$quoprimime$$$function_9___init__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$quoprimime$$$function_9___init__,
|
|
const_str_plain___init__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_323603b2946868e6658f977b19642ab5,
|
|
#endif
|
|
codeobj_c2fedcc21238ee40a0f65f6b232379ef,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$quoprimime,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
static struct PyModuleDef mdef_future$backports$email$quoprimime =
|
|
{
|
|
PyModuleDef_HEAD_INIT,
|
|
"future.backports.email.quoprimime", /* 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$quoprimime )
|
|
{
|
|
#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$quoprimime );
|
|
}
|
|
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.quoprimime: 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.quoprimime: Calling createModuleConstants().");
|
|
#endif
|
|
createModuleConstants();
|
|
|
|
/* The code objects used by this module are created now. */
|
|
#ifdef _NUITKA_TRACE
|
|
puts("future.backports.email.quoprimime: Calling createModuleCodeObjects().");
|
|
#endif
|
|
createModuleCodeObjects();
|
|
|
|
// puts( "in initfuture$backports$email$quoprimime" );
|
|
|
|
// 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$quoprimime = Py_InitModule4(
|
|
"future.backports.email.quoprimime", // 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$quoprimime = PyModule_Create( &mdef_future$backports$email$quoprimime );
|
|
#endif
|
|
|
|
moduledict_future$backports$email$quoprimime = MODULE_DICT( module_future$backports$email$quoprimime );
|
|
|
|
// Update "__package__" value to what it ought to be.
|
|
{
|
|
#if 0
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_future$backports$email$quoprimime,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
module_name
|
|
);
|
|
|
|
#else
|
|
|
|
#if PYTHON_VERSION < 300
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (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$quoprimime,
|
|
(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$quoprimime, (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$quoprimime,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
PyUnicode_Substring( module_name, 0, dot_index )
|
|
);
|
|
}
|
|
#endif
|
|
#endif
|
|
}
|
|
|
|
CHECK_OBJECT( module_future$backports$email$quoprimime );
|
|
|
|
// 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_64adfa6a4e86e727753e6356f8f39ba2, module_future$backports$email$quoprimime );
|
|
|
|
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$quoprimime, (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$quoprimime, (Nuitka_StringObject *)const_str_plain___builtins__, value );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
|
|
#endif
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
#if 0
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$quoprimime, (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$quoprimime, (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$quoprimime, (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__bases_orig = NULL;
|
|
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
|
|
PyObject *tmp_class_creation_1__metaclass = NULL;
|
|
PyObject *tmp_class_creation_1__prepared = NULL;
|
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
|
PyObject *tmp_for_loop_2__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_2__iter_value = NULL;
|
|
PyObject *tmp_genexpr_1__$0 = NULL;
|
|
PyObject *tmp_import_from_1__module = NULL;
|
|
PyObject *tmp_import_from_2__module = NULL;
|
|
struct Nuitka_FrameObject *frame_6c8f4dfb3747861a481c114fb16af3e3;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
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;
|
|
int tmp_res;
|
|
PyObject *tmp_dictdel_dict;
|
|
PyObject *tmp_dictdel_key;
|
|
PyObject *locals_future$backports$email$quoprimime_155 = NULL;
|
|
PyObject *tmp_dictset_value;
|
|
struct Nuitka_FrameObject *frame_2b85c9740835b95d42c2151a5b4259d5_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_2b85c9740835b95d42c2151a5b4259d5_2 = NULL;
|
|
PyObject *exception_keeper_type_5;
|
|
PyObject *exception_keeper_value_5;
|
|
PyTracebackObject *exception_keeper_tb_5;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
|
|
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;
|
|
|
|
// Module code.
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = const_str_digest_f59055219e2af9e8d5d2dd579827ac07;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = const_str_digest_661dbe79fffec5aed822bd3047f2fa0d;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$quoprimime, (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$quoprimime, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
|
|
}
|
|
// Frame without reuse.
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3 = MAKE_MODULE_FRAME( codeobj_6c8f4dfb3747861a481c114fb16af3e3, module_future$backports$email$quoprimime );
|
|
|
|
// Push the new frame as the currently active one, and we should be exclusively
|
|
// owning it.
|
|
pushFrameStack( frame_6c8f4dfb3747861a481c114fb16af3e3 );
|
|
assert( Py_REFCNT( frame_6c8f4dfb3747861a481c114fb16af3e3 ) == 2 );
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_import_name_from_1;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 28;
|
|
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 = 28;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_unicode_literals, tmp_assign_source_4 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_import_name_from_2;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 29;
|
|
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 = 29;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_division, tmp_assign_source_5 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_import_name_from_3;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 30;
|
|
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 = 30;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_absolute_import, tmp_assign_source_6 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
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$quoprimime;
|
|
tmp_locals_name_1 = Py_None;
|
|
tmp_fromlist_name_1 = const_tuple_22c83f835f9af782b3ab0c30be0d77c2_tuple;
|
|
tmp_level_name_1 = const_int_0;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 31;
|
|
tmp_assign_source_7 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
|
|
if ( tmp_assign_source_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 31;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_import_from_1__module == NULL );
|
|
tmp_import_from_1__module = tmp_assign_source_7;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
PyObject *tmp_import_name_from_4;
|
|
CHECK_OBJECT( tmp_import_from_1__module );
|
|
tmp_import_name_from_4 = tmp_import_from_1__module;
|
|
tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_bytes );
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 31;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_bytes, tmp_assign_source_8 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
PyObject *tmp_import_name_from_5;
|
|
CHECK_OBJECT( tmp_import_from_1__module );
|
|
tmp_import_name_from_5 = tmp_import_from_1__module;
|
|
tmp_assign_source_9 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_chr );
|
|
if ( tmp_assign_source_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 31;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_chr, tmp_assign_source_9 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
PyObject *tmp_import_name_from_6;
|
|
CHECK_OBJECT( tmp_import_from_1__module );
|
|
tmp_import_name_from_6 = tmp_import_from_1__module;
|
|
tmp_assign_source_10 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_dict );
|
|
if ( tmp_assign_source_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 31;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_dict, tmp_assign_source_10 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_11;
|
|
PyObject *tmp_import_name_from_7;
|
|
CHECK_OBJECT( tmp_import_from_1__module );
|
|
tmp_import_name_from_7 = tmp_import_from_1__module;
|
|
tmp_assign_source_11 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_int );
|
|
if ( tmp_assign_source_11 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 31;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_int, tmp_assign_source_11 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
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_12 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_range );
|
|
if ( tmp_assign_source_12 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 31;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_range, tmp_assign_source_12 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
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_13 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain_super );
|
|
if ( tmp_assign_source_13 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 31;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_super, tmp_assign_source_13 );
|
|
}
|
|
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_14;
|
|
tmp_assign_source_14 = LIST_COPY( const_list_dfa99e37b93e3293e29a26a09273d1c4_list );
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain___all__, tmp_assign_source_14 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
PyObject *tmp_name_name_2;
|
|
PyObject *tmp_globals_name_2;
|
|
PyObject *tmp_locals_name_2;
|
|
PyObject *tmp_fromlist_name_2;
|
|
PyObject *tmp_level_name_2;
|
|
tmp_name_name_2 = const_str_plain_re;
|
|
tmp_globals_name_2 = (PyObject *)moduledict_future$backports$email$quoprimime;
|
|
tmp_locals_name_2 = Py_None;
|
|
tmp_fromlist_name_2 = Py_None;
|
|
tmp_level_name_2 = const_int_0;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 46;
|
|
tmp_assign_source_15 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 );
|
|
if ( tmp_assign_source_15 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 46;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_re, tmp_assign_source_15 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_16;
|
|
PyObject *tmp_name_name_3;
|
|
PyObject *tmp_globals_name_3;
|
|
PyObject *tmp_locals_name_3;
|
|
PyObject *tmp_fromlist_name_3;
|
|
PyObject *tmp_level_name_3;
|
|
tmp_name_name_3 = const_str_plain_io;
|
|
tmp_globals_name_3 = (PyObject *)moduledict_future$backports$email$quoprimime;
|
|
tmp_locals_name_3 = Py_None;
|
|
tmp_fromlist_name_3 = Py_None;
|
|
tmp_level_name_3 = const_int_0;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 47;
|
|
tmp_assign_source_16 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 );
|
|
if ( tmp_assign_source_16 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 47;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_io, tmp_assign_source_16 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_17;
|
|
PyObject *tmp_name_name_4;
|
|
PyObject *tmp_globals_name_4;
|
|
PyObject *tmp_locals_name_4;
|
|
PyObject *tmp_fromlist_name_4;
|
|
PyObject *tmp_level_name_4;
|
|
tmp_name_name_4 = const_str_plain_string;
|
|
tmp_globals_name_4 = (PyObject *)moduledict_future$backports$email$quoprimime;
|
|
tmp_locals_name_4 = Py_None;
|
|
tmp_fromlist_name_4 = const_tuple_str_plain_ascii_letters_str_plain_digits_str_plain_hexdigits_tuple;
|
|
tmp_level_name_4 = const_int_0;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 49;
|
|
tmp_assign_source_17 = IMPORT_MODULE5( tmp_name_name_4, tmp_globals_name_4, tmp_locals_name_4, tmp_fromlist_name_4, tmp_level_name_4 );
|
|
if ( tmp_assign_source_17 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 49;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_import_from_2__module == NULL );
|
|
tmp_import_from_2__module = tmp_assign_source_17;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_18;
|
|
PyObject *tmp_import_name_from_10;
|
|
CHECK_OBJECT( tmp_import_from_2__module );
|
|
tmp_import_name_from_10 = tmp_import_from_2__module;
|
|
tmp_assign_source_18 = IMPORT_NAME( tmp_import_name_from_10, const_str_plain_ascii_letters );
|
|
if ( tmp_assign_source_18 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 49;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_ascii_letters, tmp_assign_source_18 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_19;
|
|
PyObject *tmp_import_name_from_11;
|
|
CHECK_OBJECT( tmp_import_from_2__module );
|
|
tmp_import_name_from_11 = tmp_import_from_2__module;
|
|
tmp_assign_source_19 = IMPORT_NAME( tmp_import_name_from_11, const_str_plain_digits );
|
|
if ( tmp_assign_source_19 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 49;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_digits, tmp_assign_source_19 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_20;
|
|
PyObject *tmp_import_name_from_12;
|
|
CHECK_OBJECT( tmp_import_from_2__module );
|
|
tmp_import_name_from_12 = tmp_import_from_2__module;
|
|
tmp_assign_source_20 = IMPORT_NAME( tmp_import_name_from_12, const_str_plain_hexdigits );
|
|
if ( tmp_assign_source_20 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 49;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_hexdigits, tmp_assign_source_20 );
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_import_from_2__module );
|
|
Py_DECREF( tmp_import_from_2__module );
|
|
tmp_import_from_2__module = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_import_from_2__module );
|
|
Py_DECREF( tmp_import_from_2__module );
|
|
tmp_import_from_2__module = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_21;
|
|
tmp_assign_source_21 = const_str_digest_7ca129d2d421fe965ad48cbb290b579b;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_CRLF, tmp_assign_source_21 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_22;
|
|
tmp_assign_source_22 = const_str_newline;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_NL, tmp_assign_source_22 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_23;
|
|
tmp_assign_source_23 = const_str_empty;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_EMPTYSTRING, tmp_assign_source_23 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_24;
|
|
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$quoprimime, (Nuitka_StringObject *)const_str_plain_dict );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_dict );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "dict" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 60;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
{
|
|
PyObject *tmp_assign_source_25;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_mvar_value_2;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_range );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_range );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "range" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 60;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_2 = tmp_mvar_value_2;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 60;
|
|
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, &PyTuple_GET_ITEM( const_tuple_int_pos_256_tuple, 0 ) );
|
|
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 60;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_25 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_25 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 60;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_genexpr_1__$0 == NULL );
|
|
tmp_genexpr_1__$0 = tmp_assign_source_25;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_args_element_name_1 = future$backports$email$quoprimime$$$genexpr_1_genexpr_maker();
|
|
|
|
((struct Nuitka_GeneratorObject *)tmp_args_element_name_1)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 );
|
|
|
|
|
|
goto try_return_handler_3;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
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$quoprimime );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_result_1:;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 60;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_assign_source_24 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_assign_source_24 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 60;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_MAP, tmp_assign_source_24 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_26;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_mvar_value_3;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_MAP );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_MAP );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_3 );
|
|
tmp_called_instance_1 = tmp_mvar_value_3;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 61;
|
|
tmp_assign_source_26 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_copy );
|
|
if ( tmp_assign_source_26 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 61;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__QUOPRI_BODY_MAP, tmp_assign_source_26 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_27;
|
|
PyObject *tmp_iter_arg_2;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_called_instance_2;
|
|
PyObject *tmp_mvar_value_5;
|
|
PyObject *tmp_right_name_2;
|
|
PyObject *tmp_called_instance_3;
|
|
PyObject *tmp_mvar_value_6;
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == 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 = 64;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_3 = tmp_mvar_value_4;
|
|
tmp_left_name_2 = const_bytes_digest_a22d7943977b658edfdbd0091147a75b;
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_ascii_letters );
|
|
|
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ascii_letters );
|
|
}
|
|
|
|
if ( tmp_mvar_value_5 == NULL )
|
|
{
|
|
|
|
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 = 64;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = tmp_mvar_value_5;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 64;
|
|
tmp_right_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) );
|
|
|
|
if ( tmp_right_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 64;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_left_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 64;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_digits );
|
|
|
|
if (unlikely( tmp_mvar_value_6 == NULL ))
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_digits );
|
|
}
|
|
|
|
if ( tmp_mvar_value_6 == NULL )
|
|
{
|
|
Py_DECREF( tmp_left_name_1 );
|
|
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 = 64;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_3 = tmp_mvar_value_6;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 64;
|
|
tmp_right_name_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) );
|
|
|
|
if ( tmp_right_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
|
|
exception_lineno = 64;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_args_element_name_2 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_2 );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
if ( tmp_args_element_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 64;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 64;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_iter_arg_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_args_element_name_2 );
|
|
if ( tmp_iter_arg_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 64;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_27 = MAKE_ITERATOR( tmp_iter_arg_2 );
|
|
Py_DECREF( tmp_iter_arg_2 );
|
|
if ( tmp_assign_source_27 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 64;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_27;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_28;
|
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_28 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_28 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
exception_lineno = 64;
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_28;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_29;
|
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
|
tmp_assign_source_29 = tmp_for_loop_1__iter_value;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_c, tmp_assign_source_29 );
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_mvar_value_7;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_mvar_value_8;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_mvar_value_9;
|
|
PyObject *tmp_ass_subscript_1;
|
|
PyObject *tmp_mvar_value_10;
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_chr );
|
|
|
|
if (unlikely( tmp_mvar_value_7 == NULL ))
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_chr );
|
|
}
|
|
|
|
if ( tmp_mvar_value_7 == 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 = 65;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_called_name_4 = tmp_mvar_value_7;
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_c );
|
|
|
|
if (unlikely( tmp_mvar_value_8 == NULL ))
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_c );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_8 );
|
|
tmp_args_element_name_3 = tmp_mvar_value_8;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 65;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
if ( tmp_ass_subvalue_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 65;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_MAP );
|
|
|
|
if (unlikely( tmp_mvar_value_9 == NULL ))
|
|
{
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_MAP );
|
|
}
|
|
|
|
if ( tmp_mvar_value_9 == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_QUOPRI_HEADER_MAP" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 65;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = tmp_mvar_value_9;
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_c );
|
|
|
|
if (unlikely( tmp_mvar_value_10 == NULL ))
|
|
{
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_c );
|
|
}
|
|
|
|
if ( tmp_mvar_value_10 == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 65;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_ass_subscript_1 = tmp_mvar_value_10;
|
|
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 = 65;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 64;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_3;
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_2;
|
|
PyObject *tmp_ass_subscribed_2;
|
|
PyObject *tmp_mvar_value_11;
|
|
PyObject *tmp_ass_subscript_2;
|
|
int tmp_ass_subscript_res_1;
|
|
tmp_ass_subvalue_2 = const_str_plain__;
|
|
tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_MAP );
|
|
|
|
if (unlikely( tmp_mvar_value_11 == NULL ))
|
|
{
|
|
tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__QUOPRI_HEADER_MAP );
|
|
}
|
|
|
|
if ( tmp_mvar_value_11 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_QUOPRI_HEADER_MAP" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 67;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_2 = tmp_mvar_value_11;
|
|
tmp_ass_subscript_2 = const_int_pos_32;
|
|
tmp_ass_subscript_res_1 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_2, tmp_ass_subscript_2, 32, tmp_ass_subvalue_2 );
|
|
if ( tmp_ass_subscript_res_1 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 67;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_30;
|
|
PyObject *tmp_iter_arg_3;
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_mvar_value_12;
|
|
tmp_mvar_value_12 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
|
|
if (unlikely( tmp_mvar_value_12 == NULL ))
|
|
{
|
|
tmp_mvar_value_12 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_bytes );
|
|
}
|
|
|
|
if ( tmp_mvar_value_12 == 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 = 70;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_5 = tmp_mvar_value_12;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 70;
|
|
tmp_iter_arg_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, &PyTuple_GET_ITEM( const_tuple_bytes_digest_0d96405ba2c2f75a779903651952d188_tuple, 0 ) );
|
|
|
|
if ( tmp_iter_arg_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 70;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_30 = MAKE_ITERATOR( tmp_iter_arg_3 );
|
|
Py_DECREF( tmp_iter_arg_3 );
|
|
if ( tmp_assign_source_30 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 70;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_2__for_iterator == NULL );
|
|
tmp_for_loop_2__for_iterator = tmp_assign_source_30;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_2:;
|
|
{
|
|
PyObject *tmp_next_source_2;
|
|
PyObject *tmp_assign_source_31;
|
|
CHECK_OBJECT( tmp_for_loop_2__for_iterator );
|
|
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
|
|
tmp_assign_source_31 = ITERATOR_NEXT( tmp_next_source_2 );
|
|
if ( tmp_assign_source_31 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_2;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
exception_lineno = 70;
|
|
goto try_except_handler_5;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_2__iter_value;
|
|
tmp_for_loop_2__iter_value = tmp_assign_source_31;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_32;
|
|
CHECK_OBJECT( tmp_for_loop_2__iter_value );
|
|
tmp_assign_source_32 = tmp_for_loop_2__iter_value;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_c, tmp_assign_source_32 );
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_3;
|
|
PyObject *tmp_called_name_6;
|
|
PyObject *tmp_mvar_value_13;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_mvar_value_14;
|
|
PyObject *tmp_ass_subscribed_3;
|
|
PyObject *tmp_mvar_value_15;
|
|
PyObject *tmp_ass_subscript_3;
|
|
PyObject *tmp_mvar_value_16;
|
|
tmp_mvar_value_13 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_chr );
|
|
|
|
if (unlikely( tmp_mvar_value_13 == NULL ))
|
|
{
|
|
tmp_mvar_value_13 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_chr );
|
|
}
|
|
|
|
if ( tmp_mvar_value_13 == 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 = 73;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_called_name_6 = tmp_mvar_value_13;
|
|
tmp_mvar_value_14 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_c );
|
|
|
|
if (unlikely( tmp_mvar_value_14 == NULL ))
|
|
{
|
|
tmp_mvar_value_14 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_c );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_14 );
|
|
tmp_args_element_name_4 = tmp_mvar_value_14;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 73;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4 };
|
|
tmp_ass_subvalue_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args );
|
|
}
|
|
|
|
if ( tmp_ass_subvalue_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 73;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_mvar_value_15 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__QUOPRI_BODY_MAP );
|
|
|
|
if (unlikely( tmp_mvar_value_15 == NULL ))
|
|
{
|
|
tmp_mvar_value_15 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__QUOPRI_BODY_MAP );
|
|
}
|
|
|
|
if ( tmp_mvar_value_15 == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_3 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_QUOPRI_BODY_MAP" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 73;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_ass_subscribed_3 = tmp_mvar_value_15;
|
|
tmp_mvar_value_16 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_c );
|
|
|
|
if (unlikely( tmp_mvar_value_16 == NULL ))
|
|
{
|
|
tmp_mvar_value_16 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_c );
|
|
}
|
|
|
|
if ( tmp_mvar_value_16 == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_3 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "c" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 73;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_ass_subscript_3 = tmp_mvar_value_16;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3 );
|
|
Py_DECREF( tmp_ass_subvalue_3 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 73;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 70;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
goto loop_start_2;
|
|
loop_end_2:;
|
|
}
|
|
goto try_end_4;
|
|
// Exception handler code:
|
|
try_except_handler_5:;
|
|
exception_keeper_type_4 = exception_type;
|
|
exception_keeper_value_4 = exception_value;
|
|
exception_keeper_tb_4 = exception_tb;
|
|
exception_keeper_lineno_4 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_for_loop_2__iter_value );
|
|
tmp_for_loop_2__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator );
|
|
Py_DECREF( tmp_for_loop_2__for_iterator );
|
|
tmp_for_loop_2__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_4;
|
|
exception_value = exception_keeper_value_4;
|
|
exception_tb = exception_keeper_tb_4;
|
|
exception_lineno = exception_keeper_lineno_4;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_4:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_2__iter_value );
|
|
tmp_for_loop_2__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator );
|
|
Py_DECREF( tmp_for_loop_2__for_iterator );
|
|
tmp_for_loop_2__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_33;
|
|
tmp_assign_source_33 = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_1_header_check( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_header_check, tmp_assign_source_33 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_34;
|
|
tmp_assign_source_34 = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_2_body_check( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_body_check, tmp_assign_source_34 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_35;
|
|
tmp_assign_source_35 = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_3_header_length( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_header_length, tmp_assign_source_35 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_36;
|
|
tmp_assign_source_36 = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_4_body_length( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_body_length, tmp_assign_source_36 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_37;
|
|
PyObject *tmp_defaults_1;
|
|
tmp_defaults_1 = const_tuple_str_empty_tuple;
|
|
Py_INCREF( tmp_defaults_1 );
|
|
tmp_assign_source_37 = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_5__max_append( tmp_defaults_1 );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__max_append, tmp_assign_source_37 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_38;
|
|
tmp_assign_source_38 = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_6_unquote( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_unquote, tmp_assign_source_38 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_39;
|
|
tmp_assign_source_39 = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_7_quote( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_quote, tmp_assign_source_39 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_40;
|
|
PyObject *tmp_defaults_2;
|
|
tmp_defaults_2 = const_tuple_str_digest_20861594150da1e43b5ee3f86b9deef6_tuple;
|
|
Py_INCREF( tmp_defaults_2 );
|
|
tmp_assign_source_40 = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_8_header_encode( tmp_defaults_2 );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_header_encode, tmp_assign_source_40 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_41;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_mvar_value_17;
|
|
tmp_mvar_value_17 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_io );
|
|
|
|
if (unlikely( tmp_mvar_value_17 == NULL ))
|
|
{
|
|
tmp_mvar_value_17 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_io );
|
|
}
|
|
|
|
if ( tmp_mvar_value_17 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "io" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
|
|
tmp_source_name_1 = tmp_mvar_value_17;
|
|
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_StringIO );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_assign_source_41 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_assign_source_41, 0, tmp_tuple_element_1 );
|
|
assert( tmp_class_creation_1__bases_orig == NULL );
|
|
tmp_class_creation_1__bases_orig = tmp_assign_source_41;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_42;
|
|
PyObject *tmp_dircall_arg1_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
|
|
tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig;
|
|
Py_INCREF( tmp_dircall_arg1_1 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
|
|
tmp_assign_source_42 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_42 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
assert( tmp_class_creation_1__bases == NULL );
|
|
tmp_class_creation_1__bases = tmp_assign_source_42;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_43;
|
|
tmp_assign_source_43 = PyDict_New();
|
|
assert( tmp_class_creation_1__class_decl_dict == NULL );
|
|
tmp_class_creation_1__class_decl_dict = tmp_assign_source_43;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_44;
|
|
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 = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
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 = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
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 = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
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 = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
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 = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
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_44 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
|
|
Py_DECREF( tmp_metaclass_name_1 );
|
|
if ( tmp_assign_source_44 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
assert( tmp_class_creation_1__metaclass == NULL );
|
|
tmp_class_creation_1__metaclass = tmp_assign_source_44;
|
|
|
|
}
|
|
{
|
|
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 = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
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 = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_source_name_2;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_source_name_2 = tmp_class_creation_1__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_2, 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_45;
|
|
PyObject *tmp_called_name_7;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_args_name_1;
|
|
PyObject *tmp_tuple_element_2;
|
|
PyObject *tmp_kw_name_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_source_name_3 = tmp_class_creation_1__metaclass;
|
|
tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___prepare__ );
|
|
if ( tmp_called_name_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_tuple_element_2 = const_str_plain__body_accumulator;
|
|
tmp_args_name_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_2 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_2 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_2 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 155;
|
|
tmp_assign_source_45 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_1, tmp_kw_name_1 );
|
|
Py_DECREF( tmp_called_name_7 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
if ( tmp_assign_source_45 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_45;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_5;
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_source_name_4;
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_source_name_4 = tmp_class_creation_1__prepared;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_4, 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 = 155;
|
|
|
|
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_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_raise_value_1;
|
|
PyObject *tmp_left_name_3;
|
|
PyObject *tmp_right_name_3;
|
|
PyObject *tmp_tuple_element_3;
|
|
PyObject *tmp_getattr_target_1;
|
|
PyObject *tmp_getattr_attr_1;
|
|
PyObject *tmp_getattr_default_1;
|
|
PyObject *tmp_source_name_5;
|
|
PyObject *tmp_type_arg_2;
|
|
tmp_raise_type_1 = PyExc_TypeError;
|
|
tmp_left_name_3 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
|
|
tmp_getattr_attr_1 = const_str_plain___name__;
|
|
tmp_getattr_default_1 = const_str_angle_metaclass;
|
|
tmp_tuple_element_3 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_right_name_3 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_3 );
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_type_arg_2 = tmp_class_creation_1__prepared;
|
|
tmp_source_name_5 = BUILTIN_TYPE1( tmp_type_arg_2 );
|
|
assert( !(tmp_source_name_5 == NULL) );
|
|
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_5 );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_3 );
|
|
|
|
exception_lineno = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_3 );
|
|
tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 );
|
|
Py_DECREF( tmp_right_name_3 );
|
|
if ( tmp_raise_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 155;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_value = tmp_raise_value_1;
|
|
exception_lineno = 155;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
PyObject *tmp_assign_source_46;
|
|
tmp_assign_source_46 = PyDict_New();
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_46;
|
|
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_47;
|
|
{
|
|
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$quoprimime_155 = tmp_set_locals_1;
|
|
Py_INCREF( tmp_set_locals_1 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_64adfa6a4e86e727753e6356f8f39ba2;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$quoprimime_155, 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 = 155;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain__body_accumulator;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$quoprimime_155, 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 = 155;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_2b85c9740835b95d42c2151a5b4259d5_2, codeobj_2b85c9740835b95d42c2151a5b4259d5, module_future$backports$email$quoprimime, sizeof(void *) );
|
|
frame_2b85c9740835b95d42c2151a5b4259d5_2 = cache_frame_2b85c9740835b95d42c2151a5b4259d5_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_2b85c9740835b95d42c2151a5b4259d5_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_2b85c9740835b95d42c2151a5b4259d5_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_9___init__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$quoprimime_155, const_str_plain___init__, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 157;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_10_write_str( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$quoprimime_155, const_str_plain_write_str, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 162;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_11_newline( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$quoprimime_155, const_str_plain_newline, 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 = 167;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_12_write_soft_break( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$quoprimime_155, const_str_plain_write_soft_break, 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 = 172;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_defaults_3;
|
|
tmp_defaults_3 = const_tuple_int_0_tuple;
|
|
Py_INCREF( tmp_defaults_3 );
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_13_write_wrapped( tmp_defaults_3 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$quoprimime_155, const_str_plain_write_wrapped, 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 = 177;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_14_write_char( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$quoprimime_155, const_str_plain_write_char, 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 = 183;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_2b85c9740835b95d42c2151a5b4259d5_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_2b85c9740835b95d42c2151a5b4259d5_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_2b85c9740835b95d42c2151a5b4259d5_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_2b85c9740835b95d42c2151a5b4259d5_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_2b85c9740835b95d42c2151a5b4259d5_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_2b85c9740835b95d42c2151a5b4259d5_2,
|
|
type_description_2,
|
|
outline_0_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_2b85c9740835b95d42c2151a5b4259d5_2 == cache_frame_2b85c9740835b95d42c2151a5b4259d5_2 )
|
|
{
|
|
Py_DECREF( frame_2b85c9740835b95d42c2151a5b4259d5_2 );
|
|
}
|
|
cache_frame_2b85c9740835b95d42c2151a5b4259d5_2 = NULL;
|
|
|
|
assertFrameObject( frame_2b85c9740835b95d42c2151a5b4259d5_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_8;
|
|
skip_nested_handling_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_6;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_compexpr_left_1 = tmp_class_creation_1__bases;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
|
|
tmp_compexpr_right_1 = tmp_class_creation_1__bases_orig;
|
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 155;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_4;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_4;
|
|
}
|
|
branch_yes_4:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
|
|
tmp_dictset_value = tmp_class_creation_1__bases_orig;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$quoprimime_155, 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 = 155;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
}
|
|
branch_no_4:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_48;
|
|
PyObject *tmp_called_name_8;
|
|
PyObject *tmp_args_name_2;
|
|
PyObject *tmp_tuple_element_4;
|
|
PyObject *tmp_kw_name_2;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_called_name_8 = tmp_class_creation_1__metaclass;
|
|
tmp_tuple_element_4 = const_str_plain__body_accumulator;
|
|
tmp_args_name_2 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_4 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_4 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_4 );
|
|
tmp_tuple_element_4 = locals_future$backports$email$quoprimime_155;
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_4 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame.f_lineno = 155;
|
|
tmp_assign_source_48 = CALL_FUNCTION( tmp_called_name_8, tmp_args_name_2, tmp_kw_name_2 );
|
|
Py_DECREF( tmp_args_name_2 );
|
|
if ( tmp_assign_source_48 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 155;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
assert( outline_0_var___class__ == NULL );
|
|
outline_0_var___class__ = tmp_assign_source_48;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_0_var___class__ );
|
|
tmp_assign_source_47 = outline_0_var___class__;
|
|
Py_INCREF( tmp_assign_source_47 );
|
|
goto try_return_handler_8;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_8:;
|
|
{
|
|
Py_DECREF( locals_future$backports$email$quoprimime_155 );
|
|
locals_future$backports$email$quoprimime_155 = NULL;
|
|
}
|
|
{
|
|
goto try_return_handler_7;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_8:;
|
|
exception_keeper_type_5 = exception_type;
|
|
exception_keeper_value_5 = exception_value;
|
|
exception_keeper_tb_5 = exception_tb;
|
|
exception_keeper_lineno_5 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_DECREF( locals_future$backports$email$quoprimime_155 );
|
|
locals_future$backports$email$quoprimime_155 = 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_7;
|
|
}
|
|
// End of try:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_7:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)outline_0_var___class__ );
|
|
Py_DECREF( outline_0_var___class__ );
|
|
outline_0_var___class__ = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_2;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_7:;
|
|
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;
|
|
|
|
{
|
|
// 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 outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$quoprimime );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_1:;
|
|
exception_lineno = 155;
|
|
goto try_except_handler_6;
|
|
outline_result_2:;
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__body_accumulator, tmp_assign_source_47 );
|
|
}
|
|
goto try_end_5;
|
|
// Exception handler code:
|
|
try_except_handler_6:;
|
|
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;
|
|
|
|
{
|
|
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_7;
|
|
exception_value = exception_keeper_value_7;
|
|
exception_tb = exception_keeper_tb_7;
|
|
exception_lineno = exception_keeper_lineno_7;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_5:;
|
|
}
|
|
{
|
|
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_49;
|
|
PyObject *tmp_defaults_4;
|
|
PyObject *tmp_tuple_element_5;
|
|
PyObject *tmp_mvar_value_18;
|
|
tmp_tuple_element_5 = const_int_pos_76;
|
|
tmp_defaults_4 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_5 );
|
|
PyTuple_SET_ITEM( tmp_defaults_4, 0, tmp_tuple_element_5 );
|
|
tmp_mvar_value_18 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_NL );
|
|
|
|
if (unlikely( tmp_mvar_value_18 == NULL ))
|
|
{
|
|
tmp_mvar_value_18 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NL );
|
|
}
|
|
|
|
if ( tmp_mvar_value_18 == NULL )
|
|
{
|
|
Py_DECREF( tmp_defaults_4 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NL" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 209;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_5 = tmp_mvar_value_18;
|
|
Py_INCREF( tmp_tuple_element_5 );
|
|
PyTuple_SET_ITEM( tmp_defaults_4, 1, tmp_tuple_element_5 );
|
|
tmp_assign_source_49 = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_15_body_encode( tmp_defaults_4 );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_body_encode, tmp_assign_source_49 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_50;
|
|
PyObject *tmp_defaults_5;
|
|
PyObject *tmp_tuple_element_6;
|
|
PyObject *tmp_mvar_value_19;
|
|
tmp_mvar_value_19 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_NL );
|
|
|
|
if (unlikely( tmp_mvar_value_19 == NULL ))
|
|
{
|
|
tmp_mvar_value_19 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NL );
|
|
}
|
|
|
|
if ( tmp_mvar_value_19 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NL" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 258;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_6 = tmp_mvar_value_19;
|
|
tmp_defaults_5 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_6 );
|
|
PyTuple_SET_ITEM( tmp_defaults_5, 0, tmp_tuple_element_6 );
|
|
tmp_assign_source_50 = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_16_decode( tmp_defaults_5 );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_decode, tmp_assign_source_50 );
|
|
}
|
|
|
|
// Restore frame exception if necessary.
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6c8f4dfb3747861a481c114fb16af3e3 );
|
|
#endif
|
|
popFrameStack();
|
|
|
|
assertFrameObject( frame_6c8f4dfb3747861a481c114fb16af3e3 );
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_exception_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6c8f4dfb3747861a481c114fb16af3e3 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_6c8f4dfb3747861a481c114fb16af3e3, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_6c8f4dfb3747861a481c114fb16af3e3->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_6c8f4dfb3747861a481c114fb16af3e3, 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_51;
|
|
PyObject *tmp_mvar_value_20;
|
|
tmp_mvar_value_20 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_decode );
|
|
|
|
if (unlikely( tmp_mvar_value_20 == NULL ))
|
|
{
|
|
tmp_mvar_value_20 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_decode );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_20 );
|
|
tmp_assign_source_51 = tmp_mvar_value_20;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_body_decode, tmp_assign_source_51 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_52;
|
|
PyObject *tmp_mvar_value_21;
|
|
tmp_mvar_value_21 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_decode );
|
|
|
|
if (unlikely( tmp_mvar_value_21 == NULL ))
|
|
{
|
|
tmp_mvar_value_21 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_decode );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_21 );
|
|
tmp_assign_source_52 = tmp_mvar_value_21;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_decodestring, tmp_assign_source_52 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_53;
|
|
tmp_assign_source_53 = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_17__unquote_match( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain__unquote_match, tmp_assign_source_53 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_54;
|
|
tmp_assign_source_54 = MAKE_FUNCTION_future$backports$email$quoprimime$$$function_18_header_decode( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$quoprimime, (Nuitka_StringObject *)const_str_plain_header_decode, tmp_assign_source_54 );
|
|
}
|
|
|
|
return MOD_RETURN_VALUE( module_future$backports$email$quoprimime );
|
|
module_exception_exit:
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
}
|