mirror of
https://github.com/house-of-vanity/fesmoo_perdoliq.git
synced 2025-08-21 16:17:15 +00:00
9995 lines
308 KiB
C
9995 lines
308 KiB
C
/* Generated code for Python source for module 'asn1crypto._ordereddict'
|
|
* 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_asn1crypto$_ordereddict 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_asn1crypto$_ordereddict;
|
|
PyDictObject *moduledict_asn1crypto$_ordereddict;
|
|
|
|
/* The module constants used, if any. */
|
|
extern PyObject *const_str_plain__OrderedDict__map;
|
|
extern PyObject *const_str_plain_metaclass;
|
|
extern PyObject *const_str_plain_dict;
|
|
extern PyObject *const_str_plain___name__;
|
|
extern PyObject *const_str_plain___reduce__;
|
|
extern PyObject *const_tuple_str_plain___class___tuple;
|
|
extern PyObject *const_str_angle_metaclass;
|
|
extern PyObject *const_str_plain_zip;
|
|
extern PyObject *const_str_digest_5e7c8c8b99ef864465e4c113b3237a03;
|
|
extern PyObject *const_str_plain_iterable;
|
|
extern PyObject *const_str_plain___file__;
|
|
extern PyObject *const_str_digest_cfdbbd2b4f173bd816c499641f213719;
|
|
extern PyObject *const_tuple_bc4b2160ec93de25902cf62d4c15ad8e_tuple;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_last_str_plain_key_str_plain_value_tuple;
|
|
extern PyObject *const_str_plain_args;
|
|
extern PyObject *const_str_plain_items;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_args_str_plain_kwds_tuple;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_end_tuple;
|
|
static PyObject *const_str_digest_cb7aebf3d63c597481182be330daace1;
|
|
extern PyObject *const_str_plain_end;
|
|
extern PyObject *const_str_plain_None;
|
|
extern PyObject *const_str_digest_351154bb99ab4ba47a9bef35a8154a6c;
|
|
extern PyObject *const_str_plain_classmethod;
|
|
extern PyObject *const_str_plain_q;
|
|
extern PyObject *const_str_plain_cls;
|
|
extern PyObject *const_str_plain_next;
|
|
static PyObject *const_str_plain__OrderedDict__end;
|
|
extern PyObject *const_tuple_true_tuple;
|
|
extern PyObject *const_str_plain___doc__;
|
|
extern PyObject *const_str_plain___debug__;
|
|
extern PyObject *const_str_digest_88dd2ccf2861ee9cebb70a2286bf87a2;
|
|
extern PyObject *const_str_plain___orig_bases__;
|
|
extern PyObject *const_str_plain___ne__;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_other_str_plain_p_str_plain_q_tuple;
|
|
extern PyObject *const_str_plain___qualname__;
|
|
extern PyObject *const_str_plain_iterkeys;
|
|
extern PyObject *const_str_plain_fromkeys;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_other_tuple;
|
|
extern PyObject *const_str_plain_p;
|
|
extern PyObject *const_str_plain_value;
|
|
static PyObject *const_str_plain_DictMixin;
|
|
extern PyObject *const_str_plain_tmp;
|
|
extern PyObject *const_str_digest_7cfcb25a24e7cac7cc6ee84a854710d7;
|
|
extern PyObject *const_tuple_str_plain_self_tuple;
|
|
extern PyObject *const_str_plain_iteritems;
|
|
extern PyObject *const_str_plain_collections;
|
|
extern PyObject *const_str_digest_c8da176fd6b7d11fbd22070ccb29a1af;
|
|
extern PyObject *const_str_digest_ebdcec19e7bcf2ba8bda64d6ba1f1cca;
|
|
extern PyObject *const_str_plain_keys;
|
|
extern PyObject *const_tuple_empty;
|
|
extern PyObject *const_str_digest_bbc5966bbdd6035a3d46e4935aaa5c75;
|
|
static PyObject *const_tuple_5415e508420b511c5ab653535b43d13e_tuple;
|
|
extern PyObject *const_str_plain_reversed;
|
|
static PyObject *const_str_digest_407adae9ec297a2cda3485b398da3f98;
|
|
static PyObject *const_tuple_str_plain_DictMixin_tuple;
|
|
extern PyObject *const_str_plain_popitem;
|
|
extern PyObject *const_str_plain_False;
|
|
extern PyObject *const_str_plain_k;
|
|
extern PyObject *const_str_plain___getitem__;
|
|
extern PyObject *const_str_plain___eq__;
|
|
extern PyObject *const_str_plain_pop;
|
|
extern PyObject *const_int_0;
|
|
extern PyObject *const_str_plain_kwds;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_end_str_plain_curr_tuple;
|
|
extern PyObject *const_tuple_int_pos_2_int_pos_7_tuple;
|
|
extern PyObject *const_str_plain_OrderedDict;
|
|
static PyObject *const_str_digest_d77278c454b7e3a07661ca3caf75d9e5;
|
|
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
extern PyObject *const_str_angle_listcomp;
|
|
extern PyObject *const_str_plain_inst_dict;
|
|
extern PyObject *const_str_plain_setdefault;
|
|
extern PyObject *const_str_plain_prev;
|
|
extern PyObject *const_str_plain_type;
|
|
extern PyObject *const_str_digest_59e66388ada67b5c6aa016ad0dc01b72;
|
|
extern PyObject *const_str_plain_d;
|
|
extern PyObject *const_str_plain___cached__;
|
|
extern PyObject *const_str_digest_5058d5962a01eacde431860babc9703f;
|
|
extern PyObject *const_str_plain___class__;
|
|
extern PyObject *const_str_digest_beb858f210df624f0783e699caf90c05;
|
|
extern PyObject *const_str_digest_76cbcf216040ade0f3f170fb1ee5b1bd;
|
|
extern PyObject *const_tuple_none_tuple;
|
|
extern PyObject *const_str_digest_43c170d8223c5638f8e1bef26d0a2d31;
|
|
extern PyObject *const_str_digest_0e1156af3a88a8e936e8674a3d6b6806;
|
|
extern PyObject *const_str_plain___module__;
|
|
extern PyObject *const_str_plain___reversed__;
|
|
extern PyObject *const_str_plain_sys;
|
|
extern PyObject *const_str_plain_curr;
|
|
extern PyObject *const_str_plain_UserDict;
|
|
extern PyObject *const_str_plain_update;
|
|
extern PyObject *const_int_pos_1;
|
|
extern PyObject *const_str_plain_values;
|
|
extern PyObject *const_str_plain_last;
|
|
extern PyObject *const_str_plain_copy;
|
|
extern PyObject *const_str_plain_key;
|
|
extern PyObject *const_str_plain_other;
|
|
extern PyObject *const_str_plain___prepare__;
|
|
extern PyObject *const_str_plain___init__;
|
|
extern PyObject *const_str_digest_24436575bf9ec4ac30eb73338f660906;
|
|
extern PyObject *const_str_plain___setitem__;
|
|
extern PyObject *const_str_plain_itervalues;
|
|
static PyObject *const_tuple_str_plain_self_str_plain_key_str_plain_prev_str_plain_next__tuple;
|
|
extern PyObject *const_str_plain_self;
|
|
extern PyObject *const_str_plain_clear;
|
|
extern PyObject *const_str_digest_f385ad6f00729df87e8e065ba3237964;
|
|
extern PyObject *const_str_plain_version_info;
|
|
extern PyObject *const_str_plain___repr__;
|
|
extern PyObject *const_str_digest_6d198bd39eca79ed9cddf9957568617c;
|
|
extern PyObject *const_int_pos_7;
|
|
extern PyObject *const_tuple_str_plain_k_str_plain_self_tuple;
|
|
static PyObject *const_tuple_88ca5f1dd636f832cd07b863b58db10e_tuple;
|
|
extern PyObject *const_str_digest_d44bacc2290b5d18e632348ff9d94d65;
|
|
extern PyObject *const_int_pos_2;
|
|
static PyObject *const_str_plain_next_;
|
|
extern PyObject *const_tuple_str_plain_OrderedDict_tuple;
|
|
extern PyObject *const_str_plain___iter__;
|
|
extern PyObject *const_str_plain___delitem__;
|
|
static PyObject *module_filename_obj;
|
|
|
|
static bool constants_created = false;
|
|
|
|
static void createModuleConstants( void )
|
|
{
|
|
const_tuple_str_plain_self_str_plain_last_str_plain_key_str_plain_value_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_last_str_plain_key_str_plain_value_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_last_str_plain_key_str_plain_value_tuple, 1, const_str_plain_last ); Py_INCREF( const_str_plain_last );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_last_str_plain_key_str_plain_value_tuple, 2, const_str_plain_key ); Py_INCREF( const_str_plain_key );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_last_str_plain_key_str_plain_value_tuple, 3, const_str_plain_value ); Py_INCREF( const_str_plain_value );
|
|
const_tuple_str_plain_self_str_plain_args_str_plain_kwds_tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_kwds_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_kwds_tuple, 1, const_str_plain_args ); Py_INCREF( const_str_plain_args );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_kwds_tuple, 2, const_str_plain_kwds ); Py_INCREF( const_str_plain_kwds );
|
|
const_tuple_str_plain_self_str_plain_end_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_end_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_end_tuple, 1, const_str_plain_end ); Py_INCREF( const_str_plain_end );
|
|
const_str_digest_cb7aebf3d63c597481182be330daace1 = UNSTREAM_STRING( &constant_bin[ 12718 ], 32, 0 );
|
|
const_str_plain__OrderedDict__end = UNSTREAM_STRING( &constant_bin[ 12750 ], 17, 1 );
|
|
const_tuple_str_plain_self_str_plain_other_str_plain_p_str_plain_q_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_other_str_plain_p_str_plain_q_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_other_str_plain_p_str_plain_q_tuple, 1, const_str_plain_other ); Py_INCREF( const_str_plain_other );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_other_str_plain_p_str_plain_q_tuple, 2, const_str_plain_p ); Py_INCREF( const_str_plain_p );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_other_str_plain_p_str_plain_q_tuple, 3, const_str_plain_q ); Py_INCREF( const_str_plain_q );
|
|
const_str_plain_DictMixin = UNSTREAM_STRING( &constant_bin[ 12767 ], 9, 1 );
|
|
const_tuple_5415e508420b511c5ab653535b43d13e_tuple = PyTuple_New( 5 );
|
|
PyTuple_SET_ITEM( const_tuple_5415e508420b511c5ab653535b43d13e_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_5415e508420b511c5ab653535b43d13e_tuple, 1, const_str_plain_key ); Py_INCREF( const_str_plain_key );
|
|
PyTuple_SET_ITEM( const_tuple_5415e508420b511c5ab653535b43d13e_tuple, 2, const_str_plain_value ); Py_INCREF( const_str_plain_value );
|
|
PyTuple_SET_ITEM( const_tuple_5415e508420b511c5ab653535b43d13e_tuple, 3, const_str_plain_end ); Py_INCREF( const_str_plain_end );
|
|
PyTuple_SET_ITEM( const_tuple_5415e508420b511c5ab653535b43d13e_tuple, 4, const_str_plain_curr ); Py_INCREF( const_str_plain_curr );
|
|
const_str_digest_407adae9ec297a2cda3485b398da3f98 = UNSTREAM_STRING( &constant_bin[ 12776 ], 59, 0 );
|
|
const_tuple_str_plain_DictMixin_tuple = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_DictMixin_tuple, 0, const_str_plain_DictMixin ); Py_INCREF( const_str_plain_DictMixin );
|
|
const_tuple_str_plain_self_str_plain_end_str_plain_curr_tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_end_str_plain_curr_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_end_str_plain_curr_tuple, 1, const_str_plain_end ); Py_INCREF( const_str_plain_end );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_end_str_plain_curr_tuple, 2, const_str_plain_curr ); Py_INCREF( const_str_plain_curr );
|
|
const_str_digest_d77278c454b7e3a07661ca3caf75d9e5 = UNSTREAM_STRING( &constant_bin[ 12726 ], 23, 0 );
|
|
const_tuple_str_plain_self_str_plain_key_str_plain_prev_str_plain_next__tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_key_str_plain_prev_str_plain_next__tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_key_str_plain_prev_str_plain_next__tuple, 1, const_str_plain_key ); Py_INCREF( const_str_plain_key );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_key_str_plain_prev_str_plain_next__tuple, 2, const_str_plain_prev ); Py_INCREF( const_str_plain_prev );
|
|
const_str_plain_next_ = UNSTREAM_STRING( &constant_bin[ 12835 ], 5, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_key_str_plain_prev_str_plain_next__tuple, 3, const_str_plain_next_ ); Py_INCREF( const_str_plain_next_ );
|
|
const_tuple_88ca5f1dd636f832cd07b863b58db10e_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_88ca5f1dd636f832cd07b863b58db10e_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_88ca5f1dd636f832cd07b863b58db10e_tuple, 1, const_str_plain_items ); Py_INCREF( const_str_plain_items );
|
|
PyTuple_SET_ITEM( const_tuple_88ca5f1dd636f832cd07b863b58db10e_tuple, 2, const_str_plain_tmp ); Py_INCREF( const_str_plain_tmp );
|
|
PyTuple_SET_ITEM( const_tuple_88ca5f1dd636f832cd07b863b58db10e_tuple, 3, const_str_plain_inst_dict ); Py_INCREF( const_str_plain_inst_dict );
|
|
|
|
constants_created = true;
|
|
}
|
|
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
void checkModuleConstants_asn1crypto$_ordereddict( void )
|
|
{
|
|
// The module may not have been used at all.
|
|
if (constants_created == false) return;
|
|
|
|
|
|
}
|
|
#endif
|
|
|
|
// The module code objects.
|
|
static PyCodeObject *codeobj_803446635ca79d3c5279e446b7a4f7b5;
|
|
static PyCodeObject *codeobj_3c21dc587819947bb6ec28d2f5281772;
|
|
static PyCodeObject *codeobj_cede772fe9d38bdb06d788d89d942fe4;
|
|
static PyCodeObject *codeobj_52e3572a9b41f31eac79b371eae28830;
|
|
static PyCodeObject *codeobj_7b6c070b59899334a273d89c73c47501;
|
|
static PyCodeObject *codeobj_7dfadde55fe5921b19e099e9fcd88e87;
|
|
static PyCodeObject *codeobj_adaa8a4a1531f300b953f671c5cb8f3b;
|
|
static PyCodeObject *codeobj_55dac2029f74366376b97412485c18fc;
|
|
static PyCodeObject *codeobj_1c7bb783dcbb7f89e8082fc0ea601220;
|
|
static PyCodeObject *codeobj_c9497c4d4ac499206ddbfbc0cf5273c0;
|
|
static PyCodeObject *codeobj_b50337686c48a9990351e3951517c87a;
|
|
static PyCodeObject *codeobj_7db7e19fa0c1f5a5445b7d87bc1b5317;
|
|
static PyCodeObject *codeobj_bc8c73e6cdbffe7dbd02d2c37e53fdf1;
|
|
static PyCodeObject *codeobj_c29ed8a0fcbce9dbc399855e34f2e4de;
|
|
static PyCodeObject *codeobj_81d5addecfe102b351ea8c03527c5aaf;
|
|
static PyCodeObject *codeobj_5e969911e12c5295938bb3e4d80a6753;
|
|
static PyCodeObject *codeobj_eabae5bbfa1592b294aec23cacd6e29d;
|
|
|
|
static void createModuleCodeObjects(void)
|
|
{
|
|
module_filename_obj = const_str_digest_407adae9ec297a2cda3485b398da3f98;
|
|
codeobj_803446635ca79d3c5279e446b7a4f7b5 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 88, const_tuple_str_plain_k_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_3c21dc587819947bb6ec28d2f5281772 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_cb7aebf3d63c597481182be330daace1, 1, const_tuple_empty, 0, 0, CO_NOFREE );
|
|
codeobj_cede772fe9d38bdb06d788d89d942fe4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_OrderedDict, 33, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE );
|
|
codeobj_52e3572a9b41f31eac79b371eae28830 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___delitem__, 57, const_tuple_str_plain_self_str_plain_key_str_plain_prev_str_plain_next__tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_7b6c070b59899334a273d89c73c47501 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___eq__, 124, const_tuple_str_plain_self_str_plain_other_str_plain_p_str_plain_q_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_7dfadde55fe5921b19e099e9fcd88e87 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 35, const_tuple_str_plain_self_str_plain_args_str_plain_kwds_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE );
|
|
codeobj_adaa8a4a1531f300b953f671c5cb8f3b = MAKE_CODEOBJ( module_filename_obj, const_str_plain___iter__, 63, const_tuple_str_plain_self_str_plain_end_str_plain_curr_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_55dac2029f74366376b97412485c18fc = MAKE_CODEOBJ( module_filename_obj, const_str_plain___ne__, 134, const_tuple_str_plain_self_str_plain_other_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_1c7bb783dcbb7f89e8082fc0ea601220 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___reduce__, 87, const_tuple_88ca5f1dd636f832cd07b863b58db10e_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_c9497c4d4ac499206ddbfbc0cf5273c0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___repr__, 109, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_b50337686c48a9990351e3951517c87a = MAKE_CODEOBJ( module_filename_obj, const_str_plain___reversed__, 70, const_tuple_str_plain_self_str_plain_end_str_plain_curr_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_7db7e19fa0c1f5a5445b7d87bc1b5317 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___setitem__, 50, const_tuple_5415e508420b511c5ab653535b43d13e_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_bc8c73e6cdbffe7dbd02d2c37e53fdf1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_clear, 44, const_tuple_str_plain_self_str_plain_end_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_c29ed8a0fcbce9dbc399855e34f2e4de = MAKE_CODEOBJ( module_filename_obj, const_str_plain_copy, 114, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_81d5addecfe102b351ea8c03527c5aaf = MAKE_CODEOBJ( module_filename_obj, const_str_plain_fromkeys, 117, const_tuple_bc4b2160ec93de25902cf62d4c15ad8e_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_5e969911e12c5295938bb3e4d80a6753 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_keys, 97, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_eabae5bbfa1592b294aec23cacd6e29d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_popitem, 77, const_tuple_str_plain_self_str_plain_last_str_plain_key_str_plain_value_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
}
|
|
|
|
// The module function declarations.
|
|
static PyObject *asn1crypto$_ordereddict$$$function_5___iter__$$$genobj_1___iter___maker( void );
|
|
|
|
|
|
static PyObject *asn1crypto$_ordereddict$$$function_6___reversed__$$$genobj_1___reversed___maker( void );
|
|
|
|
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars );
|
|
|
|
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( PyObject **python_pars );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_10___repr__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_11_copy( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_12_fromkeys( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_13___eq__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_14___ne__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_1___init__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_2_clear( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_3___setitem__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_4___delitem__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_5___iter__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_6___reversed__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_7_popitem( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_8___reduce__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_9_keys( );
|
|
|
|
|
|
// The module function definitions.
|
|
static PyObject *impl_asn1crypto$_ordereddict$$$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_args = python_pars[ 1 ];
|
|
PyObject *par_kwds = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_7dfadde55fe5921b19e099e9fcd88e87;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
int tmp_res;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *exception_preserved_type_1;
|
|
PyObject *exception_preserved_value_1;
|
|
PyTracebackObject *exception_preserved_tb_1;
|
|
bool tmp_result;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
static struct Nuitka_FrameObject *cache_frame_7dfadde55fe5921b19e099e9fcd88e87 = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_7dfadde55fe5921b19e099e9fcd88e87, codeobj_7dfadde55fe5921b19e099e9fcd88e87, module_asn1crypto$_ordereddict, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_7dfadde55fe5921b19e099e9fcd88e87 = cache_frame_7dfadde55fe5921b19e099e9fcd88e87;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_7dfadde55fe5921b19e099e9fcd88e87 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_7dfadde55fe5921b19e099e9fcd88e87 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_len_arg_1;
|
|
CHECK_OBJECT( par_args );
|
|
tmp_len_arg_1 = par_args;
|
|
tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 );
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 36;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_compexpr_right_1 = const_int_pos_1;
|
|
tmp_res = RICH_COMPARE_BOOL_GT( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 36;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_make_exception_arg_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_len_arg_2;
|
|
tmp_left_name_1 = const_str_digest_5058d5962a01eacde431860babc9703f;
|
|
if ( par_args == NULL )
|
|
{
|
|
|
|
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 = 37;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_len_arg_2 = par_args;
|
|
tmp_right_name_1 = BUILTIN_LEN( tmp_len_arg_2 );
|
|
if ( tmp_right_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 37;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_make_exception_arg_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_make_exception_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 37;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_7dfadde55fe5921b19e099e9fcd88e87->m_frame.f_lineno = 37;
|
|
{
|
|
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 = 37;
|
|
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_source_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 = 39;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
tmp_unused = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__OrderedDict__end );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 39;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Preserve existing published exception.
|
|
exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET());
|
|
Py_XINCREF( exception_preserved_type_1 );
|
|
exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET());
|
|
Py_XINCREF( exception_preserved_value_1 );
|
|
exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
|
|
Py_XINCREF( exception_preserved_tb_1 );
|
|
|
|
}
|
|
{
|
|
if ( exception_keeper_tb_1 == NULL )
|
|
{
|
|
exception_keeper_tb_1 = MAKE_TRACEBACK( frame_7dfadde55fe5921b19e099e9fcd88e87, exception_keeper_lineno_1 );
|
|
}
|
|
else if ( exception_keeper_lineno_1 != 0 )
|
|
{
|
|
exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_7dfadde55fe5921b19e099e9fcd88e87, exception_keeper_lineno_1 );
|
|
}
|
|
|
|
NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
|
PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 );
|
|
PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET());
|
|
tmp_compexpr_right_2 = PyExc_AttributeError;
|
|
tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_2, tmp_compexpr_right_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 40;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
PyObject *tmp_called_instance_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 41;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_self;
|
|
frame_7dfadde55fe5921b19e099e9fcd88e87->m_frame.f_lineno = 41;
|
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_clear );
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 41;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
if (unlikely( tmp_result == false ))
|
|
{
|
|
exception_lineno = 38;
|
|
}
|
|
|
|
if (exception_tb && exception_tb->tb_frame == &frame_7dfadde55fe5921b19e099e9fcd88e87->m_frame) frame_7dfadde55fe5921b19e099e9fcd88e87->m_frame.f_lineno = exception_tb->tb_lineno;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
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;
|
|
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
// Restore previous exception.
|
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
|
}
|
|
goto try_end_1;
|
|
// exception handler codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_1___init__ );
|
|
return NULL;
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_dircall_arg1_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_dircall_arg2_1;
|
|
PyObject *tmp_dircall_arg3_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 = 42;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_update );
|
|
if ( tmp_dircall_arg1_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 42;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_args == NULL )
|
|
{
|
|
Py_DECREF( tmp_dircall_arg1_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 42;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dircall_arg2_1 = par_args;
|
|
if ( par_kwds == 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", "kwds" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 42;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dircall_arg3_1 = par_kwds;
|
|
Py_INCREF( tmp_dircall_arg2_1 );
|
|
Py_INCREF( tmp_dircall_arg3_1 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
|
|
tmp_unused = impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( dir_call_args );
|
|
}
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 42;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7dfadde55fe5921b19e099e9fcd88e87 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7dfadde55fe5921b19e099e9fcd88e87 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_7dfadde55fe5921b19e099e9fcd88e87, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_7dfadde55fe5921b19e099e9fcd88e87->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_7dfadde55fe5921b19e099e9fcd88e87, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_7dfadde55fe5921b19e099e9fcd88e87,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwds
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_7dfadde55fe5921b19e099e9fcd88e87 == cache_frame_7dfadde55fe5921b19e099e9fcd88e87 )
|
|
{
|
|
Py_DECREF( frame_7dfadde55fe5921b19e099e9fcd88e87 );
|
|
}
|
|
cache_frame_7dfadde55fe5921b19e099e9fcd88e87 = NULL;
|
|
|
|
assertFrameObject( frame_7dfadde55fe5921b19e099e9fcd88e87 );
|
|
|
|
// 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( asn1crypto$_ordereddict$$$function_1___init__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_args );
|
|
par_args = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kwds );
|
|
par_kwds = 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_args );
|
|
par_args = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kwds );
|
|
par_kwds = 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( asn1crypto$_ordereddict$$$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_asn1crypto$_ordereddict$$$function_2_clear( 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_end = NULL;
|
|
PyObject *tmp_assign_unpack_1__assign_source = NULL;
|
|
struct Nuitka_FrameObject *frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
bool tmp_result;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
static struct Nuitka_FrameObject *cache_frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1 = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
|
|
// Actual function code.
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = PyList_New( 0 );
|
|
assert( tmp_assign_unpack_1__assign_source == NULL );
|
|
tmp_assign_unpack_1__assign_source = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1, codeobj_bc8c73e6cdbffe7dbd02d2c37e53fdf1, module_asn1crypto$_ordereddict, sizeof(void *)+sizeof(void *) );
|
|
frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1 = cache_frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assattr_name_1;
|
|
PyObject *tmp_assattr_target_1;
|
|
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
|
|
tmp_assattr_name_1 = tmp_assign_unpack_1__assign_source;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_assattr_target_1 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__OrderedDict__end, tmp_assattr_name_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 45;
|
|
type_description_1 = "oo";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_assign_unpack_1__assign_source );
|
|
Py_DECREF( tmp_assign_unpack_1__assign_source );
|
|
tmp_assign_unpack_1__assign_source = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
|
|
tmp_assign_source_2 = tmp_assign_unpack_1__assign_source;
|
|
assert( var_end == NULL );
|
|
Py_INCREF( tmp_assign_source_2 );
|
|
var_end = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_assign_unpack_1__assign_source );
|
|
Py_DECREF( tmp_assign_unpack_1__assign_source );
|
|
tmp_assign_unpack_1__assign_source = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_list_element_1;
|
|
if ( var_end == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 46;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_left_name_1 = var_end;
|
|
tmp_list_element_1 = Py_None;
|
|
tmp_right_name_1 = PyList_New( 3 );
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_right_name_1, 0, tmp_list_element_1 );
|
|
if ( var_end == NULL )
|
|
{
|
|
Py_DECREF( tmp_right_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 46;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_list_element_1 = var_end;
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_right_name_1, 1, tmp_list_element_1 );
|
|
if ( var_end == NULL )
|
|
{
|
|
Py_DECREF( tmp_right_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 46;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_list_element_1 = var_end;
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_right_name_1, 2, tmp_list_element_1 );
|
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_LIST_INPLACE( &tmp_left_name_1, tmp_right_name_1 );
|
|
tmp_assign_source_3 = tmp_left_name_1;
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 46;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
var_end = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_2;
|
|
PyObject *tmp_assattr_target_2;
|
|
tmp_assattr_name_2 = PyDict_New();
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 47;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_2 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__OrderedDict__map, 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 = 47;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
tmp_source_name_1 = (PyObject *)&PyDict_Type;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_clear );
|
|
assert( !(tmp_called_name_1 == NULL) );
|
|
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 = 48;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_self;
|
|
frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1->m_frame.f_lineno = 48;
|
|
{
|
|
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 = 48;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1,
|
|
type_description_1,
|
|
par_self,
|
|
var_end
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1 == cache_frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1 )
|
|
{
|
|
Py_DECREF( frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1 );
|
|
}
|
|
cache_frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1 = NULL;
|
|
|
|
assertFrameObject( frame_bc8c73e6cdbffe7dbd02d2c37e53fdf1 );
|
|
|
|
// 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( asn1crypto$_ordereddict$$$function_2_clear );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_end );
|
|
var_end = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_end );
|
|
var_end = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_2_clear );
|
|
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_asn1crypto$_ordereddict$$$function_3___setitem__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *par_key = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
PyObject *var_end = NULL;
|
|
PyObject *var_curr = NULL;
|
|
PyObject *tmp_assign_unpack_1__assign_source = NULL;
|
|
struct Nuitka_FrameObject *frame_7db7e19fa0c1f5a5445b7d87bc1b5317;
|
|
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;
|
|
bool tmp_result;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
|
static struct Nuitka_FrameObject *cache_frame_7db7e19fa0c1f5a5445b7d87bc1b5317 = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_7db7e19fa0c1f5a5445b7d87bc1b5317, codeobj_7db7e19fa0c1f5a5445b7d87bc1b5317, module_asn1crypto$_ordereddict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_7db7e19fa0c1f5a5445b7d87bc1b5317 = cache_frame_7db7e19fa0c1f5a5445b7d87bc1b5317;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_7db7e19fa0c1f5a5445b7d87bc1b5317 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_7db7e19fa0c1f5a5445b7d87bc1b5317 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( par_key );
|
|
tmp_compexpr_left_1 = par_key;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_compexpr_right_1 = par_self;
|
|
tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 51;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_source_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 = 52;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__OrderedDict__end );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 52;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_end == NULL );
|
|
var_end = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( var_end );
|
|
tmp_subscribed_name_1 = var_end;
|
|
tmp_subscript_name_1 = const_int_pos_1;
|
|
tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 53;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_curr == NULL );
|
|
var_curr = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_list_element_1;
|
|
if ( par_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_list_element_1 = par_key;
|
|
tmp_assign_source_3 = PyList_New( 3 );
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_assign_source_3, 0, tmp_list_element_1 );
|
|
CHECK_OBJECT( var_curr );
|
|
tmp_list_element_1 = var_curr;
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_assign_source_3, 1, tmp_list_element_1 );
|
|
if ( var_end == NULL )
|
|
{
|
|
Py_DECREF( tmp_assign_source_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_list_element_1 = var_end;
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_assign_source_3, 2, tmp_list_element_1 );
|
|
assert( tmp_assign_unpack_1__assign_source == NULL );
|
|
tmp_assign_unpack_1__assign_source = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
int tmp_ass_subscript_res_1;
|
|
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
|
|
tmp_ass_subvalue_1 = tmp_assign_unpack_1__assign_source;
|
|
CHECK_OBJECT( var_curr );
|
|
tmp_ass_subscribed_1 = var_curr;
|
|
tmp_ass_subscript_1 = const_int_pos_2;
|
|
tmp_ass_subscript_res_1 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_1, tmp_ass_subscript_1, 2, tmp_ass_subvalue_1 );
|
|
if ( tmp_ass_subscript_res_1 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_2;
|
|
PyObject *tmp_ass_subscribed_2;
|
|
PyObject *tmp_ass_subscript_2;
|
|
int tmp_ass_subscript_res_2;
|
|
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
|
|
tmp_ass_subvalue_2 = tmp_assign_unpack_1__assign_source;
|
|
if ( var_end == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_ass_subscribed_2 = var_end;
|
|
tmp_ass_subscript_2 = const_int_pos_1;
|
|
tmp_ass_subscript_res_2 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_2, tmp_ass_subscript_2, 1, tmp_ass_subvalue_2 );
|
|
if ( tmp_ass_subscript_res_2 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_3;
|
|
PyObject *tmp_ass_subscribed_3;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_ass_subscript_3;
|
|
CHECK_OBJECT( tmp_assign_unpack_1__assign_source );
|
|
tmp_ass_subvalue_3 = tmp_assign_unpack_1__assign_source;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_ass_subscribed_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__OrderedDict__map );
|
|
if ( tmp_ass_subscribed_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( par_key == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subscribed_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_ass_subscript_3 = par_key;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3 );
|
|
Py_DECREF( tmp_ass_subscribed_3 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 54;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_assign_unpack_1__assign_source );
|
|
tmp_assign_unpack_1__assign_source = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_assign_unpack_1__assign_source );
|
|
Py_DECREF( tmp_assign_unpack_1__assign_source );
|
|
tmp_assign_unpack_1__assign_source = NULL;
|
|
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
tmp_source_name_3 = (PyObject *)&PyDict_Type;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___setitem__ );
|
|
assert( !(tmp_called_name_1 == NULL) );
|
|
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 = 55;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_self;
|
|
if ( par_key == 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", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 55;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_key;
|
|
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 = 55;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_3 = par_value;
|
|
frame_7db7e19fa0c1f5a5445b7d87bc1b5317->m_frame.f_lineno = 55;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 };
|
|
tmp_unused = CALL_FUNCTION_WITH_ARGS3( 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 = 55;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7db7e19fa0c1f5a5445b7d87bc1b5317 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7db7e19fa0c1f5a5445b7d87bc1b5317 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_7db7e19fa0c1f5a5445b7d87bc1b5317, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_7db7e19fa0c1f5a5445b7d87bc1b5317->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_7db7e19fa0c1f5a5445b7d87bc1b5317, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_7db7e19fa0c1f5a5445b7d87bc1b5317,
|
|
type_description_1,
|
|
par_self,
|
|
par_key,
|
|
par_value,
|
|
var_end,
|
|
var_curr
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_7db7e19fa0c1f5a5445b7d87bc1b5317 == cache_frame_7db7e19fa0c1f5a5445b7d87bc1b5317 )
|
|
{
|
|
Py_DECREF( frame_7db7e19fa0c1f5a5445b7d87bc1b5317 );
|
|
}
|
|
cache_frame_7db7e19fa0c1f5a5445b7d87bc1b5317 = NULL;
|
|
|
|
assertFrameObject( frame_7db7e19fa0c1f5a5445b7d87bc1b5317 );
|
|
|
|
// 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( asn1crypto$_ordereddict$$$function_3___setitem__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_key );
|
|
par_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_end );
|
|
var_end = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_curr );
|
|
var_curr = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_key );
|
|
par_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_end );
|
|
var_end = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_curr );
|
|
var_curr = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_3___setitem__ );
|
|
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_asn1crypto$_ordereddict$$$function_4___delitem__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *par_key = python_pars[ 1 ];
|
|
PyObject *var_prev = NULL;
|
|
PyObject *var_next_ = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__element_3 = NULL;
|
|
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
|
|
struct Nuitka_FrameObject *frame_52e3572a9b41f31eac79b371eae28830;
|
|
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;
|
|
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;
|
|
static struct Nuitka_FrameObject *cache_frame_52e3572a9b41f31eac79b371eae28830 = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_52e3572a9b41f31eac79b371eae28830, codeobj_52e3572a9b41f31eac79b371eae28830, module_asn1crypto$_ordereddict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_52e3572a9b41f31eac79b371eae28830 = cache_frame_52e3572a9b41f31eac79b371eae28830;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_52e3572a9b41f31eac79b371eae28830 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_52e3572a9b41f31eac79b371eae28830 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_called_instance_1 = (PyObject *)&PyDict_Type;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_args_element_name_1 = par_self;
|
|
CHECK_OBJECT( par_key );
|
|
tmp_args_element_name_2 = par_key;
|
|
frame_52e3572a9b41f31eac79b371eae28830->m_frame.f_lineno = 58;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_unused = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain___delitem__, call_args );
|
|
}
|
|
|
|
if ( tmp_unused == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 58;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Py_DECREF( tmp_unused );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 59;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__OrderedDict__map );
|
|
if ( tmp_source_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 59;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_pop );
|
|
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 = 59;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
if ( par_key == 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", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 59;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_args_element_name_3 = par_key;
|
|
frame_52e3572a9b41f31eac79b371eae28830->m_frame.f_lineno = 59;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 59;
|
|
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 = 59;
|
|
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, 3 );
|
|
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 = 59;
|
|
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, 3 );
|
|
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 = 59;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_2 == NULL );
|
|
tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_unpack_3;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_3, 2, 3 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "oooo";
|
|
exception_lineno = 59;
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_3 == NULL );
|
|
tmp_tuple_unpack_1__element_3 = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_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 = 59;
|
|
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 3)" );
|
|
#endif
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
type_description_1 = "oooo";
|
|
exception_lineno = 59;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_3 );
|
|
tmp_tuple_unpack_1__element_3 = NULL;
|
|
|
|
}
|
|
{
|
|
// 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_5;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
|
|
tmp_assign_source_5 = tmp_tuple_unpack_1__element_1;
|
|
{
|
|
PyObject *old = par_key;
|
|
par_key = tmp_assign_source_5;
|
|
Py_INCREF( par_key );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
|
|
tmp_assign_source_6 = tmp_tuple_unpack_1__element_2;
|
|
assert( var_prev == NULL );
|
|
Py_INCREF( tmp_assign_source_6 );
|
|
var_prev = tmp_assign_source_6;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_3 );
|
|
tmp_assign_source_7 = tmp_tuple_unpack_1__element_3;
|
|
assert( var_next_ == NULL );
|
|
Py_INCREF( tmp_assign_source_7 );
|
|
var_next_ = tmp_assign_source_7;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_3 );
|
|
tmp_tuple_unpack_1__element_3 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
int tmp_ass_subscript_res_1;
|
|
if ( var_next_ == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 60;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subvalue_1 = var_next_;
|
|
if ( var_prev == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prev" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 60;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = var_prev;
|
|
tmp_ass_subscript_1 = const_int_pos_2;
|
|
tmp_ass_subscript_res_1 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_1, tmp_ass_subscript_1, 2, tmp_ass_subvalue_1 );
|
|
if ( tmp_ass_subscript_res_1 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 60;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_2;
|
|
PyObject *tmp_ass_subscribed_2;
|
|
PyObject *tmp_ass_subscript_2;
|
|
int tmp_ass_subscript_res_2;
|
|
if ( var_prev == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prev" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 61;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subvalue_2 = var_prev;
|
|
if ( var_next_ == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 61;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_2 = var_next_;
|
|
tmp_ass_subscript_2 = const_int_pos_1;
|
|
tmp_ass_subscript_res_2 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_2, tmp_ass_subscript_2, 1, tmp_ass_subvalue_2 );
|
|
if ( tmp_ass_subscript_res_2 == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 61;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_52e3572a9b41f31eac79b371eae28830 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_52e3572a9b41f31eac79b371eae28830 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_52e3572a9b41f31eac79b371eae28830, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_52e3572a9b41f31eac79b371eae28830->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_52e3572a9b41f31eac79b371eae28830, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_52e3572a9b41f31eac79b371eae28830,
|
|
type_description_1,
|
|
par_self,
|
|
par_key,
|
|
var_prev,
|
|
var_next_
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_52e3572a9b41f31eac79b371eae28830 == cache_frame_52e3572a9b41f31eac79b371eae28830 )
|
|
{
|
|
Py_DECREF( frame_52e3572a9b41f31eac79b371eae28830 );
|
|
}
|
|
cache_frame_52e3572a9b41f31eac79b371eae28830 = NULL;
|
|
|
|
assertFrameObject( frame_52e3572a9b41f31eac79b371eae28830 );
|
|
|
|
// 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( asn1crypto$_ordereddict$$$function_4___delitem__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_key );
|
|
par_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_prev );
|
|
var_prev = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_next_ );
|
|
var_next_ = 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_key );
|
|
par_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_prev );
|
|
var_prev = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_next_ );
|
|
var_next_ = 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( asn1crypto$_ordereddict$$$function_4___delitem__ );
|
|
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_asn1crypto$_ordereddict$$$function_5___iter__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
struct Nuitka_CellObject *par_self = PyCell_NEW1( python_pars[ 0 ] );
|
|
PyObject *tmp_return_value = NULL;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_return_value = asn1crypto$_ordereddict$$$function_5___iter__$$$genobj_1___iter___maker();
|
|
|
|
((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self;
|
|
Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] );
|
|
|
|
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_5___iter__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_5___iter__ );
|
|
return NULL;
|
|
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct asn1crypto$_ordereddict$$$function_5___iter__$$$genobj_1___iter___locals {
|
|
PyObject *var_end;
|
|
PyObject *var_curr;
|
|
char const *type_description_1;
|
|
PyObject *exception_type;
|
|
PyObject *exception_value;
|
|
PyTracebackObject *exception_tb;
|
|
int exception_lineno;
|
|
char yield_tmps[1024];
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
int exception_keeper_lineno_1;
|
|
};
|
|
|
|
static PyObject *asn1crypto$_ordereddict$$$function_5___iter__$$$genobj_1___iter___context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator );
|
|
assert( Nuitka_Generator_Check( (PyObject *)generator ) );
|
|
|
|
// Heap access if used.
|
|
struct asn1crypto$_ordereddict$$$function_5___iter__$$$genobj_1___iter___locals *generator_heap = (struct asn1crypto$_ordereddict$$$function_5___iter__$$$genobj_1___iter___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_end = NULL;
|
|
generator_heap->var_curr = 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_adaa8a4a1531f300b953f671c5cb8f3b, module_asn1crypto$_ordereddict, 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:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_source_name_1;
|
|
if ( PyCell_GET( generator->m_closure[0] ) == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_NameError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 64;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = PyCell_GET( generator->m_closure[0] );
|
|
tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__OrderedDict__end );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 64;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( generator_heap->var_end == NULL );
|
|
generator_heap->var_end = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( generator_heap->var_end );
|
|
tmp_subscribed_name_1 = generator_heap->var_end;
|
|
tmp_subscript_name_1 = const_int_pos_2;
|
|
tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 2 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 65;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( generator_heap->var_curr == NULL );
|
|
generator_heap->var_curr = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
if ( generator_heap->var_curr == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 66;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_left_1 = generator_heap->var_curr;
|
|
if ( generator_heap->var_end == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 66;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_1 = generator_heap->var_end;
|
|
tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
goto loop_end_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_expression_name_1;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
if ( generator_heap->var_curr == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 67;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_2 = generator_heap->var_curr;
|
|
tmp_subscript_name_2 = const_int_0;
|
|
tmp_expression_name_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 );
|
|
if ( tmp_expression_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 67;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_subscribed_name_2, sizeof(PyObject *), &tmp_subscript_name_2, sizeof(PyObject *), NULL );
|
|
generator->m_yield_return_index = 1;
|
|
return tmp_expression_name_1;
|
|
yield_return_1:
|
|
Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_subscribed_name_2, sizeof(PyObject *), &tmp_subscript_name_2, sizeof(PyObject *), NULL );
|
|
if ( yield_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 67;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_unused = yield_return_value;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_subscribed_name_3;
|
|
PyObject *tmp_subscript_name_3;
|
|
if ( generator_heap->var_curr == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 68;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_3 = generator_heap->var_curr;
|
|
tmp_subscript_name_3 = const_int_pos_2;
|
|
tmp_assign_source_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 2 );
|
|
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 = 68;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = generator_heap->var_curr;
|
|
generator_heap->var_curr = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
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 = 66;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto loop_start_1;
|
|
loop_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,
|
|
generator->m_closure[0],
|
|
generator_heap->var_end,
|
|
generator_heap->var_curr
|
|
);
|
|
|
|
|
|
// 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_1;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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->var_end );
|
|
generator_heap->var_end = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_curr );
|
|
generator_heap->var_curr = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_end );
|
|
generator_heap->var_end = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_curr );
|
|
generator_heap->var_curr = 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 *asn1crypto$_ordereddict$$$function_5___iter__$$$genobj_1___iter___maker( void )
|
|
{
|
|
return Nuitka_Generator_New(
|
|
asn1crypto$_ordereddict$$$function_5___iter__$$$genobj_1___iter___context,
|
|
module_asn1crypto$_ordereddict,
|
|
const_str_plain___iter__,
|
|
#if PYTHON_VERSION >= 350
|
|
const_str_digest_43c170d8223c5638f8e1bef26d0a2d31,
|
|
#endif
|
|
codeobj_adaa8a4a1531f300b953f671c5cb8f3b,
|
|
1,
|
|
sizeof(struct asn1crypto$_ordereddict$$$function_5___iter__$$$genobj_1___iter___locals)
|
|
);
|
|
}
|
|
|
|
|
|
static PyObject *impl_asn1crypto$_ordereddict$$$function_6___reversed__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
struct Nuitka_CellObject *par_self = PyCell_NEW1( python_pars[ 0 ] );
|
|
PyObject *tmp_return_value = NULL;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_return_value = asn1crypto$_ordereddict$$$function_6___reversed__$$$genobj_1___reversed___maker();
|
|
|
|
((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self;
|
|
Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] );
|
|
|
|
|
|
goto try_return_handler_1;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_6___reversed__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_6___reversed__ );
|
|
return NULL;
|
|
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct asn1crypto$_ordereddict$$$function_6___reversed__$$$genobj_1___reversed___locals {
|
|
PyObject *var_end;
|
|
PyObject *var_curr;
|
|
char const *type_description_1;
|
|
PyObject *exception_type;
|
|
PyObject *exception_value;
|
|
PyTracebackObject *exception_tb;
|
|
int exception_lineno;
|
|
char yield_tmps[1024];
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
int exception_keeper_lineno_1;
|
|
};
|
|
|
|
static PyObject *asn1crypto$_ordereddict$$$function_6___reversed__$$$genobj_1___reversed___context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value )
|
|
{
|
|
CHECK_OBJECT( (PyObject *)generator );
|
|
assert( Nuitka_Generator_Check( (PyObject *)generator ) );
|
|
|
|
// Heap access if used.
|
|
struct asn1crypto$_ordereddict$$$function_6___reversed__$$$genobj_1___reversed___locals *generator_heap = (struct asn1crypto$_ordereddict$$$function_6___reversed__$$$genobj_1___reversed___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_end = NULL;
|
|
generator_heap->var_curr = 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_b50337686c48a9990351e3951517c87a, module_asn1crypto$_ordereddict, 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:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_source_name_1;
|
|
if ( PyCell_GET( generator->m_closure[0] ) == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_NameError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 71;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = PyCell_GET( generator->m_closure[0] );
|
|
tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__OrderedDict__end );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 71;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( generator_heap->var_end == NULL );
|
|
generator_heap->var_end = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( generator_heap->var_end );
|
|
tmp_subscribed_name_1 = generator_heap->var_end;
|
|
tmp_subscript_name_1 = const_int_pos_1;
|
|
tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 72;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( generator_heap->var_curr == NULL );
|
|
generator_heap->var_curr = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
if ( generator_heap->var_curr == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 73;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_left_1 = generator_heap->var_curr;
|
|
if ( generator_heap->var_end == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 73;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_compexpr_right_1 = generator_heap->var_end;
|
|
tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
goto loop_end_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_expression_name_1;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
if ( generator_heap->var_curr == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 74;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_2 = generator_heap->var_curr;
|
|
tmp_subscript_name_2 = const_int_0;
|
|
tmp_expression_name_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 );
|
|
if ( tmp_expression_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 74;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_subscribed_name_2, sizeof(PyObject *), &tmp_subscript_name_2, sizeof(PyObject *), NULL );
|
|
generator->m_yield_return_index = 1;
|
|
return tmp_expression_name_1;
|
|
yield_return_1:
|
|
Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_subscribed_name_2, sizeof(PyObject *), &tmp_subscript_name_2, sizeof(PyObject *), NULL );
|
|
if ( yield_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
|
|
|
|
generator_heap->exception_lineno = 74;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_unused = yield_return_value;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_subscribed_name_3;
|
|
PyObject *tmp_subscript_name_3;
|
|
if ( generator_heap->var_curr == NULL )
|
|
{
|
|
|
|
generator_heap->exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( generator_heap->exception_type );
|
|
generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "curr" );
|
|
generator_heap->exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb );
|
|
CHAIN_EXCEPTION( generator_heap->exception_value );
|
|
|
|
generator_heap->exception_lineno = 75;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_subscribed_name_3 = generator_heap->var_curr;
|
|
tmp_subscript_name_3 = const_int_pos_1;
|
|
tmp_assign_source_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 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 = 75;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = generator_heap->var_curr;
|
|
generator_heap->var_curr = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
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 = 73;
|
|
generator_heap->type_description_1 = "coo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto loop_start_1;
|
|
loop_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,
|
|
generator->m_closure[0],
|
|
generator_heap->var_end,
|
|
generator_heap->var_curr
|
|
);
|
|
|
|
|
|
// 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_1;
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
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->var_end );
|
|
generator_heap->var_end = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_curr );
|
|
generator_heap->var_curr = 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 function_exception_exit;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_end );
|
|
generator_heap->var_end = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( generator_heap->var_curr );
|
|
generator_heap->var_curr = 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 *asn1crypto$_ordereddict$$$function_6___reversed__$$$genobj_1___reversed___maker( void )
|
|
{
|
|
return Nuitka_Generator_New(
|
|
asn1crypto$_ordereddict$$$function_6___reversed__$$$genobj_1___reversed___context,
|
|
module_asn1crypto$_ordereddict,
|
|
const_str_plain___reversed__,
|
|
#if PYTHON_VERSION >= 350
|
|
const_str_digest_c8da176fd6b7d11fbd22070ccb29a1af,
|
|
#endif
|
|
codeobj_b50337686c48a9990351e3951517c87a,
|
|
1,
|
|
sizeof(struct asn1crypto$_ordereddict$$$function_6___reversed__$$$genobj_1___reversed___locals)
|
|
);
|
|
}
|
|
|
|
|
|
static PyObject *impl_asn1crypto$_ordereddict$$$function_7_popitem( 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_last = python_pars[ 1 ];
|
|
PyObject *var_key = NULL;
|
|
PyObject *var_value = NULL;
|
|
struct Nuitka_FrameObject *frame_eabae5bbfa1592b294aec23cacd6e29d;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_eabae5bbfa1592b294aec23cacd6e29d = 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_eabae5bbfa1592b294aec23cacd6e29d, codeobj_eabae5bbfa1592b294aec23cacd6e29d, module_asn1crypto$_ordereddict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_eabae5bbfa1592b294aec23cacd6e29d = cache_frame_eabae5bbfa1592b294aec23cacd6e29d;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_eabae5bbfa1592b294aec23cacd6e29d );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_eabae5bbfa1592b294aec23cacd6e29d ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_operand_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_operand_name_1 = par_self;
|
|
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 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_make_exception_arg_1;
|
|
tmp_make_exception_arg_1 = const_str_digest_88dd2ccf2861ee9cebb70a2286bf87a2;
|
|
frame_eabae5bbfa1592b294aec23cacd6e29d->m_frame.f_lineno = 79;
|
|
{
|
|
PyObject *call_args[] = { tmp_make_exception_arg_1 };
|
|
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_KeyError, call_args );
|
|
}
|
|
|
|
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 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
int tmp_truth_name_1;
|
|
if ( par_last == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 80;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( par_last );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
tmp_called_name_1 = (PyObject *)&PyReversed_Type;
|
|
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 = 81;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_self;
|
|
frame_eabae5bbfa1592b294aec23cacd6e29d->m_frame.f_lineno = 81;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_called_instance_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 81;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_eabae5bbfa1592b294aec23cacd6e29d->m_frame.f_lineno = 81;
|
|
tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_next );
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 81;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_key == NULL );
|
|
var_key = tmp_assign_source_1;
|
|
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_called_instance_2;
|
|
PyObject *tmp_iter_arg_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 = 83;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_iter_arg_1 = par_self;
|
|
tmp_called_instance_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_called_instance_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 83;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_eabae5bbfa1592b294aec23cacd6e29d->m_frame.f_lineno = 83;
|
|
tmp_assign_source_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_next );
|
|
Py_DECREF( tmp_called_instance_2 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 83;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_key == NULL );
|
|
var_key = tmp_assign_source_2;
|
|
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_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 = 84;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_pop );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 84;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( var_key == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 84;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = var_key;
|
|
frame_eabae5bbfa1592b294aec23cacd6e29d->m_frame.f_lineno = 84;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 84;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_value == NULL );
|
|
var_value = tmp_assign_source_3;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_tuple_element_1;
|
|
if ( var_key == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 85;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_1 = var_key;
|
|
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_tuple_element_1 = var_value;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_eabae5bbfa1592b294aec23cacd6e29d );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_eabae5bbfa1592b294aec23cacd6e29d );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_eabae5bbfa1592b294aec23cacd6e29d );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_eabae5bbfa1592b294aec23cacd6e29d, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_eabae5bbfa1592b294aec23cacd6e29d->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_eabae5bbfa1592b294aec23cacd6e29d, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_eabae5bbfa1592b294aec23cacd6e29d,
|
|
type_description_1,
|
|
par_self,
|
|
par_last,
|
|
var_key,
|
|
var_value
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_eabae5bbfa1592b294aec23cacd6e29d == cache_frame_eabae5bbfa1592b294aec23cacd6e29d )
|
|
{
|
|
Py_DECREF( frame_eabae5bbfa1592b294aec23cacd6e29d );
|
|
}
|
|
cache_frame_eabae5bbfa1592b294aec23cacd6e29d = NULL;
|
|
|
|
assertFrameObject( frame_eabae5bbfa1592b294aec23cacd6e29d );
|
|
|
|
// 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( asn1crypto$_ordereddict$$$function_7_popitem );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_last );
|
|
par_last = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_key );
|
|
var_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_value );
|
|
var_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_last );
|
|
par_last = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_key );
|
|
var_key = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_value );
|
|
var_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( asn1crypto$_ordereddict$$$function_7_popitem );
|
|
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_asn1crypto$_ordereddict$$$function_8___reduce__( 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_items = NULL;
|
|
PyObject *var_tmp = NULL;
|
|
PyObject *var_inst_dict = NULL;
|
|
PyObject *outline_0_var_k = NULL;
|
|
PyObject *tmp_listcomp_1__$0 = NULL;
|
|
PyObject *tmp_listcomp_1__contraction = NULL;
|
|
PyObject *tmp_listcomp_1__iter_value_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_1c7bb783dcbb7f89e8082fc0ea601220;
|
|
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_803446635ca79d3c5279e446b7a4f7b5_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
static struct Nuitka_FrameObject *cache_frame_803446635ca79d3c5279e446b7a4f7b5_2 = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
PyObject *tmp_iterator_attempt;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
bool tmp_result;
|
|
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_1c7bb783dcbb7f89e8082fc0ea601220 = 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_1c7bb783dcbb7f89e8082fc0ea601220, codeobj_1c7bb783dcbb7f89e8082fc0ea601220, module_asn1crypto$_ordereddict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_1c7bb783dcbb7f89e8082fc0ea601220 = cache_frame_1c7bb783dcbb7f89e8082fc0ea601220;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_1c7bb783dcbb7f89e8082fc0ea601220 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_1c7bb783dcbb7f89e8082fc0ea601220 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_iter_arg_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_iter_arg_1 = par_self;
|
|
tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 88;
|
|
type_description_1 = "oooo";
|
|
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_803446635ca79d3c5279e446b7a4f7b5_2, codeobj_803446635ca79d3c5279e446b7a4f7b5, module_asn1crypto$_ordereddict, sizeof(void *)+sizeof(void *) );
|
|
frame_803446635ca79d3c5279e446b7a4f7b5_2 = cache_frame_803446635ca79d3c5279e446b7a4f7b5_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_803446635ca79d3c5279e446b7a4f7b5_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_803446635ca79d3c5279e446b7a4f7b5_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 = 88;
|
|
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 );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
CHECK_OBJECT( tmp_listcomp_1__iter_value_0 );
|
|
tmp_assign_source_5 = tmp_listcomp_1__iter_value_0;
|
|
{
|
|
PyObject *old = outline_0_var_k;
|
|
outline_0_var_k = tmp_assign_source_5;
|
|
Py_INCREF( outline_0_var_k );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_append_list_1;
|
|
PyObject *tmp_append_value_1;
|
|
PyObject *tmp_list_element_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_append_list_1 = tmp_listcomp_1__contraction;
|
|
CHECK_OBJECT( outline_0_var_k );
|
|
tmp_list_element_1 = outline_0_var_k;
|
|
tmp_append_value_1 = PyList_New( 2 );
|
|
Py_INCREF( tmp_list_element_1 );
|
|
PyList_SET_ITEM( tmp_append_value_1, 0, tmp_list_element_1 );
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_append_value_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 88;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_subscribed_name_1 = par_self;
|
|
CHECK_OBJECT( outline_0_var_k );
|
|
tmp_subscript_name_1 = outline_0_var_k;
|
|
tmp_list_element_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
|
if ( tmp_list_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_append_value_1 );
|
|
|
|
exception_lineno = 88;
|
|
type_description_2 = "oo";
|
|
goto try_except_handler_3;
|
|
}
|
|
PyList_SET_ITEM( tmp_append_value_1, 1, tmp_list_element_1 );
|
|
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 = 88;
|
|
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 = 88;
|
|
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( asn1crypto$_ordereddict$$$function_8___reduce__ );
|
|
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_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_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_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_2;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_803446635ca79d3c5279e446b7a4f7b5_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_803446635ca79d3c5279e446b7a4f7b5_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_803446635ca79d3c5279e446b7a4f7b5_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_803446635ca79d3c5279e446b7a4f7b5_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_803446635ca79d3c5279e446b7a4f7b5_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_803446635ca79d3c5279e446b7a4f7b5_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_803446635ca79d3c5279e446b7a4f7b5_2,
|
|
type_description_2,
|
|
outline_0_var_k,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_803446635ca79d3c5279e446b7a4f7b5_2 == cache_frame_803446635ca79d3c5279e446b7a4f7b5_2 )
|
|
{
|
|
Py_DECREF( frame_803446635ca79d3c5279e446b7a4f7b5_2 );
|
|
}
|
|
cache_frame_803446635ca79d3c5279e446b7a4f7b5_2 = NULL;
|
|
|
|
assertFrameObject( frame_803446635ca79d3c5279e446b7a4f7b5_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 = "oooo";
|
|
goto try_except_handler_2;
|
|
skip_nested_handling_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_8___reduce__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
Py_XDECREF( outline_0_var_k );
|
|
outline_0_var_k = 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;
|
|
|
|
{
|
|
Py_XDECREF( outline_0_var_k );
|
|
outline_0_var_k = 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 outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_8___reduce__ );
|
|
return NULL;
|
|
outline_exception_1:;
|
|
exception_lineno = 88;
|
|
goto frame_exception_exit_1;
|
|
outline_result_1:;
|
|
assert( var_items == NULL );
|
|
var_items = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__OrderedDict__map );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_6 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_assign_source_6, 0, tmp_tuple_element_1 );
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assign_source_6 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = par_self;
|
|
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__OrderedDict__end );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_assign_source_6 );
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_assign_source_6, 1, tmp_tuple_element_1 );
|
|
assert( var_tmp == NULL );
|
|
var_tmp = tmp_assign_source_6;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_attrdel_target_1;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_attrdel_target_1 = par_self;
|
|
tmp_res = PyObject_DelAttr( tmp_attrdel_target_1, const_str_plain__OrderedDict__map );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_attrdel_target_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 = 90;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_attrdel_target_2 = par_self;
|
|
tmp_res = PyObject_DelAttr( tmp_attrdel_target_2, const_str_plain__OrderedDict__end );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_vars_arg_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 = 91;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_vars_arg_1 = par_self;
|
|
tmp_called_instance_1 = LOOKUP_VARS( tmp_vars_arg_1 );
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 91;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_1c7bb783dcbb7f89e8082fc0ea601220->m_frame.f_lineno = 91;
|
|
tmp_assign_source_7 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_copy );
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
if ( tmp_assign_source_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 91;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_inst_dict == NULL );
|
|
var_inst_dict = tmp_assign_source_7;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
PyObject *tmp_iter_arg_2;
|
|
if ( var_tmp == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tmp" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 92;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_iter_arg_2 = var_tmp;
|
|
tmp_assign_source_8 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 );
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 92;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
assert( tmp_tuple_unpack_1__source_iter == NULL );
|
|
tmp_tuple_unpack_1__source_iter = tmp_assign_source_8;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
PyObject *tmp_unpack_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_9 = UNPACK_NEXT( tmp_unpack_1, 0, 2 );
|
|
if ( tmp_assign_source_9 == NULL )
|
|
{
|
|
if ( !ERROR_OCCURRED() )
|
|
{
|
|
exception_type = PyExc_StopIteration;
|
|
Py_INCREF( exception_type );
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
}
|
|
else
|
|
{
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
}
|
|
|
|
|
|
type_description_1 = "oooo";
|
|
exception_lineno = 92;
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_1 == NULL );
|
|
tmp_tuple_unpack_1__element_1 = tmp_assign_source_9;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
PyObject *tmp_unpack_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__source_iter );
|
|
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
|
|
tmp_assign_source_10 = UNPACK_NEXT( tmp_unpack_2, 1, 2 );
|
|
if ( tmp_assign_source_10 == 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 = 92;
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_tuple_unpack_1__element_2 == NULL );
|
|
tmp_tuple_unpack_1__element_2 = tmp_assign_source_10;
|
|
|
|
}
|
|
{
|
|
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 = 92;
|
|
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_1 = "oooo";
|
|
exception_lineno = 92;
|
|
goto try_except_handler_5;
|
|
}
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_5:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter );
|
|
Py_DECREF( tmp_tuple_unpack_1__source_iter );
|
|
tmp_tuple_unpack_1__source_iter = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
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_assattr_name_1;
|
|
PyObject *tmp_assattr_target_1;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_1 );
|
|
tmp_assattr_name_1 = tmp_tuple_unpack_1__element_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 = 92;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_assattr_target_1 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__OrderedDict__map, tmp_assattr_name_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 92;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_1 );
|
|
tmp_tuple_unpack_1__element_1 = NULL;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_2;
|
|
PyObject *tmp_assattr_target_2;
|
|
CHECK_OBJECT( tmp_tuple_unpack_1__element_2 );
|
|
tmp_assattr_name_2 = tmp_tuple_unpack_1__element_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 = 92;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
|
|
tmp_assattr_target_2 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__OrderedDict__end, tmp_assattr_name_2 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 92;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
goto try_end_2;
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
exception_keeper_type_4 = exception_type;
|
|
exception_keeper_value_4 = exception_value;
|
|
exception_keeper_tb_4 = exception_tb;
|
|
exception_keeper_lineno_4 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
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_4;
|
|
exception_value = exception_keeper_value_4;
|
|
exception_tb = exception_keeper_tb_4;
|
|
exception_lineno = exception_keeper_lineno_4;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_2:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
int tmp_truth_name_1;
|
|
if ( var_inst_dict == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "inst_dict" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 93;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( var_inst_dict );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 93;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_tuple_element_2;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_tuple_element_3;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 94;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_3 = par_self;
|
|
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_3 );
|
|
if ( tmp_tuple_element_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 94;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_2 );
|
|
if ( var_items == NULL )
|
|
{
|
|
Py_DECREF( tmp_return_value );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "items" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 94;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_3 = var_items;
|
|
tmp_tuple_element_2 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_3 );
|
|
PyTuple_SET_ITEM( tmp_tuple_element_2, 0, tmp_tuple_element_3 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_2 );
|
|
if ( var_inst_dict == NULL )
|
|
{
|
|
Py_DECREF( tmp_return_value );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "inst_dict" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 94;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_2 = var_inst_dict;
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 2, tmp_tuple_element_2 );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_tuple_element_4;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_tuple_element_5;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 95;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_4 = par_self;
|
|
tmp_tuple_element_4 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_4 );
|
|
if ( tmp_tuple_element_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 95;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_4 );
|
|
if ( var_items == NULL )
|
|
{
|
|
Py_DECREF( tmp_return_value );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "items" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 95;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_tuple_element_5 = var_items;
|
|
tmp_tuple_element_4 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_5 );
|
|
PyTuple_SET_ITEM( tmp_tuple_element_4, 0, tmp_tuple_element_5 );
|
|
PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_4 );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1c7bb783dcbb7f89e8082fc0ea601220 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1c7bb783dcbb7f89e8082fc0ea601220 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1c7bb783dcbb7f89e8082fc0ea601220 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_1c7bb783dcbb7f89e8082fc0ea601220, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_1c7bb783dcbb7f89e8082fc0ea601220->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_1c7bb783dcbb7f89e8082fc0ea601220, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_1c7bb783dcbb7f89e8082fc0ea601220,
|
|
type_description_1,
|
|
par_self,
|
|
var_items,
|
|
var_tmp,
|
|
var_inst_dict
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_1c7bb783dcbb7f89e8082fc0ea601220 == cache_frame_1c7bb783dcbb7f89e8082fc0ea601220 )
|
|
{
|
|
Py_DECREF( frame_1c7bb783dcbb7f89e8082fc0ea601220 );
|
|
}
|
|
cache_frame_1c7bb783dcbb7f89e8082fc0ea601220 = NULL;
|
|
|
|
assertFrameObject( frame_1c7bb783dcbb7f89e8082fc0ea601220 );
|
|
|
|
// 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( asn1crypto$_ordereddict$$$function_8___reduce__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_items );
|
|
var_items = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_tmp );
|
|
var_tmp = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_inst_dict );
|
|
var_inst_dict = 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_items );
|
|
var_items = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_tmp );
|
|
var_tmp = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_inst_dict );
|
|
var_inst_dict = 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( asn1crypto$_ordereddict$$$function_8___reduce__ );
|
|
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_asn1crypto$_ordereddict$$$function_9_keys( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_5e969911e12c5295938bb3e4d80a6753;
|
|
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_5e969911e12c5295938bb3e4d80a6753 = 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_5e969911e12c5295938bb3e4d80a6753, codeobj_5e969911e12c5295938bb3e4d80a6753, module_asn1crypto$_ordereddict, sizeof(void *) );
|
|
frame_5e969911e12c5295938bb3e4d80a6753 = cache_frame_5e969911e12c5295938bb3e4d80a6753;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_5e969911e12c5295938bb3e4d80a6753 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_5e969911e12c5295938bb3e4d80a6753 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_list_arg_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_list_arg_1 = par_self;
|
|
tmp_return_value = PySequence_List( tmp_list_arg_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 98;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5e969911e12c5295938bb3e4d80a6753 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5e969911e12c5295938bb3e4d80a6753 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_5e969911e12c5295938bb3e4d80a6753 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_5e969911e12c5295938bb3e4d80a6753, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_5e969911e12c5295938bb3e4d80a6753->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_5e969911e12c5295938bb3e4d80a6753, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_5e969911e12c5295938bb3e4d80a6753,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_5e969911e12c5295938bb3e4d80a6753 == cache_frame_5e969911e12c5295938bb3e4d80a6753 )
|
|
{
|
|
Py_DECREF( frame_5e969911e12c5295938bb3e4d80a6753 );
|
|
}
|
|
cache_frame_5e969911e12c5295938bb3e4d80a6753 = NULL;
|
|
|
|
assertFrameObject( frame_5e969911e12c5295938bb3e4d80a6753 );
|
|
|
|
// 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( asn1crypto$_ordereddict$$$function_9_keys );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)par_self );
|
|
Py_DECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_9_keys );
|
|
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_asn1crypto$_ordereddict$$$function_10___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 ];
|
|
struct Nuitka_FrameObject *frame_c9497c4d4ac499206ddbfbc0cf5273c0;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_c9497c4d4ac499206ddbfbc0cf5273c0 = 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_c9497c4d4ac499206ddbfbc0cf5273c0, codeobj_c9497c4d4ac499206ddbfbc0cf5273c0, module_asn1crypto$_ordereddict, sizeof(void *) );
|
|
frame_c9497c4d4ac499206ddbfbc0cf5273c0 = cache_frame_c9497c4d4ac499206ddbfbc0cf5273c0;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_c9497c4d4ac499206ddbfbc0cf5273c0 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_c9497c4d4ac499206ddbfbc0cf5273c0 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_operand_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_operand_name_1 = par_self;
|
|
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 = 110;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
tmp_left_name_1 = const_str_digest_cfdbbd2b4f173bd816c499641f213719;
|
|
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 = 111;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
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 = 111;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_1 );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_right_name_1 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 );
|
|
tmp_return_value = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_right_name_2;
|
|
PyObject *tmp_tuple_element_2;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_called_instance_1;
|
|
tmp_left_name_2 = const_str_digest_d44bacc2290b5d18e632348ff9d94d65;
|
|
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 = 112;
|
|
type_description_1 = "o";
|
|
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 );
|
|
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_3 );
|
|
if ( tmp_tuple_element_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_right_name_2 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_2 );
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_right_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 = 112;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_self;
|
|
frame_c9497c4d4ac499206ddbfbc0cf5273c0->m_frame.f_lineno = 112;
|
|
tmp_tuple_element_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items );
|
|
if ( tmp_tuple_element_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_2 );
|
|
tmp_return_value = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c9497c4d4ac499206ddbfbc0cf5273c0 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c9497c4d4ac499206ddbfbc0cf5273c0 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c9497c4d4ac499206ddbfbc0cf5273c0 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_c9497c4d4ac499206ddbfbc0cf5273c0, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_c9497c4d4ac499206ddbfbc0cf5273c0->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_c9497c4d4ac499206ddbfbc0cf5273c0, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_c9497c4d4ac499206ddbfbc0cf5273c0,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_c9497c4d4ac499206ddbfbc0cf5273c0 == cache_frame_c9497c4d4ac499206ddbfbc0cf5273c0 )
|
|
{
|
|
Py_DECREF( frame_c9497c4d4ac499206ddbfbc0cf5273c0 );
|
|
}
|
|
cache_frame_c9497c4d4ac499206ddbfbc0cf5273c0 = NULL;
|
|
|
|
assertFrameObject( frame_c9497c4d4ac499206ddbfbc0cf5273c0 );
|
|
|
|
// 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( asn1crypto$_ordereddict$$$function_10___repr__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_10___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_asn1crypto$_ordereddict$$$function_11_copy( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_c29ed8a0fcbce9dbc399855e34f2e4de;
|
|
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_c29ed8a0fcbce9dbc399855e34f2e4de = 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_c29ed8a0fcbce9dbc399855e34f2e4de, codeobj_c29ed8a0fcbce9dbc399855e34f2e4de, module_asn1crypto$_ordereddict, sizeof(void *) );
|
|
frame_c29ed8a0fcbce9dbc399855e34f2e4de = cache_frame_c29ed8a0fcbce9dbc399855e34f2e4de;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_c29ed8a0fcbce9dbc399855e34f2e4de );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_c29ed8a0fcbce9dbc399855e34f2e4de ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_1 = par_self;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_1 );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 115;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 115;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_self;
|
|
frame_c29ed8a0fcbce9dbc399855e34f2e4de->m_frame.f_lineno = 115;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 115;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c29ed8a0fcbce9dbc399855e34f2e4de );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c29ed8a0fcbce9dbc399855e34f2e4de );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c29ed8a0fcbce9dbc399855e34f2e4de );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_c29ed8a0fcbce9dbc399855e34f2e4de, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_c29ed8a0fcbce9dbc399855e34f2e4de->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_c29ed8a0fcbce9dbc399855e34f2e4de, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_c29ed8a0fcbce9dbc399855e34f2e4de,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_c29ed8a0fcbce9dbc399855e34f2e4de == cache_frame_c29ed8a0fcbce9dbc399855e34f2e4de )
|
|
{
|
|
Py_DECREF( frame_c29ed8a0fcbce9dbc399855e34f2e4de );
|
|
}
|
|
cache_frame_c29ed8a0fcbce9dbc399855e34f2e4de = NULL;
|
|
|
|
assertFrameObject( frame_c29ed8a0fcbce9dbc399855e34f2e4de );
|
|
|
|
// 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( asn1crypto$_ordereddict$$$function_11_copy );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_11_copy );
|
|
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_asn1crypto$_ordereddict$$$function_12_fromkeys( 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 *par_iterable = python_pars[ 1 ];
|
|
PyObject *par_value = python_pars[ 2 ];
|
|
PyObject *var_d = NULL;
|
|
PyObject *var_key = NULL;
|
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
|
struct Nuitka_FrameObject *frame_81d5addecfe102b351ea8c03527c5aaf;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
bool tmp_result;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_81d5addecfe102b351ea8c03527c5aaf = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_81d5addecfe102b351ea8c03527c5aaf, codeobj_81d5addecfe102b351ea8c03527c5aaf, module_asn1crypto$_ordereddict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_81d5addecfe102b351ea8c03527c5aaf = cache_frame_81d5addecfe102b351ea8c03527c5aaf;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_81d5addecfe102b351ea8c03527c5aaf );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_81d5addecfe102b351ea8c03527c5aaf ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_name_1;
|
|
CHECK_OBJECT( par_cls );
|
|
tmp_called_name_1 = par_cls;
|
|
frame_81d5addecfe102b351ea8c03527c5aaf->m_frame.f_lineno = 119;
|
|
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_d == NULL );
|
|
var_d = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_iter_arg_1;
|
|
if ( par_iterable == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "iterable" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 120;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_iter_arg_1 = par_iterable;
|
|
tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
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 = 120;
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_for_loop_1__iter_value;
|
|
tmp_for_loop_1__iter_value = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
|
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
|
|
{
|
|
PyObject *old = var_key;
|
|
var_key = tmp_assign_source_4;
|
|
Py_INCREF( var_key );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_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 = 121;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_ass_subvalue_1 = par_value;
|
|
if ( var_d == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "d" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 121;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = var_d;
|
|
CHECK_OBJECT( var_key );
|
|
tmp_ass_subscript_1 = var_key;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 121;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
type_description_1 = "ooooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_1;
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_1:;
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
if ( var_d == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "d" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 122;
|
|
type_description_1 = "ooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = var_d;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_81d5addecfe102b351ea8c03527c5aaf );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_81d5addecfe102b351ea8c03527c5aaf );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_81d5addecfe102b351ea8c03527c5aaf );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_81d5addecfe102b351ea8c03527c5aaf, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_81d5addecfe102b351ea8c03527c5aaf->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_81d5addecfe102b351ea8c03527c5aaf, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_81d5addecfe102b351ea8c03527c5aaf,
|
|
type_description_1,
|
|
par_cls,
|
|
par_iterable,
|
|
par_value,
|
|
var_d,
|
|
var_key
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_81d5addecfe102b351ea8c03527c5aaf == cache_frame_81d5addecfe102b351ea8c03527c5aaf )
|
|
{
|
|
Py_DECREF( frame_81d5addecfe102b351ea8c03527c5aaf );
|
|
}
|
|
cache_frame_81d5addecfe102b351ea8c03527c5aaf = NULL;
|
|
|
|
assertFrameObject( frame_81d5addecfe102b351ea8c03527c5aaf );
|
|
|
|
// 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( asn1crypto$_ordereddict$$$function_12_fromkeys );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_cls );
|
|
par_cls = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_iterable );
|
|
par_iterable = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_d );
|
|
var_d = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_key );
|
|
var_key = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_cls );
|
|
par_cls = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_iterable );
|
|
par_iterable = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_value );
|
|
par_value = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_d );
|
|
var_d = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_key );
|
|
var_key = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_12_fromkeys );
|
|
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_asn1crypto$_ordereddict$$$function_13___eq__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *par_other = python_pars[ 1 ];
|
|
PyObject *var_p = NULL;
|
|
PyObject *var_q = 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_7b6c070b59899334a273d89c73c47501;
|
|
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;
|
|
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;
|
|
static struct Nuitka_FrameObject *cache_frame_7b6c070b59899334a273d89c73c47501 = 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_7b6c070b59899334a273d89c73c47501, codeobj_7b6c070b59899334a273d89c73c47501, module_asn1crypto$_ordereddict, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_7b6c070b59899334a273d89c73c47501 = cache_frame_7b6c070b59899334a273d89c73c47501;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_7b6c070b59899334a273d89c73c47501 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_7b6c070b59899334a273d89c73c47501 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_isinstance_inst_1;
|
|
PyObject *tmp_isinstance_cls_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_other );
|
|
tmp_isinstance_inst_1 = par_other;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_OrderedDict );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OrderedDict );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OrderedDict" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 125;
|
|
type_description_1 = "oooo";
|
|
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 = 125;
|
|
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:;
|
|
{
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_len_arg_1;
|
|
PyObject *tmp_len_arg_2;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_len_arg_1 = par_self;
|
|
tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 );
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 126;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_other == NULL )
|
|
{
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 126;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_len_arg_2 = par_other;
|
|
tmp_compexpr_right_1 = BUILTIN_LEN( tmp_len_arg_2 );
|
|
if ( tmp_compexpr_right_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
|
|
exception_lineno = 126;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
Py_DECREF( tmp_compexpr_right_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 126;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
tmp_return_value = Py_False;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_called_instance_2;
|
|
tmp_called_name_1 = (PyObject *)&PyZip_Type;
|
|
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 = 128;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_self;
|
|
frame_7b6c070b59899334a273d89c73c47501->m_frame.f_lineno = 128;
|
|
tmp_args_element_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items );
|
|
if ( tmp_args_element_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_other == 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", "other" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = par_other;
|
|
frame_7b6c070b59899334a273d89c73c47501->m_frame.f_lineno = 128;
|
|
tmp_args_element_name_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_items );
|
|
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 = 128;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_7b6c070b59899334a273d89c73c47501->m_frame.f_lineno = 128;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_iter_arg_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_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "oooo";
|
|
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 = 128;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
|
tmp_for_loop_1__for_iterator = tmp_assign_source_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 = "oooo";
|
|
exception_lineno = 128;
|
|
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 = 128;
|
|
type_description_1 = "oooo";
|
|
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 = "oooo";
|
|
exception_lineno = 128;
|
|
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 = "oooo";
|
|
exception_lineno = 128;
|
|
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 = "oooo";
|
|
exception_lineno = 128;
|
|
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 = "oooo";
|
|
exception_lineno = 128;
|
|
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_p;
|
|
var_p = tmp_assign_source_6;
|
|
Py_INCREF( var_p );
|
|
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_q;
|
|
var_q = tmp_assign_source_7;
|
|
Py_INCREF( var_q );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_tuple_unpack_1__element_2 );
|
|
tmp_tuple_unpack_1__element_2 = NULL;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_3;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
if ( var_p == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 129;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_compexpr_left_2 = var_p;
|
|
if ( var_q == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "q" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 129;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_compexpr_right_2 = var_q;
|
|
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 = 129;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
tmp_return_value = Py_False;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_2;
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 128;
|
|
type_description_1 = "oooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
goto try_end_3;
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__iter_value );
|
|
Py_DECREF( tmp_for_loop_1__iter_value );
|
|
tmp_for_loop_1__iter_value = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
|
tmp_for_loop_1__for_iterator = NULL;
|
|
|
|
}
|
|
{
|
|
goto frame_return_exit_1;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_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;
|
|
|
|
}
|
|
{
|
|
tmp_return_value = Py_True;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_called_instance_3;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_args_element_name_4;
|
|
tmp_called_instance_3 = (PyObject *)&PyDict_Type;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_args_element_name_3 = par_self;
|
|
CHECK_OBJECT( par_other );
|
|
tmp_args_element_name_4 = par_other;
|
|
frame_7b6c070b59899334a273d89c73c47501->m_frame.f_lineno = 132;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 };
|
|
tmp_return_value = CALL_METHOD_WITH_ARGS2( tmp_called_instance_3, const_str_plain___eq__, call_args );
|
|
}
|
|
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 132;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7b6c070b59899334a273d89c73c47501 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7b6c070b59899334a273d89c73c47501 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7b6c070b59899334a273d89c73c47501 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_7b6c070b59899334a273d89c73c47501, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_7b6c070b59899334a273d89c73c47501->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_7b6c070b59899334a273d89c73c47501, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_7b6c070b59899334a273d89c73c47501,
|
|
type_description_1,
|
|
par_self,
|
|
par_other,
|
|
var_p,
|
|
var_q
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_7b6c070b59899334a273d89c73c47501 == cache_frame_7b6c070b59899334a273d89c73c47501 )
|
|
{
|
|
Py_DECREF( frame_7b6c070b59899334a273d89c73c47501 );
|
|
}
|
|
cache_frame_7b6c070b59899334a273d89c73c47501 = NULL;
|
|
|
|
assertFrameObject( frame_7b6c070b59899334a273d89c73c47501 );
|
|
|
|
// 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( asn1crypto$_ordereddict$$$function_13___eq__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_other );
|
|
par_other = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_p );
|
|
var_p = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_q );
|
|
var_q = 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_other );
|
|
par_other = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_p );
|
|
var_p = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_q );
|
|
var_q = 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( asn1crypto$_ordereddict$$$function_13___eq__ );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_asn1crypto$_ordereddict$$$function_14___ne__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *par_other = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_55dac2029f74366376b97412485c18fc;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *tmp_return_value = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
int tmp_res;
|
|
static struct Nuitka_FrameObject *cache_frame_55dac2029f74366376b97412485c18fc = 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_55dac2029f74366376b97412485c18fc, codeobj_55dac2029f74366376b97412485c18fc, module_asn1crypto$_ordereddict, sizeof(void *)+sizeof(void *) );
|
|
frame_55dac2029f74366376b97412485c18fc = cache_frame_55dac2029f74366376b97412485c18fc;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_55dac2029f74366376b97412485c18fc );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_55dac2029f74366376b97412485c18fc ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_compexpr_left_1 = par_self;
|
|
CHECK_OBJECT( par_other );
|
|
tmp_compexpr_right_1 = par_other;
|
|
tmp_operand_name_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
if ( tmp_operand_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 135;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
|
|
Py_DECREF( tmp_operand_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 135;
|
|
type_description_1 = "oo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_return_value = ( tmp_res == 0 ) ? Py_True : Py_False;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_55dac2029f74366376b97412485c18fc );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_55dac2029f74366376b97412485c18fc );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_55dac2029f74366376b97412485c18fc );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_55dac2029f74366376b97412485c18fc, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_55dac2029f74366376b97412485c18fc->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_55dac2029f74366376b97412485c18fc, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_55dac2029f74366376b97412485c18fc,
|
|
type_description_1,
|
|
par_self,
|
|
par_other
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_55dac2029f74366376b97412485c18fc == cache_frame_55dac2029f74366376b97412485c18fc )
|
|
{
|
|
Py_DECREF( frame_55dac2029f74366376b97412485c18fc );
|
|
}
|
|
cache_frame_55dac2029f74366376b97412485c18fc = NULL;
|
|
|
|
assertFrameObject( frame_55dac2029f74366376b97412485c18fc );
|
|
|
|
// 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( asn1crypto$_ordereddict$$$function_14___ne__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_other );
|
|
par_other = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_other );
|
|
par_other = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict$$$function_14___ne__ );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_10___repr__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_10___repr__,
|
|
const_str_plain___repr__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_ebdcec19e7bcf2ba8bda64d6ba1f1cca,
|
|
#endif
|
|
codeobj_c9497c4d4ac499206ddbfbc0cf5273c0,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_11_copy( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_11_copy,
|
|
const_str_plain_copy,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_6d198bd39eca79ed9cddf9957568617c,
|
|
#endif
|
|
codeobj_c29ed8a0fcbce9dbc399855e34f2e4de,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_12_fromkeys( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_12_fromkeys,
|
|
const_str_plain_fromkeys,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_beb858f210df624f0783e699caf90c05,
|
|
#endif
|
|
codeobj_81d5addecfe102b351ea8c03527c5aaf,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_13___eq__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_13___eq__,
|
|
const_str_plain___eq__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_24436575bf9ec4ac30eb73338f660906,
|
|
#endif
|
|
codeobj_7b6c070b59899334a273d89c73c47501,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_14___ne__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_14___ne__,
|
|
const_str_plain___ne__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_7cfcb25a24e7cac7cc6ee84a854710d7,
|
|
#endif
|
|
codeobj_55dac2029f74366376b97412485c18fc,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_1___init__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_1___init__,
|
|
const_str_plain___init__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_0e1156af3a88a8e936e8674a3d6b6806,
|
|
#endif
|
|
codeobj_7dfadde55fe5921b19e099e9fcd88e87,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_2_clear( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_2_clear,
|
|
const_str_plain_clear,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_351154bb99ab4ba47a9bef35a8154a6c,
|
|
#endif
|
|
codeobj_bc8c73e6cdbffe7dbd02d2c37e53fdf1,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_3___setitem__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_3___setitem__,
|
|
const_str_plain___setitem__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_bbc5966bbdd6035a3d46e4935aaa5c75,
|
|
#endif
|
|
codeobj_7db7e19fa0c1f5a5445b7d87bc1b5317,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_4___delitem__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_4___delitem__,
|
|
const_str_plain___delitem__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_f385ad6f00729df87e8e065ba3237964,
|
|
#endif
|
|
codeobj_52e3572a9b41f31eac79b371eae28830,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_5___iter__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_5___iter__,
|
|
const_str_plain___iter__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_43c170d8223c5638f8e1bef26d0a2d31,
|
|
#endif
|
|
codeobj_adaa8a4a1531f300b953f671c5cb8f3b,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_6___reversed__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_6___reversed__,
|
|
const_str_plain___reversed__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_c8da176fd6b7d11fbd22070ccb29a1af,
|
|
#endif
|
|
codeobj_b50337686c48a9990351e3951517c87a,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_7_popitem( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_7_popitem,
|
|
const_str_plain_popitem,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_59e66388ada67b5c6aa016ad0dc01b72,
|
|
#endif
|
|
codeobj_eabae5bbfa1592b294aec23cacd6e29d,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_8___reduce__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_8___reduce__,
|
|
const_str_plain___reduce__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_5e7c8c8b99ef864465e4c113b3237a03,
|
|
#endif
|
|
codeobj_1c7bb783dcbb7f89e8082fc0ea601220,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_9_keys( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_asn1crypto$_ordereddict$$$function_9_keys,
|
|
const_str_plain_keys,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_76cbcf216040ade0f3f170fb1ee5b1bd,
|
|
#endif
|
|
codeobj_5e969911e12c5295938bb3e4d80a6753,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_asn1crypto$_ordereddict,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
static struct PyModuleDef mdef_asn1crypto$_ordereddict =
|
|
{
|
|
PyModuleDef_HEAD_INIT,
|
|
"asn1crypto._ordereddict", /* 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( asn1crypto$_ordereddict )
|
|
{
|
|
#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_asn1crypto$_ordereddict );
|
|
}
|
|
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("asn1crypto._ordereddict: 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("asn1crypto._ordereddict: Calling createModuleConstants().");
|
|
#endif
|
|
createModuleConstants();
|
|
|
|
/* The code objects used by this module are created now. */
|
|
#ifdef _NUITKA_TRACE
|
|
puts("asn1crypto._ordereddict: Calling createModuleCodeObjects().");
|
|
#endif
|
|
createModuleCodeObjects();
|
|
|
|
// puts( "in initasn1crypto$_ordereddict" );
|
|
|
|
// 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_asn1crypto$_ordereddict = Py_InitModule4(
|
|
"asn1crypto._ordereddict", // 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_asn1crypto$_ordereddict = PyModule_Create( &mdef_asn1crypto$_ordereddict );
|
|
#endif
|
|
|
|
moduledict_asn1crypto$_ordereddict = MODULE_DICT( module_asn1crypto$_ordereddict );
|
|
|
|
// Update "__package__" value to what it ought to be.
|
|
{
|
|
#if 0
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_asn1crypto$_ordereddict,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
module_name
|
|
);
|
|
|
|
#else
|
|
|
|
#if PYTHON_VERSION < 300
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (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_asn1crypto$_ordereddict,
|
|
(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_asn1crypto$_ordereddict, (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_asn1crypto$_ordereddict,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
PyUnicode_Substring( module_name, 0, dot_index )
|
|
);
|
|
}
|
|
#endif
|
|
#endif
|
|
}
|
|
|
|
CHECK_OBJECT( module_asn1crypto$_ordereddict );
|
|
|
|
// 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_d77278c454b7e3a07661ca3caf75d9e5, module_asn1crypto$_ordereddict );
|
|
|
|
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_asn1crypto$_ordereddict, (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_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain___builtins__, value );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
UPDATE_STRING_DICT0( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
|
|
#endif
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
#if 0
|
|
UPDATE_STRING_DICT0( moduledict_asn1crypto$_ordereddict, (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_asn1crypto$_ordereddict, (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_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain___spec__, spec_value );
|
|
|
|
Py_DECREF( module_spec_class );
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
// Temp variables if any
|
|
PyObject *outline_0_var___class__ = NULL;
|
|
PyObject *tmp_class_creation_1__bases = NULL;
|
|
PyObject *tmp_class_creation_1__bases_orig = NULL;
|
|
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
|
|
PyObject *tmp_class_creation_1__metaclass = NULL;
|
|
PyObject *tmp_class_creation_1__prepared = NULL;
|
|
struct Nuitka_FrameObject *frame_3c21dc587819947bb6ec28d2f5281772;
|
|
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_asn1crypto$_ordereddict_33 = NULL;
|
|
PyObject *tmp_dictset_value;
|
|
struct Nuitka_FrameObject *frame_cede772fe9d38bdb06d788d89d942fe4_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_cede772fe9d38bdb06d788d89d942fe4_2 = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
|
|
// Module code.
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = Py_None;
|
|
UPDATE_STRING_DICT0( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = const_str_digest_407adae9ec297a2cda3485b398da3f98;
|
|
UPDATE_STRING_DICT0( moduledict_asn1crypto$_ordereddict, (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_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
PyObject *tmp_name_name_1;
|
|
PyObject *tmp_globals_name_1;
|
|
PyObject *tmp_locals_name_1;
|
|
PyObject *tmp_fromlist_name_1;
|
|
PyObject *tmp_level_name_1;
|
|
tmp_name_name_1 = const_str_plain_sys;
|
|
tmp_globals_name_1 = (PyObject *)moduledict_asn1crypto$_ordereddict;
|
|
tmp_locals_name_1 = Py_None;
|
|
tmp_fromlist_name_1 = Py_None;
|
|
tmp_level_name_1 = const_int_0;
|
|
tmp_assign_source_4 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
|
|
assert( !(tmp_assign_source_4 == NULL) );
|
|
UPDATE_STRING_DICT1( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_sys, tmp_assign_source_4 );
|
|
}
|
|
// Frame without reuse.
|
|
frame_3c21dc587819947bb6ec28d2f5281772 = MAKE_MODULE_FRAME( codeobj_3c21dc587819947bb6ec28d2f5281772, module_asn1crypto$_ordereddict );
|
|
|
|
// Push the new frame as the currently active one, and we should be exclusively
|
|
// owning it.
|
|
pushFrameStack( frame_3c21dc587819947bb6ec28d2f5281772 );
|
|
assert( Py_REFCNT( frame_3c21dc587819947bb6ec28d2f5281772 ) == 2 );
|
|
|
|
// Framed code:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_operand_name_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_sys );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_1 );
|
|
tmp_source_name_1 = tmp_mvar_value_1;
|
|
tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_version_info );
|
|
if ( tmp_compexpr_left_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_compexpr_right_1 = const_tuple_int_pos_2_int_pos_7_tuple;
|
|
tmp_operand_name_1 = RICH_COMPARE_LT( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
|
Py_DECREF( tmp_compexpr_left_1 );
|
|
if ( tmp_operand_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
|
|
Py_DECREF( tmp_operand_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
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_5;
|
|
PyObject *tmp_import_name_from_1;
|
|
PyObject *tmp_name_name_2;
|
|
PyObject *tmp_globals_name_2;
|
|
PyObject *tmp_locals_name_2;
|
|
PyObject *tmp_fromlist_name_2;
|
|
PyObject *tmp_level_name_2;
|
|
tmp_name_name_2 = const_str_plain_collections;
|
|
tmp_globals_name_2 = (PyObject *)moduledict_asn1crypto$_ordereddict;
|
|
tmp_locals_name_2 = Py_None;
|
|
tmp_fromlist_name_2 = const_tuple_str_plain_OrderedDict_tuple;
|
|
tmp_level_name_2 = const_int_0;
|
|
frame_3c21dc587819947bb6ec28d2f5281772->m_frame.f_lineno = 27;
|
|
tmp_import_name_from_1 = 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_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 27;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_OrderedDict );
|
|
Py_DECREF( tmp_import_name_from_1 );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 27;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_OrderedDict, tmp_assign_source_5 );
|
|
}
|
|
goto branch_end_1;
|
|
branch_no_1:;
|
|
{
|
|
PyObject *tmp_assign_source_6;
|
|
PyObject *tmp_import_name_from_2;
|
|
PyObject *tmp_name_name_3;
|
|
PyObject *tmp_globals_name_3;
|
|
PyObject *tmp_locals_name_3;
|
|
PyObject *tmp_fromlist_name_3;
|
|
PyObject *tmp_level_name_3;
|
|
tmp_name_name_3 = const_str_plain_UserDict;
|
|
tmp_globals_name_3 = (PyObject *)moduledict_asn1crypto$_ordereddict;
|
|
tmp_locals_name_3 = Py_None;
|
|
tmp_fromlist_name_3 = const_tuple_str_plain_DictMixin_tuple;
|
|
tmp_level_name_3 = const_int_0;
|
|
frame_3c21dc587819947bb6ec28d2f5281772->m_frame.f_lineno = 31;
|
|
tmp_import_name_from_2 = 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_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 31;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_DictMixin );
|
|
Py_DECREF( tmp_import_name_from_2 );
|
|
if ( tmp_assign_source_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 31;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_DictMixin, tmp_assign_source_6 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_7;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
tmp_tuple_element_1 = (PyObject *)&PyDict_Type;
|
|
tmp_assign_source_7 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_assign_source_7, 0, tmp_tuple_element_1 );
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
}
|
|
|
|
CHECK_OBJECT( tmp_mvar_value_2 );
|
|
tmp_tuple_element_1 = tmp_mvar_value_2;
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_assign_source_7, 1, tmp_tuple_element_1 );
|
|
assert( tmp_class_creation_1__bases_orig == NULL );
|
|
tmp_class_creation_1__bases_orig = tmp_assign_source_7;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
PyObject *tmp_dircall_arg1_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
|
|
tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig;
|
|
Py_INCREF( tmp_dircall_arg1_1 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
|
|
tmp_assign_source_8 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 33;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
assert( tmp_class_creation_1__bases == NULL );
|
|
tmp_class_creation_1__bases = tmp_assign_source_8;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
tmp_assign_source_9 = PyDict_New();
|
|
assert( tmp_class_creation_1__class_decl_dict == NULL );
|
|
tmp_class_creation_1__class_decl_dict = tmp_assign_source_9;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
PyObject *tmp_metaclass_name_1;
|
|
nuitka_bool tmp_condition_result_2;
|
|
PyObject *tmp_key_name_1;
|
|
PyObject *tmp_dict_name_1;
|
|
PyObject *tmp_dict_name_2;
|
|
PyObject *tmp_key_name_2;
|
|
nuitka_bool tmp_condition_result_3;
|
|
int tmp_truth_name_1;
|
|
PyObject *tmp_type_arg_1;
|
|
PyObject *tmp_subscribed_name_1;
|
|
PyObject *tmp_subscript_name_1;
|
|
PyObject *tmp_bases_name_1;
|
|
tmp_key_name_1 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_1, tmp_key_name_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 33;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_1;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_1;
|
|
}
|
|
condexpr_true_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
tmp_key_name_2 = const_str_plain_metaclass;
|
|
tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 );
|
|
if ( tmp_metaclass_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 33;
|
|
|
|
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 = 33;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_condition_result_3 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_2;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_2;
|
|
}
|
|
condexpr_true_2:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_subscribed_name_1 = tmp_class_creation_1__bases;
|
|
tmp_subscript_name_1 = const_int_0;
|
|
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
|
if ( tmp_type_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 33;
|
|
|
|
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 = 33;
|
|
|
|
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_10 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
|
|
Py_DECREF( tmp_metaclass_name_1 );
|
|
if ( tmp_assign_source_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 33;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
assert( tmp_class_creation_1__metaclass == NULL );
|
|
tmp_class_creation_1__metaclass = tmp_assign_source_10;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_key_name_3;
|
|
PyObject *tmp_dict_name_3;
|
|
tmp_key_name_3 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 33;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
|
|
tmp_dictdel_key = const_str_plain_metaclass;
|
|
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 33;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
}
|
|
branch_no_2:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_5;
|
|
PyObject *tmp_source_name_2;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_source_name_2 = tmp_class_creation_1__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_2, const_str_plain___prepare__ );
|
|
tmp_condition_result_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_assign_source_11;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_args_name_1;
|
|
PyObject *tmp_tuple_element_2;
|
|
PyObject *tmp_kw_name_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_source_name_3 = tmp_class_creation_1__metaclass;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___prepare__ );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 33;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_tuple_element_2 = const_str_plain_OrderedDict;
|
|
tmp_args_name_1 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_2 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_2 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_2 );
|
|
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_2 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
|
|
frame_3c21dc587819947bb6ec28d2f5281772->m_frame.f_lineno = 33;
|
|
tmp_assign_source_11 = 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_11 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 33;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_11;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_6;
|
|
PyObject *tmp_operand_name_2;
|
|
PyObject *tmp_source_name_4;
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_source_name_4 = tmp_class_creation_1__prepared;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_4, const_str_plain___getitem__ );
|
|
tmp_operand_name_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 = 33;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_condition_result_6 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_4;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_4;
|
|
}
|
|
branch_yes_4:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_raise_value_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_tuple_element_3;
|
|
PyObject *tmp_getattr_target_1;
|
|
PyObject *tmp_getattr_attr_1;
|
|
PyObject *tmp_getattr_default_1;
|
|
PyObject *tmp_source_name_5;
|
|
PyObject *tmp_type_arg_2;
|
|
tmp_raise_type_1 = PyExc_TypeError;
|
|
tmp_left_name_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_3 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 33;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
tmp_right_name_1 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_3 );
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_type_arg_2 = tmp_class_creation_1__prepared;
|
|
tmp_source_name_5 = BUILTIN_TYPE1( tmp_type_arg_2 );
|
|
assert( !(tmp_source_name_5 == NULL) );
|
|
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_5 );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
|
|
exception_lineno = 33;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_3 );
|
|
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 = 33;
|
|
|
|
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 = 33;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
branch_no_4:;
|
|
}
|
|
goto branch_end_3;
|
|
branch_no_3:;
|
|
{
|
|
PyObject *tmp_assign_source_12;
|
|
tmp_assign_source_12 = PyDict_New();
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_12;
|
|
|
|
}
|
|
branch_end_3:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
{
|
|
PyObject *tmp_set_locals_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_set_locals_1 = tmp_class_creation_1__prepared;
|
|
locals_asn1crypto$_ordereddict_33 = tmp_set_locals_1;
|
|
Py_INCREF( tmp_set_locals_1 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_d77278c454b7e3a07661ca3caf75d9e5;
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, 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 = 33;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_OrderedDict;
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, 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 = 33;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_cede772fe9d38bdb06d788d89d942fe4_2, codeobj_cede772fe9d38bdb06d788d89d942fe4, module_asn1crypto$_ordereddict, sizeof(void *) );
|
|
frame_cede772fe9d38bdb06d788d89d942fe4_2 = cache_frame_cede772fe9d38bdb06d788d89d942fe4_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_cede772fe9d38bdb06d788d89d942fe4_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_cede772fe9d38bdb06d788d89d942fe4_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_1___init__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, 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 = 35;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_2_clear( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_clear, 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 = 44;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_3___setitem__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain___setitem__, 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 = 50;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_4___delitem__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain___delitem__, 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 = 57;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_5___iter__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain___iter__, 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 = 63;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_6___reversed__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain___reversed__, 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 = 70;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_defaults_1;
|
|
tmp_defaults_1 = const_tuple_true_tuple;
|
|
Py_INCREF( tmp_defaults_1 );
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_7_popitem( tmp_defaults_1 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_popitem, 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 = 77;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_8___reduce__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain___reduce__, 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 = 87;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_9_keys( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_keys, 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 = 97;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_mvar_value_3;
|
|
tmp_source_name_6 = PyObject_GetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_DictMixin );
|
|
|
|
if ( tmp_source_name_6 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DictMixin" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 100;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
tmp_source_name_6 = tmp_mvar_value_3;
|
|
Py_INCREF( tmp_source_name_6 );
|
|
}
|
|
}
|
|
|
|
tmp_dictset_value = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_setdefault );
|
|
Py_DECREF( tmp_source_name_6 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 100;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_setdefault, 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 = 100;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_source_name_7;
|
|
PyObject *tmp_mvar_value_4;
|
|
tmp_source_name_7 = PyObject_GetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_DictMixin );
|
|
|
|
if ( tmp_source_name_7 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DictMixin" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 101;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
tmp_source_name_7 = tmp_mvar_value_4;
|
|
Py_INCREF( tmp_source_name_7 );
|
|
}
|
|
}
|
|
|
|
tmp_dictset_value = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_update );
|
|
Py_DECREF( tmp_source_name_7 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 101;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_update, 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 = 101;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_source_name_8;
|
|
PyObject *tmp_mvar_value_5;
|
|
tmp_source_name_8 = PyObject_GetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_DictMixin );
|
|
|
|
if ( tmp_source_name_8 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
|
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
|
{
|
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
}
|
|
|
|
if ( tmp_mvar_value_5 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DictMixin" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 102;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
tmp_source_name_8 = tmp_mvar_value_5;
|
|
Py_INCREF( tmp_source_name_8 );
|
|
}
|
|
}
|
|
|
|
tmp_dictset_value = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_pop );
|
|
Py_DECREF( tmp_source_name_8 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 102;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_pop, 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 = 102;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_source_name_9;
|
|
PyObject *tmp_mvar_value_6;
|
|
tmp_source_name_9 = PyObject_GetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_DictMixin );
|
|
|
|
if ( tmp_source_name_9 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
|
|
if (unlikely( tmp_mvar_value_6 == NULL ))
|
|
{
|
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
}
|
|
|
|
if ( tmp_mvar_value_6 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DictMixin" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 103;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
tmp_source_name_9 = tmp_mvar_value_6;
|
|
Py_INCREF( tmp_source_name_9 );
|
|
}
|
|
}
|
|
|
|
tmp_dictset_value = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_values );
|
|
Py_DECREF( tmp_source_name_9 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 103;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_values, 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 = 103;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_source_name_10;
|
|
PyObject *tmp_mvar_value_7;
|
|
tmp_source_name_10 = PyObject_GetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_DictMixin );
|
|
|
|
if ( tmp_source_name_10 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
|
|
if (unlikely( tmp_mvar_value_7 == NULL ))
|
|
{
|
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
}
|
|
|
|
if ( tmp_mvar_value_7 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DictMixin" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 104;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
tmp_source_name_10 = tmp_mvar_value_7;
|
|
Py_INCREF( tmp_source_name_10 );
|
|
}
|
|
}
|
|
|
|
tmp_dictset_value = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_items );
|
|
Py_DECREF( tmp_source_name_10 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 104;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_items, 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 = 104;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_source_name_11;
|
|
PyObject *tmp_mvar_value_8;
|
|
tmp_source_name_11 = PyObject_GetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_DictMixin );
|
|
|
|
if ( tmp_source_name_11 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
|
|
if (unlikely( tmp_mvar_value_8 == NULL ))
|
|
{
|
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
}
|
|
|
|
if ( tmp_mvar_value_8 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DictMixin" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 105;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
tmp_source_name_11 = tmp_mvar_value_8;
|
|
Py_INCREF( tmp_source_name_11 );
|
|
}
|
|
}
|
|
|
|
tmp_dictset_value = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_iterkeys );
|
|
Py_DECREF( tmp_source_name_11 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 105;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_iterkeys, 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 = 105;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_source_name_12;
|
|
PyObject *tmp_mvar_value_9;
|
|
tmp_source_name_12 = PyObject_GetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_DictMixin );
|
|
|
|
if ( tmp_source_name_12 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
|
|
if (unlikely( tmp_mvar_value_9 == NULL ))
|
|
{
|
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
}
|
|
|
|
if ( tmp_mvar_value_9 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DictMixin" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 106;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
tmp_source_name_12 = tmp_mvar_value_9;
|
|
Py_INCREF( tmp_source_name_12 );
|
|
}
|
|
}
|
|
|
|
tmp_dictset_value = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_itervalues );
|
|
Py_DECREF( tmp_source_name_12 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 106;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_itervalues, 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 = 106;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_source_name_13;
|
|
PyObject *tmp_mvar_value_10;
|
|
tmp_source_name_13 = PyObject_GetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_DictMixin );
|
|
|
|
if ( tmp_source_name_13 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
|
|
if (unlikely( tmp_mvar_value_10 == NULL ))
|
|
{
|
|
tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DictMixin );
|
|
}
|
|
|
|
if ( tmp_mvar_value_10 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DictMixin" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 107;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
tmp_source_name_13 = tmp_mvar_value_10;
|
|
Py_INCREF( tmp_source_name_13 );
|
|
}
|
|
}
|
|
|
|
tmp_dictset_value = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_iteritems );
|
|
Py_DECREF( tmp_source_name_13 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 107;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_iteritems, 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 = 107;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_10___repr__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, 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 = 109;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_11_copy( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_copy, 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 = 114;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_7;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_defaults_2;
|
|
PyObject *tmp_classmethod_arg_1;
|
|
PyObject *tmp_defaults_3;
|
|
tmp_res = MAPPING_HAS_ITEM( locals_asn1crypto$_ordereddict_33, const_str_plain_classmethod );
|
|
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 117;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_condition_result_7 = ( tmp_res == 1 ) ? 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:;
|
|
tmp_called_name_2 = PyObject_GetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_classmethod );
|
|
|
|
if ( tmp_called_name_2 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 117;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 117;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_defaults_2 = const_tuple_none_tuple;
|
|
Py_INCREF( tmp_defaults_2 );
|
|
tmp_args_element_name_1 = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_12_fromkeys( tmp_defaults_2 );
|
|
|
|
|
|
|
|
frame_cede772fe9d38bdb06d788d89d942fe4_2->m_frame.f_lineno = 117;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 117;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
goto condexpr_end_3;
|
|
condexpr_false_3:;
|
|
tmp_defaults_3 = const_tuple_none_tuple;
|
|
Py_INCREF( tmp_defaults_3 );
|
|
tmp_classmethod_arg_1 = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_12_fromkeys( tmp_defaults_3 );
|
|
|
|
|
|
|
|
tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_1 );
|
|
Py_DECREF( tmp_classmethod_arg_1 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 117;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
condexpr_end_3:;
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain_fromkeys, 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 = 117;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_13___eq__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain___eq__, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 124;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_asn1crypto$_ordereddict$$$function_14___ne__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, const_str_plain___ne__, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 134;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_cede772fe9d38bdb06d788d89d942fe4_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_cede772fe9d38bdb06d788d89d942fe4_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_cede772fe9d38bdb06d788d89d942fe4_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_cede772fe9d38bdb06d788d89d942fe4_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_cede772fe9d38bdb06d788d89d942fe4_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_cede772fe9d38bdb06d788d89d942fe4_2,
|
|
type_description_2,
|
|
outline_0_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_cede772fe9d38bdb06d788d89d942fe4_2 == cache_frame_cede772fe9d38bdb06d788d89d942fe4_2 )
|
|
{
|
|
Py_DECREF( frame_cede772fe9d38bdb06d788d89d942fe4_2 );
|
|
}
|
|
cache_frame_cede772fe9d38bdb06d788d89d942fe4_2 = NULL;
|
|
|
|
assertFrameObject( frame_cede772fe9d38bdb06d788d89d942fe4_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_8;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_compexpr_left_2 = tmp_class_creation_1__bases;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
|
|
tmp_compexpr_right_2 = tmp_class_creation_1__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 = 33;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
tmp_condition_result_8 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_5;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_5;
|
|
}
|
|
branch_yes_5:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
|
|
tmp_dictset_value = tmp_class_creation_1__bases_orig;
|
|
tmp_res = PyObject_SetItem( locals_asn1crypto$_ordereddict_33, 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 = 33;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
branch_no_5:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_14;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_args_name_2;
|
|
PyObject *tmp_tuple_element_4;
|
|
PyObject *tmp_kw_name_2;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_called_name_3 = tmp_class_creation_1__metaclass;
|
|
tmp_tuple_element_4 = const_str_plain_OrderedDict;
|
|
tmp_args_name_2 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_4 );
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_tuple_element_4 = tmp_class_creation_1__bases;
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_4 );
|
|
tmp_tuple_element_4 = locals_asn1crypto$_ordereddict_33;
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_4 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
frame_3c21dc587819947bb6ec28d2f5281772->m_frame.f_lineno = 33;
|
|
tmp_assign_source_14 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_2, tmp_kw_name_2 );
|
|
Py_DECREF( tmp_args_name_2 );
|
|
if ( tmp_assign_source_14 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 33;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( outline_0_var___class__ == NULL );
|
|
outline_0_var___class__ = tmp_assign_source_14;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_0_var___class__ );
|
|
tmp_assign_source_13 = outline_0_var___class__;
|
|
Py_INCREF( tmp_assign_source_13 );
|
|
goto try_return_handler_3;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( asn1crypto$_ordereddict );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
Py_DECREF( locals_asn1crypto$_ordereddict_33 );
|
|
locals_asn1crypto$_ordereddict_33 = 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_asn1crypto$_ordereddict_33 );
|
|
locals_asn1crypto$_ordereddict_33 = 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( asn1crypto$_ordereddict );
|
|
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( asn1crypto$_ordereddict );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_1:;
|
|
exception_lineno = 33;
|
|
goto try_except_handler_1;
|
|
outline_result_1:;
|
|
UPDATE_STRING_DICT1( moduledict_asn1crypto$_ordereddict, (Nuitka_StringObject *)const_str_plain_OrderedDict, tmp_assign_source_13 );
|
|
}
|
|
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;
|
|
|
|
}
|
|
branch_end_1:;
|
|
}
|
|
|
|
// Restore frame exception if necessary.
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3c21dc587819947bb6ec28d2f5281772 );
|
|
#endif
|
|
popFrameStack();
|
|
|
|
assertFrameObject( frame_3c21dc587819947bb6ec28d2f5281772 );
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_exception_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3c21dc587819947bb6ec28d2f5281772 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_3c21dc587819947bb6ec28d2f5281772, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_3c21dc587819947bb6ec28d2f5281772->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_3c21dc587819947bb6ec28d2f5281772, exception_lineno );
|
|
}
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto module_exception_exit;
|
|
|
|
frame_no_exception_2:;
|
|
|
|
return MOD_RETURN_VALUE( module_asn1crypto$_ordereddict );
|
|
module_exception_exit:
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
}
|