mirror of
https://github.com/house-of-vanity/fesmoo_perdoliq.git
synced 2025-08-21 16:17:15 +00:00
15807 lines
496 KiB
C
15807 lines
496 KiB
C
/* Generated code for Python source for module 'future.backports.email._policybase'
|
|
* 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$_policybase 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$_policybase;
|
|
PyDictObject *moduledict_future$backports$email$_policybase;
|
|
|
|
/* The module constants used, if any. */
|
|
static PyObject *const_tuple_str_plain_self_str_plain_sourcelines_tuple;
|
|
extern PyObject *const_tuple_str_chr_43_tuple;
|
|
static PyObject *const_str_digest_73bac168e82e2a71e35fd63d259efa50;
|
|
extern PyObject *const_str_plain_defect;
|
|
extern PyObject *const_str_plain_metaclass;
|
|
static PyObject *const_str_digest_36c01cfdedb5ad0d076670c9a41fe1cb;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_args_tuple;
|
|
extern PyObject *const_str_plain___name__;
|
|
static PyObject *const_str_digest_69c8672052c578e9778aafa9e6f81ba2;
|
|
static PyObject *const_str_digest_c3b97056daa755c48064e28ddade6209;
|
|
static PyObject *const_str_digest_b8eac67d724f7a023a73aba852ff45cb;
|
|
extern PyObject *const_str_plain_8bit;
|
|
extern PyObject *const_tuple_str_plain___class___tuple;
|
|
extern PyObject *const_str_chr_43;
|
|
extern PyObject *const_str_angle_metaclass;
|
|
extern PyObject *const_slice_int_pos_1_none_none;
|
|
extern PyObject *const_tuple_str_plain_ascii_str_plain_surrogateescape_tuple;
|
|
extern PyObject *const_str_plain___file__;
|
|
extern PyObject *const_str_plain_abc;
|
|
extern PyObject *const_str_plain_h;
|
|
extern PyObject *const_str_plain_object;
|
|
extern PyObject *const_str_plain_args;
|
|
static PyObject *const_str_plain_sourcelines;
|
|
static PyObject *const_tuple_cbb21b28d7d0988114236aaf23fae4ff_tuple;
|
|
extern PyObject *const_str_plain_lstrip;
|
|
extern PyObject *const_str_plain__charset;
|
|
extern PyObject *const_str_plain_encode;
|
|
extern PyObject *const_str_plain_compat32;
|
|
static PyObject *const_str_plain__extend_docstrings;
|
|
static PyObject *const_str_digest_3ded20d4a81aab07bfddb21a6b739530;
|
|
extern PyObject *const_str_plain_header_name;
|
|
extern PyObject *const_str_plain_division;
|
|
extern PyObject *const_str_plain_items;
|
|
static PyObject *const_tuple_str_plain_header_tuple;
|
|
extern PyObject *const_str_plain_None;
|
|
extern PyObject *const_str_plain_charset;
|
|
extern PyObject *const_str_plain_abstractmethod;
|
|
extern PyObject *const_str_digest_d19bf663764a0b15d5e8f7167c910e4e;
|
|
static PyObject *const_str_digest_31851c50f515f3dd5f8b34d677892eb2;
|
|
static PyObject *const_dict_ba91a9516f87798990d6cb6caeadb333;
|
|
extern PyObject *const_str_plain_cls;
|
|
static PyObject *const_str_digest_216d14d60c884616b5574ad9ef4cd98c;
|
|
extern PyObject *const_str_plain_join;
|
|
extern PyObject *const_str_plain_super;
|
|
extern PyObject *const_str_digest_118c8611317729818c37c760127e23b2;
|
|
static PyObject *const_tuple_str_newline_int_pos_1_tuple;
|
|
static PyObject *const_tuple_90d75ef5abd78bb8fabb3e7e1b9e6d3d_tuple;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_obj_str_plain_defect_tuple;
|
|
extern PyObject *const_str_plain___doc__;
|
|
extern PyObject *const_str_plain_absolute_import;
|
|
extern PyObject *const_tuple_str_digest_7ca129d2d421fe965ad48cbb290b579b_tuple;
|
|
static PyObject *const_list_str_plain_Policy_str_plain_Compat32_str_plain_compat32_list;
|
|
static PyObject *const_tuple_c65b5969d64f0ded7b5e6c8f7eaf2c22_tuple;
|
|
extern PyObject *const_str_plain___debug__;
|
|
extern PyObject *const_str_plain___orig_bases__;
|
|
static PyObject *const_str_digest_41271331745841b556390de3e52bf661;
|
|
extern PyObject *const_str_angle_genexpr;
|
|
extern PyObject *const_str_plain_str;
|
|
extern PyObject *const_str_plain___qualname__;
|
|
extern PyObject *const_str_plain_clone;
|
|
static PyObject *const_str_digest_421ce075239b52299ba8f95702b7a553;
|
|
extern PyObject *const_str_plain___setattr__;
|
|
extern PyObject *const_str_plain_sanitize;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_other_tuple;
|
|
extern PyObject *const_str_digest_b9c4baf879ebd882d40843df3a4dead7;
|
|
static PyObject *const_str_digest_bcaecae14d8428f69f1ec08173db8ce0;
|
|
static PyObject *const_str_plain__append_doc;
|
|
extern PyObject *const_str_plain_linesep;
|
|
static PyObject *const_str_digest_58737ef8b85a004cac6fa3406052641a;
|
|
extern PyObject *const_str_plain_value;
|
|
extern PyObject *const_str_plain_surrogateescape;
|
|
static PyObject *const_str_digest_d527301e7623be5832903b4574ccbc6a;
|
|
static PyObject *const_str_digest_2352e136d7567b2bbd2a85ef33ed5426;
|
|
extern PyObject *const_str_plain_cte_type;
|
|
extern PyObject *const_str_plain_fold;
|
|
static PyObject *const_str_digest_890637b9e415c7a50ac037dd06b52c2f;
|
|
static PyObject *const_str_digest_0ce380070c0bfb8f9bba27e2446be5b9;
|
|
extern PyObject *const_str_plain_parts;
|
|
static PyObject *const_str_plain__fold;
|
|
extern PyObject *const_tuple_empty;
|
|
static PyObject *const_str_digest_e8a099c620a82fdc443680fbc08df01d;
|
|
extern PyObject *const_str_plain_header_fetch_parse;
|
|
extern PyObject *const_str_plain_append;
|
|
static PyObject *const_str_digest_640de273222d69b094a93875445cf0f0;
|
|
extern PyObject *const_str_digest_c3c96c8ed3ec2ec3a4d3f0dfaaa3ddf2;
|
|
extern PyObject *const_str_plain_name;
|
|
extern PyObject *const_str_plain_maxlinelen;
|
|
extern PyObject *const_str_plain_max_line_length;
|
|
static PyObject *const_str_digest_bc33255c59945d8c4d0ebd65a2e30f1f;
|
|
static PyObject *const_str_digest_3443a7e489fcae0e1402d7f6cb337365;
|
|
extern PyObject *const_str_plain_fold_binary;
|
|
extern PyObject *const_str_plain_handle_defect;
|
|
extern PyObject *const_tuple_str_plain_name_str_plain_value_tuple;
|
|
static PyObject *const_tuple_a644fbbdae4978125a5a4680771a2b50_tuple;
|
|
extern PyObject *const_str_plain_attr;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_name_str_plain_value_tuple;
|
|
static PyObject *const_str_plain_Policy;
|
|
static PyObject *const_str_digest_ebf3c58e25bae1b366c4df71818895c8;
|
|
extern PyObject *const_str_plain_split;
|
|
extern PyObject *const_tuple_str_plain_charset_tuple;
|
|
extern PyObject *const_str_plain_header_source_parse;
|
|
extern PyObject *const_str_plain___getitem__;
|
|
static PyObject *const_str_digest_aa37707aaddd6994bcc24f38872ac67d;
|
|
extern PyObject *const_str_plain___all__;
|
|
static PyObject *const_str_digest_e74969a13e1b0f9cce84ec2a8634d0fe;
|
|
extern PyObject *const_str_plain___new__;
|
|
static PyObject *const_str_plain_added_doc;
|
|
static PyObject *const_str_digest_deaeb17289a6b3e59e33a7cb1315c9c3;
|
|
static PyObject *const_str_digest_e6976b3c3af380ae616a4ad009403e47;
|
|
static PyObject *const_str_plain_folded;
|
|
extern PyObject *const_int_0;
|
|
static PyObject *const_str_digest_1c699f27f812a7e22ae977cad7823ba5;
|
|
extern PyObject *const_tuple_str_plain_super_tuple;
|
|
static PyObject *const_tuple_9ec2e79e8d49a6db28a3a63b97484dd9_tuple;
|
|
extern PyObject *const_str_plain_mro;
|
|
static PyObject *const_str_digest_155aed70cdc0964f40d872459205541c;
|
|
extern PyObject *const_int_pos_78;
|
|
extern PyObject *const_str_plain___bases__;
|
|
extern PyObject *const_tuple_str_plain__has_surrogates_tuple;
|
|
extern PyObject *const_str_plain_ABCMeta;
|
|
extern PyObject *const_str_plain_msg;
|
|
static PyObject *const_str_plain_newpolicy;
|
|
extern PyObject *const_str_plain__has_surrogates;
|
|
extern PyObject *const_str_digest_db35ab94a03c3cbeb13cbe2a1d728b77;
|
|
static PyObject *const_str_digest_b33e8c30bb09a3e7d162b1217d98b12d;
|
|
extern PyObject *const_str_chr_58;
|
|
extern PyObject *const_tuple_str_plain_str_tuple;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_name_tuple;
|
|
static PyObject *const_str_digest_7f54747940672634641d791f37c6ca9b;
|
|
static PyObject *const_str_digest_856a8351f84aca855b37055063f305fe;
|
|
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
extern PyObject *const_str_angle_listcomp;
|
|
static PyObject *const_str_digest_b78450a4928a51cebff0c497eddf0bb1;
|
|
extern PyObject *const_str_plain_c;
|
|
extern PyObject *const_str_plain_header;
|
|
extern PyObject *const_str_plain_7bit;
|
|
extern PyObject *const_str_plain_base;
|
|
static PyObject *const_str_digest_169f5eb4d93dbeb30fb97c6fb0c5fe81;
|
|
extern PyObject *const_str_plain_defects;
|
|
extern PyObject *const_str_plain_header_store_parse;
|
|
extern PyObject *const_str_plain_type;
|
|
static PyObject *const_str_plain_raise_on_defect;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_name_str_plain_value_str_plain_msg_tuple;
|
|
extern PyObject *const_str_plain___cached__;
|
|
extern PyObject *const_str_plain_print_function;
|
|
static PyObject *const_str_digest_563b5ba970cbc37cf902c3445bfdb059;
|
|
static PyObject *const_str_digest_556b8668f8d711432b04620730421b6c;
|
|
extern PyObject *const_str_plain___class__;
|
|
static PyObject *const_tuple_47f2422fb61e1fbf93ef5c0fcf1dfa75_tuple;
|
|
static PyObject *const_str_digest_aa76540723a1aded00693106d4c6b75e;
|
|
extern PyObject *const_tuple_type_object_tuple;
|
|
extern PyObject *const_str_plain___module__;
|
|
extern PyObject *const_tuple_str_digest_ac02ab0238280e341b2aff0eed15b128_tuple;
|
|
static PyObject *const_str_digest_a47bf7d36a0db2d6d0d1cc9565244c4c;
|
|
extern PyObject *const_tuple_str_plain_with_metaclass_tuple;
|
|
extern PyObject *const_str_plain_unicode_literals;
|
|
static PyObject *const_str_digest_118c4ccbe7368ada6feccfe9762fa4e4;
|
|
extern PyObject *const_str_plain_kw;
|
|
extern PyObject *const_str_plain_doc;
|
|
static PyObject *const_str_digest_1cbd2824ecf59971548f638621a10d90;
|
|
static PyObject *const_str_digest_b33887a511083a65b5afdba45a376560;
|
|
extern PyObject *const_str_plain_header_max_count;
|
|
extern PyObject *const_int_pos_1;
|
|
extern PyObject *const_str_plain_Header;
|
|
static PyObject *const_str_plain__sanitize_header;
|
|
extern PyObject *const_str_digest_9eedff06d8ab901b9de727334d8e66c1;
|
|
static PyObject *const_tuple_db0c9a52ddfd77f1fd74756b042b60ba_tuple;
|
|
extern PyObject *const_str_digest_7ca129d2d421fe965ad48cbb290b579b;
|
|
extern PyObject *const_str_plain_UNKNOWN8BIT;
|
|
extern PyObject *const_str_plain_other;
|
|
extern PyObject *const_str_newline;
|
|
static PyObject *const_str_digest_3ded5e364bd1768860b31c97d8669ec0;
|
|
static PyObject *const_tuple_str_plain_doc_str_plain_added_doc_tuple;
|
|
extern PyObject *const_str_plain___prepare__;
|
|
extern PyObject *const_str_plain___init__;
|
|
static PyObject *const_str_digest_302df7dd4667e78e0d7e7b82e83b9711;
|
|
extern PyObject *const_str_digest_2299443fb3beca30307fd2ff4eeefb8e;
|
|
static PyObject *const_str_digest_784fbbdb1f9410cd98cbf64359021a07;
|
|
static PyObject *const_str_digest_2361903e0c06cd6b5cd3934228e35700;
|
|
extern PyObject *const_str_plain_self;
|
|
extern PyObject *const_str_plain_rsplit;
|
|
extern PyObject *const_str_plain_rstrip;
|
|
extern PyObject *const_tuple_str_chr_58_int_pos_1_tuple;
|
|
extern PyObject *const_str_plain___repr__;
|
|
static PyObject *const_str_digest_f6da59dc8e6ad1e274317d970404df77;
|
|
static PyObject *const_str_digest_6c585b52111227fc7aecec4d1ab19def;
|
|
extern PyObject *const_str_digest_ac02ab0238280e341b2aff0eed15b128;
|
|
static PyObject *const_str_digest_6e4648e1198586cb22f7507cd1fdd69b;
|
|
extern PyObject *const_str_plain_ascii;
|
|
extern PyObject *const_str_plain_obj;
|
|
extern PyObject *const_str_plain_format;
|
|
static PyObject *const_str_digest_5f9ab414b6e2a200202750726aa42bc4;
|
|
static PyObject *const_str_plain__PolicyBase;
|
|
extern PyObject *const_str_plain_startswith;
|
|
static PyObject *const_str_digest_1ea3b8328ddf4361e1e9e57cc7ad3aac;
|
|
extern PyObject *const_str_empty;
|
|
static PyObject *const_str_plain_Compat32;
|
|
static PyObject *const_str_digest_ee1fb42429810d3eecb211bf28eccb4a;
|
|
extern PyObject *const_str_plain_with_metaclass;
|
|
extern PyObject *const_str_plain___add__;
|
|
static PyObject *const_str_plain_register_defect;
|
|
static PyObject *module_filename_obj;
|
|
|
|
static bool constants_created = false;
|
|
|
|
static void createModuleConstants( void )
|
|
{
|
|
const_tuple_str_plain_self_str_plain_sourcelines_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_sourcelines_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
const_str_plain_sourcelines = UNSTREAM_STRING( &constant_bin[ 560251 ], 11, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_sourcelines_tuple, 1, const_str_plain_sourcelines ); Py_INCREF( const_str_plain_sourcelines );
|
|
const_str_digest_73bac168e82e2a71e35fd63d259efa50 = UNSTREAM_STRING( &constant_bin[ 560262 ], 1933, 0 );
|
|
const_str_digest_36c01cfdedb5ad0d076670c9a41fe1cb = UNSTREAM_STRING( &constant_bin[ 562195 ], 27, 0 );
|
|
const_str_digest_69c8672052c578e9778aafa9e6f81ba2 = UNSTREAM_STRING( &constant_bin[ 562222 ], 859, 0 );
|
|
const_str_digest_c3b97056daa755c48064e28ddade6209 = UNSTREAM_STRING( &constant_bin[ 563081 ], 414, 0 );
|
|
const_str_digest_b8eac67d724f7a023a73aba852ff45cb = UNSTREAM_STRING( &constant_bin[ 563495 ], 20, 0 );
|
|
const_tuple_cbb21b28d7d0988114236aaf23fae4ff_tuple = PyTuple_New( 6 );
|
|
PyTuple_SET_ITEM( const_tuple_cbb21b28d7d0988114236aaf23fae4ff_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_cbb21b28d7d0988114236aaf23fae4ff_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name );
|
|
PyTuple_SET_ITEM( const_tuple_cbb21b28d7d0988114236aaf23fae4ff_tuple, 2, const_str_plain_value ); Py_INCREF( const_str_plain_value );
|
|
PyTuple_SET_ITEM( const_tuple_cbb21b28d7d0988114236aaf23fae4ff_tuple, 3, const_str_plain_sanitize ); Py_INCREF( const_str_plain_sanitize );
|
|
PyTuple_SET_ITEM( const_tuple_cbb21b28d7d0988114236aaf23fae4ff_tuple, 4, const_str_plain_parts ); Py_INCREF( const_str_plain_parts );
|
|
PyTuple_SET_ITEM( const_tuple_cbb21b28d7d0988114236aaf23fae4ff_tuple, 5, const_str_plain_h ); Py_INCREF( const_str_plain_h );
|
|
const_str_plain__extend_docstrings = UNSTREAM_STRING( &constant_bin[ 563515 ], 18, 1 );
|
|
const_str_digest_3ded20d4a81aab07bfddb21a6b739530 = UNSTREAM_STRING( &constant_bin[ 563533 ], 25, 0 );
|
|
const_tuple_str_plain_header_tuple = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_header_tuple, 0, const_str_plain_header ); Py_INCREF( const_str_plain_header );
|
|
const_str_digest_31851c50f515f3dd5f8b34d677892eb2 = UNSTREAM_STRING( &constant_bin[ 563558 ], 274, 0 );
|
|
const_dict_ba91a9516f87798990d6cb6caeadb333 = _PyDict_NewPresized( 1 );
|
|
PyDict_SetItem( const_dict_ba91a9516f87798990d6cb6caeadb333, const_str_plain_sanitize, Py_True );
|
|
assert( PyDict_Size( const_dict_ba91a9516f87798990d6cb6caeadb333 ) == 1 );
|
|
const_str_digest_216d14d60c884616b5574ad9ef4cd98c = UNSTREAM_STRING( &constant_bin[ 563832 ], 70, 0 );
|
|
const_tuple_str_newline_int_pos_1_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_newline_int_pos_1_tuple, 0, const_str_newline ); Py_INCREF( const_str_newline );
|
|
PyTuple_SET_ITEM( const_tuple_str_newline_int_pos_1_tuple, 1, const_int_pos_1 ); Py_INCREF( const_int_pos_1 );
|
|
const_tuple_90d75ef5abd78bb8fabb3e7e1b9e6d3d_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_90d75ef5abd78bb8fabb3e7e1b9e6d3d_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_90d75ef5abd78bb8fabb3e7e1b9e6d3d_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name );
|
|
PyTuple_SET_ITEM( const_tuple_90d75ef5abd78bb8fabb3e7e1b9e6d3d_tuple, 2, const_str_plain_value ); Py_INCREF( const_str_plain_value );
|
|
const_str_plain_folded = UNSTREAM_STRING( &constant_bin[ 563580 ], 6, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_90d75ef5abd78bb8fabb3e7e1b9e6d3d_tuple, 3, const_str_plain_folded ); Py_INCREF( const_str_plain_folded );
|
|
const_tuple_str_plain_self_str_plain_obj_str_plain_defect_tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_obj_str_plain_defect_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_obj_str_plain_defect_tuple, 1, const_str_plain_obj ); Py_INCREF( const_str_plain_obj );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_obj_str_plain_defect_tuple, 2, const_str_plain_defect ); Py_INCREF( const_str_plain_defect );
|
|
const_list_str_plain_Policy_str_plain_Compat32_str_plain_compat32_list = PyList_New( 3 );
|
|
const_str_plain_Policy = UNSTREAM_STRING( &constant_bin[ 509989 ], 6, 1 );
|
|
PyList_SET_ITEM( const_list_str_plain_Policy_str_plain_Compat32_str_plain_compat32_list, 0, const_str_plain_Policy ); Py_INCREF( const_str_plain_Policy );
|
|
const_str_plain_Compat32 = UNSTREAM_STRING( &constant_bin[ 562195 ], 8, 1 );
|
|
PyList_SET_ITEM( const_list_str_plain_Policy_str_plain_Compat32_str_plain_compat32_list, 1, const_str_plain_Compat32 ); Py_INCREF( const_str_plain_Compat32 );
|
|
PyList_SET_ITEM( const_list_str_plain_Policy_str_plain_Compat32_str_plain_compat32_list, 2, const_str_plain_compat32 ); Py_INCREF( const_str_plain_compat32 );
|
|
const_tuple_c65b5969d64f0ded7b5e6c8f7eaf2c22_tuple = PyTuple_New( 5 );
|
|
PyTuple_SET_ITEM( const_tuple_c65b5969d64f0ded7b5e6c8f7eaf2c22_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls );
|
|
PyTuple_SET_ITEM( const_tuple_c65b5969d64f0ded7b5e6c8f7eaf2c22_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name );
|
|
PyTuple_SET_ITEM( const_tuple_c65b5969d64f0ded7b5e6c8f7eaf2c22_tuple, 2, const_str_plain_attr ); Py_INCREF( const_str_plain_attr );
|
|
PyTuple_SET_ITEM( const_tuple_c65b5969d64f0ded7b5e6c8f7eaf2c22_tuple, 3, const_str_plain_c ); Py_INCREF( const_str_plain_c );
|
|
PyTuple_SET_ITEM( const_tuple_c65b5969d64f0ded7b5e6c8f7eaf2c22_tuple, 4, const_str_plain_doc ); Py_INCREF( const_str_plain_doc );
|
|
const_str_digest_41271331745841b556390de3e52bf661 = UNSTREAM_STRING( &constant_bin[ 563902 ], 602, 0 );
|
|
const_str_digest_421ce075239b52299ba8f95702b7a553 = UNSTREAM_STRING( &constant_bin[ 564504 ], 293, 0 );
|
|
const_str_digest_bcaecae14d8428f69f1ec08173db8ce0 = UNSTREAM_STRING( &constant_bin[ 564797 ], 6, 0 );
|
|
const_str_plain__append_doc = UNSTREAM_STRING( &constant_bin[ 564803 ], 11, 1 );
|
|
const_str_digest_58737ef8b85a004cac6fa3406052641a = UNSTREAM_STRING( &constant_bin[ 563495 ], 13, 0 );
|
|
const_str_digest_d527301e7623be5832903b4574ccbc6a = UNSTREAM_STRING( &constant_bin[ 564814 ], 346, 0 );
|
|
const_str_digest_2352e136d7567b2bbd2a85ef33ed5426 = UNSTREAM_STRING( &constant_bin[ 565160 ], 23, 0 );
|
|
const_str_digest_890637b9e415c7a50ac037dd06b52c2f = UNSTREAM_STRING( &constant_bin[ 565183 ], 25, 0 );
|
|
const_str_digest_0ce380070c0bfb8f9bba27e2446be5b9 = UNSTREAM_STRING( &constant_bin[ 565208 ], 903, 0 );
|
|
const_str_plain__fold = UNSTREAM_STRING( &constant_bin[ 561967 ], 5, 1 );
|
|
const_str_digest_e8a099c620a82fdc443680fbc08df01d = UNSTREAM_STRING( &constant_bin[ 566111 ], 37, 0 );
|
|
const_str_digest_640de273222d69b094a93875445cf0f0 = UNSTREAM_STRING( &constant_bin[ 566148 ], 27, 0 );
|
|
const_str_digest_bc33255c59945d8c4d0ebd65a2e30f1f = UNSTREAM_STRING( &constant_bin[ 566175 ], 17, 0 );
|
|
const_str_digest_3443a7e489fcae0e1402d7f6cb337365 = UNSTREAM_STRING( &constant_bin[ 566192 ], 43, 0 );
|
|
const_tuple_a644fbbdae4978125a5a4680771a2b50_tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_a644fbbdae4978125a5a4680771a2b50_tuple, 0, const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); Py_INCREF( const_str_digest_b9c4baf879ebd882d40843df3a4dead7 );
|
|
PyTuple_SET_ITEM( const_tuple_a644fbbdae4978125a5a4680771a2b50_tuple, 1, const_str_plain_base ); Py_INCREF( const_str_plain_base );
|
|
PyTuple_SET_ITEM( const_tuple_a644fbbdae4978125a5a4680771a2b50_tuple, 2, const_str_plain_c ); Py_INCREF( const_str_plain_c );
|
|
const_str_digest_ebf3c58e25bae1b366c4df71818895c8 = UNSTREAM_STRING( &constant_bin[ 566235 ], 20, 0 );
|
|
const_str_digest_aa37707aaddd6994bcc24f38872ac67d = UNSTREAM_STRING( &constant_bin[ 566255 ], 119, 0 );
|
|
const_str_digest_e74969a13e1b0f9cce84ec2a8634d0fe = UNSTREAM_STRING( &constant_bin[ 566374 ], 19, 0 );
|
|
const_str_plain_added_doc = UNSTREAM_STRING( &constant_bin[ 566393 ], 9, 1 );
|
|
const_str_digest_deaeb17289a6b3e59e33a7cb1315c9c3 = UNSTREAM_STRING( &constant_bin[ 566402 ], 137, 0 );
|
|
const_str_digest_e6976b3c3af380ae616a4ad009403e47 = UNSTREAM_STRING( &constant_bin[ 566539 ], 314, 0 );
|
|
const_str_digest_1c699f27f812a7e22ae977cad7823ba5 = UNSTREAM_STRING( &constant_bin[ 566853 ], 22, 0 );
|
|
const_tuple_9ec2e79e8d49a6db28a3a63b97484dd9_tuple = PyTuple_New( 5 );
|
|
PyTuple_SET_ITEM( const_tuple_9ec2e79e8d49a6db28a3a63b97484dd9_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_9ec2e79e8d49a6db28a3a63b97484dd9_tuple, 1, const_str_plain_kw ); Py_INCREF( const_str_plain_kw );
|
|
PyTuple_SET_ITEM( const_tuple_9ec2e79e8d49a6db28a3a63b97484dd9_tuple, 2, const_str_plain_name ); Py_INCREF( const_str_plain_name );
|
|
PyTuple_SET_ITEM( const_tuple_9ec2e79e8d49a6db28a3a63b97484dd9_tuple, 3, const_str_plain_value ); Py_INCREF( const_str_plain_value );
|
|
PyTuple_SET_ITEM( const_tuple_9ec2e79e8d49a6db28a3a63b97484dd9_tuple, 4, const_str_plain___class__ ); Py_INCREF( const_str_plain___class__ );
|
|
const_str_digest_155aed70cdc0964f40d872459205541c = UNSTREAM_STRING( &constant_bin[ 566875 ], 14, 0 );
|
|
const_str_plain_newpolicy = UNSTREAM_STRING( &constant_bin[ 566889 ], 9, 1 );
|
|
const_str_digest_b33e8c30bb09a3e7d162b1217d98b12d = UNSTREAM_STRING( &constant_bin[ 566898 ], 168, 0 );
|
|
const_str_digest_7f54747940672634641d791f37c6ca9b = UNSTREAM_STRING( &constant_bin[ 567066 ], 208, 0 );
|
|
const_str_digest_856a8351f84aca855b37055063f305fe = UNSTREAM_STRING( &constant_bin[ 567274 ], 62, 0 );
|
|
const_str_digest_b78450a4928a51cebff0c497eddf0bb1 = UNSTREAM_STRING( &constant_bin[ 567336 ], 42, 0 );
|
|
const_str_digest_169f5eb4d93dbeb30fb97c6fb0c5fe81 = UNSTREAM_STRING( &constant_bin[ 567378 ], 130, 0 );
|
|
const_str_plain_raise_on_defect = UNSTREAM_STRING( &constant_bin[ 560588 ], 15, 1 );
|
|
const_tuple_str_plain_self_str_plain_name_str_plain_value_str_plain_msg_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_name_str_plain_value_str_plain_msg_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_name_str_plain_value_str_plain_msg_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_name_str_plain_value_str_plain_msg_tuple, 2, const_str_plain_value ); Py_INCREF( const_str_plain_value );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_name_str_plain_value_str_plain_msg_tuple, 3, const_str_plain_msg ); Py_INCREF( const_str_plain_msg );
|
|
const_str_digest_563b5ba970cbc37cf902c3445bfdb059 = UNSTREAM_STRING( &constant_bin[ 66656 ], 4, 0 );
|
|
const_str_digest_556b8668f8d711432b04620730421b6c = UNSTREAM_STRING( &constant_bin[ 567508 ], 137, 0 );
|
|
const_tuple_47f2422fb61e1fbf93ef5c0fcf1dfa75_tuple = PyTuple_New( 5 );
|
|
PyTuple_SET_ITEM( const_tuple_47f2422fb61e1fbf93ef5c0fcf1dfa75_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_47f2422fb61e1fbf93ef5c0fcf1dfa75_tuple, 1, const_str_plain_kw ); Py_INCREF( const_str_plain_kw );
|
|
PyTuple_SET_ITEM( const_tuple_47f2422fb61e1fbf93ef5c0fcf1dfa75_tuple, 2, const_str_plain_newpolicy ); Py_INCREF( const_str_plain_newpolicy );
|
|
PyTuple_SET_ITEM( const_tuple_47f2422fb61e1fbf93ef5c0fcf1dfa75_tuple, 3, const_str_plain_attr ); Py_INCREF( const_str_plain_attr );
|
|
PyTuple_SET_ITEM( const_tuple_47f2422fb61e1fbf93ef5c0fcf1dfa75_tuple, 4, const_str_plain_value ); Py_INCREF( const_str_plain_value );
|
|
const_str_digest_aa76540723a1aded00693106d4c6b75e = UNSTREAM_STRING( &constant_bin[ 567645 ], 18, 0 );
|
|
const_str_digest_a47bf7d36a0db2d6d0d1cc9565244c4c = UNSTREAM_STRING( &constant_bin[ 567663 ], 39, 0 );
|
|
const_str_digest_118c4ccbe7368ada6feccfe9762fa4e4 = UNSTREAM_STRING( &constant_bin[ 567702 ], 28, 0 );
|
|
const_str_digest_1cbd2824ecf59971548f638621a10d90 = UNSTREAM_STRING( &constant_bin[ 567730 ], 26, 0 );
|
|
const_str_digest_b33887a511083a65b5afdba45a376560 = UNSTREAM_STRING( &constant_bin[ 567756 ], 23, 0 );
|
|
const_str_plain__sanitize_header = UNSTREAM_STRING( &constant_bin[ 565192 ], 16, 1 );
|
|
const_tuple_db0c9a52ddfd77f1fd74756b042b60ba_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_db0c9a52ddfd77f1fd74756b042b60ba_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_db0c9a52ddfd77f1fd74756b042b60ba_tuple, 1, const_str_plain_sourcelines ); Py_INCREF( const_str_plain_sourcelines );
|
|
PyTuple_SET_ITEM( const_tuple_db0c9a52ddfd77f1fd74756b042b60ba_tuple, 2, const_str_plain_name ); Py_INCREF( const_str_plain_name );
|
|
PyTuple_SET_ITEM( const_tuple_db0c9a52ddfd77f1fd74756b042b60ba_tuple, 3, const_str_plain_value ); Py_INCREF( const_str_plain_value );
|
|
const_str_digest_3ded5e364bd1768860b31c97d8669ec0 = UNSTREAM_STRING( &constant_bin[ 567779 ], 33, 0 );
|
|
const_tuple_str_plain_doc_str_plain_added_doc_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_doc_str_plain_added_doc_tuple, 0, const_str_plain_doc ); Py_INCREF( const_str_plain_doc );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_doc_str_plain_added_doc_tuple, 1, const_str_plain_added_doc ); Py_INCREF( const_str_plain_added_doc );
|
|
const_str_digest_302df7dd4667e78e0d7e7b82e83b9711 = UNSTREAM_STRING( &constant_bin[ 567812 ], 7, 0 );
|
|
const_str_digest_784fbbdb1f9410cd98cbf64359021a07 = UNSTREAM_STRING( &constant_bin[ 567819 ], 20, 0 );
|
|
const_str_digest_2361903e0c06cd6b5cd3934228e35700 = UNSTREAM_STRING( &constant_bin[ 567839 ], 25, 0 );
|
|
const_str_digest_f6da59dc8e6ad1e274317d970404df77 = UNSTREAM_STRING( &constant_bin[ 567864 ], 399, 0 );
|
|
const_str_digest_6c585b52111227fc7aecec4d1ab19def = UNSTREAM_STRING( &constant_bin[ 568263 ], 375, 0 );
|
|
const_str_digest_6e4648e1198586cb22f7507cd1fdd69b = UNSTREAM_STRING( &constant_bin[ 567645 ], 11, 0 );
|
|
const_str_digest_5f9ab414b6e2a200202750726aa42bc4 = UNSTREAM_STRING( &constant_bin[ 568638 ], 20, 0 );
|
|
const_str_plain__PolicyBase = UNSTREAM_STRING( &constant_bin[ 565160 ], 11, 1 );
|
|
const_str_digest_1ea3b8328ddf4361e1e9e57cc7ad3aac = UNSTREAM_STRING( &constant_bin[ 568658 ], 150, 0 );
|
|
const_str_digest_ee1fb42429810d3eecb211bf28eccb4a = UNSTREAM_STRING( &constant_bin[ 568808 ], 466, 0 );
|
|
const_str_plain_register_defect = UNSTREAM_STRING( &constant_bin[ 563947 ], 15, 1 );
|
|
|
|
constants_created = true;
|
|
}
|
|
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
void checkModuleConstants_future$backports$email$_policybase( void )
|
|
{
|
|
// The module may not have been used at all.
|
|
if (constants_created == false) return;
|
|
|
|
|
|
}
|
|
#endif
|
|
|
|
// The module code objects.
|
|
static PyCodeObject *codeobj_6ee0ea66f17ba47b5f982f8b00b8376b;
|
|
static PyCodeObject *codeobj_071ccc5c4d418b8dfd59ee328a066c22;
|
|
static PyCodeObject *codeobj_dcd972222be60217932bbcf7bfbc9467;
|
|
static PyCodeObject *codeobj_c43042fb7d848738c154bd50a8f63846;
|
|
static PyCodeObject *codeobj_40ae7e2307f84da806ba89652148f465;
|
|
static PyCodeObject *codeobj_0648383043683232cefc93e703bbb0d8;
|
|
static PyCodeObject *codeobj_5d5de872de7b64ca50f483b0fcfa9e22;
|
|
static PyCodeObject *codeobj_14598ee31fba4c6a4b6c22e1371e120b;
|
|
static PyCodeObject *codeobj_69b928ef575d55dc868baaa8a508cadb;
|
|
static PyCodeObject *codeobj_839cd66ac3a05eda9ee6df6ab9ca2e87;
|
|
static PyCodeObject *codeobj_9e5ffb803eae82eb5e6b42fe54d5845e;
|
|
static PyCodeObject *codeobj_3b296d48f3975c23a051df110421dd26;
|
|
static PyCodeObject *codeobj_b29c2bd89e594bf3bf7f941d5e7749a6;
|
|
static PyCodeObject *codeobj_9a71c0d7ebeb96db14a33349cfbcca52;
|
|
static PyCodeObject *codeobj_b1da9c811afb314bcf760c9aac3833bb;
|
|
static PyCodeObject *codeobj_7603cd223597496e70364f2c9699e4a0;
|
|
static PyCodeObject *codeobj_831cb4a0270e26d748ce0d857262de43;
|
|
static PyCodeObject *codeobj_eb8f797b0319ed79b07bd3e0e6b5f31e;
|
|
static PyCodeObject *codeobj_157973b7d1b7f0ca080c739cbe5f0743;
|
|
static PyCodeObject *codeobj_6ddc1e2151d5f3e346914f1366f11f31;
|
|
static PyCodeObject *codeobj_ccf62988af4a702ed2635b2183e9792e;
|
|
static PyCodeObject *codeobj_04b015eb415fa7f67674dbe1c8692f93;
|
|
static PyCodeObject *codeobj_586bacdb2c7b6d389d6709fd5b9920ec;
|
|
static PyCodeObject *codeobj_c381022678f623d39baa1dc4b933b9c1;
|
|
static PyCodeObject *codeobj_3255f987afaecbd06c6690e9ebf8ae27;
|
|
static PyCodeObject *codeobj_cad666002cbd554ea5871115d4dcce12;
|
|
static PyCodeObject *codeobj_2b5fce3a403933eb9f108c0b7eb2ed81;
|
|
static PyCodeObject *codeobj_fe22317aca33d7f0cf6573d96790dea7;
|
|
|
|
static void createModuleCodeObjects(void)
|
|
{
|
|
module_filename_obj = const_str_digest_216d14d60c884616b5574ad9ef4cd98c;
|
|
codeobj_6ee0ea66f17ba47b5f982f8b00b8376b = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 111, const_tuple_a644fbbdae4978125a5a4680771a2b50_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_071ccc5c4d418b8dfd59ee328a066c22 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 63, const_tuple_str_plain_name_str_plain_value_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_dcd972222be60217932bbcf7bfbc9467 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_3443a7e489fcae0e1402d7f6cb337365, 1, const_tuple_empty, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_c43042fb7d848738c154bd50a8f63846 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Compat32, 269, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_40ae7e2307f84da806ba89652148f465 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Policy, 119, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_0648383043683232cefc93e703bbb0d8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__PolicyBase, 25, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_5d5de872de7b64ca50f483b0fcfa9e22 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___add__, 92, const_tuple_str_plain_self_str_plain_other_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_14598ee31fba4c6a4b6c22e1371e120b = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 48, const_tuple_9ec2e79e8d49a6db28a3a63b97484dd9_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_69b928ef575d55dc868baaa8a508cadb = MAKE_CODEOBJ( module_filename_obj, const_str_plain___repr__, 62, const_tuple_str_plain_self_str_plain_args_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_839cd66ac3a05eda9ee6df6ab9ca2e87 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___setattr__, 85, const_tuple_str_plain_self_str_plain_name_str_plain_value_str_plain_msg_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_9e5ffb803eae82eb5e6b42fe54d5845e = MAKE_CODEOBJ( module_filename_obj, const_str_plain__append_doc, 101, const_tuple_str_plain_doc_str_plain_added_doc_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_3b296d48f3975c23a051df110421dd26 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__extend_docstrings, 106, const_tuple_c65b5969d64f0ded7b5e6c8f7eaf2c22_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_b29c2bd89e594bf3bf7f941d5e7749a6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__fold, 335, const_tuple_cbb21b28d7d0988114236aaf23fae4ff_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_9a71c0d7ebeb96db14a33349cfbcca52 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__sanitize_header, 276, const_tuple_str_plain_self_str_plain_name_str_plain_value_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_b1da9c811afb314bcf760c9aac3833bb = MAKE_CODEOBJ( module_filename_obj, const_str_plain_clone, 67, const_tuple_47f2422fb61e1fbf93ef5c0fcf1dfa75_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_7603cd223597496e70364f2c9699e4a0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_fold, 245, const_tuple_str_plain_self_str_plain_name_str_plain_value_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_831cb4a0270e26d748ce0d857262de43 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_fold, 313, const_tuple_str_plain_self_str_plain_name_str_plain_value_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_eb8f797b0319ed79b07bd3e0e6b5f31e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_fold_binary, 257, const_tuple_str_plain_self_str_plain_name_str_plain_value_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_157973b7d1b7f0ca080c739cbe5f0743 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_fold_binary, 323, const_tuple_90d75ef5abd78bb8fabb3e7e1b9e6d3d_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_6ddc1e2151d5f3e346914f1366f11f31 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_handle_defect, 166, const_tuple_str_plain_self_str_plain_obj_str_plain_defect_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_ccf62988af4a702ed2635b2183e9792e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_fetch_parse, 234, const_tuple_str_plain_self_str_plain_name_str_plain_value_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_04b015eb415fa7f67674dbe1c8692f93 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_fetch_parse, 306, const_tuple_str_plain_self_str_plain_name_str_plain_value_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_586bacdb2c7b6d389d6709fd5b9920ec = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_max_count, 198, const_tuple_str_plain_self_str_plain_name_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_c381022678f623d39baa1dc4b933b9c1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_source_parse, 217, const_tuple_str_plain_self_str_plain_sourcelines_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_3255f987afaecbd06c6690e9ebf8ae27 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_source_parse, 288, const_tuple_db0c9a52ddfd77f1fd74756b042b60ba_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_cad666002cbd554ea5871115d4dcce12 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_store_parse, 227, const_tuple_str_plain_self_str_plain_name_str_plain_value_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_2b5fce3a403933eb9f108c0b7eb2ed81 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_header_store_parse, 300, const_tuple_str_plain_self_str_plain_name_str_plain_value_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
codeobj_fe22317aca33d7f0cf6573d96790dea7 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_register_defect, 185, const_tuple_str_plain_self_str_plain_obj_str_plain_defect_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS );
|
|
}
|
|
|
|
// The module function declarations.
|
|
static PyObject *future$backports$email$_policybase$$$function_7__extend_docstrings$$$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_7_complex_call_helper_star_dict( PyObject **python_pars );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_10_header_max_count( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_11_header_source_parse( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_12_header_store_parse( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_13_header_fetch_parse( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_14_fold( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_15_fold_binary( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_16__sanitize_header( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_17_header_source_parse( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_18_header_store_parse( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_19_header_fetch_parse( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_1___init__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_20_fold( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_21_fold_binary( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_22__fold( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_2___repr__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_3_clone( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_4___setattr__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_5___add__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_6__append_doc( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_7__extend_docstrings( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_8_handle_defect( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_9_register_defect( );
|
|
|
|
|
|
// The module function definitions.
|
|
static PyObject *impl_future$backports$email$_policybase$$$function_1___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_kw = python_pars[ 1 ];
|
|
PyObject *var_name = NULL;
|
|
PyObject *var_value = NULL;
|
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_1__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;
|
|
struct Nuitka_FrameObject *frame_14598ee31fba4c6a4b6c22e1371e120b;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_iterator_attempt;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
int tmp_res;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
static struct Nuitka_FrameObject *cache_frame_14598ee31fba4c6a4b6c22e1371e120b = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_14598ee31fba4c6a4b6c22e1371e120b, codeobj_14598ee31fba4c6a4b6c22e1371e120b, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_14598ee31fba4c6a4b6c22e1371e120b = cache_frame_14598ee31fba4c6a4b6c22e1371e120b;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_14598ee31fba4c6a4b6c22e1371e120b );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_14598ee31fba4c6a4b6c22e1371e120b ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_instance_1;
|
|
CHECK_OBJECT( par_kw );
|
|
tmp_called_instance_1 = par_kw;
|
|
frame_14598ee31fba4c6a4b6c22e1371e120b->m_frame.f_lineno = 54;
|
|
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items );
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_2;
|
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_2 == 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 = "ooooN";
|
|
exception_lineno = 54;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_2;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
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_3 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_3;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__source_iter;
|
|
tmp_tuple_unpack_1__source_iter = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_unpack_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooN";
|
|
exception_lineno = 54;
|
|
goto try_except_handler_4;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__element_1;
|
|
tmp_tuple_unpack_1__element_1 = tmp_assign_source_4;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_unpack_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_5 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooN";
|
|
exception_lineno = 54;
|
|
goto try_except_handler_4;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__element_2;
|
|
tmp_tuple_unpack_1__element_2 = tmp_assign_source_5;
|
|
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 = "ooooN";
|
|
exception_lineno = 54;
|
|
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 = "ooooN";
|
|
exception_lineno = 54;
|
|
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_6;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
|
|
tmp_assign_source_6 = tmp_tuple_unpack_1__element_1;
|
|
{
|
|
PyObject *old = var_name;
|
|
var_name = tmp_assign_source_6;
|
|
Py_INCREF( var_name );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
|
|
tmp_assign_source_7 = tmp_tuple_unpack_1__element_2;
|
|
{
|
|
PyObject *old = var_value;
|
|
var_value = tmp_assign_source_7;
|
|
Py_INCREF( var_value );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_attribute_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 = 55;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
if ( var_name == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 55;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_attribute_name_1 = var_name;
|
|
tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_1, tmp_attribute_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 55;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_args_element_name_4;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (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 = 56;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_called_name_2 = tmp_mvar_value_1;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__PolicyBase );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__PolicyBase );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_PolicyBase" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 56;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_1 = tmp_mvar_value_2;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 56;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_self;
|
|
frame_14598ee31fba4c6a4b6c22e1371e120b->m_frame.f_lineno = 56;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_source_name_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
if ( tmp_source_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 56;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___setattr__ );
|
|
Py_DECREF( tmp_source_name_2 );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 56;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( var_name == 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", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 56;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_3 = var_name;
|
|
if ( var_value == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 56;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_4 = var_value;
|
|
frame_14598ee31fba4c6a4b6c22e1371e120b->m_frame.f_lineno = 56;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 56;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_make_exception_arg_1;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_args_element_name_5;
|
|
PyObject *tmp_args_element_name_6;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_source_name_5;
|
|
tmp_source_name_3 = const_str_digest_b78450a4928a51cebff0c497eddf0bb1;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_format );
|
|
assert( !(tmp_called_name_3 == NULL) );
|
|
if ( var_name == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 60;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_5 = var_name;
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 60;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_5 = par_self;
|
|
tmp_source_name_4 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_5 );
|
|
if ( tmp_source_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
|
|
exception_lineno = 60;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_args_element_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_4 );
|
|
if ( tmp_args_element_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
|
|
exception_lineno = 60;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
frame_14598ee31fba4c6a4b6c22e1371e120b->m_frame.f_lineno = 59;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 };
|
|
tmp_make_exception_arg_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_args_element_name_6 );
|
|
if ( tmp_make_exception_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 59;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
frame_14598ee31fba4c6a4b6c22e1371e120b->m_frame.f_lineno = 58;
|
|
{
|
|
PyObject *call_args[] = { tmp_make_exception_arg_1 };
|
|
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_TypeError, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_make_exception_arg_1 );
|
|
assert( !(tmp_raise_type_1 == NULL) );
|
|
exception_type = tmp_raise_type_1;
|
|
exception_lineno = 58;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_3;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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:;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_14598ee31fba4c6a4b6c22e1371e120b );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_14598ee31fba4c6a4b6c22e1371e120b );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_14598ee31fba4c6a4b6c22e1371e120b, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_14598ee31fba4c6a4b6c22e1371e120b->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_14598ee31fba4c6a4b6c22e1371e120b, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_14598ee31fba4c6a4b6c22e1371e120b,
|
|
type_description_1,
|
|
par_self,
|
|
par_kw,
|
|
var_name,
|
|
var_value,
|
|
NULL
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_14598ee31fba4c6a4b6c22e1371e120b == cache_frame_14598ee31fba4c6a4b6c22e1371e120b )
|
|
{
|
|
Py_DECREF( frame_14598ee31fba4c6a4b6c22e1371e120b );
|
|
}
|
|
cache_frame_14598ee31fba4c6a4b6c22e1371e120b = NULL;
|
|
|
|
assertFrameObject( frame_14598ee31fba4c6a4b6c22e1371e120b );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_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;
|
|
|
|
}
|
|
{
|
|
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$_policybase$$$function_1___init__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kw );
|
|
par_kw = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_name );
|
|
var_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_value );
|
|
var_value = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_4 = exception_type;
|
|
exception_keeper_value_4 = exception_value;
|
|
exception_keeper_tb_4 = exception_tb;
|
|
exception_keeper_lineno_4 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kw );
|
|
par_kw = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_name );
|
|
var_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_value );
|
|
var_value = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_4;
|
|
exception_value = exception_keeper_value_4;
|
|
exception_tb = exception_keeper_tb_4;
|
|
exception_lineno = exception_keeper_lineno_4;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_1___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$_policybase$$$function_2___repr__( 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 *var_args = NULL;
|
|
PyObject *outline_0_var_name = NULL;
|
|
PyObject *outline_0_var_value = NULL;
|
|
PyObject *tmp_listcomp$tuple_unpack_1__element_1 = NULL;
|
|
PyObject *tmp_listcomp$tuple_unpack_1__element_2 = NULL;
|
|
PyObject *tmp_listcomp$tuple_unpack_1__source_iter = NULL;
|
|
PyObject *tmp_listcomp_1__$0 = NULL;
|
|
PyObject *tmp_listcomp_1__contraction = NULL;
|
|
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
|
|
struct Nuitka_FrameObject *frame_69b928ef575d55dc868baaa8a508cadb;
|
|
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;
|
|
struct Nuitka_FrameObject *frame_071ccc5c4d418b8dfd59ee328a066c22_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = 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;
|
|
int tmp_res;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
static struct Nuitka_FrameObject *cache_frame_071ccc5c4d418b8dfd59ee328a066c22_2 = NULL;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_69b928ef575d55dc868baaa8a508cadb = NULL;
|
|
PyObject *exception_keeper_type_5;
|
|
PyObject *exception_keeper_value_5;
|
|
PyTracebackObject *exception_keeper_tb_5;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_69b928ef575d55dc868baaa8a508cadb, codeobj_69b928ef575d55dc868baaa8a508cadb, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *) );
|
|
frame_69b928ef575d55dc868baaa8a508cadb = cache_frame_69b928ef575d55dc868baaa8a508cadb;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_69b928ef575d55dc868baaa8a508cadb );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_69b928ef575d55dc868baaa8a508cadb ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_source_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_called_instance_1 = LOOKUP_ATTRIBUTE_DICT_SLOT( tmp_source_name_1 );
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 64;
|
|
type_description_1 = "oo";
|
|
goto try_except_handler_2;
|
|
}
|
|
frame_69b928ef575d55dc868baaa8a508cadb->m_frame.f_lineno = 64;
|
|
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items );
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 64;
|
|
type_description_1 = "oo";
|
|
goto try_except_handler_2;
|
|
}
|
|
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 = 63;
|
|
type_description_1 = "oo";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_listcomp_1__$0 == NULL );
|
|
tmp_listcomp_1__$0 = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
tmp_assign_source_3 = PyList_New( 0 );
|
|
assert( tmp_listcomp_1__contraction == NULL );
|
|
tmp_listcomp_1__contraction = tmp_assign_source_3;
|
|
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_071ccc5c4d418b8dfd59ee328a066c22_2, codeobj_071ccc5c4d418b8dfd59ee328a066c22, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *) );
|
|
frame_071ccc5c4d418b8dfd59ee328a066c22_2 = cache_frame_071ccc5c4d418b8dfd59ee328a066c22_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_071ccc5c4d418b8dfd59ee328a066c22_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_071ccc5c4d418b8dfd59ee328a066c22_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( tmp_listcomp_1__$0 );
|
|
tmp_next_source_1 = tmp_listcomp_1__$0;
|
|
tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_2 = "oo";
|
|
exception_lineno = 63;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_listcomp_1__iter_value_0;
|
|
tmp_listcomp_1__iter_value_0 = tmp_assign_source_4;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_iter_arg_2;
|
|
CHECK_OBJECT( tmp_listcomp_1__iter_value_0 );
|
|
tmp_iter_arg_2 = tmp_listcomp_1__iter_value_0;
|
|
tmp_assign_source_5 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 63;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_4;
|
|
}
|
|
{
|
|
PyObject *old = tmp_listcomp$tuple_unpack_1__source_iter;
|
|
tmp_listcomp$tuple_unpack_1__source_iter = tmp_assign_source_5;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_unpack_1;
|
|
CHECK_OBJECT( tmp_listcomp$tuple_unpack_1__source_iter );
|
|
tmp_unpack_1 = tmp_listcomp$tuple_unpack_1__source_iter;
|
|
tmp_assign_source_6 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
|
|
if ( tmp_assign_source_6 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_2 = "oo";
|
|
exception_lineno = 63;
|
|
goto try_except_handler_5;
|
|
}
|
|
{
|
|
PyObject *old = tmp_listcomp$tuple_unpack_1__element_1;
|
|
tmp_listcomp$tuple_unpack_1__element_1 = tmp_assign_source_6;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
PyObject *tmp_unpack_2;
|
|
CHECK_OBJECT( tmp_listcomp$tuple_unpack_1__source_iter );
|
|
tmp_unpack_2 = tmp_listcomp$tuple_unpack_1__source_iter;
|
|
tmp_assign_source_7 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
|
|
if ( tmp_assign_source_7 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_2 = "oo";
|
|
exception_lineno = 63;
|
|
goto try_except_handler_5;
|
|
}
|
|
{
|
|
PyObject *old = tmp_listcomp$tuple_unpack_1__element_2;
|
|
tmp_listcomp$tuple_unpack_1__element_2 = tmp_assign_source_7;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_iterator_name_1;
|
|
CHECK_OBJECT( tmp_listcomp$tuple_unpack_1__source_iter );
|
|
tmp_iterator_name_1 = tmp_listcomp$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_2 = "oo";
|
|
exception_lineno = 63;
|
|
goto try_except_handler_5;
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Py_DECREF( tmp_iterator_attempt );
|
|
|
|
// TODO: Could avoid PyErr_Format.
|
|
#if PYTHON_VERSION < 300
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
|
|
#else
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
|
|
#endif
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_2 = "oo";
|
|
exception_lineno = 63;
|
|
goto try_except_handler_5;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_5:;
|
|
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_listcomp$tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_listcomp$tuple_unpack_1__source_iter );
|
|
tmp_listcomp$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_4;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_listcomp$tuple_unpack_1__element_1 );
|
|
tmp_listcomp$tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp$tuple_unpack_1__element_2 );
|
|
tmp_listcomp$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_3;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp$tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_listcomp$tuple_unpack_1__source_iter );
|
|
tmp_listcomp$tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
CHECK_OBJECT( tmp_listcomp$tuple_unpack_1__element_1 );
|
|
tmp_assign_source_8 = tmp_listcomp$tuple_unpack_1__element_1;
|
|
{
|
|
PyObject *old = outline_0_var_name;
|
|
outline_0_var_name = tmp_assign_source_8;
|
|
Py_INCREF( outline_0_var_name );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp$tuple_unpack_1__element_1 );
|
|
tmp_listcomp$tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
CHECK_OBJECT( tmp_listcomp$tuple_unpack_1__element_2 );
|
|
tmp_assign_source_9 = tmp_listcomp$tuple_unpack_1__element_2;
|
|
{
|
|
PyObject *old = outline_0_var_value;
|
|
outline_0_var_value = tmp_assign_source_9;
|
|
Py_INCREF( outline_0_var_value );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp$tuple_unpack_1__element_2 );
|
|
tmp_listcomp$tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_append_list_1;
|
|
PyObject *tmp_append_value_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_append_list_1 = tmp_listcomp_1__contraction;
|
|
tmp_source_name_2 = const_str_digest_302df7dd4667e78e0d7e7b82e83b9711;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_format );
|
|
assert( !(tmp_called_name_1 == NULL) );
|
|
if ( outline_0_var_name == 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", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 63;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_args_element_name_1 = outline_0_var_name;
|
|
if ( outline_0_var_value == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 63;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_args_element_name_2 = outline_0_var_value;
|
|
frame_071ccc5c4d418b8dfd59ee328a066c22_2->m_frame.f_lineno = 63;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_append_value_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_append_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 63;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( PyList_Check( tmp_append_list_1 ) );
|
|
tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 );
|
|
Py_DECREF( tmp_append_value_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 63;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 63;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_assign_source_1 = tmp_listcomp_1__contraction;
|
|
Py_INCREF( tmp_assign_source_1 );
|
|
goto try_return_handler_3;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_2___repr__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
|
|
Py_DECREF( tmp_listcomp_1__$0 );
|
|
tmp_listcomp_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
|
|
Py_DECREF( tmp_listcomp_1__contraction );
|
|
tmp_listcomp_1__contraction = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
|
|
tmp_listcomp_1__iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
goto frame_return_exit_2;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
|
|
Py_DECREF( tmp_listcomp_1__$0 );
|
|
tmp_listcomp_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
|
|
Py_DECREF( tmp_listcomp_1__contraction );
|
|
tmp_listcomp_1__contraction = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
|
|
tmp_listcomp_1__iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto frame_exception_exit_2;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_071ccc5c4d418b8dfd59ee328a066c22_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_2:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_071ccc5c4d418b8dfd59ee328a066c22_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_2;
|
|
|
|
frame_exception_exit_2:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_071ccc5c4d418b8dfd59ee328a066c22_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_071ccc5c4d418b8dfd59ee328a066c22_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_071ccc5c4d418b8dfd59ee328a066c22_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_071ccc5c4d418b8dfd59ee328a066c22_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_071ccc5c4d418b8dfd59ee328a066c22_2,
|
|
type_description_2,
|
|
outline_0_var_name,
|
|
outline_0_var_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_071ccc5c4d418b8dfd59ee328a066c22_2 == cache_frame_071ccc5c4d418b8dfd59ee328a066c22_2 )
|
|
{
|
|
Py_DECREF( frame_071ccc5c4d418b8dfd59ee328a066c22_2 );
|
|
}
|
|
cache_frame_071ccc5c4d418b8dfd59ee328a066c22_2 = NULL;
|
|
|
|
assertFrameObject( frame_071ccc5c4d418b8dfd59ee328a066c22_2 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto nested_frame_exit_1;
|
|
|
|
frame_no_exception_1:;
|
|
goto skip_nested_handling_1;
|
|
nested_frame_exit_1:;
|
|
type_description_1 = "oo";
|
|
goto try_except_handler_2;
|
|
skip_nested_handling_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_2___repr__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
Py_XDECREF( outline_0_var_name );
|
|
outline_0_var_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( outline_0_var_value );
|
|
outline_0_var_value = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_1;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_4 = exception_type;
|
|
exception_keeper_value_4 = exception_value;
|
|
exception_keeper_tb_4 = exception_tb;
|
|
exception_keeper_lineno_4 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( outline_0_var_name );
|
|
outline_0_var_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( outline_0_var_value );
|
|
outline_0_var_value = 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 outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_2___repr__ );
|
|
return NULL;
|
|
outline_exception_1:;
|
|
exception_lineno = 63;
|
|
goto frame_exception_exit_1;
|
|
outline_result_1:;
|
|
assert( var_args == NULL );
|
|
var_args = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_source_name_5;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_args_element_name_5;
|
|
tmp_source_name_3 = const_str_digest_bcaecae14d8428f69f1ec08173db8ce0;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_format );
|
|
assert( !(tmp_called_name_2 == NULL) );
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 65;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_5 = par_self;
|
|
tmp_source_name_4 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_5 );
|
|
if ( tmp_source_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_2 );
|
|
|
|
exception_lineno = 65;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_4 );
|
|
if ( tmp_args_element_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_2 );
|
|
|
|
exception_lineno = 65;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_source_name_6 = const_str_digest_db35ab94a03c3cbeb13cbe2a1d728b77;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_join );
|
|
assert( !(tmp_called_name_3 == NULL) );
|
|
if ( var_args == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_element_name_3 );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
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 = 65;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_5 = var_args;
|
|
frame_69b928ef575d55dc868baaa8a508cadb->m_frame.f_lineno = 65;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5 };
|
|
tmp_args_element_name_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_3 );
|
|
if ( tmp_args_element_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_element_name_3 );
|
|
|
|
exception_lineno = 65;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_69b928ef575d55dc868baaa8a508cadb->m_frame.f_lineno = 65;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_element_name_3 );
|
|
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 = 65;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_69b928ef575d55dc868baaa8a508cadb );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_69b928ef575d55dc868baaa8a508cadb );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_69b928ef575d55dc868baaa8a508cadb );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_69b928ef575d55dc868baaa8a508cadb, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_69b928ef575d55dc868baaa8a508cadb->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_69b928ef575d55dc868baaa8a508cadb, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_69b928ef575d55dc868baaa8a508cadb,
|
|
type_description_1,
|
|
par_self,
|
|
var_args
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_69b928ef575d55dc868baaa8a508cadb == cache_frame_69b928ef575d55dc868baaa8a508cadb )
|
|
{
|
|
Py_DECREF( frame_69b928ef575d55dc868baaa8a508cadb );
|
|
}
|
|
cache_frame_69b928ef575d55dc868baaa8a508cadb = NULL;
|
|
|
|
assertFrameObject( frame_69b928ef575d55dc868baaa8a508cadb );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_2:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_2___repr__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_args );
|
|
var_args = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_5 = exception_type;
|
|
exception_keeper_value_5 = exception_value;
|
|
exception_keeper_tb_5 = exception_tb;
|
|
exception_keeper_lineno_5 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_args );
|
|
var_args = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_5;
|
|
exception_value = exception_keeper_value_5;
|
|
exception_tb = exception_keeper_tb_5;
|
|
exception_lineno = exception_keeper_lineno_5;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_2___repr__ );
|
|
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$_policybase$$$function_3_clone( 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_kw = python_pars[ 1 ];
|
|
PyObject *var_newpolicy = NULL;
|
|
PyObject *var_attr = NULL;
|
|
PyObject *var_value = 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_b1da9c811afb314bcf760c9aac3833bb;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_iterator_attempt;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
PyObject *exception_keeper_type_5;
|
|
PyObject *exception_keeper_value_5;
|
|
PyTracebackObject *exception_keeper_tb_5;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
|
|
int tmp_res;
|
|
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 *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_b1da9c811afb314bcf760c9aac3833bb = 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_b1da9c811afb314bcf760c9aac3833bb, codeobj_b1da9c811afb314bcf760c9aac3833bb, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_b1da9c811afb314bcf760c9aac3833bb = cache_frame_b1da9c811afb314bcf760c9aac3833bb;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_b1da9c811afb314bcf760c9aac3833bb );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_b1da9c811afb314bcf760c9aac3833bb ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_source_name_3;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_2 = par_self;
|
|
tmp_source_name_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_2 );
|
|
if ( tmp_source_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 74;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___new__ );
|
|
Py_DECREF( tmp_source_name_1 );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 74;
|
|
type_description_1 = "ooooo";
|
|
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 = 74;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_3 = par_self;
|
|
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_3 );
|
|
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 = 74;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_b1da9c811afb314bcf760c9aac3833bb->m_frame.f_lineno = 74;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 74;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_newpolicy == NULL );
|
|
var_newpolicy = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_source_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 = 75;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_4 = par_self;
|
|
tmp_called_instance_1 = LOOKUP_ATTRIBUTE_DICT_SLOT( tmp_source_name_4 );
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 75;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_b1da9c811afb314bcf760c9aac3833bb->m_frame.f_lineno = 75;
|
|
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items );
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 75;
|
|
type_description_1 = "ooooo";
|
|
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 = 75;
|
|
type_description_1 = "ooooo";
|
|
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 = "ooooo";
|
|
exception_lineno = 75;
|
|
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 );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
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_4 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 75;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__source_iter;
|
|
tmp_tuple_unpack_1__source_iter = tmp_assign_source_4;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_unpack_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_5 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 75;
|
|
goto try_except_handler_4;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__element_1;
|
|
tmp_tuple_unpack_1__element_1 = tmp_assign_source_5;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_unpack_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_6 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
|
|
if ( tmp_assign_source_6 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 75;
|
|
goto try_except_handler_4;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__element_2;
|
|
tmp_tuple_unpack_1__element_2 = tmp_assign_source_6;
|
|
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 = "ooooo";
|
|
exception_lineno = 75;
|
|
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 = "ooooo";
|
|
exception_lineno = 75;
|
|
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_7;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
|
|
tmp_assign_source_7 = tmp_tuple_unpack_1__element_1;
|
|
{
|
|
PyObject *old = var_attr;
|
|
var_attr = tmp_assign_source_7;
|
|
Py_INCREF( var_attr );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
|
|
tmp_assign_source_8 = tmp_tuple_unpack_1__element_2;
|
|
{
|
|
PyObject *old = var_value;
|
|
var_value = tmp_assign_source_8;
|
|
Py_INCREF( var_value );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_5;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_args_element_name_4;
|
|
tmp_source_name_5 = (PyObject *)&PyBaseObject_Type;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain___setattr__ );
|
|
assert( !(tmp_called_name_2 == NULL) );
|
|
if ( var_newpolicy == 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", "newpolicy" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 76;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_2 = var_newpolicy;
|
|
if ( var_attr == 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", "attr" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 76;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_3 = var_attr;
|
|
if ( var_value == 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", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 76;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_4 = var_value;
|
|
frame_b1da9c811afb314bcf760c9aac3833bb->m_frame.f_lineno = 76;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS3( 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 = 76;
|
|
type_description_1 = "ooooo";
|
|
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 = 75;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_3;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
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_assign_source_9;
|
|
PyObject *tmp_iter_arg_3;
|
|
PyObject *tmp_called_instance_2;
|
|
if ( par_kw == NULL )
|
|
{
|
|
|
|
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 = 77;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = par_kw;
|
|
frame_b1da9c811afb314bcf760c9aac3833bb->m_frame.f_lineno = 77;
|
|
tmp_iter_arg_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_items );
|
|
if ( tmp_iter_arg_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 77;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_9 = MAKE_ITERATOR( tmp_iter_arg_3 );
|
|
Py_DECREF( tmp_iter_arg_3 );
|
|
if ( tmp_assign_source_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 77;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_2__for_iterator == NULL );
|
|
tmp_for_loop_2__for_iterator = tmp_assign_source_9;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_2:;
|
|
{
|
|
PyObject *tmp_next_source_2;
|
|
PyObject *tmp_assign_source_10;
|
|
CHECK_OBJECT( tmp_for_loop_2__for_iterator );
|
|
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
|
|
tmp_assign_source_10 = ITERATOR_NEXT( tmp_next_source_2 );
|
|
if ( tmp_assign_source_10 == 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 = "ooooo";
|
|
exception_lineno = 77;
|
|
goto try_except_handler_5;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_2__iter_value;
|
|
tmp_for_loop_2__iter_value = tmp_assign_source_10;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_11;
|
|
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_11 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_4 );
|
|
if ( tmp_assign_source_11 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 77;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_2__source_iter;
|
|
tmp_tuple_unpack_2__source_iter = tmp_assign_source_11;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
PyObject *tmp_unpack_3;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
|
|
tmp_unpack_3 = tmp_tuple_unpack_2__source_iter;
|
|
tmp_assign_source_12 = UNPACK_NEXT( tmp_unpack_3, 0, 2 );
|
|
if ( tmp_assign_source_12 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 77;
|
|
goto try_except_handler_7;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_2__element_1;
|
|
tmp_tuple_unpack_2__element_1 = tmp_assign_source_12;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
PyObject *tmp_unpack_4;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__source_iter );
|
|
tmp_unpack_4 = tmp_tuple_unpack_2__source_iter;
|
|
tmp_assign_source_13 = UNPACK_NEXT( tmp_unpack_4, 1, 2 );
|
|
if ( tmp_assign_source_13 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 77;
|
|
goto try_except_handler_7;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_2__element_2;
|
|
tmp_tuple_unpack_2__element_2 = tmp_assign_source_13;
|
|
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 = "ooooo";
|
|
exception_lineno = 77;
|
|
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 = "ooooo";
|
|
exception_lineno = 77;
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
goto try_end_4;
|
|
// Exception handler code:
|
|
try_except_handler_7:;
|
|
exception_keeper_type_4 = exception_type;
|
|
exception_keeper_value_4 = exception_value;
|
|
exception_keeper_tb_4 = exception_tb;
|
|
exception_keeper_lineno_4 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_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_4;
|
|
exception_value = exception_keeper_value_4;
|
|
exception_tb = exception_keeper_tb_4;
|
|
exception_lineno = exception_keeper_lineno_4;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
// End of try:
|
|
try_end_4:;
|
|
}
|
|
goto try_end_5;
|
|
// Exception handler code:
|
|
try_except_handler_6:;
|
|
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_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_5;
|
|
exception_value = exception_keeper_value_5;
|
|
exception_tb = exception_keeper_tb_5;
|
|
exception_lineno = exception_keeper_lineno_5;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
// End of try:
|
|
try_end_5:;
|
|
}
|
|
{
|
|
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_14;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__element_1 );
|
|
tmp_assign_source_14 = tmp_tuple_unpack_2__element_1;
|
|
{
|
|
PyObject *old = var_attr;
|
|
var_attr = tmp_assign_source_14;
|
|
Py_INCREF( var_attr );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_1 );
|
|
tmp_tuple_unpack_2__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
CHECK_OBJECT( tmp_tuple_unpack_2__element_2 );
|
|
tmp_assign_source_15 = tmp_tuple_unpack_2__element_2;
|
|
{
|
|
PyObject *old = var_value;
|
|
var_value = tmp_assign_source_15;
|
|
Py_INCREF( var_value );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_2__element_2 );
|
|
tmp_tuple_unpack_2__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_attribute_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 = 78;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_source_name_6 = par_self;
|
|
if ( var_attr == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attr" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 78;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_attribute_name_1 = var_attr;
|
|
tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_6, tmp_attribute_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 78;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
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 = 78;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
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;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_7;
|
|
PyObject *tmp_args_element_name_5;
|
|
PyObject *tmp_args_element_name_6;
|
|
PyObject *tmp_source_name_8;
|
|
PyObject *tmp_source_name_9;
|
|
tmp_source_name_7 = const_str_digest_b78450a4928a51cebff0c497eddf0bb1;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_format );
|
|
assert( !(tmp_called_name_3 == NULL) );
|
|
if ( var_attr == 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", "attr" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 81;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_args_element_name_5 = var_attr;
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 81;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_source_name_9 = par_self;
|
|
tmp_source_name_8 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_9 );
|
|
if ( tmp_source_name_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
|
|
exception_lineno = 81;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_args_element_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_8 );
|
|
if ( tmp_args_element_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
|
|
exception_lineno = 81;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
frame_b1da9c811afb314bcf760c9aac3833bb->m_frame.f_lineno = 80;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 };
|
|
tmp_make_exception_arg_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_args_element_name_6 );
|
|
if ( tmp_make_exception_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
frame_b1da9c811afb314bcf760c9aac3833bb->m_frame.f_lineno = 79;
|
|
{
|
|
PyObject *call_args[] = { tmp_make_exception_arg_1 };
|
|
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_TypeError, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_make_exception_arg_1 );
|
|
assert( !(tmp_raise_type_1 == NULL) );
|
|
exception_type = tmp_raise_type_1;
|
|
exception_lineno = 79;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_source_name_10;
|
|
PyObject *tmp_args_element_name_7;
|
|
PyObject *tmp_args_element_name_8;
|
|
PyObject *tmp_args_element_name_9;
|
|
tmp_source_name_10 = (PyObject *)&PyBaseObject_Type;
|
|
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain___setattr__ );
|
|
assert( !(tmp_called_name_4 == NULL) );
|
|
if ( var_newpolicy == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_4 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "newpolicy" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 82;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_args_element_name_7 = var_newpolicy;
|
|
if ( var_attr == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_4 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attr" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 82;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_args_element_name_8 = var_attr;
|
|
if ( var_value == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_4 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 82;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_args_element_name_9 = var_value;
|
|
frame_b1da9c811afb314bcf760c9aac3833bb->m_frame.f_lineno = 82;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_4 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 82;
|
|
type_description_1 = "ooooo";
|
|
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 = 77;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_5;
|
|
}
|
|
goto loop_start_2;
|
|
loop_end_2:;
|
|
}
|
|
goto try_end_6;
|
|
// Exception handler code:
|
|
try_except_handler_5:;
|
|
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_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_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_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;
|
|
|
|
}
|
|
{
|
|
if ( var_newpolicy == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "newpolicy" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 83;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = var_newpolicy;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_b1da9c811afb314bcf760c9aac3833bb );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_b1da9c811afb314bcf760c9aac3833bb );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_b1da9c811afb314bcf760c9aac3833bb );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_b1da9c811afb314bcf760c9aac3833bb, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_b1da9c811afb314bcf760c9aac3833bb->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_b1da9c811afb314bcf760c9aac3833bb, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_b1da9c811afb314bcf760c9aac3833bb,
|
|
type_description_1,
|
|
par_self,
|
|
par_kw,
|
|
var_newpolicy,
|
|
var_attr,
|
|
var_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_b1da9c811afb314bcf760c9aac3833bb == cache_frame_b1da9c811afb314bcf760c9aac3833bb )
|
|
{
|
|
Py_DECREF( frame_b1da9c811afb314bcf760c9aac3833bb );
|
|
}
|
|
cache_frame_b1da9c811afb314bcf760c9aac3833bb = NULL;
|
|
|
|
assertFrameObject( frame_b1da9c811afb314bcf760c9aac3833bb );
|
|
|
|
// 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$_policybase$$$function_3_clone );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kw );
|
|
par_kw = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_newpolicy );
|
|
var_newpolicy = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_attr );
|
|
var_attr = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_value );
|
|
var_value = 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_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kw );
|
|
par_kw = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_newpolicy );
|
|
var_newpolicy = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_attr );
|
|
var_attr = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_value );
|
|
var_value = 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$_policybase$$$function_3_clone );
|
|
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$_policybase$$$function_4___setattr__( 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_name = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
PyObject *var_msg = NULL;
|
|
struct Nuitka_FrameObject *frame_839cd66ac3a05eda9ee6df6ab9ca2e87;
|
|
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;
|
|
static struct Nuitka_FrameObject *cache_frame_839cd66ac3a05eda9ee6df6ab9ca2e87 = 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_839cd66ac3a05eda9ee6df6ab9ca2e87, codeobj_839cd66ac3a05eda9ee6df6ab9ca2e87, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_839cd66ac3a05eda9ee6df6ab9ca2e87 = cache_frame_839cd66ac3a05eda9ee6df6ab9ca2e87;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_839cd66ac3a05eda9ee6df6ab9ca2e87 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_839cd66ac3a05eda9ee6df6ab9ca2e87 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_attribute_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
CHECK_OBJECT( par_name );
|
|
tmp_attribute_name_1 = par_name;
|
|
tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_1, tmp_attribute_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 86;
|
|
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;
|
|
tmp_assign_source_1 = const_str_digest_a47bf7d36a0db2d6d0d1cc9565244c4c;
|
|
assert( var_msg == NULL );
|
|
Py_INCREF( tmp_assign_source_1 );
|
|
var_msg = tmp_assign_source_1;
|
|
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = const_str_digest_3ded5e364bd1768860b31c97d8669ec0;
|
|
assert( var_msg == NULL );
|
|
Py_INCREF( tmp_assign_source_2 );
|
|
var_msg = tmp_assign_source_2;
|
|
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_make_exception_arg_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_args_element_name_2;
|
|
CHECK_OBJECT( var_msg );
|
|
tmp_source_name_2 = var_msg;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_format );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooo";
|
|
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 = 90;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_4 = par_self;
|
|
tmp_source_name_3 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_4 );
|
|
if ( tmp_source_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_3 );
|
|
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 = 90;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_name == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_name;
|
|
frame_839cd66ac3a05eda9ee6df6ab9ca2e87->m_frame.f_lineno = 90;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_make_exception_arg_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_make_exception_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_839cd66ac3a05eda9ee6df6ab9ca2e87->m_frame.f_lineno = 90;
|
|
{
|
|
PyObject *call_args[] = { tmp_make_exception_arg_1 };
|
|
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_AttributeError, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_make_exception_arg_1 );
|
|
assert( !(tmp_raise_type_1 == NULL) );
|
|
exception_type = tmp_raise_type_1;
|
|
exception_lineno = 90;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_839cd66ac3a05eda9ee6df6ab9ca2e87 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_839cd66ac3a05eda9ee6df6ab9ca2e87 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_839cd66ac3a05eda9ee6df6ab9ca2e87, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_839cd66ac3a05eda9ee6df6ab9ca2e87->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_839cd66ac3a05eda9ee6df6ab9ca2e87, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_839cd66ac3a05eda9ee6df6ab9ca2e87,
|
|
type_description_1,
|
|
par_self,
|
|
par_name,
|
|
par_value,
|
|
var_msg
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_839cd66ac3a05eda9ee6df6ab9ca2e87 == cache_frame_839cd66ac3a05eda9ee6df6ab9ca2e87 )
|
|
{
|
|
Py_DECREF( frame_839cd66ac3a05eda9ee6df6ab9ca2e87 );
|
|
}
|
|
cache_frame_839cd66ac3a05eda9ee6df6ab9ca2e87 = NULL;
|
|
|
|
assertFrameObject( frame_839cd66ac3a05eda9ee6df6ab9ca2e87 );
|
|
|
|
// 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$_policybase$$$function_4___setattr__ );
|
|
return NULL;
|
|
// 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_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_msg );
|
|
var_msg = 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$_policybase$$$function_4___setattr__ );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$_policybase$$$function_5___add__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *par_other = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_5d5de872de7b64ca50f483b0fcfa9e22;
|
|
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_5d5de872de7b64ca50f483b0fcfa9e22 = 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_5d5de872de7b64ca50f483b0fcfa9e22, codeobj_5d5de872de7b64ca50f483b0fcfa9e22, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *) );
|
|
frame_5d5de872de7b64ca50f483b0fcfa9e22 = cache_frame_5d5de872de7b64ca50f483b0fcfa9e22;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_5d5de872de7b64ca50f483b0fcfa9e22 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_5d5de872de7b64ca50f483b0fcfa9e22 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_dircall_arg1_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_dircall_arg2_1;
|
|
PyObject *tmp_source_name_2;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_clone );
|
|
if ( tmp_dircall_arg1_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 98;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_other == 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", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 98;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_other;
|
|
tmp_dircall_arg2_1 = LOOKUP_ATTRIBUTE_DICT_SLOT( tmp_source_name_2 );
|
|
if ( tmp_dircall_arg2_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_dircall_arg1_1 );
|
|
|
|
exception_lineno = 98;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
|
|
tmp_return_value = impl___internal__$$$function_7_complex_call_helper_star_dict( dir_call_args );
|
|
}
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 98;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5d5de872de7b64ca50f483b0fcfa9e22 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5d5de872de7b64ca50f483b0fcfa9e22 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5d5de872de7b64ca50f483b0fcfa9e22 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_5d5de872de7b64ca50f483b0fcfa9e22, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_5d5de872de7b64ca50f483b0fcfa9e22->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_5d5de872de7b64ca50f483b0fcfa9e22, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_5d5de872de7b64ca50f483b0fcfa9e22,
|
|
type_description_1,
|
|
par_self,
|
|
par_other
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_5d5de872de7b64ca50f483b0fcfa9e22 == cache_frame_5d5de872de7b64ca50f483b0fcfa9e22 )
|
|
{
|
|
Py_DECREF( frame_5d5de872de7b64ca50f483b0fcfa9e22 );
|
|
}
|
|
cache_frame_5d5de872de7b64ca50f483b0fcfa9e22 = NULL;
|
|
|
|
assertFrameObject( frame_5d5de872de7b64ca50f483b0fcfa9e22 );
|
|
|
|
// 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$_policybase$$$function_5___add__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_other );
|
|
par_other = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_other );
|
|
par_other = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_5___add__ );
|
|
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$_policybase$$$function_6__append_doc( 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_doc = python_pars[ 0 ];
|
|
PyObject *par_added_doc = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_9e5ffb803eae82eb5e6b42fe54d5845e;
|
|
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_9e5ffb803eae82eb5e6b42fe54d5845e = 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_9e5ffb803eae82eb5e6b42fe54d5845e, codeobj_9e5ffb803eae82eb5e6b42fe54d5845e, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *) );
|
|
frame_9e5ffb803eae82eb5e6b42fe54d5845e = cache_frame_9e5ffb803eae82eb5e6b42fe54d5845e;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_9e5ffb803eae82eb5e6b42fe54d5845e );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_9e5ffb803eae82eb5e6b42fe54d5845e ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( par_doc );
|
|
tmp_called_instance_1 = par_doc;
|
|
frame_9e5ffb803eae82eb5e6b42fe54d5845e->m_frame.f_lineno = 102;
|
|
tmp_subscribed_name_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_rsplit, &PyTuple_GET_ITEM( const_tuple_str_newline_int_pos_1_tuple, 0 ) );
|
|
|
|
if ( tmp_subscribed_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 102;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_subscript_name_1 = const_int_0;
|
|
tmp_assign_source_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
|
Py_DECREF( tmp_subscribed_name_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 102;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_doc;
|
|
par_doc = tmp_assign_source_1;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_called_instance_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
if ( par_added_doc == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "added_doc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 103;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = par_added_doc;
|
|
frame_9e5ffb803eae82eb5e6b42fe54d5845e->m_frame.f_lineno = 103;
|
|
tmp_subscribed_name_2 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_2, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_newline_int_pos_1_tuple, 0 ) );
|
|
|
|
if ( tmp_subscribed_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 103;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_subscript_name_2 = const_int_pos_1;
|
|
tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 );
|
|
Py_DECREF( tmp_subscribed_name_2 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 103;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_added_doc;
|
|
par_added_doc = tmp_assign_source_2;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_right_name_2;
|
|
if ( par_doc == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "doc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 104;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_left_name_2 = par_doc;
|
|
tmp_right_name_1 = const_str_newline;
|
|
tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_1 );
|
|
if ( tmp_left_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 104;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_added_doc == 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", "added_doc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 104;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_right_name_2 = par_added_doc;
|
|
tmp_return_value = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_2 );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 104;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_9e5ffb803eae82eb5e6b42fe54d5845e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_9e5ffb803eae82eb5e6b42fe54d5845e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_9e5ffb803eae82eb5e6b42fe54d5845e );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_9e5ffb803eae82eb5e6b42fe54d5845e, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_9e5ffb803eae82eb5e6b42fe54d5845e->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_9e5ffb803eae82eb5e6b42fe54d5845e, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_9e5ffb803eae82eb5e6b42fe54d5845e,
|
|
type_description_1,
|
|
par_doc,
|
|
par_added_doc
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_9e5ffb803eae82eb5e6b42fe54d5845e == cache_frame_9e5ffb803eae82eb5e6b42fe54d5845e )
|
|
{
|
|
Py_DECREF( frame_9e5ffb803eae82eb5e6b42fe54d5845e );
|
|
}
|
|
cache_frame_9e5ffb803eae82eb5e6b42fe54d5845e = NULL;
|
|
|
|
assertFrameObject( frame_9e5ffb803eae82eb5e6b42fe54d5845e );
|
|
|
|
// 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$_policybase$$$function_6__append_doc );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_doc );
|
|
par_doc = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_added_doc );
|
|
par_added_doc = 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_doc );
|
|
par_doc = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_added_doc );
|
|
par_added_doc = 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$_policybase$$$function_6__append_doc );
|
|
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$_policybase$$$function_7__extend_docstrings( 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_cls = python_pars[ 0 ];
|
|
PyObject *var_name = NULL;
|
|
PyObject *var_attr = NULL;
|
|
PyObject *var_c = NULL;
|
|
PyObject *var_doc = 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_tuple_unpack_1__element_1 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
|
|
struct Nuitka_FrameObject *frame_3b296d48f3975c23a051df110421dd26;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
bool tmp_result;
|
|
PyObject *tmp_iterator_attempt;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_3b296d48f3975c23a051df110421dd26 = NULL;
|
|
PyObject *exception_keeper_type_5;
|
|
PyObject *exception_keeper_value_5;
|
|
PyTracebackObject *exception_keeper_tb_5;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_3b296d48f3975c23a051df110421dd26, codeobj_3b296d48f3975c23a051df110421dd26, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_3b296d48f3975c23a051df110421dd26 = cache_frame_3b296d48f3975c23a051df110421dd26;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_3b296d48f3975c23a051df110421dd26 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_3b296d48f3975c23a051df110421dd26 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
int tmp_and_left_truth_1;
|
|
nuitka_bool tmp_and_left_value_1;
|
|
nuitka_bool tmp_and_right_value_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_attribute_value_1;
|
|
int tmp_truth_name_1;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_call_result_1;
|
|
int tmp_truth_name_2;
|
|
CHECK_OBJECT( par_cls );
|
|
tmp_source_name_1 = par_cls;
|
|
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___doc__ );
|
|
if ( tmp_attribute_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 107;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_attribute_value_1 );
|
|
|
|
exception_lineno = 107;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_and_left_value_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_attribute_value_1 );
|
|
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
|
|
if ( tmp_and_left_truth_1 == 1 )
|
|
{
|
|
goto and_right_1;
|
|
}
|
|
else
|
|
{
|
|
goto and_left_1;
|
|
}
|
|
and_right_1:;
|
|
if ( par_cls == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 107;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_cls;
|
|
tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___doc__ );
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 107;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_3b296d48f3975c23a051df110421dd26->m_frame.f_lineno = 107;
|
|
tmp_call_result_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_startswith, &PyTuple_GET_ITEM( const_tuple_str_chr_43_tuple, 0 ) );
|
|
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
if ( tmp_call_result_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 107;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_truth_name_2 = CHECK_IF_TRUE( tmp_call_result_1 );
|
|
if ( tmp_truth_name_2 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_call_result_1 );
|
|
|
|
exception_lineno = 107;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_and_right_value_1 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_call_result_1 );
|
|
tmp_condition_result_1 = tmp_and_right_value_1;
|
|
goto and_end_1;
|
|
and_left_1:;
|
|
tmp_condition_result_1 = tmp_and_left_value_1;
|
|
and_end_1:;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_assattr_name_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_subscript_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_source_name_5;
|
|
PyObject *tmp_assattr_target_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__append_doc );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__append_doc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_append_doc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_1;
|
|
if ( par_cls == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_4 = par_cls;
|
|
tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___bases__ );
|
|
if ( tmp_subscribed_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_subscript_name_1 = const_int_0;
|
|
tmp_source_name_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
|
Py_DECREF( tmp_subscribed_name_1 );
|
|
if ( tmp_source_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___doc__ );
|
|
Py_DECREF( tmp_source_name_3 );
|
|
if ( tmp_args_element_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_cls == NULL )
|
|
{
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_5 = par_cls;
|
|
tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain___doc__ );
|
|
if ( tmp_args_element_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_3b296d48f3975c23a051df110421dd26->m_frame.f_lineno = 108;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
Py_DECREF( tmp_args_element_name_2 );
|
|
if ( tmp_assattr_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_cls == 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", "cls" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_1 = par_cls;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain___doc__, 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 = 108;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_instance_2;
|
|
PyObject *tmp_source_name_6;
|
|
if ( par_cls == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 109;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_6 = par_cls;
|
|
tmp_called_instance_2 = LOOKUP_ATTRIBUTE_DICT_SLOT( tmp_source_name_6 );
|
|
if ( tmp_called_instance_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 109;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_3b296d48f3975c23a051df110421dd26->m_frame.f_lineno = 109;
|
|
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_items );
|
|
Py_DECREF( tmp_called_instance_2 );
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 109;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 109;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_2;
|
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
|
tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 109;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_2;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
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_3 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 109;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__source_iter;
|
|
tmp_tuple_unpack_1__source_iter = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_unpack_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 109;
|
|
goto try_except_handler_4;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__element_1;
|
|
tmp_tuple_unpack_1__element_1 = tmp_assign_source_4;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_unpack_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_5 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "ooooo";
|
|
exception_lineno = 109;
|
|
goto try_except_handler_4;
|
|
}
|
|
{
|
|
PyObject *old = tmp_tuple_unpack_1__element_2;
|
|
tmp_tuple_unpack_1__element_2 = tmp_assign_source_5;
|
|
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 = "ooooo";
|
|
exception_lineno = 109;
|
|
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 = "ooooo";
|
|
exception_lineno = 109;
|
|
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_6;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
|
|
tmp_assign_source_6 = tmp_tuple_unpack_1__element_1;
|
|
{
|
|
PyObject *old = var_name;
|
|
var_name = tmp_assign_source_6;
|
|
Py_INCREF( var_name );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
|
|
tmp_assign_source_7 = tmp_tuple_unpack_1__element_2;
|
|
{
|
|
PyObject *old = var_attr;
|
|
var_attr = tmp_assign_source_7;
|
|
Py_INCREF( var_attr );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
int tmp_and_left_truth_2;
|
|
nuitka_bool tmp_and_left_value_2;
|
|
nuitka_bool tmp_and_right_value_2;
|
|
PyObject *tmp_source_name_7;
|
|
PyObject *tmp_attribute_value_2;
|
|
int tmp_truth_name_3;
|
|
PyObject *tmp_called_instance_3;
|
|
PyObject *tmp_source_name_8;
|
|
PyObject *tmp_call_result_2;
|
|
int tmp_truth_name_4;
|
|
if ( var_attr == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attr" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_7 = var_attr;
|
|
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain___doc__ );
|
|
if ( tmp_attribute_value_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_truth_name_3 = CHECK_IF_TRUE( tmp_attribute_value_2 );
|
|
if ( tmp_truth_name_3 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_attribute_value_2 );
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_and_left_value_2 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_attribute_value_2 );
|
|
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_attr == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attr" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_8 = var_attr;
|
|
tmp_called_instance_3 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___doc__ );
|
|
if ( tmp_called_instance_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
frame_3b296d48f3975c23a051df110421dd26->m_frame.f_lineno = 110;
|
|
tmp_call_result_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_startswith, &PyTuple_GET_ITEM( const_tuple_str_chr_43_tuple, 0 ) );
|
|
|
|
Py_DECREF( tmp_called_instance_3 );
|
|
if ( tmp_call_result_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_truth_name_4 = CHECK_IF_TRUE( tmp_call_result_2 );
|
|
if ( tmp_truth_name_4 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_call_result_2 );
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_and_right_value_2 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_call_result_2 );
|
|
tmp_condition_result_2 = tmp_and_right_value_2;
|
|
goto and_end_2;
|
|
and_left_2:;
|
|
tmp_condition_result_2 = tmp_and_left_value_2;
|
|
and_end_2:;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
PyObject *tmp_iter_arg_3;
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
PyObject *tmp_iter_arg_4;
|
|
PyObject *tmp_source_name_9;
|
|
if ( par_cls == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_9 = par_cls;
|
|
tmp_iter_arg_4 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain___bases__ );
|
|
if ( tmp_iter_arg_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_assign_source_9 = MAKE_ITERATOR( tmp_iter_arg_4 );
|
|
Py_DECREF( tmp_iter_arg_4 );
|
|
if ( tmp_assign_source_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = tmp_genexpr_1__$0;
|
|
tmp_genexpr_1__$0 = tmp_assign_source_9;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_iter_arg_3 = future$backports$email$_policybase$$$function_7__extend_docstrings$$$genexpr_1_genexpr_maker();
|
|
|
|
((struct Nuitka_GeneratorObject *)tmp_iter_arg_3)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 );
|
|
|
|
|
|
goto try_return_handler_5;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_7__extend_docstrings );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_5:;
|
|
{
|
|
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$_policybase$$$function_7__extend_docstrings );
|
|
return NULL;
|
|
outline_result_1:;
|
|
tmp_assign_source_8 = MAKE_ITERATOR( tmp_iter_arg_3 );
|
|
Py_DECREF( tmp_iter_arg_3 );
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = tmp_for_loop_2__for_iterator;
|
|
tmp_for_loop_2__for_iterator = tmp_assign_source_8;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_2:;
|
|
{
|
|
PyObject *tmp_next_source_2;
|
|
PyObject *tmp_assign_source_10;
|
|
CHECK_OBJECT( tmp_for_loop_2__for_iterator );
|
|
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
|
|
tmp_assign_source_10 = ITERATOR_NEXT( tmp_next_source_2 );
|
|
if ( tmp_assign_source_10 == 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 = "ooooo";
|
|
exception_lineno = 111;
|
|
goto try_except_handler_6;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_2__iter_value;
|
|
tmp_for_loop_2__iter_value = tmp_assign_source_10;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_11;
|
|
CHECK_OBJECT( tmp_for_loop_2__iter_value );
|
|
tmp_assign_source_11 = tmp_for_loop_2__iter_value;
|
|
{
|
|
PyObject *old = var_c;
|
|
var_c = tmp_assign_source_11;
|
|
Py_INCREF( var_c );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
PyObject *tmp_getattr_target_1;
|
|
PyObject *tmp_getattr_target_2;
|
|
PyObject *tmp_getattr_attr_1;
|
|
PyObject *tmp_getattr_attr_2;
|
|
CHECK_OBJECT( var_c );
|
|
tmp_getattr_target_2 = var_c;
|
|
if ( var_name == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
|
|
tmp_getattr_attr_1 = var_name;
|
|
tmp_getattr_target_1 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_1, NULL );
|
|
if ( tmp_getattr_target_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_getattr_attr_2 = const_str_plain___doc__;
|
|
tmp_assign_source_12 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_2, NULL );
|
|
Py_DECREF( tmp_getattr_target_1 );
|
|
if ( tmp_assign_source_12 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
{
|
|
PyObject *old = var_doc;
|
|
var_doc = tmp_assign_source_12;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
int tmp_truth_name_5;
|
|
CHECK_OBJECT( var_doc );
|
|
tmp_truth_name_5 = CHECK_IF_TRUE( var_doc );
|
|
if ( tmp_truth_name_5 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 113;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_condition_result_3 = tmp_truth_name_5 == 1 ? 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_assattr_name_2;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_source_name_10;
|
|
PyObject *tmp_assattr_target_2;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__append_doc );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__append_doc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_append_doc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 114;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
|
|
tmp_called_name_2 = tmp_mvar_value_2;
|
|
CHECK_OBJECT( var_doc );
|
|
tmp_args_element_name_3 = var_doc;
|
|
if ( var_attr == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attr" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 114;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
|
|
tmp_source_name_10 = var_attr;
|
|
tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain___doc__ );
|
|
if ( tmp_args_element_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 114;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
frame_3b296d48f3975c23a051df110421dd26->m_frame.f_lineno = 114;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 };
|
|
tmp_assattr_name_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_args_element_name_4 );
|
|
if ( tmp_assattr_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 114;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
if ( var_attr == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attr" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 114;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
|
|
tmp_assattr_target_2 = var_attr;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain___doc__, tmp_assattr_name_2 );
|
|
Py_DECREF( tmp_assattr_name_2 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 114;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
}
|
|
{
|
|
goto loop_end_2;
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_6;
|
|
}
|
|
goto loop_start_2;
|
|
loop_end_2:;
|
|
}
|
|
goto try_end_3;
|
|
// Exception handler code:
|
|
try_except_handler_6:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
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_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
{
|
|
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;
|
|
|
|
}
|
|
branch_no_2:;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 109;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_4;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_4 = exception_type;
|
|
exception_keeper_value_4 = exception_value;
|
|
exception_keeper_tb_4 = exception_tb;
|
|
exception_keeper_lineno_4 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_4;
|
|
exception_value = exception_keeper_value_4;
|
|
exception_tb = exception_keeper_tb_4;
|
|
exception_lineno = exception_keeper_lineno_4;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_4:;
|
|
}
|
|
{
|
|
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;
|
|
|
|
}
|
|
{
|
|
if ( par_cls == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 116;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = par_cls;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3b296d48f3975c23a051df110421dd26 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3b296d48f3975c23a051df110421dd26 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3b296d48f3975c23a051df110421dd26 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_3b296d48f3975c23a051df110421dd26, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_3b296d48f3975c23a051df110421dd26->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_3b296d48f3975c23a051df110421dd26, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_3b296d48f3975c23a051df110421dd26,
|
|
type_description_1,
|
|
par_cls,
|
|
var_name,
|
|
var_attr,
|
|
var_c,
|
|
var_doc
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_3b296d48f3975c23a051df110421dd26 == cache_frame_3b296d48f3975c23a051df110421dd26 )
|
|
{
|
|
Py_DECREF( frame_3b296d48f3975c23a051df110421dd26 );
|
|
}
|
|
cache_frame_3b296d48f3975c23a051df110421dd26 = NULL;
|
|
|
|
assertFrameObject( frame_3b296d48f3975c23a051df110421dd26 );
|
|
|
|
// 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$_policybase$$$function_7__extend_docstrings );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_cls );
|
|
par_cls = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_name );
|
|
var_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_attr );
|
|
var_attr = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_c );
|
|
var_c = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_doc );
|
|
var_doc = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_5 = exception_type;
|
|
exception_keeper_value_5 = exception_value;
|
|
exception_keeper_tb_5 = exception_tb;
|
|
exception_keeper_lineno_5 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_cls );
|
|
par_cls = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_name );
|
|
var_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_attr );
|
|
var_attr = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_c );
|
|
var_c = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_doc );
|
|
var_doc = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_5;
|
|
exception_value = exception_keeper_value_5;
|
|
exception_tb = exception_keeper_tb_5;
|
|
exception_lineno = exception_keeper_lineno_5;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_7__extend_docstrings );
|
|
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$_policybase$$$function_7__extend_docstrings$$$genexpr_1_genexpr_locals {
|
|
PyObject *var_base;
|
|
PyObject *var_c;
|
|
PyObject *tmp_contraction_iter_0;
|
|
PyObject *tmp_iter_value_0;
|
|
PyObject *tmp_iter_value_1;
|
|
char const *type_description_1;
|
|
PyObject *exception_type;
|
|
PyObject *exception_value;
|
|
PyTracebackObject *exception_tb;
|
|
int exception_lineno;
|
|
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$_policybase$$$function_7__extend_docstrings$$$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$_policybase$$$function_7__extend_docstrings$$$genexpr_1_genexpr_locals *generator_heap = (struct future$backports$email$_policybase$$$function_7__extend_docstrings$$$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_base = NULL;
|
|
generator_heap->var_c = NULL;
|
|
generator_heap->tmp_contraction_iter_0 = NULL;
|
|
generator_heap->tmp_iter_value_0 = NULL;
|
|
generator_heap->tmp_iter_value_1 = 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_6ee0ea66f17ba47b5f982f8b00b8376b, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
generator->m_frame = cache_m_frame;
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
Py_INCREF( generator->m_frame );
|
|
assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
generator->m_frame->m_frame.f_gen = (PyObject *)generator;
|
|
#endif
|
|
|
|
Py_CLEAR( generator->m_frame->m_frame.f_back );
|
|
|
|
generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame;
|
|
Py_INCREF( generator->m_frame->m_frame.f_back );
|
|
|
|
PyThreadState_GET()->frame = &generator->m_frame->m_frame;
|
|
Py_INCREF( generator->m_frame );
|
|
|
|
Nuitka_Frame_MarkAsExecuting( generator->m_frame );
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
// Accept currently existing exception as the one to publish again when we
|
|
// yield or yield from.
|
|
{
|
|
PyThreadState *thread_state = PyThreadState_GET();
|
|
|
|
#if PYTHON_VERSION < 370
|
|
generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL;
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_type );
|
|
generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_value );
|
|
generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback );
|
|
#else
|
|
generator->m_exc_state.exc_type = EXC_TYPE( thread_state );
|
|
if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL;
|
|
Py_XINCREF( generator->m_exc_state.exc_type );
|
|
generator->m_exc_state.exc_value = EXC_VALUE( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_value );
|
|
generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state );
|
|
Py_XINCREF( generator->m_exc_state.exc_traceback );
|
|
#endif
|
|
}
|
|
|
|
#endif
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_1;
|
|
CHECK_OBJECT( PyCell_GET( generator->m_closure[0] ) );
|
|
tmp_next_source_1 = PyCell_GET( generator->m_closure[0] );
|
|
tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
generator_heap->type_description_1 = "Noo";
|
|
generator_heap->exception_lineno = 111;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = generator_heap->tmp_iter_value_1;
|
|
generator_heap->tmp_iter_value_1 = tmp_assign_source_1;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
CHECK_OBJECT( generator_heap->tmp_iter_value_1 );
|
|
tmp_assign_source_2 = generator_heap->tmp_iter_value_1;
|
|
{
|
|
PyObject *old = generator_heap->var_base;
|
|
generator_heap->var_base = tmp_assign_source_2;
|
|
Py_INCREF( generator_heap->var_base );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_instance_1;
|
|
CHECK_OBJECT( generator_heap->var_base );
|
|
tmp_called_instance_1 = generator_heap->var_base;
|
|
generator->m_frame->m_frame.f_lineno = 111;
|
|
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_mro );
|
|
if ( tmp_iter_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 = 111;
|
|
generator_heap->type_description_1 = "Noo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_assign_source_3 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 111;
|
|
generator_heap->type_description_1 = "Noo";
|
|
goto try_except_handler_2;
|
|
}
|
|
{
|
|
PyObject *old = generator_heap->tmp_contraction_iter_0;
|
|
generator_heap->tmp_contraction_iter_0 = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
loop_start_2:;
|
|
{
|
|
PyObject *tmp_next_source_2;
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( generator_heap->tmp_contraction_iter_0 );
|
|
tmp_next_source_2 = generator_heap->tmp_contraction_iter_0;
|
|
tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_2 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_2;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
generator_heap->type_description_1 = "Noo";
|
|
generator_heap->exception_lineno = 111;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = generator_heap->tmp_iter_value_0;
|
|
generator_heap->tmp_iter_value_0 = tmp_assign_source_4;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
CHECK_OBJECT( generator_heap->tmp_iter_value_0 );
|
|
tmp_assign_source_5 = generator_heap->tmp_iter_value_0;
|
|
{
|
|
PyObject *old = generator_heap->var_c;
|
|
generator_heap->var_c = tmp_assign_source_5;
|
|
Py_INCREF( generator_heap->var_c );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_expression_name_1;
|
|
CHECK_OBJECT( generator_heap->var_c );
|
|
tmp_expression_name_1 = generator_heap->var_c;
|
|
Py_INCREF( tmp_expression_name_1 );
|
|
generator->m_yield_return_index = 1;
|
|
return tmp_expression_name_1;
|
|
yield_return_1:
|
|
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 = 111;
|
|
generator_heap->type_description_1 = "Noo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_unused = yield_return_value;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 111;
|
|
generator_heap->type_description_1 = "Noo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_2;
|
|
loop_end_2:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator_heap->tmp_contraction_iter_0 );
|
|
Py_DECREF( generator_heap->tmp_contraction_iter_0 );
|
|
generator_heap->tmp_contraction_iter_0 = NULL;
|
|
|
|
}
|
|
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 = 111;
|
|
generator_heap->type_description_1 = "Noo";
|
|
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;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->tmp_contraction_iter_0 );
|
|
generator_heap->tmp_contraction_iter_0 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->tmp_iter_value_1 );
|
|
generator_heap->tmp_iter_value_1 = 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_base,
|
|
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_base );
|
|
generator_heap->var_base = NULL;
|
|
|
|
}
|
|
{
|
|
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->tmp_contraction_iter_0 );
|
|
generator_heap->tmp_contraction_iter_0 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->tmp_iter_value_1 );
|
|
generator_heap->tmp_iter_value_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_base );
|
|
generator_heap->var_base = 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$_policybase$$$function_7__extend_docstrings$$$genexpr_1_genexpr_maker( void )
|
|
{
|
|
return Nuitka_Generator_New(
|
|
future$backports$email$_policybase$$$function_7__extend_docstrings$$$genexpr_1_genexpr_context,
|
|
module_future$backports$email$_policybase,
|
|
const_str_angle_genexpr,
|
|
#if PYTHON_VERSION >= 350
|
|
const_str_digest_e8a099c620a82fdc443680fbc08df01d,
|
|
#endif
|
|
codeobj_6ee0ea66f17ba47b5f982f8b00b8376b,
|
|
1,
|
|
sizeof(struct future$backports$email$_policybase$$$function_7__extend_docstrings$$$genexpr_1_genexpr_locals)
|
|
);
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$_policybase$$$function_8_handle_defect( 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_obj = python_pars[ 1 ];
|
|
PyObject *par_defect = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_6ddc1e2151d5f3e346914f1366f11f31;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
static struct Nuitka_FrameObject *cache_frame_6ddc1e2151d5f3e346914f1366f11f31 = 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_6ddc1e2151d5f3e346914f1366f11f31, codeobj_6ddc1e2151d5f3e346914f1366f11f31, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_6ddc1e2151d5f3e346914f1366f11f31 = cache_frame_6ddc1e2151d5f3e346914f1366f11f31;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_6ddc1e2151d5f3e346914f1366f11f31 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_6ddc1e2151d5f3e346914f1366f11f31 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_attribute_value_1;
|
|
int tmp_truth_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_raise_on_defect );
|
|
if ( tmp_attribute_value_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;
|
|
}
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_attribute_value_1 );
|
|
|
|
exception_lineno = 181;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_attribute_value_1 );
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
if ( par_defect == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "defect" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 182;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_raise_type_1 = par_defect;
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_lineno = 182;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 183;
|
|
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_register_defect );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 183;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_obj == 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", "obj" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 183;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_obj;
|
|
if ( par_defect == 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", "defect" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 183;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_defect;
|
|
frame_6ddc1e2151d5f3e346914f1366f11f31->m_frame.f_lineno = 183;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 183;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6ddc1e2151d5f3e346914f1366f11f31 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6ddc1e2151d5f3e346914f1366f11f31 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_6ddc1e2151d5f3e346914f1366f11f31, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_6ddc1e2151d5f3e346914f1366f11f31->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_6ddc1e2151d5f3e346914f1366f11f31, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_6ddc1e2151d5f3e346914f1366f11f31,
|
|
type_description_1,
|
|
par_self,
|
|
par_obj,
|
|
par_defect
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_6ddc1e2151d5f3e346914f1366f11f31 == cache_frame_6ddc1e2151d5f3e346914f1366f11f31 )
|
|
{
|
|
Py_DECREF( frame_6ddc1e2151d5f3e346914f1366f11f31 );
|
|
}
|
|
cache_frame_6ddc1e2151d5f3e346914f1366f11f31 = NULL;
|
|
|
|
assertFrameObject( frame_6ddc1e2151d5f3e346914f1366f11f31 );
|
|
|
|
// 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$_policybase$$$function_8_handle_defect );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_obj );
|
|
par_obj = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_defect );
|
|
par_defect = 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_obj );
|
|
par_obj = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_defect );
|
|
par_defect = 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$_policybase$$$function_8_handle_defect );
|
|
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$_policybase$$$function_9_register_defect( 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_obj = python_pars[ 1 ];
|
|
PyObject *par_defect = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_fe22317aca33d7f0cf6573d96790dea7;
|
|
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_fe22317aca33d7f0cf6573d96790dea7 = 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_fe22317aca33d7f0cf6573d96790dea7, codeobj_fe22317aca33d7f0cf6573d96790dea7, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_fe22317aca33d7f0cf6573d96790dea7 = cache_frame_fe22317aca33d7f0cf6573d96790dea7;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_fe22317aca33d7f0cf6573d96790dea7 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_fe22317aca33d7f0cf6573d96790dea7 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
CHECK_OBJECT( par_obj );
|
|
tmp_source_name_2 = par_obj;
|
|
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_defects );
|
|
if ( tmp_source_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 196;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_append );
|
|
Py_DECREF( tmp_source_name_1 );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 196;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_defect == 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", "defect" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 196;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_defect;
|
|
frame_fe22317aca33d7f0cf6573d96790dea7->m_frame.f_lineno = 196;
|
|
{
|
|
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 = 196;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_fe22317aca33d7f0cf6573d96790dea7 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_fe22317aca33d7f0cf6573d96790dea7 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_fe22317aca33d7f0cf6573d96790dea7, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_fe22317aca33d7f0cf6573d96790dea7->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_fe22317aca33d7f0cf6573d96790dea7, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_fe22317aca33d7f0cf6573d96790dea7,
|
|
type_description_1,
|
|
par_self,
|
|
par_obj,
|
|
par_defect
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_fe22317aca33d7f0cf6573d96790dea7 == cache_frame_fe22317aca33d7f0cf6573d96790dea7 )
|
|
{
|
|
Py_DECREF( frame_fe22317aca33d7f0cf6573d96790dea7 );
|
|
}
|
|
cache_frame_fe22317aca33d7f0cf6573d96790dea7 = NULL;
|
|
|
|
assertFrameObject( frame_fe22317aca33d7f0cf6573d96790dea7 );
|
|
|
|
// 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$_policybase$$$function_9_register_defect );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_obj );
|
|
par_obj = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_defect );
|
|
par_defect = 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_obj );
|
|
par_obj = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_defect );
|
|
par_defect = 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$_policybase$$$function_9_register_defect );
|
|
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$_policybase$$$function_10_header_max_count( 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_name = python_pars[ 1 ];
|
|
PyObject *tmp_return_value = NULL;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
{
|
|
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$_policybase$$$function_10_header_max_count );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_10_header_max_count );
|
|
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$_policybase$$$function_11_header_source_parse( 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_sourcelines = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_c381022678f623d39baa1dc4b933b9c1;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
static struct Nuitka_FrameObject *cache_frame_c381022678f623d39baa1dc4b933b9c1 = 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_c381022678f623d39baa1dc4b933b9c1, codeobj_c381022678f623d39baa1dc4b933b9c1, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *) );
|
|
frame_c381022678f623d39baa1dc4b933b9c1 = cache_frame_c381022678f623d39baa1dc4b933b9c1;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_c381022678f623d39baa1dc4b933b9c1 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_c381022678f623d39baa1dc4b933b9c1 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
tmp_raise_type_1 = PyExc_NotImplementedError;
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_lineno = 225;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c381022678f623d39baa1dc4b933b9c1 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c381022678f623d39baa1dc4b933b9c1 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_c381022678f623d39baa1dc4b933b9c1, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_c381022678f623d39baa1dc4b933b9c1->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_c381022678f623d39baa1dc4b933b9c1, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_c381022678f623d39baa1dc4b933b9c1,
|
|
type_description_1,
|
|
par_self,
|
|
par_sourcelines
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_c381022678f623d39baa1dc4b933b9c1 == cache_frame_c381022678f623d39baa1dc4b933b9c1 )
|
|
{
|
|
Py_DECREF( frame_c381022678f623d39baa1dc4b933b9c1 );
|
|
}
|
|
cache_frame_c381022678f623d39baa1dc4b933b9c1 = NULL;
|
|
|
|
assertFrameObject( frame_c381022678f623d39baa1dc4b933b9c1 );
|
|
|
|
// 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$_policybase$$$function_11_header_source_parse );
|
|
return NULL;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_sourcelines );
|
|
par_sourcelines = 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$_policybase$$$function_11_header_source_parse );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$_policybase$$$function_12_header_store_parse( 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_name = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_cad666002cbd554ea5871115d4dcce12;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
static struct Nuitka_FrameObject *cache_frame_cad666002cbd554ea5871115d4dcce12 = 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_cad666002cbd554ea5871115d4dcce12, codeobj_cad666002cbd554ea5871115d4dcce12, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_cad666002cbd554ea5871115d4dcce12 = cache_frame_cad666002cbd554ea5871115d4dcce12;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_cad666002cbd554ea5871115d4dcce12 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_cad666002cbd554ea5871115d4dcce12 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
tmp_raise_type_1 = PyExc_NotImplementedError;
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_lineno = 232;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_cad666002cbd554ea5871115d4dcce12 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_cad666002cbd554ea5871115d4dcce12 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_cad666002cbd554ea5871115d4dcce12, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_cad666002cbd554ea5871115d4dcce12->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_cad666002cbd554ea5871115d4dcce12, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_cad666002cbd554ea5871115d4dcce12,
|
|
type_description_1,
|
|
par_self,
|
|
par_name,
|
|
par_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_cad666002cbd554ea5871115d4dcce12 == cache_frame_cad666002cbd554ea5871115d4dcce12 )
|
|
{
|
|
Py_DECREF( frame_cad666002cbd554ea5871115d4dcce12 );
|
|
}
|
|
cache_frame_cad666002cbd554ea5871115d4dcce12 = NULL;
|
|
|
|
assertFrameObject( frame_cad666002cbd554ea5871115d4dcce12 );
|
|
|
|
// 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$_policybase$$$function_12_header_store_parse );
|
|
return NULL;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_12_header_store_parse );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$_policybase$$$function_13_header_fetch_parse( 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_name = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_ccf62988af4a702ed2635b2183e9792e;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
static struct Nuitka_FrameObject *cache_frame_ccf62988af4a702ed2635b2183e9792e = 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_ccf62988af4a702ed2635b2183e9792e, codeobj_ccf62988af4a702ed2635b2183e9792e, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_ccf62988af4a702ed2635b2183e9792e = cache_frame_ccf62988af4a702ed2635b2183e9792e;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_ccf62988af4a702ed2635b2183e9792e );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_ccf62988af4a702ed2635b2183e9792e ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
tmp_raise_type_1 = PyExc_NotImplementedError;
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_lineno = 243;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ccf62988af4a702ed2635b2183e9792e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ccf62988af4a702ed2635b2183e9792e );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_ccf62988af4a702ed2635b2183e9792e, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_ccf62988af4a702ed2635b2183e9792e->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_ccf62988af4a702ed2635b2183e9792e, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_ccf62988af4a702ed2635b2183e9792e,
|
|
type_description_1,
|
|
par_self,
|
|
par_name,
|
|
par_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_ccf62988af4a702ed2635b2183e9792e == cache_frame_ccf62988af4a702ed2635b2183e9792e )
|
|
{
|
|
Py_DECREF( frame_ccf62988af4a702ed2635b2183e9792e );
|
|
}
|
|
cache_frame_ccf62988af4a702ed2635b2183e9792e = NULL;
|
|
|
|
assertFrameObject( frame_ccf62988af4a702ed2635b2183e9792e );
|
|
|
|
// 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$_policybase$$$function_13_header_fetch_parse );
|
|
return NULL;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_13_header_fetch_parse );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$_policybase$$$function_14_fold( 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_name = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_7603cd223597496e70364f2c9699e4a0;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
static struct Nuitka_FrameObject *cache_frame_7603cd223597496e70364f2c9699e4a0 = 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_7603cd223597496e70364f2c9699e4a0, codeobj_7603cd223597496e70364f2c9699e4a0, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_7603cd223597496e70364f2c9699e4a0 = cache_frame_7603cd223597496e70364f2c9699e4a0;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_7603cd223597496e70364f2c9699e4a0 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_7603cd223597496e70364f2c9699e4a0 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
tmp_raise_type_1 = PyExc_NotImplementedError;
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_lineno = 255;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7603cd223597496e70364f2c9699e4a0 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7603cd223597496e70364f2c9699e4a0 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_7603cd223597496e70364f2c9699e4a0, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_7603cd223597496e70364f2c9699e4a0->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_7603cd223597496e70364f2c9699e4a0, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_7603cd223597496e70364f2c9699e4a0,
|
|
type_description_1,
|
|
par_self,
|
|
par_name,
|
|
par_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_7603cd223597496e70364f2c9699e4a0 == cache_frame_7603cd223597496e70364f2c9699e4a0 )
|
|
{
|
|
Py_DECREF( frame_7603cd223597496e70364f2c9699e4a0 );
|
|
}
|
|
cache_frame_7603cd223597496e70364f2c9699e4a0 = NULL;
|
|
|
|
assertFrameObject( frame_7603cd223597496e70364f2c9699e4a0 );
|
|
|
|
// 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$_policybase$$$function_14_fold );
|
|
return NULL;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_14_fold );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$_policybase$$$function_15_fold_binary( 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_name = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_eb8f797b0319ed79b07bd3e0e6b5f31e;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
static struct Nuitka_FrameObject *cache_frame_eb8f797b0319ed79b07bd3e0e6b5f31e = 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_eb8f797b0319ed79b07bd3e0e6b5f31e, codeobj_eb8f797b0319ed79b07bd3e0e6b5f31e, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_eb8f797b0319ed79b07bd3e0e6b5f31e = cache_frame_eb8f797b0319ed79b07bd3e0e6b5f31e;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_eb8f797b0319ed79b07bd3e0e6b5f31e );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_eb8f797b0319ed79b07bd3e0e6b5f31e ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
tmp_raise_type_1 = PyExc_NotImplementedError;
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_lineno = 265;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_eb8f797b0319ed79b07bd3e0e6b5f31e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_eb8f797b0319ed79b07bd3e0e6b5f31e );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_eb8f797b0319ed79b07bd3e0e6b5f31e, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_eb8f797b0319ed79b07bd3e0e6b5f31e->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_eb8f797b0319ed79b07bd3e0e6b5f31e, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_eb8f797b0319ed79b07bd3e0e6b5f31e,
|
|
type_description_1,
|
|
par_self,
|
|
par_name,
|
|
par_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_eb8f797b0319ed79b07bd3e0e6b5f31e == cache_frame_eb8f797b0319ed79b07bd3e0e6b5f31e )
|
|
{
|
|
Py_DECREF( frame_eb8f797b0319ed79b07bd3e0e6b5f31e );
|
|
}
|
|
cache_frame_eb8f797b0319ed79b07bd3e0e6b5f31e = NULL;
|
|
|
|
assertFrameObject( frame_eb8f797b0319ed79b07bd3e0e6b5f31e );
|
|
|
|
// 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$_policybase$$$function_15_fold_binary );
|
|
return NULL;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_15_fold_binary );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_future$backports$email$_policybase$$$function_16__sanitize_header( 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_name = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_9a71c0d7ebeb96db14a33349cfbcca52;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
int tmp_res;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_9a71c0d7ebeb96db14a33349cfbcca52 = 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_9a71c0d7ebeb96db14a33349cfbcca52, codeobj_9a71c0d7ebeb96db14a33349cfbcca52, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_9a71c0d7ebeb96db14a33349cfbcca52 = cache_frame_9a71c0d7ebeb96db14a33349cfbcca52;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_9a71c0d7ebeb96db14a33349cfbcca52 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_9a71c0d7ebeb96db14a33349cfbcca52 ) == 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;
|
|
PyObject *tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_value );
|
|
tmp_isinstance_inst_1 = par_value;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_str );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 279;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_isinstance_cls_1 = tmp_mvar_value_1;
|
|
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 279;
|
|
type_description_1 = "ooo";
|
|
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 = 279;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
if ( par_value == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 281;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = par_value;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_call_result_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
int tmp_truth_name_1;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__has_surrogates );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__has_surrogates );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_has_surrogates" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 282;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_1 = tmp_mvar_value_2;
|
|
if ( par_value == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 282;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_value;
|
|
frame_9a71c0d7ebeb96db14a33349cfbcca52->m_frame.f_lineno = 282;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_call_result_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 282;
|
|
type_description_1 = "ooo";
|
|
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 = 282;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_call_result_1 );
|
|
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_mvar_value_3;
|
|
PyObject *tmp_args_name_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_kw_name_1;
|
|
PyObject *tmp_dict_key_1;
|
|
PyObject *tmp_dict_value_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_dict_key_2;
|
|
PyObject *tmp_dict_value_2;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_header );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_header );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "header" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 283;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = tmp_mvar_value_3;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_Header );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 283;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_value == 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", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 283;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = par_value;
|
|
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_dict_key_1 = const_str_plain_charset;
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__charset );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__charset );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_charset" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 283;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = tmp_mvar_value_4;
|
|
tmp_dict_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_UNKNOWN8BIT );
|
|
if ( tmp_dict_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
|
|
exception_lineno = 283;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_kw_name_1 = _PyDict_NewPresized( 2 );
|
|
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 );
|
|
Py_DECREF( tmp_dict_value_1 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_2 = const_str_plain_header_name;
|
|
if ( par_name == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
Py_DECREF( tmp_kw_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 284;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dict_value_2 = par_name;
|
|
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_2, tmp_dict_value_2 );
|
|
assert( !(tmp_res != 0) );
|
|
frame_9a71c0d7ebeb96db14a33349cfbcca52->m_frame.f_lineno = 283;
|
|
tmp_return_value = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_1, tmp_kw_name_1 );
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
Py_DECREF( tmp_kw_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 283;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
if ( par_value == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 286;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = par_value;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_9a71c0d7ebeb96db14a33349cfbcca52 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_9a71c0d7ebeb96db14a33349cfbcca52 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_9a71c0d7ebeb96db14a33349cfbcca52 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_9a71c0d7ebeb96db14a33349cfbcca52, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_9a71c0d7ebeb96db14a33349cfbcca52->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_9a71c0d7ebeb96db14a33349cfbcca52, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_9a71c0d7ebeb96db14a33349cfbcca52,
|
|
type_description_1,
|
|
par_self,
|
|
par_name,
|
|
par_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_9a71c0d7ebeb96db14a33349cfbcca52 == cache_frame_9a71c0d7ebeb96db14a33349cfbcca52 )
|
|
{
|
|
Py_DECREF( frame_9a71c0d7ebeb96db14a33349cfbcca52 );
|
|
}
|
|
cache_frame_9a71c0d7ebeb96db14a33349cfbcca52 = NULL;
|
|
|
|
assertFrameObject( frame_9a71c0d7ebeb96db14a33349cfbcca52 );
|
|
|
|
// 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$_policybase$$$function_16__sanitize_header );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_16__sanitize_header );
|
|
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$_policybase$$$function_17_header_source_parse( 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_sourcelines = python_pars[ 1 ];
|
|
PyObject *var_name = NULL;
|
|
PyObject *var_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;
|
|
struct Nuitka_FrameObject *frame_3255f987afaecbd06c6690e9ebf8ae27;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_iterator_attempt;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_3255f987afaecbd06c6690e9ebf8ae27 = 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_3255f987afaecbd06c6690e9ebf8ae27, codeobj_3255f987afaecbd06c6690e9ebf8ae27, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_3255f987afaecbd06c6690e9ebf8ae27 = cache_frame_3255f987afaecbd06c6690e9ebf8ae27;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_3255f987afaecbd06c6690e9ebf8ae27 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_3255f987afaecbd06c6690e9ebf8ae27 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( par_sourcelines );
|
|
tmp_subscribed_name_1 = par_sourcelines;
|
|
tmp_subscript_name_1 = const_int_0;
|
|
tmp_called_instance_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 296;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
frame_3255f987afaecbd06c6690e9ebf8ae27->m_frame.f_lineno = 296;
|
|
tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_58_int_pos_1_tuple, 0 ) );
|
|
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 296;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 296;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_tuple_unpack_1__source_iter == NULL );
|
|
tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_unpack_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "oooo";
|
|
exception_lineno = 296;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_1 == NULL );
|
|
tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_unpack_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "oooo";
|
|
exception_lineno = 296;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_2 == NULL );
|
|
tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_iterator_name_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
|
|
// Check if iterator has left-over elements.
|
|
CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) );
|
|
|
|
tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 );
|
|
|
|
if (likely( tmp_iterator_attempt == NULL ))
|
|
{
|
|
PyObject *error = GET_ERROR_OCCURRED();
|
|
|
|
if ( error != NULL )
|
|
{
|
|
if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration ))
|
|
{
|
|
CLEAR_ERROR_OCCURRED();
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "oooo";
|
|
exception_lineno = 296;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Py_DECREF( tmp_iterator_attempt );
|
|
|
|
// TODO: Could avoid PyErr_Format.
|
|
#if PYTHON_VERSION < 300
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack" );
|
|
#else
|
|
PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" );
|
|
#endif
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "oooo";
|
|
exception_lineno = 296;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
|
|
tmp_assign_source_4 = tmp_tuple_unpack_1__element_1;
|
|
assert( var_name == NULL );
|
|
Py_INCREF( tmp_assign_source_4 );
|
|
var_name = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
|
|
tmp_assign_source_5 = tmp_tuple_unpack_1__element_2;
|
|
assert( var_value == NULL );
|
|
Py_INCREF( tmp_assign_source_5 );
|
|
var_value = tmp_assign_source_5;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_called_instance_2;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
if ( var_value == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 297;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = var_value;
|
|
frame_3255f987afaecbd06c6690e9ebf8ae27->m_frame.f_lineno = 297;
|
|
tmp_left_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_lstrip, &PyTuple_GET_ITEM( const_tuple_str_digest_ac02ab0238280e341b2aff0eed15b128_tuple, 0 ) );
|
|
|
|
if ( tmp_left_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 297;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_source_name_1 = const_str_empty;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_join );
|
|
assert( !(tmp_called_name_1 == NULL) );
|
|
if ( par_sourcelines == NULL )
|
|
{
|
|
Py_DECREF( tmp_left_name_1 );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sourcelines" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 297;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_2 = par_sourcelines;
|
|
tmp_subscript_name_2 = const_slice_int_pos_1_none_none;
|
|
tmp_args_element_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 );
|
|
if ( tmp_args_element_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
|
|
exception_lineno = 297;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_3255f987afaecbd06c6690e9ebf8ae27->m_frame.f_lineno = 297;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_right_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_right_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_left_name_1 );
|
|
|
|
exception_lineno = 297;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_6 = 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_assign_source_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 297;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = var_value;
|
|
var_value = tmp_assign_source_6;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_called_instance_3;
|
|
if ( var_name == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 298;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = var_name;
|
|
tmp_return_value = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 );
|
|
CHECK_OBJECT( var_value );
|
|
tmp_called_instance_3 = var_value;
|
|
frame_3255f987afaecbd06c6690e9ebf8ae27->m_frame.f_lineno = 298;
|
|
tmp_tuple_element_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_rstrip, &PyTuple_GET_ITEM( const_tuple_str_digest_7ca129d2d421fe965ad48cbb290b579b_tuple, 0 ) );
|
|
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_return_value );
|
|
|
|
exception_lineno = 298;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3255f987afaecbd06c6690e9ebf8ae27 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3255f987afaecbd06c6690e9ebf8ae27 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3255f987afaecbd06c6690e9ebf8ae27 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_3255f987afaecbd06c6690e9ebf8ae27, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_3255f987afaecbd06c6690e9ebf8ae27->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_3255f987afaecbd06c6690e9ebf8ae27, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_3255f987afaecbd06c6690e9ebf8ae27,
|
|
type_description_1,
|
|
par_self,
|
|
par_sourcelines,
|
|
var_name,
|
|
var_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_3255f987afaecbd06c6690e9ebf8ae27 == cache_frame_3255f987afaecbd06c6690e9ebf8ae27 )
|
|
{
|
|
Py_DECREF( frame_3255f987afaecbd06c6690e9ebf8ae27 );
|
|
}
|
|
cache_frame_3255f987afaecbd06c6690e9ebf8ae27 = NULL;
|
|
|
|
assertFrameObject( frame_3255f987afaecbd06c6690e9ebf8ae27 );
|
|
|
|
// 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$_policybase$$$function_17_header_source_parse );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_sourcelines );
|
|
par_sourcelines = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_name );
|
|
var_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_value );
|
|
var_value = 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_sourcelines );
|
|
par_sourcelines = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_name );
|
|
var_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_value );
|
|
var_value = 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$_policybase$$$function_17_header_source_parse );
|
|
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$_policybase$$$function_18_header_store_parse( 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_name = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
PyObject *tmp_return_value = NULL;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_tuple_element_1;
|
|
CHECK_OBJECT( par_name );
|
|
tmp_tuple_element_1 = par_name;
|
|
tmp_return_value = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 );
|
|
CHECK_OBJECT( par_value );
|
|
tmp_tuple_element_1 = par_value;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 );
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_18_header_store_parse );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_18_header_store_parse );
|
|
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$_policybase$$$function_19_header_fetch_parse( 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_name = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_04b015eb415fa7f67674dbe1c8692f93;
|
|
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_04b015eb415fa7f67674dbe1c8692f93 = 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_04b015eb415fa7f67674dbe1c8692f93, codeobj_04b015eb415fa7f67674dbe1c8692f93, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_04b015eb415fa7f67674dbe1c8692f93 = cache_frame_04b015eb415fa7f67674dbe1c8692f93;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_04b015eb415fa7f67674dbe1c8692f93 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_04b015eb415fa7f67674dbe1c8692f93 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__sanitize_header );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 311;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_name == 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", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 311;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_name;
|
|
if ( par_value == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 311;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_value;
|
|
frame_04b015eb415fa7f67674dbe1c8692f93->m_frame.f_lineno = 311;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 311;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_04b015eb415fa7f67674dbe1c8692f93 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_04b015eb415fa7f67674dbe1c8692f93 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_04b015eb415fa7f67674dbe1c8692f93 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_04b015eb415fa7f67674dbe1c8692f93, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_04b015eb415fa7f67674dbe1c8692f93->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_04b015eb415fa7f67674dbe1c8692f93, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_04b015eb415fa7f67674dbe1c8692f93,
|
|
type_description_1,
|
|
par_self,
|
|
par_name,
|
|
par_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_04b015eb415fa7f67674dbe1c8692f93 == cache_frame_04b015eb415fa7f67674dbe1c8692f93 )
|
|
{
|
|
Py_DECREF( frame_04b015eb415fa7f67674dbe1c8692f93 );
|
|
}
|
|
cache_frame_04b015eb415fa7f67674dbe1c8692f93 = NULL;
|
|
|
|
assertFrameObject( frame_04b015eb415fa7f67674dbe1c8692f93 );
|
|
|
|
// 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$_policybase$$$function_19_header_fetch_parse );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_19_header_fetch_parse );
|
|
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$_policybase$$$function_20_fold( 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_name = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_831cb4a0270e26d748ce0d857262de43;
|
|
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_831cb4a0270e26d748ce0d857262de43 = 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_831cb4a0270e26d748ce0d857262de43, codeobj_831cb4a0270e26d748ce0d857262de43, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_831cb4a0270e26d748ce0d857262de43 = cache_frame_831cb4a0270e26d748ce0d857262de43;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_831cb4a0270e26d748ce0d857262de43 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_831cb4a0270e26d748ce0d857262de43 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
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;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__fold );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 321;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_name == 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", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 321;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = par_name;
|
|
tmp_args_name_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
|
|
if ( par_value == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 321;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = par_value;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
|
|
tmp_kw_name_1 = PyDict_Copy( const_dict_ba91a9516f87798990d6cb6caeadb333 );
|
|
frame_831cb4a0270e26d748ce0d857262de43->m_frame.f_lineno = 321;
|
|
tmp_return_value = 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_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 321;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_831cb4a0270e26d748ce0d857262de43 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_831cb4a0270e26d748ce0d857262de43 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_831cb4a0270e26d748ce0d857262de43 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_831cb4a0270e26d748ce0d857262de43, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_831cb4a0270e26d748ce0d857262de43->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_831cb4a0270e26d748ce0d857262de43, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_831cb4a0270e26d748ce0d857262de43,
|
|
type_description_1,
|
|
par_self,
|
|
par_name,
|
|
par_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_831cb4a0270e26d748ce0d857262de43 == cache_frame_831cb4a0270e26d748ce0d857262de43 )
|
|
{
|
|
Py_DECREF( frame_831cb4a0270e26d748ce0d857262de43 );
|
|
}
|
|
cache_frame_831cb4a0270e26d748ce0d857262de43 = NULL;
|
|
|
|
assertFrameObject( frame_831cb4a0270e26d748ce0d857262de43 );
|
|
|
|
// 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$_policybase$$$function_20_fold );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase$$$function_20_fold );
|
|
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$_policybase$$$function_21_fold_binary( 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_name = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
PyObject *var_folded = NULL;
|
|
struct Nuitka_FrameObject *frame_157973b7d1b7f0ca080c739cbe5f0743;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
int tmp_res;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_157973b7d1b7f0ca080c739cbe5f0743 = 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_157973b7d1b7f0ca080c739cbe5f0743, codeobj_157973b7d1b7f0ca080c739cbe5f0743, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_157973b7d1b7f0ca080c739cbe5f0743 = cache_frame_157973b7d1b7f0ca080c739cbe5f0743;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_157973b7d1b7f0ca080c739cbe5f0743 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_157973b7d1b7f0ca080c739cbe5f0743 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_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;
|
|
PyObject *tmp_dict_key_1;
|
|
PyObject *tmp_dict_value_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_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__fold );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 332;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_name == 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", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 332;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = par_name;
|
|
tmp_args_name_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
|
|
if ( par_value == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 332;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = par_value;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
|
|
tmp_dict_key_1 = const_str_plain_sanitize;
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_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 = 332;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_cte_type );
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
|
|
exception_lineno = 332;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_compexpr_right_1 = const_str_plain_7bit;
|
|
tmp_dict_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
if ( tmp_dict_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
|
|
exception_lineno = 332;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_kw_name_1 = _PyDict_NewPresized( 1 );
|
|
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 );
|
|
Py_DECREF( tmp_dict_value_1 );
|
|
assert( !(tmp_res != 0) );
|
|
frame_157973b7d1b7f0ca080c739cbe5f0743->m_frame.f_lineno = 332;
|
|
tmp_assign_source_1 = 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_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 332;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_folded == NULL );
|
|
var_folded = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_1;
|
|
CHECK_OBJECT( var_folded );
|
|
tmp_called_instance_1 = var_folded;
|
|
frame_157973b7d1b7f0ca080c739cbe5f0743->m_frame.f_lineno = 333;
|
|
tmp_return_value = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_str_plain_surrogateescape_tuple, 0 ) );
|
|
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 333;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_157973b7d1b7f0ca080c739cbe5f0743 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_157973b7d1b7f0ca080c739cbe5f0743 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_157973b7d1b7f0ca080c739cbe5f0743 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_157973b7d1b7f0ca080c739cbe5f0743, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_157973b7d1b7f0ca080c739cbe5f0743->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_157973b7d1b7f0ca080c739cbe5f0743, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_157973b7d1b7f0ca080c739cbe5f0743,
|
|
type_description_1,
|
|
par_self,
|
|
par_name,
|
|
par_value,
|
|
var_folded
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_157973b7d1b7f0ca080c739cbe5f0743 == cache_frame_157973b7d1b7f0ca080c739cbe5f0743 )
|
|
{
|
|
Py_DECREF( frame_157973b7d1b7f0ca080c739cbe5f0743 );
|
|
}
|
|
cache_frame_157973b7d1b7f0ca080c739cbe5f0743 = NULL;
|
|
|
|
assertFrameObject( frame_157973b7d1b7f0ca080c739cbe5f0743 );
|
|
|
|
// 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$_policybase$$$function_21_fold_binary );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_folded );
|
|
var_folded = 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_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_folded );
|
|
var_folded = 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$_policybase$$$function_21_fold_binary );
|
|
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$_policybase$$$function_22__fold( 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_name = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
PyObject *par_sanitize = python_pars[ 3 ];
|
|
PyObject *var_parts = NULL;
|
|
PyObject *var_h = NULL;
|
|
struct Nuitka_FrameObject *frame_b29c2bd89e594bf3bf7f941d5e7749a6;
|
|
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;
|
|
int tmp_res;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_b29c2bd89e594bf3bf7f941d5e7749a6 = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
|
|
// Actual function code.
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = PyList_New( 0 );
|
|
assert( var_parts == NULL );
|
|
var_parts = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_b29c2bd89e594bf3bf7f941d5e7749a6, codeobj_b29c2bd89e594bf3bf7f941d5e7749a6, module_future$backports$email$_policybase, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_b29c2bd89e594bf3bf7f941d5e7749a6 = cache_frame_b29c2bd89e594bf3bf7f941d5e7749a6;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_b29c2bd89e594bf3bf7f941d5e7749a6 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_b29c2bd89e594bf3bf7f941d5e7749a6 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
CHECK_OBJECT( var_parts );
|
|
tmp_source_name_1 = var_parts;
|
|
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 = 337;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_left_name_1 = const_str_digest_563b5ba970cbc37cf902c3445bfdb059;
|
|
if ( par_name == 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", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 337;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_right_name_1 = par_name;
|
|
tmp_args_element_name_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_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 = 337;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_b29c2bd89e594bf3bf7f941d5e7749a6->m_frame.f_lineno = 337;
|
|
{
|
|
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 = 337;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_isinstance_inst_1;
|
|
PyObject *tmp_isinstance_cls_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
if ( par_value == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 338;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_isinstance_inst_1 = par_value;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_str );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 338;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_isinstance_cls_1 = tmp_mvar_value_1;
|
|
tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 338;
|
|
type_description_1 = "oooooo";
|
|
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:;
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_call_result_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
int tmp_truth_name_1;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__has_surrogates );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__has_surrogates );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_has_surrogates" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 339;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_2 = tmp_mvar_value_2;
|
|
if ( par_value == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 339;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_value;
|
|
frame_b29c2bd89e594bf3bf7f941d5e7749a6->m_frame.f_lineno = 339;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
if ( tmp_call_result_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 339;
|
|
type_description_1 = "oooooo";
|
|
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 = 339;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_call_result_1 );
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
int tmp_truth_name_2;
|
|
if ( par_sanitize == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sanitize" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 340;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_truth_name_2 = CHECK_IF_TRUE( par_sanitize );
|
|
if ( tmp_truth_name_2 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 340;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_3 = tmp_truth_name_2 == 1 ? 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;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_mvar_value_3;
|
|
PyObject *tmp_args_name_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_kw_name_1;
|
|
PyObject *tmp_dict_key_1;
|
|
PyObject *tmp_dict_value_1;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_dict_key_2;
|
|
PyObject *tmp_dict_value_2;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_header );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_header );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "header" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 341;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = tmp_mvar_value_3;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_Header );
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 341;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_value == 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", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 341;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = par_value;
|
|
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_dict_key_1 = const_str_plain_charset;
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__charset );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__charset );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_charset" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 342;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_3 = tmp_mvar_value_4;
|
|
tmp_dict_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_UNKNOWN8BIT );
|
|
if ( tmp_dict_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
|
|
exception_lineno = 342;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_kw_name_1 = _PyDict_NewPresized( 2 );
|
|
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 );
|
|
Py_DECREF( tmp_dict_value_1 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_2 = const_str_plain_header_name;
|
|
if ( par_name == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
Py_DECREF( tmp_kw_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 343;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dict_value_2 = par_name;
|
|
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_2, tmp_dict_value_2 );
|
|
assert( !(tmp_res != 0) );
|
|
frame_b29c2bd89e594bf3bf7f941d5e7749a6->m_frame.f_lineno = 341;
|
|
tmp_assign_source_2 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_1, tmp_kw_name_1 );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
Py_DECREF( tmp_kw_name_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 341;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_h == NULL );
|
|
var_h = tmp_assign_source_2;
|
|
|
|
}
|
|
goto branch_end_3;
|
|
branch_no_3:;
|
|
{
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_args_element_name_3;
|
|
if ( var_parts == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parts" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 351;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_4 = var_parts;
|
|
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_append );
|
|
if ( tmp_called_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 351;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_value == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_4 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 351;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_3 = par_value;
|
|
frame_b29c2bd89e594bf3bf7f941d5e7749a6->m_frame.f_lineno = 351;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_4 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 351;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
tmp_assign_source_3 = Py_None;
|
|
{
|
|
PyObject *old = var_h;
|
|
var_h = tmp_assign_source_3;
|
|
Py_INCREF( var_h );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_end_3:;
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_source_name_5;
|
|
PyObject *tmp_mvar_value_5;
|
|
PyObject *tmp_args_name_2;
|
|
PyObject *tmp_tuple_element_2;
|
|
PyObject *tmp_kw_name_2;
|
|
PyObject *tmp_dict_key_3;
|
|
PyObject *tmp_dict_value_3;
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_header );
|
|
|
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_header );
|
|
}
|
|
|
|
if ( tmp_mvar_value_5 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "header" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 354;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_5 = tmp_mvar_value_5;
|
|
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_Header );
|
|
if ( tmp_called_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 354;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_value == 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", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 354;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_2 = par_value;
|
|
tmp_args_name_2 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_2 );
|
|
tmp_dict_key_3 = const_str_plain_header_name;
|
|
if ( par_name == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_5 );
|
|
Py_DECREF( tmp_args_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 354;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dict_value_3 = par_name;
|
|
tmp_kw_name_2 = _PyDict_NewPresized( 1 );
|
|
tmp_res = PyDict_SetItem( tmp_kw_name_2, tmp_dict_key_3, tmp_dict_value_3 );
|
|
assert( !(tmp_res != 0) );
|
|
frame_b29c2bd89e594bf3bf7f941d5e7749a6->m_frame.f_lineno = 354;
|
|
tmp_assign_source_4 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_2, tmp_kw_name_2 );
|
|
Py_DECREF( tmp_called_name_5 );
|
|
Py_DECREF( tmp_args_name_2 );
|
|
Py_DECREF( tmp_kw_name_2 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 354;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = var_h;
|
|
var_h = tmp_assign_source_4;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
if ( par_value == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 357;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assign_source_5 = par_value;
|
|
assert( var_h == NULL );
|
|
Py_INCREF( tmp_assign_source_5 );
|
|
var_h = tmp_assign_source_5;
|
|
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
if ( var_h == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "h" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 358;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_left_1 = var_h;
|
|
tmp_compexpr_right_1 = Py_None;
|
|
tmp_condition_result_4 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_4;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_4;
|
|
}
|
|
branch_yes_4:;
|
|
{
|
|
PyObject *tmp_called_name_6;
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_called_name_7;
|
|
PyObject *tmp_source_name_7;
|
|
PyObject *tmp_kw_name_3;
|
|
PyObject *tmp_dict_key_4;
|
|
PyObject *tmp_dict_value_4;
|
|
PyObject *tmp_source_name_8;
|
|
PyObject *tmp_dict_key_5;
|
|
PyObject *tmp_dict_value_5;
|
|
PyObject *tmp_source_name_9;
|
|
if ( var_parts == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parts" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_6 = var_parts;
|
|
tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_append );
|
|
if ( tmp_called_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_h == 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", "h" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_7 = var_h;
|
|
tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_encode );
|
|
if ( tmp_called_name_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_6 );
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dict_key_4 = const_str_plain_linesep;
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_6 );
|
|
Py_DECREF( tmp_called_name_7 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_8 = par_self;
|
|
tmp_dict_value_4 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_linesep );
|
|
if ( tmp_dict_value_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_6 );
|
|
Py_DECREF( tmp_called_name_7 );
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_kw_name_3 = _PyDict_NewPresized( 2 );
|
|
tmp_res = PyDict_SetItem( tmp_kw_name_3, tmp_dict_key_4, tmp_dict_value_4 );
|
|
Py_DECREF( tmp_dict_value_4 );
|
|
assert( !(tmp_res != 0) );
|
|
tmp_dict_key_5 = const_str_plain_maxlinelen;
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_6 );
|
|
Py_DECREF( tmp_called_name_7 );
|
|
Py_DECREF( tmp_kw_name_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 360;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_9 = par_self;
|
|
tmp_dict_value_5 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_max_line_length );
|
|
if ( tmp_dict_value_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_6 );
|
|
Py_DECREF( tmp_called_name_7 );
|
|
Py_DECREF( tmp_kw_name_3 );
|
|
|
|
exception_lineno = 360;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_res = PyDict_SetItem( tmp_kw_name_3, tmp_dict_key_5, tmp_dict_value_5 );
|
|
Py_DECREF( tmp_dict_value_5 );
|
|
assert( !(tmp_res != 0) );
|
|
frame_b29c2bd89e594bf3bf7f941d5e7749a6->m_frame.f_lineno = 359;
|
|
tmp_args_element_name_4 = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_7, tmp_kw_name_3 );
|
|
Py_DECREF( tmp_called_name_7 );
|
|
Py_DECREF( tmp_kw_name_3 );
|
|
if ( tmp_args_element_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_6 );
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_b29c2bd89e594bf3bf7f941d5e7749a6->m_frame.f_lineno = 359;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_6 );
|
|
Py_DECREF( tmp_args_element_name_4 );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 359;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
branch_no_4:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_8;
|
|
PyObject *tmp_source_name_10;
|
|
PyObject *tmp_args_element_name_5;
|
|
PyObject *tmp_source_name_11;
|
|
if ( var_parts == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parts" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 361;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_10 = var_parts;
|
|
tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_append );
|
|
if ( tmp_called_name_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 361;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_8 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 361;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_11 = par_self;
|
|
tmp_args_element_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_linesep );
|
|
if ( tmp_args_element_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_8 );
|
|
|
|
exception_lineno = 361;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_b29c2bd89e594bf3bf7f941d5e7749a6->m_frame.f_lineno = 361;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_8 );
|
|
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 = 361;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_9;
|
|
PyObject *tmp_source_name_12;
|
|
PyObject *tmp_args_element_name_6;
|
|
tmp_source_name_12 = const_str_empty;
|
|
tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_join );
|
|
assert( !(tmp_called_name_9 == NULL) );
|
|
if ( var_parts == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_9 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parts" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 362;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_6 = var_parts;
|
|
frame_b29c2bd89e594bf3bf7f941d5e7749a6->m_frame.f_lineno = 362;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_6 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_9 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 362;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_b29c2bd89e594bf3bf7f941d5e7749a6 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_b29c2bd89e594bf3bf7f941d5e7749a6 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_b29c2bd89e594bf3bf7f941d5e7749a6 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_b29c2bd89e594bf3bf7f941d5e7749a6, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_b29c2bd89e594bf3bf7f941d5e7749a6->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_b29c2bd89e594bf3bf7f941d5e7749a6, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_b29c2bd89e594bf3bf7f941d5e7749a6,
|
|
type_description_1,
|
|
par_self,
|
|
par_name,
|
|
par_value,
|
|
par_sanitize,
|
|
var_parts,
|
|
var_h
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_b29c2bd89e594bf3bf7f941d5e7749a6 == cache_frame_b29c2bd89e594bf3bf7f941d5e7749a6 )
|
|
{
|
|
Py_DECREF( frame_b29c2bd89e594bf3bf7f941d5e7749a6 );
|
|
}
|
|
cache_frame_b29c2bd89e594bf3bf7f941d5e7749a6 = NULL;
|
|
|
|
assertFrameObject( frame_b29c2bd89e594bf3bf7f941d5e7749a6 );
|
|
|
|
// 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$_policybase$$$function_22__fold );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_sanitize );
|
|
par_sanitize = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_parts );
|
|
var_parts = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_h );
|
|
var_h = 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_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_sanitize );
|
|
par_sanitize = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_parts );
|
|
var_parts = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_h );
|
|
var_h = 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$_policybase$$$function_22__fold );
|
|
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$_policybase$$$function_10_header_max_count( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_10_header_max_count,
|
|
const_str_plain_header_max_count,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_b33887a511083a65b5afdba45a376560,
|
|
#endif
|
|
codeobj_586bacdb2c7b6d389d6709fd5b9920ec,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_69c8672052c578e9778aafa9e6f81ba2,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_11_header_source_parse( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_11_header_source_parse,
|
|
const_str_plain_header_source_parse,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_1cbd2824ecf59971548f638621a10d90,
|
|
#endif
|
|
codeobj_c381022678f623d39baa1dc4b933b9c1,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_d527301e7623be5832903b4574ccbc6a,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_12_header_store_parse( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_12_header_store_parse,
|
|
const_str_plain_header_store_parse,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_3ded20d4a81aab07bfddb21a6b739530,
|
|
#endif
|
|
codeobj_cad666002cbd554ea5871115d4dcce12,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_1ea3b8328ddf4361e1e9e57cc7ad3aac,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_13_header_fetch_parse( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_13_header_fetch_parse,
|
|
const_str_plain_header_fetch_parse,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_2361903e0c06cd6b5cd3934228e35700,
|
|
#endif
|
|
codeobj_ccf62988af4a702ed2635b2183e9792e,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_6c585b52111227fc7aecec4d1ab19def,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_14_fold( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_14_fold,
|
|
const_str_plain_fold,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_6e4648e1198586cb22f7507cd1fdd69b,
|
|
#endif
|
|
codeobj_7603cd223597496e70364f2c9699e4a0,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_c3b97056daa755c48064e28ddade6209,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_15_fold_binary( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_15_fold_binary,
|
|
const_str_plain_fold_binary,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_aa76540723a1aded00693106d4c6b75e,
|
|
#endif
|
|
codeobj_eb8f797b0319ed79b07bd3e0e6b5f31e,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_421ce075239b52299ba8f95702b7a553,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_16__sanitize_header( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_16__sanitize_header,
|
|
const_str_plain__sanitize_header,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_890637b9e415c7a50ac037dd06b52c2f,
|
|
#endif
|
|
codeobj_9a71c0d7ebeb96db14a33349cfbcca52,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_17_header_source_parse( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_17_header_source_parse,
|
|
const_str_plain_header_source_parse,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_118c4ccbe7368ada6feccfe9762fa4e4,
|
|
#endif
|
|
codeobj_3255f987afaecbd06c6690e9ebf8ae27,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_e6976b3c3af380ae616a4ad009403e47,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_18_header_store_parse( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_18_header_store_parse,
|
|
const_str_plain_header_store_parse,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_640de273222d69b094a93875445cf0f0,
|
|
#endif
|
|
codeobj_2b5fce3a403933eb9f108c0b7eb2ed81,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_856a8351f84aca855b37055063f305fe,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_19_header_fetch_parse( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_19_header_fetch_parse,
|
|
const_str_plain_header_fetch_parse,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_36c01cfdedb5ad0d076670c9a41fe1cb,
|
|
#endif
|
|
codeobj_04b015eb415fa7f67674dbe1c8692f93,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_b33e8c30bb09a3e7d162b1217d98b12d,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_1___init__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_1___init__,
|
|
const_str_plain___init__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_784fbbdb1f9410cd98cbf64359021a07,
|
|
#endif
|
|
codeobj_14598ee31fba4c6a4b6c22e1371e120b,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_169f5eb4d93dbeb30fb97c6fb0c5fe81,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_20_fold( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_20_fold,
|
|
const_str_plain_fold,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_58737ef8b85a004cac6fa3406052641a,
|
|
#endif
|
|
codeobj_831cb4a0270e26d748ce0d857262de43,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_31851c50f515f3dd5f8b34d677892eb2,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_21_fold_binary( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_21_fold_binary,
|
|
const_str_plain_fold_binary,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_b8eac67d724f7a023a73aba852ff45cb,
|
|
#endif
|
|
codeobj_157973b7d1b7f0ca080c739cbe5f0743,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_f6da59dc8e6ad1e274317d970404df77,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_22__fold( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_22__fold,
|
|
const_str_plain__fold,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_155aed70cdc0964f40d872459205541c,
|
|
#endif
|
|
codeobj_b29c2bd89e594bf3bf7f941d5e7749a6,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_2___repr__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_2___repr__,
|
|
const_str_plain___repr__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_5f9ab414b6e2a200202750726aa42bc4,
|
|
#endif
|
|
codeobj_69b928ef575d55dc868baaa8a508cadb,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_3_clone( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_3_clone,
|
|
const_str_plain_clone,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_bc33255c59945d8c4d0ebd65a2e30f1f,
|
|
#endif
|
|
codeobj_b1da9c811afb314bcf760c9aac3833bb,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_7f54747940672634641d791f37c6ca9b,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_4___setattr__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_4___setattr__,
|
|
const_str_plain___setattr__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_2352e136d7567b2bbd2a85ef33ed5426,
|
|
#endif
|
|
codeobj_839cd66ac3a05eda9ee6df6ab9ca2e87,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_5___add__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_5___add__,
|
|
const_str_plain___add__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_e74969a13e1b0f9cce84ec2a8634d0fe,
|
|
#endif
|
|
codeobj_5d5de872de7b64ca50f483b0fcfa9e22,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_deaeb17289a6b3e59e33a7cb1315c9c3,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_6__append_doc( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_6__append_doc,
|
|
const_str_plain__append_doc,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_9e5ffb803eae82eb5e6b42fe54d5845e,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_7__extend_docstrings( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_7__extend_docstrings,
|
|
const_str_plain__extend_docstrings,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
#endif
|
|
codeobj_3b296d48f3975c23a051df110421dd26,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_8_handle_defect( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_8_handle_defect,
|
|
const_str_plain_handle_defect,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_ebf3c58e25bae1b366c4df71818895c8,
|
|
#endif
|
|
codeobj_6ddc1e2151d5f3e346914f1366f11f31,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_41271331745841b556390de3e52bf661,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_future$backports$email$_policybase$$$function_9_register_defect( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_future$backports$email$_policybase$$$function_9_register_defect,
|
|
const_str_plain_register_defect,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_1c699f27f812a7e22ae977cad7823ba5,
|
|
#endif
|
|
codeobj_fe22317aca33d7f0cf6573d96790dea7,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_future$backports$email$_policybase,
|
|
const_str_digest_ee1fb42429810d3eecb211bf28eccb4a,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
static struct PyModuleDef mdef_future$backports$email$_policybase =
|
|
{
|
|
PyModuleDef_HEAD_INIT,
|
|
"future.backports.email._policybase", /* 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$_policybase )
|
|
{
|
|
#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$_policybase );
|
|
}
|
|
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._policybase: 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._policybase: Calling createModuleConstants().");
|
|
#endif
|
|
createModuleConstants();
|
|
|
|
/* The code objects used by this module are created now. */
|
|
#ifdef _NUITKA_TRACE
|
|
puts("future.backports.email._policybase: Calling createModuleCodeObjects().");
|
|
#endif
|
|
createModuleCodeObjects();
|
|
|
|
// puts( "in initfuture$backports$email$_policybase" );
|
|
|
|
// 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$_policybase = Py_InitModule4(
|
|
"future.backports.email._policybase", // 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$_policybase = PyModule_Create( &mdef_future$backports$email$_policybase );
|
|
#endif
|
|
|
|
moduledict_future$backports$email$_policybase = MODULE_DICT( module_future$backports$email$_policybase );
|
|
|
|
// Update "__package__" value to what it ought to be.
|
|
{
|
|
#if 0
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_future$backports$email$_policybase,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
module_name
|
|
);
|
|
|
|
#else
|
|
|
|
#if PYTHON_VERSION < 300
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (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$_policybase,
|
|
(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$_policybase, (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$_policybase,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
PyUnicode_Substring( module_name, 0, dot_index )
|
|
);
|
|
}
|
|
#endif
|
|
#endif
|
|
}
|
|
|
|
CHECK_OBJECT( module_future$backports$email$_policybase );
|
|
|
|
// 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_2299443fb3beca30307fd2ff4eeefb8e, module_future$backports$email$_policybase );
|
|
|
|
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$_policybase, (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$_policybase, (Nuitka_StringObject *)const_str_plain___builtins__, value );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
|
|
#endif
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
#if 0
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$_policybase, (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$_policybase, (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$_policybase, (Nuitka_StringObject *)const_str_plain___spec__, spec_value );
|
|
|
|
Py_DECREF( module_spec_class );
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
// Temp variables if any
|
|
PyObject *outline_0_var___class__ = NULL;
|
|
PyObject *outline_1_var___class__ = NULL;
|
|
PyObject *outline_2_var___class__ = NULL;
|
|
PyObject *tmp_class_creation_1__bases = NULL;
|
|
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
|
|
PyObject *tmp_class_creation_1__metaclass = NULL;
|
|
PyObject *tmp_class_creation_1__prepared = NULL;
|
|
PyObject *tmp_class_creation_2__bases = NULL;
|
|
PyObject *tmp_class_creation_2__bases_orig = NULL;
|
|
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
|
|
PyObject *tmp_class_creation_2__metaclass = NULL;
|
|
PyObject *tmp_class_creation_2__prepared = NULL;
|
|
PyObject *tmp_class_creation_3__bases = NULL;
|
|
PyObject *tmp_class_creation_3__bases_orig = NULL;
|
|
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
|
|
PyObject *tmp_class_creation_3__metaclass = NULL;
|
|
PyObject *tmp_class_creation_3__prepared = NULL;
|
|
struct Nuitka_FrameObject *frame_dcd972222be60217932bbcf7bfbc9467;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
int tmp_res;
|
|
PyObject *tmp_dictdel_dict;
|
|
PyObject *tmp_dictdel_key;
|
|
bool tmp_result;
|
|
PyObject *locals_future$backports$email$_policybase_25 = NULL;
|
|
PyObject *tmp_dictset_value;
|
|
struct Nuitka_FrameObject *frame_0648383043683232cefc93e703bbb0d8_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_0648383043683232cefc93e703bbb0d8_2 = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
PyObject *locals_future$backports$email$_policybase_119 = NULL;
|
|
struct Nuitka_FrameObject *frame_40ae7e2307f84da806ba89652148f465_3;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_40ae7e2307f84da806ba89652148f465_3 = NULL;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
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 *locals_future$backports$email$_policybase_269 = NULL;
|
|
struct Nuitka_FrameObject *frame_c43042fb7d848738c154bd50a8f63846_4;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_c43042fb7d848738c154bd50a8f63846_4 = 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;
|
|
PyObject *exception_keeper_type_8;
|
|
PyObject *exception_keeper_value_8;
|
|
PyTracebackObject *exception_keeper_tb_8;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
|
|
PyObject *exception_keeper_type_9;
|
|
PyObject *exception_keeper_value_9;
|
|
PyTracebackObject *exception_keeper_tb_9;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
|
|
|
|
// Module code.
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = const_str_digest_aa37707aaddd6994bcc24f38872ac67d;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = const_str_digest_216d14d60c884616b5574ad9ef4cd98c;
|
|
UPDATE_STRING_DICT0( moduledict_future$backports$email$_policybase, (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$_policybase, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
|
|
}
|
|
// Frame without reuse.
|
|
frame_dcd972222be60217932bbcf7bfbc9467 = MAKE_MODULE_FRAME( codeobj_dcd972222be60217932bbcf7bfbc9467, module_future$backports$email$_policybase );
|
|
|
|
// Push the new frame as the currently active one, and we should be exclusively
|
|
// owning it.
|
|
pushFrameStack( frame_dcd972222be60217932bbcf7bfbc9467 );
|
|
assert( Py_REFCNT( frame_dcd972222be60217932bbcf7bfbc9467 ) == 2 );
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_import_name_from_1;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 5;
|
|
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 = 5;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_unicode_literals, tmp_assign_source_4 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_import_name_from_2;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 6;
|
|
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_print_function );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 6;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_print_function, tmp_assign_source_5 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_import_name_from_3;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 7;
|
|
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_division );
|
|
if ( tmp_assign_source_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 7;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_division, tmp_assign_source_6 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
PyObject *tmp_import_name_from_4;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 8;
|
|
tmp_import_name_from_4 = PyImport_ImportModule("__future__");
|
|
assert( !(tmp_import_name_from_4 == NULL) );
|
|
tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_absolute_import );
|
|
if ( tmp_assign_source_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 8;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_absolute_import, tmp_assign_source_7 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
PyObject *tmp_import_name_from_5;
|
|
PyObject *tmp_name_name_1;
|
|
PyObject *tmp_globals_name_1;
|
|
PyObject *tmp_locals_name_1;
|
|
PyObject *tmp_fromlist_name_1;
|
|
PyObject *tmp_level_name_1;
|
|
tmp_name_name_1 = const_str_digest_c3c96c8ed3ec2ec3a4d3f0dfaaa3ddf2;
|
|
tmp_globals_name_1 = (PyObject *)moduledict_future$backports$email$_policybase;
|
|
tmp_locals_name_1 = Py_None;
|
|
tmp_fromlist_name_1 = const_tuple_str_plain_super_tuple;
|
|
tmp_level_name_1 = const_int_0;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 9;
|
|
tmp_import_name_from_5 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
|
|
if ( tmp_import_name_from_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 9;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_super );
|
|
Py_DECREF( tmp_import_name_from_5 );
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 9;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_super, tmp_assign_source_8 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
PyObject *tmp_import_name_from_6;
|
|
PyObject *tmp_name_name_2;
|
|
PyObject *tmp_globals_name_2;
|
|
PyObject *tmp_locals_name_2;
|
|
PyObject *tmp_fromlist_name_2;
|
|
PyObject *tmp_level_name_2;
|
|
tmp_name_name_2 = const_str_digest_c3c96c8ed3ec2ec3a4d3f0dfaaa3ddf2;
|
|
tmp_globals_name_2 = (PyObject *)moduledict_future$backports$email$_policybase;
|
|
tmp_locals_name_2 = Py_None;
|
|
tmp_fromlist_name_2 = const_tuple_str_plain_str_tuple;
|
|
tmp_level_name_2 = const_int_0;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 10;
|
|
tmp_import_name_from_6 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 );
|
|
if ( tmp_import_name_from_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 10;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_9 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_str );
|
|
Py_DECREF( tmp_import_name_from_6 );
|
|
if ( tmp_assign_source_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 10;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_str, tmp_assign_source_9 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
PyObject *tmp_import_name_from_7;
|
|
PyObject *tmp_name_name_3;
|
|
PyObject *tmp_globals_name_3;
|
|
PyObject *tmp_locals_name_3;
|
|
PyObject *tmp_fromlist_name_3;
|
|
PyObject *tmp_level_name_3;
|
|
tmp_name_name_3 = const_str_digest_118c8611317729818c37c760127e23b2;
|
|
tmp_globals_name_3 = (PyObject *)moduledict_future$backports$email$_policybase;
|
|
tmp_locals_name_3 = Py_None;
|
|
tmp_fromlist_name_3 = const_tuple_str_plain_with_metaclass_tuple;
|
|
tmp_level_name_3 = const_int_0;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 11;
|
|
tmp_import_name_from_7 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 );
|
|
if ( tmp_import_name_from_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 11;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_10 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_with_metaclass );
|
|
Py_DECREF( tmp_import_name_from_7 );
|
|
if ( tmp_assign_source_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 11;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_with_metaclass, tmp_assign_source_10 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_11;
|
|
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_abc;
|
|
tmp_globals_name_4 = (PyObject *)moduledict_future$backports$email$_policybase;
|
|
tmp_locals_name_4 = Py_None;
|
|
tmp_fromlist_name_4 = Py_None;
|
|
tmp_level_name_4 = const_int_0;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 13;
|
|
tmp_assign_source_11 = 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_11 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 13;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_abc, tmp_assign_source_11 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
PyObject *tmp_import_name_from_8;
|
|
PyObject *tmp_name_name_5;
|
|
PyObject *tmp_globals_name_5;
|
|
PyObject *tmp_locals_name_5;
|
|
PyObject *tmp_fromlist_name_5;
|
|
PyObject *tmp_level_name_5;
|
|
tmp_name_name_5 = const_str_digest_d19bf663764a0b15d5e8f7167c910e4e;
|
|
tmp_globals_name_5 = (PyObject *)moduledict_future$backports$email$_policybase;
|
|
tmp_locals_name_5 = Py_None;
|
|
tmp_fromlist_name_5 = const_tuple_str_plain_header_tuple;
|
|
tmp_level_name_5 = const_int_0;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 14;
|
|
tmp_import_name_from_8 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_5 );
|
|
if ( tmp_import_name_from_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 14;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_12 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_header );
|
|
Py_DECREF( tmp_import_name_from_8 );
|
|
if ( tmp_assign_source_12 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 14;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_header, tmp_assign_source_12 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
PyObject *tmp_import_name_from_9;
|
|
PyObject *tmp_name_name_6;
|
|
PyObject *tmp_globals_name_6;
|
|
PyObject *tmp_locals_name_6;
|
|
PyObject *tmp_fromlist_name_6;
|
|
PyObject *tmp_level_name_6;
|
|
tmp_name_name_6 = const_str_digest_d19bf663764a0b15d5e8f7167c910e4e;
|
|
tmp_globals_name_6 = (PyObject *)moduledict_future$backports$email$_policybase;
|
|
tmp_locals_name_6 = Py_None;
|
|
tmp_fromlist_name_6 = const_tuple_str_plain_charset_tuple;
|
|
tmp_level_name_6 = const_int_0;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 15;
|
|
tmp_import_name_from_9 = IMPORT_MODULE5( tmp_name_name_6, tmp_globals_name_6, tmp_locals_name_6, tmp_fromlist_name_6, tmp_level_name_6 );
|
|
if ( tmp_import_name_from_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 15;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_13 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain_charset );
|
|
Py_DECREF( tmp_import_name_from_9 );
|
|
if ( tmp_assign_source_13 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 15;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__charset, tmp_assign_source_13 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_14;
|
|
PyObject *tmp_import_name_from_10;
|
|
PyObject *tmp_name_name_7;
|
|
PyObject *tmp_globals_name_7;
|
|
PyObject *tmp_locals_name_7;
|
|
PyObject *tmp_fromlist_name_7;
|
|
PyObject *tmp_level_name_7;
|
|
tmp_name_name_7 = const_str_digest_9eedff06d8ab901b9de727334d8e66c1;
|
|
tmp_globals_name_7 = (PyObject *)moduledict_future$backports$email$_policybase;
|
|
tmp_locals_name_7 = Py_None;
|
|
tmp_fromlist_name_7 = const_tuple_str_plain__has_surrogates_tuple;
|
|
tmp_level_name_7 = const_int_0;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 16;
|
|
tmp_import_name_from_10 = IMPORT_MODULE5( tmp_name_name_7, tmp_globals_name_7, tmp_locals_name_7, tmp_fromlist_name_7, tmp_level_name_7 );
|
|
if ( tmp_import_name_from_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 16;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_14 = IMPORT_NAME( tmp_import_name_from_10, const_str_plain__has_surrogates );
|
|
Py_DECREF( tmp_import_name_from_10 );
|
|
if ( tmp_assign_source_14 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 16;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__has_surrogates, tmp_assign_source_14 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
tmp_assign_source_15 = LIST_COPY( const_list_str_plain_Policy_str_plain_Compat32_str_plain_compat32_list );
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain___all__, tmp_assign_source_15 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_16;
|
|
PyObject *tmp_dircall_arg1_1;
|
|
tmp_dircall_arg1_1 = const_tuple_type_object_tuple;
|
|
Py_INCREF( tmp_dircall_arg1_1 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
|
|
tmp_assign_source_16 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_16 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
assert( tmp_class_creation_1__bases == NULL );
|
|
tmp_class_creation_1__bases = tmp_assign_source_16;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_17;
|
|
tmp_assign_source_17 = PyDict_New();
|
|
assert( tmp_class_creation_1__class_decl_dict == NULL );
|
|
tmp_class_creation_1__class_decl_dict = tmp_assign_source_17;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_18;
|
|
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 = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_1;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_1;
|
|
}
|
|
condexpr_true_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
tmp_key_name_2 = const_str_plain_metaclass;
|
|
tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 );
|
|
if ( tmp_metaclass_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
goto condexpr_end_1;
|
|
condexpr_false_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_2;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_2;
|
|
}
|
|
condexpr_true_2:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_subscribed_name_1 = tmp_class_creation_1__bases;
|
|
tmp_subscript_name_1 = const_int_0;
|
|
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
|
if ( tmp_type_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 );
|
|
Py_DECREF( tmp_type_arg_1 );
|
|
if ( tmp_metaclass_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
goto condexpr_end_2;
|
|
condexpr_false_2:;
|
|
tmp_metaclass_name_1 = (PyObject *)&PyType_Type;
|
|
Py_INCREF( tmp_metaclass_name_1 );
|
|
condexpr_end_2:;
|
|
condexpr_end_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_bases_name_1 = tmp_class_creation_1__bases;
|
|
tmp_assign_source_18 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
|
|
Py_DECREF( tmp_metaclass_name_1 );
|
|
if ( tmp_assign_source_18 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
assert( tmp_class_creation_1__metaclass == NULL );
|
|
tmp_class_creation_1__metaclass = tmp_assign_source_18;
|
|
|
|
}
|
|
{
|
|
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 = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
|
|
tmp_dictdel_key = const_str_plain_metaclass;
|
|
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_source_name_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_source_name_1 = tmp_class_creation_1__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_1, const_str_plain___prepare__ );
|
|
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
PyObject *tmp_assign_source_19;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_name_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_kw_name_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_source_name_2 = tmp_class_creation_1__metaclass;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___prepare__ );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_tuple_element_1 = const_str_plain__PolicyBase;
|
|
tmp_args_name_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_1 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 25;
|
|
tmp_assign_source_19 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_name_1 );
|
|
if ( tmp_assign_source_19 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_19;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_5;
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_source_name_3;
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_source_name_3 = tmp_class_creation_1__prepared;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_3, const_str_plain___getitem__ );
|
|
tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False;
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_raise_value_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_tuple_element_2;
|
|
PyObject *tmp_getattr_target_1;
|
|
PyObject *tmp_getattr_attr_1;
|
|
PyObject *tmp_getattr_default_1;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_type_arg_2;
|
|
tmp_raise_type_1 = PyExc_TypeError;
|
|
tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
|
|
tmp_getattr_attr_1 = const_str_plain___name__;
|
|
tmp_getattr_default_1 = const_str_angle_metaclass;
|
|
tmp_tuple_element_2 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
|
|
if ( tmp_tuple_element_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_right_name_1 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_2 );
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_type_arg_2 = tmp_class_creation_1__prepared;
|
|
tmp_source_name_4 = BUILTIN_TYPE1( tmp_type_arg_2 );
|
|
assert( !(tmp_source_name_4 == NULL) );
|
|
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_4 );
|
|
if ( tmp_tuple_element_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_2 );
|
|
tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_raise_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_value = tmp_raise_value_1;
|
|
exception_lineno = 25;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
PyObject *tmp_assign_source_20;
|
|
tmp_assign_source_20 = PyDict_New();
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_20;
|
|
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_21;
|
|
{
|
|
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$_policybase_25 = tmp_set_locals_1;
|
|
Py_INCREF( tmp_set_locals_1 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_2299443fb3beca30307fd2ff4eeefb8e;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_25, 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 = 25;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_digest_0ce380070c0bfb8f9bba27e2446be5b9;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_25, const_str_plain___doc__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain__PolicyBase;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_25, 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 = 25;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_0648383043683232cefc93e703bbb0d8_2, codeobj_0648383043683232cefc93e703bbb0d8, module_future$backports$email$_policybase, sizeof(void *) );
|
|
frame_0648383043683232cefc93e703bbb0d8_2 = cache_frame_0648383043683232cefc93e703bbb0d8_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_0648383043683232cefc93e703bbb0d8_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_0648383043683232cefc93e703bbb0d8_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_1___init__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_25, 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 = 48;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_2___repr__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_25, const_str_plain___repr__, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 62;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_3_clone( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_25, const_str_plain_clone, 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 = 67;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_4___setattr__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_25, const_str_plain___setattr__, 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 = 85;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_5___add__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_25, const_str_plain___add__, 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 = 92;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_0648383043683232cefc93e703bbb0d8_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_0648383043683232cefc93e703bbb0d8_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_0648383043683232cefc93e703bbb0d8_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_0648383043683232cefc93e703bbb0d8_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_0648383043683232cefc93e703bbb0d8_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_0648383043683232cefc93e703bbb0d8_2,
|
|
type_description_2,
|
|
outline_0_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_0648383043683232cefc93e703bbb0d8_2 == cache_frame_0648383043683232cefc93e703bbb0d8_2 )
|
|
{
|
|
Py_DECREF( frame_0648383043683232cefc93e703bbb0d8_2 );
|
|
}
|
|
cache_frame_0648383043683232cefc93e703bbb0d8_2 = NULL;
|
|
|
|
assertFrameObject( frame_0648383043683232cefc93e703bbb0d8_2 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto nested_frame_exit_1;
|
|
|
|
frame_no_exception_1:;
|
|
goto skip_nested_handling_1;
|
|
nested_frame_exit_1:;
|
|
|
|
goto try_except_handler_3;
|
|
skip_nested_handling_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_6;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_compexpr_left_1 = tmp_class_creation_1__bases;
|
|
tmp_compexpr_right_1 = const_tuple_type_object_tuple;
|
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_4;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_4;
|
|
}
|
|
branch_yes_4:;
|
|
{
|
|
tmp_dictset_value = const_tuple_type_object_tuple;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_25, 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 = 25;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
branch_no_4:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_22;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_args_name_2;
|
|
PyObject *tmp_tuple_element_3;
|
|
PyObject *tmp_kw_name_2;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_called_name_2 = tmp_class_creation_1__metaclass;
|
|
tmp_tuple_element_3 = const_str_plain__PolicyBase;
|
|
tmp_args_name_2 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_3 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_3 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_3 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_3 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_3 );
|
|
tmp_tuple_element_3 = locals_future$backports$email$_policybase_25;
|
|
Py_INCREF( tmp_tuple_element_3 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_3 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 25;
|
|
tmp_assign_source_22 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 );
|
|
Py_DECREF( tmp_args_name_2 );
|
|
if ( tmp_assign_source_22 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( outline_0_var___class__ == NULL );
|
|
outline_0_var___class__ = tmp_assign_source_22;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_0_var___class__ );
|
|
tmp_assign_source_21 = outline_0_var___class__;
|
|
Py_INCREF( tmp_assign_source_21 );
|
|
goto try_return_handler_3;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
Py_DECREF( locals_future$backports$email$_policybase_25 );
|
|
locals_future$backports$email$_policybase_25 = NULL;
|
|
}
|
|
{
|
|
goto try_return_handler_2;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_DECREF( locals_future$backports$email$_policybase_25 );
|
|
locals_future$backports$email$_policybase_25 = NULL;
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
// End of try:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)outline_0_var___class__ );
|
|
Py_DECREF( outline_0_var___class__ );
|
|
outline_0_var___class__ = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_1;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_1:;
|
|
exception_lineno = 25;
|
|
goto try_except_handler_1;
|
|
outline_result_1:;
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__PolicyBase, tmp_assign_source_21 );
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_class_creation_1__bases );
|
|
tmp_class_creation_1__bases = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_1__class_decl_dict );
|
|
tmp_class_creation_1__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_1__metaclass );
|
|
tmp_class_creation_1__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_1__prepared );
|
|
tmp_class_creation_1__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
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_23;
|
|
tmp_assign_source_23 = MAKE_FUNCTION_future$backports$email$_policybase$$$function_6__append_doc( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__append_doc, tmp_assign_source_23 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_24;
|
|
tmp_assign_source_24 = MAKE_FUNCTION_future$backports$email$_policybase$$$function_7__extend_docstrings( );
|
|
|
|
|
|
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__extend_docstrings, tmp_assign_source_24 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_25;
|
|
PyObject *tmp_tuple_element_4;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_source_name_5;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_mvar_value_3;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_with_metaclass );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_with_metaclass );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "with_metaclass" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_called_name_3 = tmp_mvar_value_1;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_abc );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_abc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "abc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_source_name_5 = tmp_mvar_value_2;
|
|
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_ABCMeta );
|
|
if ( tmp_args_element_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__PolicyBase );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__PolicyBase );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_PolicyBase" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_args_element_name_2 = tmp_mvar_value_3;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 119;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_tuple_element_4 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_tuple_element_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_assign_source_25 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_assign_source_25, 0, tmp_tuple_element_4 );
|
|
assert( tmp_class_creation_2__bases_orig == NULL );
|
|
tmp_class_creation_2__bases_orig = tmp_assign_source_25;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_26;
|
|
PyObject *tmp_dircall_arg1_2;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
|
|
tmp_dircall_arg1_2 = tmp_class_creation_2__bases_orig;
|
|
Py_INCREF( tmp_dircall_arg1_2 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
|
|
tmp_assign_source_26 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_26 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
assert( tmp_class_creation_2__bases == NULL );
|
|
tmp_class_creation_2__bases = tmp_assign_source_26;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_27;
|
|
tmp_assign_source_27 = PyDict_New();
|
|
assert( tmp_class_creation_2__class_decl_dict == NULL );
|
|
tmp_class_creation_2__class_decl_dict = tmp_assign_source_27;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_28;
|
|
PyObject *tmp_metaclass_name_2;
|
|
nuitka_bool tmp_condition_result_7;
|
|
PyObject *tmp_key_name_4;
|
|
PyObject *tmp_dict_name_4;
|
|
PyObject *tmp_dict_name_5;
|
|
PyObject *tmp_key_name_5;
|
|
nuitka_bool tmp_condition_result_8;
|
|
int tmp_truth_name_2;
|
|
PyObject *tmp_type_arg_3;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
PyObject *tmp_bases_name_2;
|
|
tmp_key_name_4 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_dict_name_4 = tmp_class_creation_2__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_4, tmp_key_name_4 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_3;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_3;
|
|
}
|
|
condexpr_true_3:;
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_dict_name_5 = tmp_class_creation_2__class_decl_dict;
|
|
tmp_key_name_5 = const_str_plain_metaclass;
|
|
tmp_metaclass_name_2 = DICT_GET_ITEM( tmp_dict_name_5, tmp_key_name_5 );
|
|
if ( tmp_metaclass_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
goto condexpr_end_3;
|
|
condexpr_false_3:;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_truth_name_2 = CHECK_IF_TRUE( tmp_class_creation_2__bases );
|
|
if ( tmp_truth_name_2 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_condition_result_8 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_4;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_4;
|
|
}
|
|
condexpr_true_4:;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_subscribed_name_2 = tmp_class_creation_2__bases;
|
|
tmp_subscript_name_2 = const_int_0;
|
|
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 );
|
|
if ( tmp_type_arg_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_metaclass_name_2 = BUILTIN_TYPE1( tmp_type_arg_3 );
|
|
Py_DECREF( tmp_type_arg_3 );
|
|
if ( tmp_metaclass_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
goto condexpr_end_4;
|
|
condexpr_false_4:;
|
|
tmp_metaclass_name_2 = (PyObject *)&PyType_Type;
|
|
Py_INCREF( tmp_metaclass_name_2 );
|
|
condexpr_end_4:;
|
|
condexpr_end_3:;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_bases_name_2 = tmp_class_creation_2__bases;
|
|
tmp_assign_source_28 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 );
|
|
Py_DECREF( tmp_metaclass_name_2 );
|
|
if ( tmp_assign_source_28 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
assert( tmp_class_creation_2__metaclass == NULL );
|
|
tmp_class_creation_2__metaclass = tmp_assign_source_28;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_9;
|
|
PyObject *tmp_key_name_6;
|
|
PyObject *tmp_dict_name_6;
|
|
tmp_key_name_6 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_dict_name_6 = tmp_class_creation_2__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_6, tmp_key_name_6 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_5;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_5;
|
|
}
|
|
branch_yes_5:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
|
|
tmp_dictdel_key = const_str_plain_metaclass;
|
|
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
branch_no_5:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_10;
|
|
PyObject *tmp_source_name_6;
|
|
CHECK_OBJECT( tmp_class_creation_2__metaclass );
|
|
tmp_source_name_6 = tmp_class_creation_2__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_6, const_str_plain___prepare__ );
|
|
tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_6;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_6;
|
|
}
|
|
branch_yes_6:;
|
|
{
|
|
PyObject *tmp_assign_source_29;
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_source_name_7;
|
|
PyObject *tmp_args_name_3;
|
|
PyObject *tmp_tuple_element_5;
|
|
PyObject *tmp_kw_name_3;
|
|
CHECK_OBJECT( tmp_class_creation_2__metaclass );
|
|
tmp_source_name_7 = tmp_class_creation_2__metaclass;
|
|
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain___prepare__ );
|
|
if ( tmp_called_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_tuple_element_5 = const_str_plain_Policy;
|
|
tmp_args_name_3 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_5 );
|
|
PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_5 );
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_tuple_element_5 = tmp_class_creation_2__bases;
|
|
Py_INCREF( tmp_tuple_element_5 );
|
|
PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_5 );
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 119;
|
|
tmp_assign_source_29 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_3, tmp_kw_name_3 );
|
|
Py_DECREF( tmp_called_name_4 );
|
|
Py_DECREF( tmp_args_name_3 );
|
|
if ( tmp_assign_source_29 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
assert( tmp_class_creation_2__prepared == NULL );
|
|
tmp_class_creation_2__prepared = tmp_assign_source_29;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_11;
|
|
PyObject *tmp_operand_name_2;
|
|
PyObject *tmp_source_name_8;
|
|
CHECK_OBJECT( tmp_class_creation_2__prepared );
|
|
tmp_source_name_8 = tmp_class_creation_2__prepared;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_8, const_str_plain___getitem__ );
|
|
tmp_operand_name_2 = ( tmp_res != 0 ) ? Py_True : Py_False;
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_condition_result_11 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_7;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_7;
|
|
}
|
|
branch_yes_7:;
|
|
{
|
|
PyObject *tmp_raise_type_2;
|
|
PyObject *tmp_raise_value_2;
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_right_name_2;
|
|
PyObject *tmp_tuple_element_6;
|
|
PyObject *tmp_getattr_target_2;
|
|
PyObject *tmp_getattr_attr_2;
|
|
PyObject *tmp_getattr_default_2;
|
|
PyObject *tmp_source_name_9;
|
|
PyObject *tmp_type_arg_4;
|
|
tmp_raise_type_2 = PyExc_TypeError;
|
|
tmp_left_name_2 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
CHECK_OBJECT( tmp_class_creation_2__metaclass );
|
|
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
|
|
tmp_getattr_attr_2 = const_str_plain___name__;
|
|
tmp_getattr_default_2 = const_str_angle_metaclass;
|
|
tmp_tuple_element_6 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 );
|
|
if ( tmp_tuple_element_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_right_name_2 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_6 );
|
|
CHECK_OBJECT( tmp_class_creation_2__prepared );
|
|
tmp_type_arg_4 = tmp_class_creation_2__prepared;
|
|
tmp_source_name_9 = BUILTIN_TYPE1( tmp_type_arg_4 );
|
|
assert( !(tmp_source_name_9 == NULL) );
|
|
tmp_tuple_element_6 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_9 );
|
|
if ( tmp_tuple_element_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_6 );
|
|
tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
if ( tmp_raise_value_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
exception_type = tmp_raise_type_2;
|
|
Py_INCREF( tmp_raise_type_2 );
|
|
exception_value = tmp_raise_value_2;
|
|
exception_lineno = 119;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
branch_no_7:;
|
|
}
|
|
goto branch_end_6;
|
|
branch_no_6:;
|
|
{
|
|
PyObject *tmp_assign_source_30;
|
|
tmp_assign_source_30 = PyDict_New();
|
|
assert( tmp_class_creation_2__prepared == NULL );
|
|
tmp_class_creation_2__prepared = tmp_assign_source_30;
|
|
|
|
}
|
|
branch_end_6:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_31;
|
|
{
|
|
PyObject *tmp_set_locals_2;
|
|
CHECK_OBJECT( tmp_class_creation_2__prepared );
|
|
tmp_set_locals_2 = tmp_class_creation_2__prepared;
|
|
locals_future$backports$email$_policybase_119 = tmp_set_locals_2;
|
|
Py_INCREF( tmp_set_locals_2 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_2299443fb3beca30307fd2ff4eeefb8e;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, 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 = 119;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_digest_73bac168e82e2a71e35fd63d259efa50;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain___doc__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_Policy;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, 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 = 119;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_40ae7e2307f84da806ba89652148f465_3, codeobj_40ae7e2307f84da806ba89652148f465, module_future$backports$email$_policybase, sizeof(void *) );
|
|
frame_40ae7e2307f84da806ba89652148f465_3 = cache_frame_40ae7e2307f84da806ba89652148f465_3;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_40ae7e2307f84da806ba89652148f465_3 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_40ae7e2307f84da806ba89652148f465_3 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
tmp_dictset_value = Py_False;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain_raise_on_defect, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 161;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_newline;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain_linesep, 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_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_8bit;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain_cte_type, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 163;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_int_pos_78;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain_max_line_length, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_8_handle_defect( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain_handle_defect, 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 = 166;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_9_register_defect( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain_register_defect, 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 = 185;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_10_header_max_count( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain_header_max_count, 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 = 198;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_args_element_name_3;
|
|
tmp_called_instance_1 = PyObject_GetItem( locals_future$backports$email$_policybase_119, const_str_plain_abc );
|
|
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_abc );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_abc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "abc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 217;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
|
|
tmp_called_instance_1 = tmp_mvar_value_4;
|
|
Py_INCREF( tmp_called_instance_1 );
|
|
}
|
|
}
|
|
|
|
tmp_args_element_name_3 = MAKE_FUNCTION_future$backports$email$_policybase$$$function_11_header_source_parse( );
|
|
|
|
|
|
|
|
frame_40ae7e2307f84da806ba89652148f465_3->m_frame.f_lineno = 217;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_abstractmethod, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
Py_DECREF( tmp_args_element_name_3 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 217;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain_header_source_parse, 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 = 217;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_2;
|
|
PyObject *tmp_mvar_value_5;
|
|
PyObject *tmp_args_element_name_4;
|
|
tmp_called_instance_2 = PyObject_GetItem( locals_future$backports$email$_policybase_119, const_str_plain_abc );
|
|
|
|
if ( tmp_called_instance_2 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_abc );
|
|
|
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_abc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_5 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "abc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 227;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
|
|
tmp_called_instance_2 = tmp_mvar_value_5;
|
|
Py_INCREF( tmp_called_instance_2 );
|
|
}
|
|
}
|
|
|
|
tmp_args_element_name_4 = MAKE_FUNCTION_future$backports$email$_policybase$$$function_12_header_store_parse( );
|
|
|
|
|
|
|
|
frame_40ae7e2307f84da806ba89652148f465_3->m_frame.f_lineno = 227;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4 };
|
|
tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_abstractmethod, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_instance_2 );
|
|
Py_DECREF( tmp_args_element_name_4 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 227;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain_header_store_parse, 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 = 227;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_3;
|
|
PyObject *tmp_mvar_value_6;
|
|
PyObject *tmp_args_element_name_5;
|
|
tmp_called_instance_3 = PyObject_GetItem( locals_future$backports$email$_policybase_119, const_str_plain_abc );
|
|
|
|
if ( tmp_called_instance_3 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_abc );
|
|
|
|
if (unlikely( tmp_mvar_value_6 == NULL ))
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_abc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_6 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "abc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 234;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
|
|
tmp_called_instance_3 = tmp_mvar_value_6;
|
|
Py_INCREF( tmp_called_instance_3 );
|
|
}
|
|
}
|
|
|
|
tmp_args_element_name_5 = MAKE_FUNCTION_future$backports$email$_policybase$$$function_13_header_fetch_parse( );
|
|
|
|
|
|
|
|
frame_40ae7e2307f84da806ba89652148f465_3->m_frame.f_lineno = 234;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5 };
|
|
tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_abstractmethod, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_instance_3 );
|
|
Py_DECREF( tmp_args_element_name_5 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 234;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain_header_fetch_parse, 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 = 234;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_4;
|
|
PyObject *tmp_mvar_value_7;
|
|
PyObject *tmp_args_element_name_6;
|
|
tmp_called_instance_4 = PyObject_GetItem( locals_future$backports$email$_policybase_119, const_str_plain_abc );
|
|
|
|
if ( tmp_called_instance_4 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_abc );
|
|
|
|
if (unlikely( tmp_mvar_value_7 == NULL ))
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_abc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_7 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "abc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 245;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
|
|
tmp_called_instance_4 = tmp_mvar_value_7;
|
|
Py_INCREF( tmp_called_instance_4 );
|
|
}
|
|
}
|
|
|
|
tmp_args_element_name_6 = MAKE_FUNCTION_future$backports$email$_policybase$$$function_14_fold( );
|
|
|
|
|
|
|
|
frame_40ae7e2307f84da806ba89652148f465_3->m_frame.f_lineno = 245;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_6 };
|
|
tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_abstractmethod, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_instance_4 );
|
|
Py_DECREF( tmp_args_element_name_6 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 245;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain_fold, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 245;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_5;
|
|
PyObject *tmp_mvar_value_8;
|
|
PyObject *tmp_args_element_name_7;
|
|
tmp_called_instance_5 = PyObject_GetItem( locals_future$backports$email$_policybase_119, const_str_plain_abc );
|
|
|
|
if ( tmp_called_instance_5 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_abc );
|
|
|
|
if (unlikely( tmp_mvar_value_8 == NULL ))
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_abc );
|
|
}
|
|
|
|
if ( tmp_mvar_value_8 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "abc" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 257;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
|
|
tmp_called_instance_5 = tmp_mvar_value_8;
|
|
Py_INCREF( tmp_called_instance_5 );
|
|
}
|
|
}
|
|
|
|
tmp_args_element_name_7 = MAKE_FUNCTION_future$backports$email$_policybase$$$function_15_fold_binary( );
|
|
|
|
|
|
|
|
frame_40ae7e2307f84da806ba89652148f465_3->m_frame.f_lineno = 257;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_7 };
|
|
tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_5, const_str_plain_abstractmethod, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_instance_5 );
|
|
Py_DECREF( tmp_args_element_name_7 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 257;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, const_str_plain_fold_binary, 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 = 257;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_40ae7e2307f84da806ba89652148f465_3 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_exception_exit_3:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_40ae7e2307f84da806ba89652148f465_3 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_40ae7e2307f84da806ba89652148f465_3, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_40ae7e2307f84da806ba89652148f465_3->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_40ae7e2307f84da806ba89652148f465_3, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_40ae7e2307f84da806ba89652148f465_3,
|
|
type_description_2,
|
|
outline_1_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_40ae7e2307f84da806ba89652148f465_3 == cache_frame_40ae7e2307f84da806ba89652148f465_3 )
|
|
{
|
|
Py_DECREF( frame_40ae7e2307f84da806ba89652148f465_3 );
|
|
}
|
|
cache_frame_40ae7e2307f84da806ba89652148f465_3 = NULL;
|
|
|
|
assertFrameObject( frame_40ae7e2307f84da806ba89652148f465_3 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto nested_frame_exit_2;
|
|
|
|
frame_no_exception_2:;
|
|
goto skip_nested_handling_2;
|
|
nested_frame_exit_2:;
|
|
|
|
goto try_except_handler_6;
|
|
skip_nested_handling_2:;
|
|
{
|
|
nuitka_bool tmp_condition_result_12;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_compexpr_left_2 = tmp_class_creation_2__bases;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
|
|
tmp_compexpr_right_2 = tmp_class_creation_2__bases_orig;
|
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
tmp_condition_result_12 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_8;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_8;
|
|
}
|
|
branch_yes_8:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
|
|
tmp_dictset_value = tmp_class_creation_2__bases_orig;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_119, 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 = 119;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
}
|
|
branch_no_8:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_32;
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_args_name_4;
|
|
PyObject *tmp_tuple_element_7;
|
|
PyObject *tmp_kw_name_4;
|
|
CHECK_OBJECT( tmp_class_creation_2__metaclass );
|
|
tmp_called_name_5 = tmp_class_creation_2__metaclass;
|
|
tmp_tuple_element_7 = const_str_plain_Policy;
|
|
tmp_args_name_4 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_7 );
|
|
PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_7 );
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_tuple_element_7 = tmp_class_creation_2__bases;
|
|
Py_INCREF( tmp_tuple_element_7 );
|
|
PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_7 );
|
|
tmp_tuple_element_7 = locals_future$backports$email$_policybase_119;
|
|
Py_INCREF( tmp_tuple_element_7 );
|
|
PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_7 );
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 119;
|
|
tmp_assign_source_32 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_4, tmp_kw_name_4 );
|
|
Py_DECREF( tmp_args_name_4 );
|
|
if ( tmp_assign_source_32 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
assert( outline_1_var___class__ == NULL );
|
|
outline_1_var___class__ = tmp_assign_source_32;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_1_var___class__ );
|
|
tmp_assign_source_31 = outline_1_var___class__;
|
|
Py_INCREF( tmp_assign_source_31 );
|
|
goto try_return_handler_6;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_6:;
|
|
{
|
|
Py_DECREF( locals_future$backports$email$_policybase_119 );
|
|
locals_future$backports$email$_policybase_119 = NULL;
|
|
}
|
|
{
|
|
goto try_return_handler_5;
|
|
}
|
|
// 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_DECREF( locals_future$backports$email$_policybase_119 );
|
|
locals_future$backports$email$_policybase_119 = 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:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_5:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)outline_1_var___class__ );
|
|
Py_DECREF( outline_1_var___class__ );
|
|
outline_1_var___class__ = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_2;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_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;
|
|
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_5;
|
|
exception_value = exception_keeper_value_5;
|
|
exception_tb = exception_keeper_tb_5;
|
|
exception_lineno = exception_keeper_lineno_5;
|
|
|
|
goto outline_exception_2;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_2:;
|
|
exception_lineno = 119;
|
|
goto try_except_handler_4;
|
|
outline_result_2:;
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_Policy, tmp_assign_source_31 );
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
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_class_creation_2__bases );
|
|
tmp_class_creation_2__bases = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_2__class_decl_dict );
|
|
tmp_class_creation_2__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_2__metaclass );
|
|
tmp_class_creation_2__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_2__prepared );
|
|
tmp_class_creation_2__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_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_2:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__bases );
|
|
Py_DECREF( tmp_class_creation_2__bases );
|
|
tmp_class_creation_2__bases = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__class_decl_dict );
|
|
Py_DECREF( tmp_class_creation_2__class_decl_dict );
|
|
tmp_class_creation_2__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__metaclass );
|
|
Py_DECREF( tmp_class_creation_2__metaclass );
|
|
tmp_class_creation_2__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__prepared );
|
|
Py_DECREF( tmp_class_creation_2__prepared );
|
|
tmp_class_creation_2__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_33;
|
|
PyObject *tmp_tuple_element_8;
|
|
PyObject *tmp_mvar_value_9;
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_Policy );
|
|
|
|
if (unlikely( tmp_mvar_value_9 == NULL ))
|
|
{
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Policy );
|
|
}
|
|
|
|
if ( tmp_mvar_value_9 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Policy" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
|
|
tmp_tuple_element_8 = tmp_mvar_value_9;
|
|
tmp_assign_source_33 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_8 );
|
|
PyTuple_SET_ITEM( tmp_assign_source_33, 0, tmp_tuple_element_8 );
|
|
assert( tmp_class_creation_3__bases_orig == NULL );
|
|
tmp_class_creation_3__bases_orig = tmp_assign_source_33;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_34;
|
|
PyObject *tmp_dircall_arg1_3;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
|
|
tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig;
|
|
Py_INCREF( tmp_dircall_arg1_3 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
|
|
tmp_assign_source_34 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_34 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
assert( tmp_class_creation_3__bases == NULL );
|
|
tmp_class_creation_3__bases = tmp_assign_source_34;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_35;
|
|
tmp_assign_source_35 = PyDict_New();
|
|
assert( tmp_class_creation_3__class_decl_dict == NULL );
|
|
tmp_class_creation_3__class_decl_dict = tmp_assign_source_35;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_36;
|
|
PyObject *tmp_metaclass_name_3;
|
|
nuitka_bool tmp_condition_result_13;
|
|
PyObject *tmp_key_name_7;
|
|
PyObject *tmp_dict_name_7;
|
|
PyObject *tmp_dict_name_8;
|
|
PyObject *tmp_key_name_8;
|
|
nuitka_bool tmp_condition_result_14;
|
|
int tmp_truth_name_3;
|
|
PyObject *tmp_type_arg_5;
|
|
PyObject *tmp_subscribed_name_3;
|
|
PyObject *tmp_subscript_name_3;
|
|
PyObject *tmp_bases_name_3;
|
|
tmp_key_name_7 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_dict_name_7 = tmp_class_creation_3__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_7, tmp_key_name_7 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
tmp_condition_result_13 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_5;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_5;
|
|
}
|
|
condexpr_true_5:;
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_dict_name_8 = tmp_class_creation_3__class_decl_dict;
|
|
tmp_key_name_8 = const_str_plain_metaclass;
|
|
tmp_metaclass_name_3 = DICT_GET_ITEM( tmp_dict_name_8, tmp_key_name_8 );
|
|
if ( tmp_metaclass_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
goto condexpr_end_5;
|
|
condexpr_false_5:;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_truth_name_3 = CHECK_IF_TRUE( tmp_class_creation_3__bases );
|
|
if ( tmp_truth_name_3 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
tmp_condition_result_14 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_6;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_6;
|
|
}
|
|
condexpr_true_6:;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_subscribed_name_3 = tmp_class_creation_3__bases;
|
|
tmp_subscript_name_3 = const_int_0;
|
|
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 );
|
|
if ( tmp_type_arg_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
tmp_metaclass_name_3 = BUILTIN_TYPE1( tmp_type_arg_5 );
|
|
Py_DECREF( tmp_type_arg_5 );
|
|
if ( tmp_metaclass_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
goto condexpr_end_6;
|
|
condexpr_false_6:;
|
|
tmp_metaclass_name_3 = (PyObject *)&PyType_Type;
|
|
Py_INCREF( tmp_metaclass_name_3 );
|
|
condexpr_end_6:;
|
|
condexpr_end_5:;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_bases_name_3 = tmp_class_creation_3__bases;
|
|
tmp_assign_source_36 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 );
|
|
Py_DECREF( tmp_metaclass_name_3 );
|
|
if ( tmp_assign_source_36 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
assert( tmp_class_creation_3__metaclass == NULL );
|
|
tmp_class_creation_3__metaclass = tmp_assign_source_36;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_15;
|
|
PyObject *tmp_key_name_9;
|
|
PyObject *tmp_dict_name_9;
|
|
tmp_key_name_9 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_dict_name_9 = tmp_class_creation_3__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_9, tmp_key_name_9 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
tmp_condition_result_15 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_9;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_9;
|
|
}
|
|
branch_yes_9:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
|
|
tmp_dictdel_key = const_str_plain_metaclass;
|
|
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
branch_no_9:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_16;
|
|
PyObject *tmp_source_name_10;
|
|
CHECK_OBJECT( tmp_class_creation_3__metaclass );
|
|
tmp_source_name_10 = tmp_class_creation_3__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_10, const_str_plain___prepare__ );
|
|
tmp_condition_result_16 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_10;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_10;
|
|
}
|
|
branch_yes_10:;
|
|
{
|
|
PyObject *tmp_assign_source_37;
|
|
PyObject *tmp_called_name_6;
|
|
PyObject *tmp_source_name_11;
|
|
PyObject *tmp_args_name_5;
|
|
PyObject *tmp_tuple_element_9;
|
|
PyObject *tmp_kw_name_5;
|
|
CHECK_OBJECT( tmp_class_creation_3__metaclass );
|
|
tmp_source_name_11 = tmp_class_creation_3__metaclass;
|
|
tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain___prepare__ );
|
|
if ( tmp_called_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
tmp_tuple_element_9 = const_str_plain_Compat32;
|
|
tmp_args_name_5 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_9 );
|
|
PyTuple_SET_ITEM( tmp_args_name_5, 0, tmp_tuple_element_9 );
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_tuple_element_9 = tmp_class_creation_3__bases;
|
|
Py_INCREF( tmp_tuple_element_9 );
|
|
PyTuple_SET_ITEM( tmp_args_name_5, 1, tmp_tuple_element_9 );
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_kw_name_5 = tmp_class_creation_3__class_decl_dict;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 269;
|
|
tmp_assign_source_37 = CALL_FUNCTION( tmp_called_name_6, tmp_args_name_5, tmp_kw_name_5 );
|
|
Py_DECREF( tmp_called_name_6 );
|
|
Py_DECREF( tmp_args_name_5 );
|
|
if ( tmp_assign_source_37 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
assert( tmp_class_creation_3__prepared == NULL );
|
|
tmp_class_creation_3__prepared = tmp_assign_source_37;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_17;
|
|
PyObject *tmp_operand_name_3;
|
|
PyObject *tmp_source_name_12;
|
|
CHECK_OBJECT( tmp_class_creation_3__prepared );
|
|
tmp_source_name_12 = tmp_class_creation_3__prepared;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_12, const_str_plain___getitem__ );
|
|
tmp_operand_name_3 = ( tmp_res != 0 ) ? Py_True : Py_False;
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
tmp_condition_result_17 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_11;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_11;
|
|
}
|
|
branch_yes_11:;
|
|
{
|
|
PyObject *tmp_raise_type_3;
|
|
PyObject *tmp_raise_value_3;
|
|
PyObject *tmp_left_name_3;
|
|
PyObject *tmp_right_name_3;
|
|
PyObject *tmp_tuple_element_10;
|
|
PyObject *tmp_getattr_target_3;
|
|
PyObject *tmp_getattr_attr_3;
|
|
PyObject *tmp_getattr_default_3;
|
|
PyObject *tmp_source_name_13;
|
|
PyObject *tmp_type_arg_6;
|
|
tmp_raise_type_3 = PyExc_TypeError;
|
|
tmp_left_name_3 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
CHECK_OBJECT( tmp_class_creation_3__metaclass );
|
|
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
|
|
tmp_getattr_attr_3 = const_str_plain___name__;
|
|
tmp_getattr_default_3 = const_str_angle_metaclass;
|
|
tmp_tuple_element_10 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 );
|
|
if ( tmp_tuple_element_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
tmp_right_name_3 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_10 );
|
|
CHECK_OBJECT( tmp_class_creation_3__prepared );
|
|
tmp_type_arg_6 = tmp_class_creation_3__prepared;
|
|
tmp_source_name_13 = BUILTIN_TYPE1( tmp_type_arg_6 );
|
|
assert( !(tmp_source_name_13 == NULL) );
|
|
tmp_tuple_element_10 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_13 );
|
|
if ( tmp_tuple_element_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_3 );
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_10 );
|
|
tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 );
|
|
Py_DECREF( tmp_right_name_3 );
|
|
if ( tmp_raise_value_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
exception_type = tmp_raise_type_3;
|
|
Py_INCREF( tmp_raise_type_3 );
|
|
exception_value = tmp_raise_value_3;
|
|
exception_lineno = 269;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
branch_no_11:;
|
|
}
|
|
goto branch_end_10;
|
|
branch_no_10:;
|
|
{
|
|
PyObject *tmp_assign_source_38;
|
|
tmp_assign_source_38 = PyDict_New();
|
|
assert( tmp_class_creation_3__prepared == NULL );
|
|
tmp_class_creation_3__prepared = tmp_assign_source_38;
|
|
|
|
}
|
|
branch_end_10:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_39;
|
|
PyObject *tmp_called_name_7;
|
|
PyObject *tmp_mvar_value_10;
|
|
PyObject *tmp_args_element_name_8;
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain__extend_docstrings );
|
|
|
|
if (unlikely( tmp_mvar_value_10 == NULL ))
|
|
{
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__extend_docstrings );
|
|
}
|
|
|
|
if ( tmp_mvar_value_10 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_extend_docstrings" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 268;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
|
|
tmp_called_name_7 = tmp_mvar_value_10;
|
|
{
|
|
PyObject *tmp_set_locals_3;
|
|
CHECK_OBJECT( tmp_class_creation_3__prepared );
|
|
tmp_set_locals_3 = tmp_class_creation_3__prepared;
|
|
locals_future$backports$email$_policybase_269 = tmp_set_locals_3;
|
|
Py_INCREF( tmp_set_locals_3 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_2299443fb3beca30307fd2ff4eeefb8e;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_269, 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 = 269;
|
|
|
|
goto try_except_handler_9;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_digest_556b8668f8d711432b04620730421b6c;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_269, const_str_plain___doc__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_9;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_Compat32;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_269, 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 = 269;
|
|
|
|
goto try_except_handler_9;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_c43042fb7d848738c154bd50a8f63846_4, codeobj_c43042fb7d848738c154bd50a8f63846, module_future$backports$email$_policybase, sizeof(void *) );
|
|
frame_c43042fb7d848738c154bd50a8f63846_4 = cache_frame_c43042fb7d848738c154bd50a8f63846_4;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_c43042fb7d848738c154bd50a8f63846_4 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_c43042fb7d848738c154bd50a8f63846_4 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_16__sanitize_header( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_269, const_str_plain__sanitize_header, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 276;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_17_header_source_parse( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_269, const_str_plain_header_source_parse, 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 = 288;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_18_header_store_parse( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_269, const_str_plain_header_store_parse, 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 = 300;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_19_header_fetch_parse( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_269, const_str_plain_header_fetch_parse, 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 = 306;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_20_fold( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_269, const_str_plain_fold, 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 = 313;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_21_fold_binary( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_269, const_str_plain_fold_binary, 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 = 323;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_future$backports$email$_policybase$$$function_22__fold( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_269, const_str_plain__fold, 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 = 335;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c43042fb7d848738c154bd50a8f63846_4 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_3;
|
|
|
|
frame_exception_exit_4:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c43042fb7d848738c154bd50a8f63846_4 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_c43042fb7d848738c154bd50a8f63846_4, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_c43042fb7d848738c154bd50a8f63846_4->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_c43042fb7d848738c154bd50a8f63846_4, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_c43042fb7d848738c154bd50a8f63846_4,
|
|
type_description_2,
|
|
outline_2_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_c43042fb7d848738c154bd50a8f63846_4 == cache_frame_c43042fb7d848738c154bd50a8f63846_4 )
|
|
{
|
|
Py_DECREF( frame_c43042fb7d848738c154bd50a8f63846_4 );
|
|
}
|
|
cache_frame_c43042fb7d848738c154bd50a8f63846_4 = NULL;
|
|
|
|
assertFrameObject( frame_c43042fb7d848738c154bd50a8f63846_4 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto nested_frame_exit_3;
|
|
|
|
frame_no_exception_3:;
|
|
goto skip_nested_handling_3;
|
|
nested_frame_exit_3:;
|
|
|
|
goto try_except_handler_9;
|
|
skip_nested_handling_3:;
|
|
{
|
|
nuitka_bool tmp_condition_result_18;
|
|
PyObject *tmp_compexpr_left_3;
|
|
PyObject *tmp_compexpr_right_3;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_compexpr_left_3 = tmp_class_creation_3__bases;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
|
|
tmp_compexpr_right_3 = tmp_class_creation_3__bases_orig;
|
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_9;
|
|
}
|
|
tmp_condition_result_18 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_12;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_12;
|
|
}
|
|
branch_yes_12:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
|
|
tmp_dictset_value = tmp_class_creation_3__bases_orig;
|
|
tmp_res = PyObject_SetItem( locals_future$backports$email$_policybase_269, 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 = 269;
|
|
|
|
goto try_except_handler_9;
|
|
}
|
|
}
|
|
branch_no_12:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_40;
|
|
PyObject *tmp_called_name_8;
|
|
PyObject *tmp_args_name_6;
|
|
PyObject *tmp_tuple_element_11;
|
|
PyObject *tmp_kw_name_6;
|
|
CHECK_OBJECT( tmp_class_creation_3__metaclass );
|
|
tmp_called_name_8 = tmp_class_creation_3__metaclass;
|
|
tmp_tuple_element_11 = const_str_plain_Compat32;
|
|
tmp_args_name_6 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_11 );
|
|
PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_11 );
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_tuple_element_11 = tmp_class_creation_3__bases;
|
|
Py_INCREF( tmp_tuple_element_11 );
|
|
PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_11 );
|
|
tmp_tuple_element_11 = locals_future$backports$email$_policybase_269;
|
|
Py_INCREF( tmp_tuple_element_11 );
|
|
PyTuple_SET_ITEM( tmp_args_name_6, 2, tmp_tuple_element_11 );
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_kw_name_6 = tmp_class_creation_3__class_decl_dict;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 269;
|
|
tmp_assign_source_40 = CALL_FUNCTION( tmp_called_name_8, tmp_args_name_6, tmp_kw_name_6 );
|
|
Py_DECREF( tmp_args_name_6 );
|
|
if ( tmp_assign_source_40 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 269;
|
|
|
|
goto try_except_handler_9;
|
|
}
|
|
assert( outline_2_var___class__ == NULL );
|
|
outline_2_var___class__ = tmp_assign_source_40;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_2_var___class__ );
|
|
tmp_args_element_name_8 = outline_2_var___class__;
|
|
Py_INCREF( tmp_args_element_name_8 );
|
|
goto try_return_handler_9;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_9:;
|
|
{
|
|
Py_DECREF( locals_future$backports$email$_policybase_269 );
|
|
locals_future$backports$email$_policybase_269 = NULL;
|
|
}
|
|
{
|
|
goto try_return_handler_8;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_9:;
|
|
exception_keeper_type_7 = exception_type;
|
|
exception_keeper_value_7 = exception_value;
|
|
exception_keeper_tb_7 = exception_tb;
|
|
exception_keeper_lineno_7 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_DECREF( locals_future$backports$email$_policybase_269 );
|
|
locals_future$backports$email$_policybase_269 = NULL;
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_7;
|
|
exception_value = exception_keeper_value_7;
|
|
exception_tb = exception_keeper_tb_7;
|
|
exception_lineno = exception_keeper_lineno_7;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
// End of try:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_8:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)outline_2_var___class__ );
|
|
Py_DECREF( outline_2_var___class__ );
|
|
outline_2_var___class__ = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_3;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_8:;
|
|
exception_keeper_type_8 = exception_type;
|
|
exception_keeper_value_8 = exception_value;
|
|
exception_keeper_tb_8 = exception_tb;
|
|
exception_keeper_lineno_8 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_8;
|
|
exception_value = exception_keeper_value_8;
|
|
exception_tb = exception_keeper_tb_8;
|
|
exception_lineno = exception_keeper_lineno_8;
|
|
|
|
goto outline_exception_3;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( future$backports$email$_policybase );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_3:;
|
|
exception_lineno = 269;
|
|
goto try_except_handler_7;
|
|
outline_result_3:;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 268;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_8 };
|
|
tmp_assign_source_39 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_args_element_name_8 );
|
|
if ( tmp_assign_source_39 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 268;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_Compat32, tmp_assign_source_39 );
|
|
}
|
|
goto try_end_3;
|
|
// Exception handler code:
|
|
try_except_handler_7:;
|
|
exception_keeper_type_9 = exception_type;
|
|
exception_keeper_value_9 = exception_value;
|
|
exception_keeper_tb_9 = exception_tb;
|
|
exception_keeper_lineno_9 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_class_creation_3__bases );
|
|
tmp_class_creation_3__bases = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_3__class_decl_dict );
|
|
tmp_class_creation_3__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_3__metaclass );
|
|
tmp_class_creation_3__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_3__prepared );
|
|
tmp_class_creation_3__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_9;
|
|
exception_value = exception_keeper_value_9;
|
|
exception_tb = exception_keeper_tb_9;
|
|
exception_lineno = exception_keeper_lineno_9;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__bases );
|
|
Py_DECREF( tmp_class_creation_3__bases );
|
|
tmp_class_creation_3__bases = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__class_decl_dict );
|
|
Py_DECREF( tmp_class_creation_3__class_decl_dict );
|
|
tmp_class_creation_3__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__metaclass );
|
|
Py_DECREF( tmp_class_creation_3__metaclass );
|
|
tmp_class_creation_3__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__prepared );
|
|
Py_DECREF( tmp_class_creation_3__prepared );
|
|
tmp_class_creation_3__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_41;
|
|
PyObject *tmp_called_name_9;
|
|
PyObject *tmp_mvar_value_11;
|
|
tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_Compat32 );
|
|
|
|
if (unlikely( tmp_mvar_value_11 == NULL ))
|
|
{
|
|
tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Compat32 );
|
|
}
|
|
|
|
if ( tmp_mvar_value_11 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Compat32" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 365;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_name_9 = tmp_mvar_value_11;
|
|
frame_dcd972222be60217932bbcf7bfbc9467->m_frame.f_lineno = 365;
|
|
tmp_assign_source_41 = CALL_FUNCTION_NO_ARGS( tmp_called_name_9 );
|
|
if ( tmp_assign_source_41 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 365;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_future$backports$email$_policybase, (Nuitka_StringObject *)const_str_plain_compat32, tmp_assign_source_41 );
|
|
}
|
|
|
|
// Restore frame exception if necessary.
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_dcd972222be60217932bbcf7bfbc9467 );
|
|
#endif
|
|
popFrameStack();
|
|
|
|
assertFrameObject( frame_dcd972222be60217932bbcf7bfbc9467 );
|
|
|
|
goto frame_no_exception_4;
|
|
|
|
frame_exception_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_dcd972222be60217932bbcf7bfbc9467 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_dcd972222be60217932bbcf7bfbc9467, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_dcd972222be60217932bbcf7bfbc9467->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_dcd972222be60217932bbcf7bfbc9467, exception_lineno );
|
|
}
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto module_exception_exit;
|
|
|
|
frame_no_exception_4:;
|
|
|
|
return MOD_RETURN_VALUE( module_future$backports$email$_policybase );
|
|
module_exception_exit:
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
}
|